@bosonprotocol/react-kit 0.34.0-alpha.28 → 0.34.0-alpha.29
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/cjs/components/buttons/BaseButton.d.ts +0 -2
- package/dist/cjs/components/buttons/BaseButton.d.ts.map +1 -1
- package/dist/cjs/components/buttons/BaseButton.js +2 -19
- package/dist/cjs/components/buttons/BaseButton.js.map +1 -1
- package/dist/cjs/components/buttons/Button.d.ts +1 -1
- package/dist/cjs/components/cta/common/CtaButton.d.ts.map +1 -1
- package/dist/cjs/components/cta/common/CtaButton.js +1 -1
- package/dist/cjs/components/cta/common/CtaButton.js.map +1 -1
- package/dist/cjs/components/cta/common/styles.d.ts.map +1 -1
- package/dist/cjs/components/cta/common/styles.js +10 -8
- package/dist/cjs/components/cta/common/styles.js.map +1 -1
- package/dist/cjs/components/form/BaseCheckbox.d.ts +1 -1
- package/dist/cjs/components/form/BaseCheckbox.d.ts.map +1 -1
- package/dist/cjs/components/form/BaseCheckbox.js +8 -4
- package/dist/cjs/components/form/BaseCheckbox.js.map +1 -1
- package/dist/cjs/components/form/Field.styles.d.ts +22 -22
- package/dist/cjs/components/form/Field.styles.js +1 -1
- package/dist/cjs/components/form/Field.styles.js.map +1 -1
- package/dist/cjs/components/form/types.d.ts +5 -2
- package/dist/cjs/components/form/types.d.ts.map +1 -1
- package/dist/cjs/components/modal/components/SellerFinance/FinancesStyles.d.ts +22 -22
- package/dist/cjs/components/modal/components/common/detail/Detail.style.d.ts +51 -51
- package/dist/cjs/components/productCard/ProductCard.styles.d.ts +33 -33
- package/dist/cjs/components/ui/ThemedButton.d.ts +1 -1
- package/dist/cjs/components/ui/column/index.d.ts +1 -1
- package/dist/cjs/components/ui/styles.d.ts +1 -1
- package/dist/cjs/components/ui/styles.d.ts.map +1 -1
- package/dist/cjs/components/ui/styles.js +18 -27
- package/dist/cjs/components/ui/styles.js.map +1 -1
- package/dist/esm/components/buttons/BaseButton.d.ts +0 -2
- package/dist/esm/components/buttons/BaseButton.d.ts.map +1 -1
- package/dist/esm/components/buttons/BaseButton.js +2 -19
- package/dist/esm/components/buttons/BaseButton.js.map +1 -1
- package/dist/esm/components/buttons/Button.d.ts +1 -1
- package/dist/esm/components/cta/common/CtaButton.d.ts.map +1 -1
- package/dist/esm/components/cta/common/CtaButton.js +1 -1
- package/dist/esm/components/cta/common/CtaButton.js.map +1 -1
- package/dist/esm/components/cta/common/styles.d.ts.map +1 -1
- package/dist/esm/components/cta/common/styles.js +10 -8
- package/dist/esm/components/cta/common/styles.js.map +1 -1
- package/dist/esm/components/form/BaseCheckbox.d.ts +1 -1
- package/dist/esm/components/form/BaseCheckbox.d.ts.map +1 -1
- package/dist/esm/components/form/BaseCheckbox.js +7 -4
- package/dist/esm/components/form/BaseCheckbox.js.map +1 -1
- package/dist/esm/components/form/Field.styles.d.ts +22 -22
- package/dist/esm/components/form/Field.styles.js +1 -1
- package/dist/esm/components/form/Field.styles.js.map +1 -1
- package/dist/esm/components/form/types.d.ts +5 -2
- package/dist/esm/components/form/types.d.ts.map +1 -1
- package/dist/esm/components/modal/components/SellerFinance/FinancesStyles.d.ts +22 -22
- package/dist/esm/components/modal/components/common/detail/Detail.style.d.ts +51 -51
- package/dist/esm/components/productCard/ProductCard.styles.d.ts +33 -33
- package/dist/esm/components/ui/ThemedButton.d.ts +1 -1
- package/dist/esm/components/ui/column/index.d.ts +1 -1
- package/dist/esm/components/ui/styles.d.ts +1 -1
- package/dist/esm/components/ui/styles.d.ts.map +1 -1
- package/dist/esm/components/ui/styles.js +17 -26
- package/dist/esm/components/ui/styles.js.map +1 -1
- package/package.json +5 -5
- package/src/components/buttons/BaseButton.tsx +1 -27
- package/src/components/cta/common/CtaButton.tsx +1 -1
- package/src/components/cta/common/styles.ts +10 -8
- package/src/components/form/BaseCheckbox.tsx +13 -2
- package/src/components/form/Field.styles.ts +1 -1
- package/src/components/form/types.ts +12 -4
- package/src/components/ui/styles.ts +18 -27
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CtaButton.js","sourceRoot":"","sources":["../../../../../src/components/cta/common/CtaButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAU,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,6CAA6C,CAAC;AAClF,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAQrD,MAAM,UAAU,SAAS,CAAI,EAC3B,QAAQ,GAAG,KAAK,EAChB,WAAW,GAAG,KAAK,EACnB,SAAS,EACT,SAAS,EACT,OAAO,EACP,kBAAkB,EAClB,oBAAoB,EACpB,OAAO,EACP,YAAY,EACZ,cAAc,EACd,UAAU,GAAG,CAAC,EACd,QAAQ,EACR,IAAI,GAAG,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"CtaButton.js","sourceRoot":"","sources":["../../../../../src/components/cta/common/CtaButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,EAAE,kBAAkB,EAAU,MAAM,mCAAmC,CAAC;AAC/E,OAAO,EAAE,iBAAiB,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEhF,OAAO,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,mBAAmB,EAAE,M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3B,oBAAC,cAAc;gBACb,oBAAC,OAAO,OAAG,CACI,CAClB,CACA,CACJ,CACiB,CACb,CACV,CAAC;AACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/cta/common/styles.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/cta/common/styles.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,SAAS,kNAWrB,CAAC;AAEF,eAAO,MAAM,iBAAiB,gNAI7B,CAAC;AAEF,eAAO,MAAM,cAAc,gNAM1B,CAAC"}
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import styled from "styled-components";
|
|
2
2
|
export const ExtraInfo = styled.span `
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
&&& {
|
|
4
|
+
display: flex;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: center;
|
|
7
|
+
font-style: normal;
|
|
8
|
+
font-weight: 600;
|
|
9
|
+
font-size: 0.75rem;
|
|
10
|
+
line-height: 150%;
|
|
11
|
+
opacity: 0.5;
|
|
12
|
+
}
|
|
11
13
|
`;
|
|
12
14
|
export const ButtonTextWrapper = styled.div `
|
|
13
15
|
display: flex;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/components/cta/common/styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAA
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../src/components/cta/common/styles.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,IAAI,CAAA;;;;;;;;;;;CAWnC,CAAC;AAEF,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;CAI1C,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;CAMvC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { CheckboxProps } from "./types";
|
|
3
3
|
export type BaseCheckboxProps = CheckboxProps;
|
|
4
|
-
export declare function BaseCheckbox({ name, text, theme, hideError, ...props }: BaseCheckboxProps): JSX.Element;
|
|
4
|
+
export declare function BaseCheckbox({ name, text, theme, hideError, className, iconProps, ...props }: BaseCheckboxProps): JSX.Element;
|
|
5
5
|
//# sourceMappingURL=BaseCheckbox.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/form/BaseCheckbox.tsx"],"names":[],"mappings":";AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAC9C,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,SAAS,EACT,GAAG,KAAK,EACT,EAAE,iBAAiB,
|
|
1
|
+
{"version":3,"file":"BaseCheckbox.d.ts","sourceRoot":"","sources":["../../../../src/components/form/BaseCheckbox.tsx"],"names":[],"mappings":";AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,MAAM,iBAAiB,GAAG,aAAa,CAAC;AAC9C,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,GAAG,KAAK,EACT,EAAE,iBAAiB,eA2CnB"}
|
|
@@ -3,7 +3,7 @@ import { Check } from "phosphor-react";
|
|
|
3
3
|
import React, { useEffect, useRef } from "react";
|
|
4
4
|
import Error from "./Error";
|
|
5
5
|
import { CheckboxWrapper } from "./Field.styles";
|
|
6
|
-
export function BaseCheckbox({ name, text, theme, hideError, ...props }) {
|
|
6
|
+
export function BaseCheckbox({ name, text, theme, hideError, className, iconProps, ...props }) {
|
|
7
7
|
const [field, meta, helpers] = useField(name);
|
|
8
8
|
const ref = useRef(field.value);
|
|
9
9
|
const errorMessage = meta.error && meta.touched ? meta.error : "";
|
|
@@ -17,10 +17,13 @@ export function BaseCheckbox({ name, text, theme, hideError, ...props }) {
|
|
|
17
17
|
}
|
|
18
18
|
}, [field.value]); // eslint-disable-line
|
|
19
19
|
return (React.createElement(React.Fragment, null,
|
|
20
|
-
React.createElement(CheckboxWrapper, { htmlFor: checkboxId, "$error": errorMessage, theme: theme },
|
|
21
|
-
React.createElement("input", { hidden: true, id: checkboxId, type: "checkbox", ...props, ...field,
|
|
20
|
+
React.createElement(CheckboxWrapper, { htmlFor: checkboxId, "$error": errorMessage, theme: theme, className: className },
|
|
21
|
+
React.createElement("input", { hidden: true, id: checkboxId, type: "checkbox", ...props, ...field, onChange: (event) => {
|
|
22
|
+
field.onChange(event);
|
|
23
|
+
props.onChange?.(event);
|
|
24
|
+
}, checked: field.value }),
|
|
22
25
|
React.createElement("div", null,
|
|
23
|
-
React.createElement(Check, { size: 16 })),
|
|
26
|
+
React.createElement(Check, { size: 16, width: "100%", height: "100%", ...iconProps })),
|
|
24
27
|
React.createElement("b", null, text)),
|
|
25
28
|
React.createElement(Error, { display: !hideError && displayError, message: errorMessage })));
|
|
26
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseCheckbox.js","sourceRoot":"","sources":["../../../../src/components/form/BaseCheckbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAClC,OA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QAAQ,CAAC,KAAK,CAAC,CAAC;oBACtB,KAAK,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,CAAC;gBAC1B,CAAC,EACD,OAAO,EAAE,KAAK,CAAC,KAAK,GACpB;YACF;gBACE,oBAAC,KAAK,IAAC,IAAI,EAAE,EAAE,EAAE,KAAK,EAAC,MAAM,EAAC,MAAM,EAAC,MAAM,KAAK,SAAS,GAAI,CACzD;YACN,+BAAI,IAAI,CAAK,CACG;QAClB,oBAAC,KAAK,IAAC,OAAO,EAAE,CAAC,SAAS,IAAI,YAAY,EAAE,OAAO,EAAE,YAAY,GAAI,CACpE,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -101,25 +101,25 @@ export declare const FormFieldWrapper: import("styled-components").IStyledCompon
|
|
|
101
101
|
} & {
|
|
102
102
|
height?: import("csstype").Property.Height<number | (string & {})> | undefined;
|
|
103
103
|
width?: import("csstype").Property.Width<number | (string & {})> | undefined;
|
|
104
|
+
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
105
|
+
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
106
|
+
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
104
107
|
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
108
|
+
alignSelf?: import("csstype").Property.AlignSelf | undefined;
|
|
109
|
+
columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
|
|
105
110
|
flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
|
|
106
111
|
flexDirection?: import("csstype").Property.FlexDirection | undefined;
|
|
107
112
|
flexGrow?: import("csstype").Property.FlexGrow | undefined;
|
|
108
113
|
flexShrink?: import("csstype").Property.FlexShrink | undefined;
|
|
109
|
-
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
110
114
|
flexWrap?: import("csstype").Property.FlexWrap | undefined;
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
114
|
-
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
115
|
-
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
116
|
-
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
117
|
-
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
118
|
-
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
115
|
+
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
116
|
+
justifySelf?: import("csstype").Property.JustifySelf | undefined;
|
|
119
117
|
marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
|
|
120
118
|
marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
|
|
121
|
-
|
|
122
|
-
|
|
119
|
+
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
120
|
+
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
121
|
+
rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
|
|
122
|
+
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
123
123
|
} & import("react").HTMLAttributes<unknown> & import("react").RefAttributes<HTMLDivElement>, never>> & Omit<import("react").ForwardRefExoticComponent<{
|
|
124
124
|
children?: import("react").ReactNode;
|
|
125
125
|
as?: import("react").ElementType<any> | undefined;
|
|
@@ -128,25 +128,25 @@ export declare const FormFieldWrapper: import("styled-components").IStyledCompon
|
|
|
128
128
|
} & {
|
|
129
129
|
height?: import("csstype").Property.Height<number | (string & {})> | undefined;
|
|
130
130
|
width?: import("csstype").Property.Width<number | (string & {})> | undefined;
|
|
131
|
+
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
132
|
+
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
133
|
+
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
131
134
|
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
135
|
+
alignSelf?: import("csstype").Property.AlignSelf | undefined;
|
|
136
|
+
columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
|
|
132
137
|
flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
|
|
133
138
|
flexDirection?: import("csstype").Property.FlexDirection | undefined;
|
|
134
139
|
flexGrow?: import("csstype").Property.FlexGrow | undefined;
|
|
135
140
|
flexShrink?: import("csstype").Property.FlexShrink | undefined;
|
|
136
|
-
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
137
141
|
flexWrap?: import("csstype").Property.FlexWrap | undefined;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
141
|
-
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
142
|
-
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
143
|
-
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
144
|
-
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
145
|
-
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
142
|
+
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
143
|
+
justifySelf?: import("csstype").Property.JustifySelf | undefined;
|
|
146
144
|
marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
|
|
147
145
|
marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
|
|
148
|
-
|
|
149
|
-
|
|
146
|
+
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
147
|
+
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
148
|
+
rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
|
|
149
|
+
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
150
150
|
} & import("react").HTMLAttributes<unknown> & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
|
|
151
151
|
export type CheckboxTheme = Partial<{
|
|
152
152
|
backgroundColor: CSSProperties["backgroundColor"];
|
|
@@ -250,6 +250,7 @@ export const CheckboxWrapper = styled.label `
|
|
|
250
250
|
align-items: center;
|
|
251
251
|
justify-content: flex-start;
|
|
252
252
|
cursor: pointer;
|
|
253
|
+
gap: 0.5rem;
|
|
253
254
|
|
|
254
255
|
> input {
|
|
255
256
|
&:disabled {
|
|
@@ -301,7 +302,6 @@ export const CheckboxWrapper = styled.label `
|
|
|
301
302
|
css `
|
|
302
303
|
border-radius: ${theme?.borderRadius};
|
|
303
304
|
`};
|
|
304
|
-
margin-right: 0.5rem;
|
|
305
305
|
}
|
|
306
306
|
|
|
307
307
|
> input {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Field.styles.js","sourceRoot":"","sources":["../../../../src/components/form/Field.styles.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,OAAO,MAAM,EAAE,EAAiB,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAE/D,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,mBAAmB,EAAE,MAAM,sCAAsC,CAAC;AAC3E,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAElC,MAAM,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC;AAElC,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAA;;;CAGtC,CAAC;AA0BF,MAAM,YAAY,GAAG;IACnB,KAAK,EAAE,MAAM;IACb,OAAO,EAAE,MAAM;IACf,KAAK,EAAE,MAAM;CACL,CAAC;AACX,MAAM,CAAC,MAAM,UAAU,GAAG,MAAM,CAAC,KAAK,CAIpC;;IAEE,CAAC,EAAE,WAAW,EAAE,EAAE,EAAE,CACpB,WAAW;IACX,GAAG,CAAA;gBACS,YAAY,CAAC,W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
5
5
|
import type { CheckboxTheme, FileUploadWrapperTheme, TextAreaTheme } from "./Field.styles";
|
|
6
6
|
import type { GridProps } from "../ui/Grid";
|
|
7
7
|
import { StateManagerProps } from "react-select/dist/declarations/src/useStateManager";
|
|
8
|
+
import { IconProps } from "phosphor-react";
|
|
8
9
|
export interface BaseProps {
|
|
9
10
|
name: string;
|
|
10
11
|
placeholder?: string;
|
|
@@ -17,10 +18,12 @@ export interface DatepickerProps extends BaseProps {
|
|
|
17
18
|
selectTime?: boolean;
|
|
18
19
|
setIsFormValid?: (isValid: boolean) => void;
|
|
19
20
|
}
|
|
20
|
-
export
|
|
21
|
+
export type CheckboxProps = BaseProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "checked"> & {
|
|
21
22
|
text?: string;
|
|
23
|
+
className?: string;
|
|
22
24
|
theme?: CheckboxTheme;
|
|
23
|
-
|
|
25
|
+
iconProps?: Parameters<React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>>[0];
|
|
26
|
+
};
|
|
24
27
|
export type TextareaProps = BaseProps & React.TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
|
25
28
|
theme?: TextAreaTheme;
|
|
26
29
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/form/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,UAAU,EACV,WAAW,EACZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,qBAAqB,EAAE,MAAM,4CAA4C,CAAC;AACnF,OAAO,KAAK,EACV,aAAa,EACb,sBAAsB,EACtB,aAAa,EACd,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,EAAE,i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ACxB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AACD,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,SAAS,CAAC"}
|
|
@@ -8,25 +8,25 @@ export declare const InputWrapper: import("styled-components").IStyledComponent<
|
|
|
8
8
|
} & {
|
|
9
9
|
height?: import("csstype").Property.Height<number | (string & {})> | undefined;
|
|
10
10
|
width?: import("csstype").Property.Width<number | (string & {})> | undefined;
|
|
11
|
+
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
12
|
+
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
13
|
+
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
11
14
|
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
15
|
+
alignSelf?: import("csstype").Property.AlignSelf | undefined;
|
|
16
|
+
columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
|
|
12
17
|
flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
|
|
13
18
|
flexDirection?: import("csstype").Property.FlexDirection | undefined;
|
|
14
19
|
flexGrow?: import("csstype").Property.FlexGrow | undefined;
|
|
15
20
|
flexShrink?: import("csstype").Property.FlexShrink | undefined;
|
|
16
|
-
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
17
21
|
flexWrap?: import("csstype").Property.FlexWrap | undefined;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
21
|
-
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
22
|
-
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
23
|
-
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
24
|
-
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
25
|
-
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
22
|
+
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
23
|
+
justifySelf?: import("csstype").Property.JustifySelf | undefined;
|
|
26
24
|
marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
|
|
27
25
|
marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
27
|
+
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
28
|
+
rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
|
|
29
|
+
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
30
30
|
} & import("react").HTMLAttributes<unknown> & import("react").RefAttributes<HTMLDivElement>, {
|
|
31
31
|
$hasError?: boolean | undefined;
|
|
32
32
|
}>> & Omit<import("react").ForwardRefExoticComponent<{
|
|
@@ -37,25 +37,25 @@ export declare const InputWrapper: import("styled-components").IStyledComponent<
|
|
|
37
37
|
} & {
|
|
38
38
|
height?: import("csstype").Property.Height<number | (string & {})> | undefined;
|
|
39
39
|
width?: import("csstype").Property.Width<number | (string & {})> | undefined;
|
|
40
|
+
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
41
|
+
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
42
|
+
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
40
43
|
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
44
|
+
alignSelf?: import("csstype").Property.AlignSelf | undefined;
|
|
45
|
+
columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
|
|
41
46
|
flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
|
|
42
47
|
flexDirection?: import("csstype").Property.FlexDirection | undefined;
|
|
43
48
|
flexGrow?: import("csstype").Property.FlexGrow | undefined;
|
|
44
49
|
flexShrink?: import("csstype").Property.FlexShrink | undefined;
|
|
45
|
-
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
46
50
|
flexWrap?: import("csstype").Property.FlexWrap | undefined;
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
50
|
-
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
51
|
-
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
52
|
-
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
53
|
-
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
54
|
-
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
51
|
+
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
52
|
+
justifySelf?: import("csstype").Property.JustifySelf | undefined;
|
|
55
53
|
marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
|
|
56
54
|
marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
56
|
+
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
57
|
+
rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
|
|
58
|
+
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
59
59
|
} & import("react").HTMLAttributes<unknown> & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
|
|
60
60
|
export declare const Input: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>>;
|
|
61
61
|
export declare const AmountWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
@@ -35,25 +35,25 @@ export declare const WidgetButtonWrapper: import("styled-components").IStyledCom
|
|
|
35
35
|
} & {
|
|
36
36
|
height?: import("csstype").Property.Height<number | (string & {})> | undefined;
|
|
37
37
|
width?: import("csstype").Property.Width<number | (string & {})> | undefined;
|
|
38
|
+
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
39
|
+
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
40
|
+
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
38
41
|
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
42
|
+
alignSelf?: import("csstype").Property.AlignSelf | undefined;
|
|
43
|
+
columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
|
|
39
44
|
flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
|
|
40
45
|
flexDirection?: import("csstype").Property.FlexDirection | undefined;
|
|
41
46
|
flexGrow?: import("csstype").Property.FlexGrow | undefined;
|
|
42
47
|
flexShrink?: import("csstype").Property.FlexShrink | undefined;
|
|
43
|
-
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
44
48
|
flexWrap?: import("csstype").Property.FlexWrap | undefined;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
48
|
-
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
49
|
-
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
50
|
-
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
51
|
-
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
52
|
-
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
49
|
+
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
50
|
+
justifySelf?: import("csstype").Property.JustifySelf | undefined;
|
|
53
51
|
marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
|
|
54
52
|
marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
|
|
55
|
-
|
|
56
|
-
|
|
53
|
+
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
54
|
+
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
55
|
+
rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
|
|
56
|
+
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
57
57
|
} & import("react").HTMLAttributes<unknown> & import("react").RefAttributes<HTMLDivElement>, never>> & Omit<import("react").ForwardRefExoticComponent<{
|
|
58
58
|
children?: import("react").ReactNode;
|
|
59
59
|
as?: import("react").ElementType<any> | undefined;
|
|
@@ -62,25 +62,25 @@ export declare const WidgetButtonWrapper: import("styled-components").IStyledCom
|
|
|
62
62
|
} & {
|
|
63
63
|
height?: import("csstype").Property.Height<number | (string & {})> | undefined;
|
|
64
64
|
width?: import("csstype").Property.Width<number | (string & {})> | undefined;
|
|
65
|
+
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
66
|
+
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
67
|
+
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
65
68
|
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
69
|
+
alignSelf?: import("csstype").Property.AlignSelf | undefined;
|
|
70
|
+
columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
|
|
66
71
|
flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
|
|
67
72
|
flexDirection?: import("csstype").Property.FlexDirection | undefined;
|
|
68
73
|
flexGrow?: import("csstype").Property.FlexGrow | undefined;
|
|
69
74
|
flexShrink?: import("csstype").Property.FlexShrink | undefined;
|
|
70
|
-
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
71
75
|
flexWrap?: import("csstype").Property.FlexWrap | undefined;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
75
|
-
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
76
|
-
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
77
|
-
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
78
|
-
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
79
|
-
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
76
|
+
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
77
|
+
justifySelf?: import("csstype").Property.JustifySelf | undefined;
|
|
80
78
|
marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
|
|
81
79
|
marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
81
|
+
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
82
|
+
rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
|
|
83
|
+
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
84
84
|
} & import("react").HTMLAttributes<unknown> & import("react").RefAttributes<HTMLDivElement>>, keyof import("react").Component<any, {}, any>>;
|
|
85
85
|
export declare const BosonExclusiveContainer: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
86
86
|
export declare const BaseWidget: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>;
|
|
@@ -97,26 +97,26 @@ export declare const CommitAndRedeemButton: import("styled-components").IStyledC
|
|
|
97
97
|
fontWeight?: import("csstype").Property.FontWeight | undefined;
|
|
98
98
|
letterSpacing?: import("csstype").Property.LetterSpacing<number | (string & {})> | undefined;
|
|
99
99
|
opacity?: import("csstype").Property.Opacity | undefined;
|
|
100
|
+
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
101
|
+
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
102
|
+
background?: import("csstype").Property.Background<number | (string & {})> | undefined;
|
|
103
|
+
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
100
104
|
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
105
|
+
columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
|
|
101
106
|
flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
|
|
102
107
|
flexDirection?: import("csstype").Property.FlexDirection | undefined;
|
|
103
108
|
flexGrow?: import("csstype").Property.FlexGrow | undefined;
|
|
104
109
|
flexShrink?: import("csstype").Property.FlexShrink | undefined;
|
|
105
|
-
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
106
110
|
flexWrap?: import("csstype").Property.FlexWrap | undefined;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
110
|
-
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
111
|
-
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
112
|
-
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
113
|
-
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
114
|
-
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
111
|
+
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
112
|
+
lineHeight?: import("csstype").Property.LineHeight<number | (string & {})> | undefined;
|
|
115
113
|
marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
|
|
116
114
|
marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
|
|
117
|
-
|
|
118
|
-
|
|
115
|
+
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
116
|
+
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
117
|
+
rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
|
|
119
118
|
textAlign?: import("csstype").Property.TextAlign | undefined;
|
|
119
|
+
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
120
120
|
} & import("react").HTMLAttributes<unknown> & {
|
|
121
121
|
children?: import("react").ReactNode;
|
|
122
122
|
tag?: keyof JSX.IntrinsicElements | undefined;
|
|
@@ -132,26 +132,26 @@ export declare const CommitAndRedeemButton: import("styled-components").IStyledC
|
|
|
132
132
|
fontWeight?: import("csstype").Property.FontWeight | undefined;
|
|
133
133
|
letterSpacing?: import("csstype").Property.LetterSpacing<number | (string & {})> | undefined;
|
|
134
134
|
opacity?: import("csstype").Property.Opacity | undefined;
|
|
135
|
+
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
136
|
+
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
137
|
+
background?: import("csstype").Property.Background<number | (string & {})> | undefined;
|
|
138
|
+
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
135
139
|
alignItems?: import("csstype").Property.AlignItems | undefined;
|
|
140
|
+
columnGap?: import("csstype").Property.ColumnGap<number | (string & {})> | undefined;
|
|
136
141
|
flexBasis?: import("csstype").Property.FlexBasis<number | (string & {})> | undefined;
|
|
137
142
|
flexDirection?: import("csstype").Property.FlexDirection | undefined;
|
|
138
143
|
flexGrow?: import("csstype").Property.FlexGrow | undefined;
|
|
139
144
|
flexShrink?: import("csstype").Property.FlexShrink | undefined;
|
|
140
|
-
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
141
145
|
flexWrap?: import("csstype").Property.FlexWrap | undefined;
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
gap?: import("csstype").Property.Gap<number | (string & {})> | undefined;
|
|
145
|
-
flex?: import("csstype").Property.Flex<number | (string & {})> | undefined;
|
|
146
|
-
padding?: import("csstype").Property.Padding<number | (string & {})> | undefined;
|
|
147
|
-
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
148
|
-
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
149
|
-
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
146
|
+
justifyContent?: import("csstype").Property.JustifyContent | undefined;
|
|
147
|
+
lineHeight?: import("csstype").Property.LineHeight<number | (string & {})> | undefined;
|
|
150
148
|
marginBottom?: import("csstype").Property.MarginBottom<number | (string & {})> | undefined;
|
|
151
149
|
marginLeft?: import("csstype").Property.MarginLeft<number | (string & {})> | undefined;
|
|
152
|
-
|
|
153
|
-
|
|
150
|
+
marginRight?: import("csstype").Property.MarginRight<number | (string & {})> | undefined;
|
|
151
|
+
marginTop?: import("csstype").Property.MarginTop<number | (string & {})> | undefined;
|
|
152
|
+
rowGap?: import("csstype").Property.RowGap<number | (string & {})> | undefined;
|
|
154
153
|
textAlign?: import("csstype").Property.TextAlign | undefined;
|
|
154
|
+
margin?: import("csstype").Property.Margin<number | (string & {})> | undefined;
|
|
155
155
|
} & import("react").HTMLAttributes<unknown> & {
|
|
156
156
|
children?: import("react").ReactNode;
|
|
157
157
|
tag?: keyof JSX.IntrinsicElements | undefined;
|
|
@@ -163,7 +163,7 @@ export declare const RaiseProblemButton: import("styled-components").IStyledComp
|
|
|
163
163
|
children?: import("react").ReactNode;
|
|
164
164
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
165
165
|
size?: "regular" | "small" | "large" | import("../../../../..").ButtonSize | undefined;
|
|
166
|
-
themeVal?: "warning" | "
|
|
166
|
+
themeVal?: "warning" | "black" | "orange" | "white" | "primary" | "bosonPrimary" | "secondary" | "bosonSecondary" | "secondaryInverted" | "accentInvertedNoBorder" | "accentInverted" | "orangeInverse" | "bosonSecondaryInverse" | "outline" | "ghostSecondary" | "blank" | "blankSecondary" | "blankSecondaryOutline" | "blankOutline" | "escalate" | "accentFill" | undefined;
|
|
167
167
|
type?: "button" | "submit" | "reset" | undefined;
|
|
168
168
|
fill?: boolean | undefined;
|
|
169
169
|
step?: number | undefined;
|
|
@@ -174,7 +174,7 @@ export declare const RaiseProblemButton: import("styled-components").IStyledComp
|
|
|
174
174
|
children?: import("react").ReactNode;
|
|
175
175
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
176
176
|
size?: "regular" | "small" | "large" | import("../../../../..").ButtonSize | undefined;
|
|
177
|
-
themeVal?: "warning" | "
|
|
177
|
+
themeVal?: "warning" | "black" | "orange" | "white" | "primary" | "bosonPrimary" | "secondary" | "bosonSecondary" | "secondaryInverted" | "accentInvertedNoBorder" | "accentInverted" | "orangeInverse" | "bosonSecondaryInverse" | "outline" | "ghostSecondary" | "blank" | "blankSecondary" | "blankSecondaryOutline" | "blankOutline" | "escalate" | "accentFill" | undefined;
|
|
178
178
|
type?: "button" | "submit" | "reset" | undefined;
|
|
179
179
|
fill?: boolean | undefined;
|
|
180
180
|
step?: number | undefined;
|
|
@@ -186,7 +186,7 @@ export declare const StyledCancelButton: import("styled-components").IStyledComp
|
|
|
186
186
|
children?: import("react").ReactNode;
|
|
187
187
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
188
188
|
size?: "regular" | "small" | "large" | import("../../../../..").ButtonSize | undefined;
|
|
189
|
-
themeVal?: "warning" | "
|
|
189
|
+
themeVal?: "warning" | "black" | "orange" | "white" | "primary" | "bosonPrimary" | "secondary" | "bosonSecondary" | "secondaryInverted" | "accentInvertedNoBorder" | "accentInverted" | "orangeInverse" | "bosonSecondaryInverse" | "outline" | "ghostSecondary" | "blank" | "blankSecondary" | "blankSecondaryOutline" | "blankOutline" | "escalate" | "accentFill" | undefined;
|
|
190
190
|
type?: "button" | "submit" | "reset" | undefined;
|
|
191
191
|
fill?: boolean | undefined;
|
|
192
192
|
step?: number | undefined;
|
|
@@ -197,7 +197,7 @@ export declare const StyledCancelButton: import("styled-components").IStyledComp
|
|
|
197
197
|
children?: import("react").ReactNode;
|
|
198
198
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
199
199
|
size?: "regular" | "small" | "large" | import("../../../../..").ButtonSize | undefined;
|
|
200
|
-
themeVal?: "warning" | "
|
|
200
|
+
themeVal?: "warning" | "black" | "orange" | "white" | "primary" | "bosonPrimary" | "secondary" | "bosonSecondary" | "secondaryInverted" | "accentInvertedNoBorder" | "accentInverted" | "orangeInverse" | "bosonSecondaryInverse" | "outline" | "ghostSecondary" | "blank" | "blankSecondary" | "blankSecondaryOutline" | "blankOutline" | "escalate" | "accentFill" | undefined;
|
|
201
201
|
type?: "button" | "submit" | "reset" | undefined;
|
|
202
202
|
fill?: boolean | undefined;
|
|
203
203
|
step?: number | undefined;
|
|
@@ -209,7 +209,7 @@ export declare const ContactSellerButton: import("styled-components").IStyledCom
|
|
|
209
209
|
children?: import("react").ReactNode;
|
|
210
210
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
211
211
|
size?: "regular" | "small" | "large" | import("../../../../..").ButtonSize | undefined;
|
|
212
|
-
themeVal?: "warning" | "
|
|
212
|
+
themeVal?: "warning" | "black" | "orange" | "white" | "primary" | "bosonPrimary" | "secondary" | "bosonSecondary" | "secondaryInverted" | "accentInvertedNoBorder" | "accentInverted" | "orangeInverse" | "bosonSecondaryInverse" | "outline" | "ghostSecondary" | "blank" | "blankSecondary" | "blankSecondaryOutline" | "blankOutline" | "escalate" | "accentFill" | undefined;
|
|
213
213
|
type?: "button" | "submit" | "reset" | undefined;
|
|
214
214
|
fill?: boolean | undefined;
|
|
215
215
|
step?: number | undefined;
|
|
@@ -220,7 +220,7 @@ export declare const ContactSellerButton: import("styled-components").IStyledCom
|
|
|
220
220
|
children?: import("react").ReactNode;
|
|
221
221
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
222
222
|
size?: "regular" | "small" | "large" | import("../../../../..").ButtonSize | undefined;
|
|
223
|
-
themeVal?: "warning" | "
|
|
223
|
+
themeVal?: "warning" | "black" | "orange" | "white" | "primary" | "bosonPrimary" | "secondary" | "bosonSecondary" | "secondaryInverted" | "accentInvertedNoBorder" | "accentInverted" | "orangeInverse" | "bosonSecondaryInverse" | "outline" | "ghostSecondary" | "blank" | "blankSecondary" | "blankSecondaryOutline" | "blankOutline" | "escalate" | "accentFill" | undefined;
|
|
224
224
|
type?: "button" | "submit" | "reset" | undefined;
|
|
225
225
|
fill?: boolean | undefined;
|
|
226
226
|
step?: number | undefined;
|
|
@@ -231,7 +231,7 @@ export declare const ContactSellerButton: import("styled-components").IStyledCom
|
|
|
231
231
|
children?: import("react").ReactNode;
|
|
232
232
|
onClick?: import("react").MouseEventHandler<HTMLButtonElement> | undefined;
|
|
233
233
|
size?: "regular" | "small" | "large" | import("../../../../..").ButtonSize | undefined;
|
|
234
|
-
themeVal?: "warning" | "
|
|
234
|
+
themeVal?: "warning" | "black" | "orange" | "white" | "primary" | "bosonPrimary" | "secondary" | "bosonSecondary" | "secondaryInverted" | "accentInvertedNoBorder" | "accentInverted" | "orangeInverse" | "bosonSecondaryInverse" | "outline" | "ghostSecondary" | "blank" | "blankSecondary" | "blankSecondaryOutline" | "blankOutline" | "escalate" | "accentFill" | undefined;
|
|
235
235
|
type?: "button" | "submit" | "reset" | undefined;
|
|
236
236
|
fill?: boolean | undefined;
|
|
237
237
|
step?: number | undefined;
|