@commonsku/styles 1.14.2 → 1.14.6
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.d.ts +237 -14
- package/dist/index.es.js +766 -209
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +778 -207
- package/dist/index.js.map +1 -1
- package/dist/styles/AlertNotification.d.ts +13 -0
- package/dist/styles/AlertNotification.d.ts.map +1 -0
- package/dist/styles/Artwork.d.ts +1 -0
- package/dist/styles/Artwork.d.ts.map +1 -1
- package/dist/styles/Button.d.ts +2 -2
- package/dist/styles/Button.d.ts.map +1 -1
- package/dist/styles/CancelButton.d.ts.map +1 -1
- package/dist/styles/DoneButton.d.ts +11 -0
- package/dist/styles/DoneButton.d.ts.map +1 -0
- package/dist/styles/Dropdown.d.ts +3 -2
- package/dist/styles/Dropdown.d.ts.map +1 -1
- package/dist/styles/Img.d.ts.map +1 -1
- package/dist/styles/Input.d.ts +25 -5
- package/dist/styles/Input.d.ts.map +1 -1
- package/dist/styles/InputStepper.d.ts +16 -0
- package/dist/styles/InputStepper.d.ts.map +1 -0
- package/dist/styles/LightIndicator.d.ts.map +1 -1
- package/dist/styles/LinkWithIcon.d.ts +22 -0
- package/dist/styles/LinkWithIcon.d.ts.map +1 -0
- package/dist/styles/NumberInput.d.ts +54 -0
- package/dist/styles/NumberInput.d.ts.map +1 -0
- package/dist/styles/Task.d.ts.map +1 -1
- package/dist/styles/Theme.d.ts +4 -0
- package/dist/styles/Theme.d.ts.map +1 -1
- package/dist/styles/Toggle.d.ts +30 -1
- package/dist/styles/Toggle.d.ts.map +1 -1
- package/dist/styles/colors.d.ts +8 -0
- package/dist/styles/colors.d.ts.map +1 -1
- package/dist/styles/hooks/index.d.ts +1 -0
- package/dist/styles/hooks/index.d.ts.map +1 -1
- package/dist/styles/hooks/useLongPress.d.ts +8 -0
- package/dist/styles/hooks/useLongPress.d.ts.map +1 -0
- package/dist/styles/icons/CheckboxIcon.d.ts +12 -0
- package/dist/styles/icons/CheckboxIcon.d.ts.map +1 -0
- package/dist/styles/icons/CommentIcon.d.ts +28 -0
- package/dist/styles/icons/CommentIcon.d.ts.map +1 -0
- package/dist/styles/icons/CompletedCheckmarkIcon.d.ts +1 -1
- package/dist/styles/icons/CompletedCheckmarkIcon.d.ts.map +1 -1
- package/dist/styles/icons/EllipsisIcon.d.ts +6 -0
- package/dist/styles/icons/EllipsisIcon.d.ts.map +1 -0
- package/dist/styles/icons/RadioIcon.d.ts +5 -1
- package/dist/styles/icons/RadioIcon.d.ts.map +1 -1
- package/dist/styles/icons/SvgIcon.d.ts +2 -0
- package/dist/styles/icons/SvgIcon.d.ts.map +1 -1
- package/dist/styles/icons/index.d.ts +3 -0
- package/dist/styles/icons/index.d.ts.map +1 -1
- package/dist/styles/index.d.ts +7 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/tables/VirtualTable.d.ts +57 -0
- package/dist/styles/tables/VirtualTable.d.ts.map +1 -0
- package/dist/styles/tables/VirtualTableStyles.d.ts +11 -0
- package/dist/styles/tables/VirtualTableStyles.d.ts.map +1 -0
- package/dist/styles/tables/index.d.ts +2 -0
- package/dist/styles/tables/index.d.ts.map +1 -1
- package/dist/styles/tables/table-types.d.ts +19 -0
- package/dist/styles/tables/table-types.d.ts.map +1 -0
- package/dist/utils/index.d.ts +15 -0
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SharedStyleTypes } from './SharedStyles';
|
|
3
|
+
import { SizerTypes } from './Sizer';
|
|
4
|
+
declare type AlertNotificationProps = React.PropsWithChildren<{
|
|
5
|
+
alertType?: "neutral" | "success" | "error";
|
|
6
|
+
style?: React.CSSProperties;
|
|
7
|
+
learnMore?: boolean;
|
|
8
|
+
href?: string;
|
|
9
|
+
linkText?: string;
|
|
10
|
+
}> & SharedStyleTypes & SizerTypes;
|
|
11
|
+
export default function AlertNotification({ alertType, learnMore, href, linkText, children, style, ...props }: AlertNotificationProps): JSX.Element;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=AlertNotification.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertNotification.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/AlertNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,EAAE,gBAAgB,EAAgB,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAY,UAAU,EAAE,MAAM,SAAS,CAAC;AAE/C,aAAK,sBAAsB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IAClD,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IAC5C,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,SAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC,GAAG,gBAAgB,GAAG,UAAU,CAAC;AA2CnC,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACtC,SAAmB,EACnB,SAAe,EACf,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,KAAQ,EACR,GAAG,KAAK,EACX,EAAE,sBAAsB,eA2BxB"}
|
package/dist/styles/Artwork.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare type ArtworkProps = {
|
|
|
13
13
|
onEdit?: Function | VoidFunction;
|
|
14
14
|
onDelete?: Function | VoidFunction;
|
|
15
15
|
onSave?: Function | VoidFunction;
|
|
16
|
+
onError?: Function | VoidFunction;
|
|
16
17
|
onDownload?: Function | VoidFunction;
|
|
17
18
|
inputProps?: InputProps;
|
|
18
19
|
inputEl?: React.ReactNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Artwork.d.ts","sourceRoot":"","sources":["../src/@commonsku/sty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,CAAC;IACZ,SAAS,CAAC,EAAC,MAAM,CAAC;IAClB,IAAI,CAAC,EAAC,MAAM,CAAC;IACb,IAAI,CAAC,EAAC,OAAO,CAAC;IACd,UAAU,CAAC,EAAC,OAAO,CAAC;IACpB,OAAO,CAAC,EAAC,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IACjD,MAAM,CAAC,EAAC,QAAQ,GAAC,YAAY,CAAC;IAC9B,QAAQ,CAAC,EAAC,QAAQ,GAAC,YAAY,CAAC;IAChC,MAAM,CAAC,EAAC,QAAQ,GAAC,YAAY,CAAC;IAC9B,OAAO,CAAC,EAAC,QAAQ,GAAC,YAAY,CAAC;IAC/B,UAAU,CAAC,EAAC,QAAQ,GAAC,YAAY,CAAC;IAClC,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,EAAC,KAAK,CAAC,SAAS,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,OAAO,6BAGf,YAAY,GAAG,gBAAgB,gBAkCnC,CAAA"}
|
package/dist/styles/Button.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare const sizes: {
|
|
|
50
50
|
};
|
|
51
51
|
export declare type TSize = keyof typeof sizes;
|
|
52
52
|
export declare type ButtonPreset = 'edit' | 'delete' | 'add' | 'remove' | 'close';
|
|
53
|
-
export declare type ButtonVariant = 'primary' | 'secondary' | 'cta' | 'error' | '
|
|
53
|
+
export declare type ButtonVariant = 'primary' | 'secondary' | 'cta' | 'error' | 'disabled' | 'text' | 'primary-light';
|
|
54
54
|
declare type ButtonProps = {
|
|
55
55
|
secondary?: boolean;
|
|
56
56
|
cta?: boolean;
|
|
@@ -74,7 +74,7 @@ export declare type IconButtonProps = React.PropsWithChildren<ButtonProps & {
|
|
|
74
74
|
iconProps?: {
|
|
75
75
|
[key: string]: any;
|
|
76
76
|
};
|
|
77
|
-
iconPosition?: 'left' | 'right' | 'top';
|
|
77
|
+
iconPosition?: 'left' | 'right' | 'top' | 'bottom';
|
|
78
78
|
preset?: ButtonPreset;
|
|
79
79
|
style?: React.CSSProperties;
|
|
80
80
|
}> & React.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAY,UAAU,EAAE,MAAM,SAAS,CAAC;AAwB/C,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDjB,CAAC;AACF,oBAAY,KAAK,GAAG,MAAM,OAAO,KAAK,CAAC;AAEvC,oBAAY,YAAY,GAAG,MAAM,GAC/B,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,OAAO,CACR;AAED,oBAAY,aAAa,GAAG,SAAS,GACjC,WAAW,GACX,KAAK,GACL,OAAO,GACP,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAY,UAAU,EAAE,MAAM,SAAS,CAAC;AAwB/C,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDjB,CAAC;AACF,oBAAY,KAAK,GAAG,MAAM,OAAO,KAAK,CAAC;AAEvC,oBAAY,YAAY,GAAG,MAAM,GAC/B,QAAQ,GACR,KAAK,GACL,QAAQ,GACR,OAAO,CACR;AAED,oBAAY,aAAa,GAAG,SAAS,GACjC,WAAW,GACX,KAAK,GACL,OAAO,GACP,UAAU,GACV,MAAM,GACN,eAAe,CAAA;AAKnB,aAAK,WAAW,GAAG;I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E,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,
|
|
1
|
+
{"version":3,"file":"CancelButton.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/CancelButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAU,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGxD,oBAAY,iBAAiB,GAAG;IAC5B,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,OAAO,CAAC,EAAE,aAAa,CAAC;CAC3B,GAAG,gBAAgB,GAAG,UAAU,CAAC;AAElC,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACjC,IAAa,EACb,OAAe,EACf,KAAQ,EACR,GAAG,KAAK,EACX,EAAE,iBAAiB,eAInB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SharedStyleTypes } from './SharedStyles';
|
|
3
|
+
import { SizerTypes } from './Sizer';
|
|
4
|
+
import { TSize, ButtonVariant } from './Button';
|
|
5
|
+
export declare type DoneButtonProps = {
|
|
6
|
+
size?: TSize;
|
|
7
|
+
style?: React.CSSProperties;
|
|
8
|
+
variant?: ButtonVariant;
|
|
9
|
+
} & SharedStyleTypes & SizerTypes;
|
|
10
|
+
export default function DoneButton({ size, variant, style, ...Props }: DoneButtonProps): JSX.Element;
|
|
11
|
+
//# sourceMappingURL=DoneButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DoneButton.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/DoneButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAU,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGxD,oBAAY,eAAe,GAAG;IAC1B,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,OAAO,CAAC,EAAE,aAAa,CAAC;CAC3B,GAAG,gBAAgB,GAAG,UAAU,CAAC;AAElC,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EAC/B,IAAa,EACb,OAAiB,EACjB,KAAQ,EACR,GAAG,KAAK,EACX,EAAE,eAAe,eAIjB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { CSSObject } from 'styled-components';
|
|
3
|
-
import { TSize } from './Button';
|
|
3
|
+
import { ButtonVariant, TSize } from './Button';
|
|
4
4
|
export declare const StyledDropdown: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
5
|
declare type DropdownContentProps = {
|
|
6
6
|
primary?: boolean;
|
|
@@ -24,7 +24,8 @@ export declare type DropdownProps = {
|
|
|
24
24
|
mouseLeaveCallback?: any;
|
|
25
25
|
size?: TSize;
|
|
26
26
|
style?: CSSObject;
|
|
27
|
+
buttonVariant?: ButtonVariant;
|
|
27
28
|
};
|
|
28
|
-
export declare const Dropdown: ({ items, children, underlined, primary, text, icon, openMenu, mouseLeaveCallback, size, style, ...props }: React.PropsWithChildren<DropdownProps & DropdownContentProps>) => JSX.Element;
|
|
29
|
+
export declare const Dropdown: ({ items, children, underlined, primary, text, icon, openMenu, mouseLeaveCallback, size, style, buttonVariant, ...props }: React.PropsWithChildren<DropdownProps & DropdownContentProps>) => JSX.Element;
|
|
29
30
|
export {};
|
|
30
31
|
//# sourceMappingURL=Dropdown.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AACtE,OAAe,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAErD,OAAO,EAAU,KAAK,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AACtE,OAAe,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAErD,OAAO,EAAU,aAAa,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAIxD,eAAO,MAAM,cAAc,oEAK1B,CAAC;AAEF,aAAK,oBAAoB,GAAG;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAA;AAED,eAAO,MAAM,YAAY,sFAmBxB,CAAC;AAEF,eAAO,MAAM,eAAe,sFAkC3B,CAAC;AAEF,oBAAY,aAAa,GAAG;IACxB,OAAO,CAAC,EAAE,QAAQ,GAAC,YAAY,GAAC,IAAI,CAAC;IACrC,KAAK,CAAC,EAAE;QACJ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;QACnB,UAAU,CAAC,EAAC,OAAO,CAAC;KACvB,CAAC;IACF,OAAO,EAAE,SAAS,GAAC,MAAM,GAAC,GAAG,CAAC;CACjC,CAAC;AACF,oBAAY,aAAa,GAAG;IACxB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IAC7B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,GAAG,CAAC;IACzB,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,aAAa,CAAC,EAAE,aAAa,CAAC;CACjC,CAAC;AAEF,eAAO,MAAM,QAAQ,6HAalB,MAAM,iBAAiB,CAAC,aAAa,GAAG,oBAAoB,CAAC,gBA6D/D,CAAA"}
|
package/dist/styles/Img.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Img.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Img.js"],"names":[],"mappings":"AAKA;IACE,wBAOC;IALC;;;MAGC;IAgBH,gBAqBC;IAlCD,uDAOC;IACD,6BAIC;IAiBC,oCAI4E;IAE9E,
|
|
1
|
+
{"version":3,"file":"Img.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Img.js"],"names":[],"mappings":"AAKA;IACE,wBAOC;IALC;;;MAGC;IAgBH,gBAqBC;IAlCD,uDAOC;IACD,6BAIC;IAiBC,oCAI4E;IAE9E,sBASC;CACF"}
|
package/dist/styles/Input.d.ts
CHANGED
|
@@ -33,14 +33,18 @@ export declare const LabeledIconInput: React.ForwardRefExoticComponent<React.Inp
|
|
|
33
33
|
labelOnTop?: boolean | undefined;
|
|
34
34
|
Icon: React.ReactElement;
|
|
35
35
|
iconPosition?: "left" | "right" | undefined;
|
|
36
|
+
iconLabelStyles?: React.CSSProperties | undefined;
|
|
36
37
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
38
|
+
export declare const CheckboxLabel: import("styled-components").StyledComponent<"label", any, {
|
|
39
|
+
disabled?: boolean | undefined;
|
|
40
|
+
}, never>;
|
|
37
41
|
export declare const RadioLabel: import("styled-components").StyledComponent<"label", any, {
|
|
38
42
|
disabled?: boolean | undefined;
|
|
39
43
|
}, never>;
|
|
40
44
|
declare type BaseRadioProps = {
|
|
41
45
|
isHovering?: boolean;
|
|
42
46
|
};
|
|
43
|
-
declare type RadioProps = React.InputHTMLAttributes<HTMLInputElement> & BaseRadioProps;
|
|
47
|
+
export declare type RadioProps = React.InputHTMLAttributes<HTMLInputElement> & BaseRadioProps;
|
|
44
48
|
export declare const Radio: import("styled-components").StyledComponent<"input", any, BaseRadioProps, never>;
|
|
45
49
|
export declare const CheckMark: import("styled-components").StyledComponent<"span", any, {
|
|
46
50
|
checked?: boolean | undefined;
|
|
@@ -52,10 +56,25 @@ export declare const Dot: import("styled-components").StyledComponent<"span", an
|
|
|
52
56
|
isHovering?: boolean | undefined;
|
|
53
57
|
disabled?: boolean | undefined;
|
|
54
58
|
} & SharedStyleTypes, never>;
|
|
55
|
-
export declare
|
|
59
|
+
export declare type LabeledRadioProps = RadioProps & {
|
|
56
60
|
label: string;
|
|
61
|
+
labelStyle?: React.CSSProperties;
|
|
62
|
+
radioIconStyle?: React.CSSProperties;
|
|
63
|
+
radioColor?: string;
|
|
64
|
+
radioHoverColor?: string;
|
|
65
|
+
};
|
|
66
|
+
export declare const LabeledRadio: React.FC<LabeledRadioProps>;
|
|
67
|
+
export declare const LabeledRadioInButton: React.FC<LabeledRadioProps & {
|
|
68
|
+
flexGrow?: boolean;
|
|
69
|
+
}>;
|
|
70
|
+
export declare const LabeledRadioGroup: React.FC<LabeledRadioProps & {
|
|
71
|
+
name: string;
|
|
72
|
+
radios: [{
|
|
73
|
+
label: string;
|
|
74
|
+
value: any;
|
|
75
|
+
}];
|
|
57
76
|
}>;
|
|
58
|
-
export declare const
|
|
77
|
+
export declare const LabeledRadioInButtonGroup: React.FC<LabeledRadioProps & {
|
|
59
78
|
name: string;
|
|
60
79
|
radios: [{
|
|
61
80
|
label: string;
|
|
@@ -67,9 +86,10 @@ export declare type LabeledCheckboxProps = {
|
|
|
67
86
|
disabled?: boolean;
|
|
68
87
|
label: string | React.ReactNode;
|
|
69
88
|
name?: string;
|
|
70
|
-
checkboxStyle?: CSSProperties;
|
|
71
89
|
labelStyle?: CSSProperties;
|
|
72
|
-
|
|
90
|
+
checkboxStyle?: React.CSSProperties;
|
|
91
|
+
checkboxColor?: string;
|
|
92
|
+
checkboxHoverColor?: string;
|
|
73
93
|
hoverByLabel?: boolean;
|
|
74
94
|
stopPropagation?: boolean;
|
|
75
95
|
[key: string]: any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAoB,aAAa,EAAa,MAAM,OAAO,CAAA;AAGzE,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAoB,aAAa,EAAa,MAAM,OAAO,CAAA;AAGzE,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAMhE,aAAK,eAAe,GAAG;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAC,OAAO,CAAC;CAChB,CAAC;AAEF,aAAK,cAAc,GAAG,eAAe,GACjC;IAAE,OAAO,CAAC,EAAE,OAAO,CAAC;CAAE,GACtB,gBAAgB,CAAC;AACrB,oBAAY,UAAU,GAAG,cAAc,GACnC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAShD,eAAO,MAAM,cAAc;;;;;SAkC1B,CAAA;AAED,eAAO,MAAM,uBAAuB,oEAsBnC,CAAA;AAED,eAAO,MAAM,KAAK;;4BAwEjB,CAAC;AASF,eAAO,MAAM,YAAY;;;WALhB,MAAM;;;0CAsBZ,CAAC;AAWJ,eAAO,MAAM,gBAAgB;;;;;;UALrB,MAAM,YAAY;;;0CA0JzB,CAAC;AAEF,eAAO,MAAM,aAAa;;SAsBzB,CAAC;AAEF,eAAO,MAAM,UAAU;;SAItB,CAAC;AAEF,aAAK,cAAc,GAAG;IAAC,UAAU,CAAC,EAAE,OAAO,CAAA;CAAC,CAAC;AA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AC,KAAK,CAAC,SAAS,CAAC;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,GAAG,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAEhD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,yBAAyB,CAAC,oBAAoB,CA+B9E,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { NumberInputProps } from './NumberInput';
|
|
3
|
+
declare type InputStepperProps = Omit<NumberInputProps, 'value'> & {
|
|
4
|
+
min?: number;
|
|
5
|
+
max?: number;
|
|
6
|
+
initialValue?: number | string;
|
|
7
|
+
width?: string;
|
|
8
|
+
label?: string;
|
|
9
|
+
labelStyle?: React.CSSProperties;
|
|
10
|
+
inputDisabled?: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const canIncrement: (value: number, max?: number | undefined) => boolean;
|
|
13
|
+
export declare const canDecrement: (value: number, min?: number | undefined) => boolean;
|
|
14
|
+
export default function InputStepper(props: InputStepperProps): JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=InputStepper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputStepper.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/InputStepper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,EAAE,gBAAgB,EAAkB,MAAM,eAAe,CAAC;AAIjE,aAAK,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,EAAE,OAAO,CAAC,GAAG;IACvD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACjC,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B,CAAC;AAkDF,eAAO,MAAM,YAAY,UAAW,MAAM,sCACiB,CAAC;AAC5D,eAAO,MAAM,YAAY,UAAW,MAAM,sCACiB,CAAC;AAE5D,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,KAAK,EAAE,iBAAiB,eA0H5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LightIndicator.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/LightIndicator.tsx"],"names":[],"mappings":";AAOA,OAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,aAAK,wBAAwB,GAAG,YAAY,GAAG;
|
|
1
|
+
{"version":3,"file":"LightIndicator.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/LightIndicator.tsx"],"names":[],"mappings":";AAOA,OAAY,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,aAAK,wBAAwB,GAAG,YAAY,GAAG;IAAE,GAAG,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,OAAO,CAAC;CAAE,CAAC;AACnF,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EACxC,KAAU,EACV,MAAW,EACX,GAAW,EACX,KAAa,EACb,GAAG,KAAK,EACX,EAAE,wBAAwB,eA8B1B;AA+BD,aAAK,mBAAmB,GAAG;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,KAAK,CAAC,EAAE,OAAO,CAAC;CACnB,CAAA;AAED,wBAAgB,cAAc,CAAC,EAC3B,IAA4B,EAC5B,EAAU,EACV,KAAa,EACb,GAAG,KAAK,EACX,EAAE,mBAAmB,eAOrB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { SharedStyleTypes } from './SharedStyles';
|
|
3
|
+
import { SizerTypes } from './Sizer';
|
|
4
|
+
import { TButtonIcon } from "./Button";
|
|
5
|
+
declare type IconFuncProps = {
|
|
6
|
+
color: string;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
};
|
|
9
|
+
export declare type LinkWithIconProps = React.PropsWithChildren<{
|
|
10
|
+
Icon?: TButtonIcon | React.ReactElement<IconFuncProps>;
|
|
11
|
+
href?: string;
|
|
12
|
+
color?: string;
|
|
13
|
+
hoverColor?: string;
|
|
14
|
+
flexShrink?: boolean;
|
|
15
|
+
iconProps?: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
style?: React.CSSProperties;
|
|
19
|
+
} & SharedStyleTypes & SizerTypes>;
|
|
20
|
+
export default function LinkWithIcon({ Icon, href, children, color, hoverColor, flexShrink, iconProps, style, ...props }: LinkWithIconProps): JSX.Element;
|
|
21
|
+
export {};
|
|
22
|
+
//# sourceMappingURL=LinkWithIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LinkWithIcon.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/LinkWithIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,OAAO,EAAE,gBAAgB,EAAgB,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAY,UAAU,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAoBvC,aAAK,aAAa,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;AAE3D,oBAAY,iBAAiB,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACtD,IAAI,CAAC,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;IACjC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,GAAG,gBAAgB,GAAG,UAAU,CAAC,CAAC;AAEnC,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACjC,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,KAAsB,EACtB,UAA2B,EAC3B,UAAgB,EAChB,SAAS,EACT,KAAQ,EACR,GAAG,KAAK,EACX,EAAE,iBAAiB,eAoCnB"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { InputProps } from "./Input";
|
|
3
|
+
export declare type LocaleOptions = {
|
|
4
|
+
maximumFractionDigits?: number;
|
|
5
|
+
minimumSignificantDigits?: number;
|
|
6
|
+
maximumSignificantDigits?: number;
|
|
7
|
+
numberingSystem?: string;
|
|
8
|
+
currencySign?: string;
|
|
9
|
+
currency?: string;
|
|
10
|
+
unit?: string;
|
|
11
|
+
style?: 'decimal' | 'currency' | 'percent' | 'unit';
|
|
12
|
+
unitDisplay?: 'long' | 'short' | 'narrow';
|
|
13
|
+
currencyDisplay?: 'symbol' | 'narrowSymbol' | 'code' | 'name';
|
|
14
|
+
notation?: 'standard' | 'scientific' | 'engineering' | 'compact';
|
|
15
|
+
signDisplay?: 'auto' | 'never' | 'always' | 'exceptZero';
|
|
16
|
+
localeMatcher?: string;
|
|
17
|
+
useGrouping?: boolean;
|
|
18
|
+
minimumIntegerDigits?: number;
|
|
19
|
+
minimumFractionDigits?: number;
|
|
20
|
+
};
|
|
21
|
+
export declare type NumberInputProps = Omit<InputProps, 'onChange'> & {
|
|
22
|
+
defaultValue?: string | number;
|
|
23
|
+
label?: string;
|
|
24
|
+
icon?: (props: object) => React.ReactElement;
|
|
25
|
+
onClickIcon?: (value: string | number) => string | undefined | void;
|
|
26
|
+
iconStyles?: {};
|
|
27
|
+
labelStyle?: React.CSSProperties;
|
|
28
|
+
onChange?: (value: number | string | null, action?: string) => void;
|
|
29
|
+
localeOptions?: LocaleOptions;
|
|
30
|
+
inputMode?: "none" | "text" | "numeric" | "decimal";
|
|
31
|
+
};
|
|
32
|
+
declare type useNumberInputProps = {
|
|
33
|
+
defaultValue?: string | number;
|
|
34
|
+
onChange?: ((value: string | number | null, action?: string | undefined) => void);
|
|
35
|
+
onFocus?: React.FocusEventHandler<HTMLInputElement>;
|
|
36
|
+
onBlur?: React.FocusEventHandler<HTMLInputElement>;
|
|
37
|
+
inputMode?: "none" | "text" | "numeric" | "decimal";
|
|
38
|
+
localeOptions?: LocaleOptions;
|
|
39
|
+
};
|
|
40
|
+
export declare function useNumberInput(props: useNumberInputProps): {
|
|
41
|
+
ref: React.RefObject<HTMLInputElement>;
|
|
42
|
+
value: string | number;
|
|
43
|
+
inputMode: "decimal" | "none" | "text" | "numeric";
|
|
44
|
+
type: string;
|
|
45
|
+
onChange: () => void;
|
|
46
|
+
onBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
47
|
+
onFocus: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
48
|
+
updateValue: (val: number | string | null) => void;
|
|
49
|
+
clearInput: () => void;
|
|
50
|
+
strToNum: () => void;
|
|
51
|
+
};
|
|
52
|
+
declare function NumberInput(props: NumberInputProps): JSX.Element;
|
|
53
|
+
export default NumberInput;
|
|
54
|
+
//# sourceMappingURL=NumberInput.d.ts.map
|
|
@@ -0,0 +1 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oot":"","sources":["../src/@commonsku/styles/Task.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAGlD,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAE/D,QAAA,MAAM,SAAS;;
|
|
1
|
+
{"version":3,"file":"Task.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Task.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAGlD,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAE/D,QAAA,MAAM,SAAS;;SAAkI,CAAA;AACjJ,QAAA,MAAM,QAAQ,oEAA4C,CAAA;AAC1D,QAAA,MAAM,UAAU,kFAAsE,CAAA;AACtF,QAAA,MAAM,QAAQ,oEAAgC,CAAA;AAE9C,oBAAY,SAAS,GAAG;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACnC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,OAAO,KAAK,GAAG,CAAC;CAC9C,CAAC;AACF,QAAA,MAAM,IAAI,4FASP,MAAM,iBAAiB,CAAC,SAAS,GAAG,gBAAgB,CAAC,gBAqBvD,CAAA;AAED,QAAA,MAAM,sBAAsB,qEAG3B,CAAC;AAWF,oBAAY,iBAAiB,GAAG;IAC9B,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IACtC,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,GAAG,CAAC;IAC5C,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACxB,CAAC;AAKF,QAAA,MAAM,YAAY,6JAqGhB,CAAC;AAEH,OAAO,EACL,IAAI,EACJ,UAAU,EACV,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,sBAAsB,EACtB,YAAY,GACb,CAAC"}
|
package/dist/styles/Theme.d.ts
CHANGED
|
@@ -102,10 +102,12 @@ export declare const themeOptions: {
|
|
|
102
102
|
'90': string;
|
|
103
103
|
main: string;
|
|
104
104
|
'main-hover': string;
|
|
105
|
+
mainHover: string;
|
|
105
106
|
light: string;
|
|
106
107
|
lightest: string;
|
|
107
108
|
dark: string;
|
|
108
109
|
'dark-hover': string;
|
|
110
|
+
darkHover: string;
|
|
109
111
|
darkest: string;
|
|
110
112
|
};
|
|
111
113
|
secondary1: {
|
|
@@ -187,10 +189,12 @@ export declare const themeOptions: {
|
|
|
187
189
|
'90': string;
|
|
188
190
|
main: string;
|
|
189
191
|
'main-hover': string;
|
|
192
|
+
mainHover: string;
|
|
190
193
|
light: string;
|
|
191
194
|
lightest: string;
|
|
192
195
|
dark: string;
|
|
193
196
|
'dark-hover': string;
|
|
197
|
+
darkHover: string;
|
|
194
198
|
darkest: string;
|
|
195
199
|
};
|
|
196
200
|
pink: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Theme.d.ts","sourceRoot":"","sources":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K,CAAC,EAAE,MAAM,EAAE,aAAa,CAAC,EAAE,MAAM,GAAG,MAAM,CA2B1H;AAGD,QAAA,MAAM,KAAK;;;;kBAYV,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
package/dist/styles/Toggle.d.ts
CHANGED
|
@@ -1,13 +1,42 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SharedStyleTypes } from './SharedStyles';
|
|
3
|
+
export declare const toggleSizes: {
|
|
4
|
+
small: {
|
|
5
|
+
'font-family': string;
|
|
6
|
+
'font-size': string;
|
|
7
|
+
'line-height': string;
|
|
8
|
+
padding: string;
|
|
9
|
+
borderRadius: string;
|
|
10
|
+
height: string;
|
|
11
|
+
};
|
|
12
|
+
medium: {
|
|
13
|
+
'font-family': string;
|
|
14
|
+
'font-size': string;
|
|
15
|
+
'line-height': string;
|
|
16
|
+
padding: string;
|
|
17
|
+
borderRadius: string;
|
|
18
|
+
height: string;
|
|
19
|
+
};
|
|
20
|
+
large: {
|
|
21
|
+
'font-family': string;
|
|
22
|
+
'font-size': string;
|
|
23
|
+
'line-height': string;
|
|
24
|
+
padding: string;
|
|
25
|
+
borderRadius: string;
|
|
26
|
+
height: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
declare type ToggleSize = keyof typeof toggleSizes;
|
|
3
30
|
declare const ToggleLink: import("styled-components").StyledComponent<"a", any, {
|
|
4
31
|
selected?: boolean | undefined;
|
|
5
32
|
stretch?: boolean | undefined;
|
|
33
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
6
34
|
} & SharedStyleTypes, never>;
|
|
7
35
|
declare type ToggleProps = React.PropsWithChildren<{
|
|
8
36
|
stretch?: boolean;
|
|
9
37
|
onClick?: React.MouseEventHandler<HTMLDivElement>;
|
|
38
|
+
size?: ToggleSize;
|
|
10
39
|
} & SharedStyleTypes>;
|
|
11
|
-
declare const Toggle: (props: ToggleProps) => JSX.Element;
|
|
40
|
+
declare const Toggle: ({ size, ...props }: ToggleProps) => JSX.Element;
|
|
12
41
|
export { Toggle, ToggleLink };
|
|
13
42
|
//# sourceMappingURL=Toggle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Toggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/Toggle.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAgB,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAEhE,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;CA2BvB,CAAC;AAEF,aAAK,UAAU,GAAG,MAAM,OAAO,WAAW,CAAC;AA6B3C,QAAA,MAAM,UAAU;;;;4BAgBZ,CAAA;AAEJ,aAAK,WAAW,GAAG,KAAK,CAAC,iBAAiB,CAAC;IACzC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CAAC;IAClD,IAAI,CAAC,EAAE,UAAU,CAAC;CACnB,GAAG,gBAAgB,CAAC,CAAC;AAEtB,QAAA,MAAM,MAAM,uBAAiC,WAAW,gBAUvD,CAAA;AAED,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,CAAA"}
|
package/dist/styles/colors.d.ts
CHANGED
|
@@ -13,10 +13,12 @@ export declare const primary1: {
|
|
|
13
13
|
'90': string;
|
|
14
14
|
main: string;
|
|
15
15
|
'main-hover': string;
|
|
16
|
+
mainHover: string;
|
|
16
17
|
light: string;
|
|
17
18
|
lightest: string;
|
|
18
19
|
dark: string;
|
|
19
20
|
'dark-hover': string;
|
|
21
|
+
darkHover: string;
|
|
20
22
|
darkest: string;
|
|
21
23
|
};
|
|
22
24
|
export declare const teal: {
|
|
@@ -34,10 +36,12 @@ export declare const teal: {
|
|
|
34
36
|
'90': string;
|
|
35
37
|
main: string;
|
|
36
38
|
'main-hover': string;
|
|
39
|
+
mainHover: string;
|
|
37
40
|
light: string;
|
|
38
41
|
lightest: string;
|
|
39
42
|
dark: string;
|
|
40
43
|
'dark-hover': string;
|
|
44
|
+
darkHover: string;
|
|
41
45
|
darkest: string;
|
|
42
46
|
};
|
|
43
47
|
export declare const primary2: {
|
|
@@ -230,10 +234,12 @@ declare const colors: {
|
|
|
230
234
|
'90': string;
|
|
231
235
|
main: string;
|
|
232
236
|
'main-hover': string;
|
|
237
|
+
mainHover: string;
|
|
233
238
|
light: string;
|
|
234
239
|
lightest: string;
|
|
235
240
|
dark: string;
|
|
236
241
|
'dark-hover': string;
|
|
242
|
+
darkHover: string;
|
|
237
243
|
darkest: string;
|
|
238
244
|
};
|
|
239
245
|
secondary1: {
|
|
@@ -315,10 +321,12 @@ declare const colors: {
|
|
|
315
321
|
'90': string;
|
|
316
322
|
main: string;
|
|
317
323
|
'main-hover': string;
|
|
324
|
+
mainHover: string;
|
|
318
325
|
light: string;
|
|
319
326
|
lightest: string;
|
|
320
327
|
dark: string;
|
|
321
328
|
'dark-hover': string;
|
|
329
|
+
darkHover: string;
|
|
322
330
|
darkest: string;
|
|
323
331
|
};
|
|
324
332
|
pink: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/colors.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../src/@commonsku/styles/colors.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;CAuBpB,CAAC;AAaF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;CAAW,CAAC;AAE7B,eAAO,MAAM,QAAQ;;;;;CAKpB,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;CAAW,CAAC;AAE9B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;CAetB,CAAC;AAOF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;CAAa,CAAC;AAE/B,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;CAetB,CAAC;AAOF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;CAAa,CAAC;AAEjC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;CAetB,CAAC;AAOF,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;CAAa,CAAC;AAEhC,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;CAetB,CAAC;AAOF,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;CAAa,CAAC;AAE/B,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;CAiBpB,CAAC;AAQF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;CAelB,CAAC;AAOF,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmLX,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -3,4 +3,5 @@ export { default as usePrefersReducedMotion } from './usePrefersReducedMotion';
|
|
|
3
3
|
export { default as useRandomInterval } from './useRandomInterval';
|
|
4
4
|
export { default as useCalendar } from './useCalendar';
|
|
5
5
|
export { default as useWindowSize } from './useWindowSize';
|
|
6
|
+
export { default as useLongPress } from './useLongPress';
|
|
6
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,OAAO,IAAI,eAAe,EAAC,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAC,OAAO,IAAI,uBAAuB,EAAC,MAAM,2BAA2B,CAAC;AAC7E,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACjE,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLongPress.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/hooks/useLongPress.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,QAAQ,aAAW,EAAE,EAAE,SAAM;;;;;;EAmCjE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SVGIconProps } from './SvgIcon';
|
|
3
|
+
declare type CheckboxIconProps = SVGIconProps & {
|
|
4
|
+
selected?: boolean;
|
|
5
|
+
hover?: boolean;
|
|
6
|
+
hoverColor?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
disabledColor?: string;
|
|
9
|
+
};
|
|
10
|
+
export default function CheckboxIcon({ color, hoverColor, disabledColor, size, hover, selected, disabled, altText, ...props }: CheckboxIconProps): JSX.Element;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=CheckboxIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CheckboxIcon.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/icons/CheckboxIcon.tsx"],"names":[],"mappings":";AAEA,OAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,aAAK,iBAAiB,GAAG,YAAY,GAAG;IACpC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;CACzB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACjC,KAAe,EACf,UAAqB,EACrB,aAA4B,EAC5B,IAAa,EACb,KAAW,EACX,QAAc,EACd,QAAc,EACd,OAAgB,EAChB,GAAG,KAAK,EACX,EAAE,iBAAiB,eAuBnB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SVGIconProps } from './SvgIcon';
|
|
3
|
+
export declare const iconSizes: {
|
|
4
|
+
tiny: {
|
|
5
|
+
'font-size': string;
|
|
6
|
+
};
|
|
7
|
+
small: {
|
|
8
|
+
'font-size': string;
|
|
9
|
+
};
|
|
10
|
+
medium: {
|
|
11
|
+
'font-size': string;
|
|
12
|
+
};
|
|
13
|
+
large: {
|
|
14
|
+
'font-size': string;
|
|
15
|
+
};
|
|
16
|
+
huge: {
|
|
17
|
+
'font-size': string;
|
|
18
|
+
};
|
|
19
|
+
default: {
|
|
20
|
+
'font-size': string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
declare type CommentIconProps = {
|
|
24
|
+
number?: number;
|
|
25
|
+
} & SVGIconProps;
|
|
26
|
+
export default function CommentIcon({ color, size, altText, number, ...props }: CommentIconProps): JSX.Element;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=CommentIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CommentIcon.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/icons/CommentIcon.tsx"],"names":[],"mappings":";AACA,OAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAM9C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;CAmBnB,CAAC;AAaJ,aAAK,gBAAgB,GAAG;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,YAAY,CAAC;AAgBjB,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAChC,KAAe,EACf,IAAa,EACb,OAAkB,EAClB,MAAM,EACN,GAAG,KAAK,EACX,EAAE,gBAAgB,eAkBlB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { SVGIconProps } from './SvgIcon';
|
|
3
3
|
declare type AddIconProps = SVGIconProps;
|
|
4
|
-
export default function
|
|
4
|
+
export default function CompletedCheckmarkIcon({ color, size, altText, ...props }: AddIconProps): JSX.Element;
|
|
5
5
|
export {};
|
|
6
6
|
//# sourceMappingURL=CompletedCheckmarkIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompletedCheckmarkIcon.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/icons/CompletedCheckmarkIcon.tsx"],"names":[],"mappings":";AACA,OAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAG9C,aAAK,YAAY,GAAG,YAAY,CAAC;AACjC,MAAM,CAAC,OAAO,UAAU,
|
|
1
|
+
{"version":3,"file":"CompletedCheckmarkIcon.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/icons/CompletedCheckmarkIcon.tsx"],"names":[],"mappings":";AACA,OAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAG9C,aAAK,YAAY,GAAG,YAAY,CAAC;AACjC,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,EAC3C,KAAgB,EAChB,IAAa,EACb,OAA6B,EAC7B,GAAG,KAAK,EACX,EAAE,YAAY,eASd"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SVGIconProps } from './SvgIcon';
|
|
3
|
+
declare type EllipsisIconProps = SVGIconProps;
|
|
4
|
+
export default function EllipsisIcon({ color, size, altText, ...props }: EllipsisIconProps): JSX.Element;
|
|
5
|
+
export {};
|
|
6
|
+
//# sourceMappingURL=EllipsisIcon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EllipsisIcon.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/icons/EllipsisIcon.tsx"],"names":[],"mappings":";AACA,OAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAG9C,aAAK,iBAAiB,GAAG,YAAY,CAAC;AACtC,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACjC,KAAe,EACf,IAAa,EACb,OAAc,EACd,GAAG,KAAK,EACX,EAAE,iBAAiB,eASnB"}
|
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
import { SVGIconProps } from './SvgIcon';
|
|
3
3
|
declare type RadioIconProps = SVGIconProps & {
|
|
4
4
|
selected?: boolean;
|
|
5
|
+
hover?: boolean;
|
|
6
|
+
hoverColor?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
disabledColor?: string;
|
|
5
9
|
};
|
|
6
|
-
export default function RadioIcon({ color, size, selected, altText, ...props }: RadioIconProps): JSX.Element;
|
|
10
|
+
export default function RadioIcon({ color, hoverColor, disabledColor, size, hover, selected, disabled, altText, ...props }: RadioIconProps): JSX.Element;
|
|
7
11
|
export {};
|
|
8
12
|
//# sourceMappingURL=RadioIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioIcon.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/icons/RadioIcon.tsx"],"names":[],"mappings":";AAEA,OAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,aAAK,cAAc,GAAG,YAAY,GAAG;
|
|
1
|
+
{"version":3,"file":"RadioIcon.d.ts","sourceRoot":"","sources":["../../src/@commonsku/styles/icons/RadioIcon.tsx"],"names":[],"mappings":";AAEA,OAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAE9C,aAAK,cAAc,GAAG,YAAY,GAAG;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAA;CACzB,CAAC;AAEF,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,EAC9B,KAAe,EACf,UAAqB,EACrB,aAA4B,EAC5B,IAAa,EACb,KAAW,EACX,QAAc,EACd,QAAc,EACd,OAAgB,EAChB,GAAG,KAAK,EACX,EAAE,cAAc,eAuBhB"}
|
|
@@ -41,6 +41,7 @@ declare type BaseSVGIconProps = {
|
|
|
41
41
|
altText?: string;
|
|
42
42
|
pointer?: boolean;
|
|
43
43
|
iconSizes?: TIconSizeObj;
|
|
44
|
+
disabled?: boolean;
|
|
44
45
|
} & SharedStyleTypes;
|
|
45
46
|
export declare type SVGIconProps = React.SVGAttributes<SVGElement> & BaseSVGIconProps;
|
|
46
47
|
declare const SVG: import("styled-components").StyledComponent<"svg", any, {
|
|
@@ -81,6 +82,7 @@ declare const SVG: import("styled-components").StyledComponent<"svg", any, {
|
|
|
81
82
|
viewBox: string;
|
|
82
83
|
};
|
|
83
84
|
} | undefined;
|
|
85
|
+
disabled?: boolean | undefined;
|
|
84
86
|
} & SharedStyleTypes, never>;
|
|
85
87
|
export default SVG;
|
|
86
88
|
//# sourceMappingURL=SvgIcon.d.ts.map
|