@saasquatch/mint-components 1.15.0-115 → 1.15.0-117
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/RewardExchangeListData-a787ce54.js +1144 -0
- package/dist/cjs/{ShadowViewAddon-74752e56.js → ShadowViewAddon-f1bd9b26.js} +1 -1
- package/dist/cjs/{copy-text-view-c13907f9.js → copy-text-view-44dfefc7.js} +5 -7
- package/dist/cjs/copy-text-view-f0313f78.js +121 -0
- package/dist/cjs/sqm-big-stat_43.cjs.entry.js +2 -2
- package/dist/cjs/sqm-coupon-code-view-a869384e.js +35 -0
- package/dist/cjs/sqm-coupon-code.cjs.entry.js +285 -0
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +1 -1
- package/dist/cjs/sqm-referral-code.cjs.entry.js +177 -0
- package/dist/cjs/sqm-reward-exchange-list.cjs.entry.js +1018 -0
- package/dist/cjs/sqm-share-code.cjs.entry.js +147 -0
- package/dist/cjs/sqm-share-link.cjs.entry.js +102 -0
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +3 -3
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +1 -1
- package/dist/collection/components/views/copy-text-view.js +5 -7
- package/dist/esm/RewardExchangeListData-11c043e3.js +1122 -0
- package/dist/esm/{ShadowViewAddon-ee0c8c4b.js → ShadowViewAddon-c0600f22.js} +1 -1
- package/dist/esm/copy-text-view-3129fb22.js +119 -0
- package/dist/esm/{copy-text-view-61bd1ac1.js → copy-text-view-a319c261.js} +5 -7
- package/dist/esm/sqm-big-stat_43.entry.js +2 -2
- package/dist/esm/sqm-coupon-code-view-af016712.js +33 -0
- package/dist/esm/sqm-coupon-code.entry.js +281 -0
- package/dist/esm/sqm-pagination_3.entry.js +1 -1
- package/dist/esm/sqm-referral-code.entry.js +173 -0
- package/dist/esm/sqm-reward-exchange-list.entry.js +1014 -0
- package/dist/esm/sqm-share-code.entry.js +143 -0
- package/dist/esm/sqm-share-link.entry.js +98 -0
- package/dist/esm/sqm-stencilbook.entry.js +3 -3
- package/dist/esm-es5/RewardExchangeListData-11c043e3.js +1 -0
- package/dist/esm-es5/{ShadowViewAddon-ee0c8c4b.js → ShadowViewAddon-c0600f22.js} +1 -1
- package/dist/esm-es5/copy-text-view-3129fb22.js +1 -0
- package/dist/esm-es5/copy-text-view-a319c261.js +1 -0
- package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
- package/dist/esm-es5/sqm-coupon-code-view-af016712.js +1 -0
- package/dist/esm-es5/sqm-coupon-code.entry.js +1 -0
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-code.entry.js +1 -0
- package/dist/esm-es5/sqm-reward-exchange-list.entry.js +1 -0
- package/dist/esm-es5/sqm-share-code.entry.js +1 -0
- package/dist/esm-es5/sqm-share-link.entry.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/RewardExchangeListData-11c043e3.js +1122 -0
- package/dist/mint-components/RewardExchangeListData-546ffbb9.system.js +1 -0
- package/dist/mint-components/copy-text-view-3129fb22.js +119 -0
- package/dist/mint-components/copy-text-view-33cac657.system.js +1 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-2bf5998b.entry.js → p-1276830a.entry.js} +1 -1
- package/dist/mint-components/p-1de49f76.js +1 -0
- package/dist/mint-components/{p-94952e33.js → p-6b904749.js} +1 -1
- package/dist/mint-components/p-a89baf7b.system.js +1 -1
- package/dist/mint-components/{p-ba0c9f88.system.entry.js → p-aa77d858.system.entry.js} +1 -1
- package/dist/mint-components/{p-45736fa8.system.js → p-bdc86ee3.system.js} +1 -1
- package/dist/mint-components/{p-680894bd.system.entry.js → p-be770d69.system.entry.js} +1 -1
- package/dist/mint-components/{p-0bac31a6.entry.js → p-e34b460e.entry.js} +1 -1
- package/dist/mint-components/{p-4e3ec053.system.entry.js → p-ed69dc98.system.entry.js} +1 -1
- package/dist/mint-components/p-f4f57363.system.js +1 -0
- package/dist/mint-components/{p-dba96a48.entry.js → p-f9f67437.entry.js} +2 -2
- package/dist/mint-components/sqm-coupon-code-view-40fd8d8b.system.js +1 -0
- package/dist/mint-components/sqm-coupon-code-view-af016712.js +33 -0
- package/dist/mint-components/sqm-coupon-code.entry.js +281 -0
- package/dist/mint-components/sqm-coupon-code.system.entry.js +1 -0
- package/dist/mint-components/sqm-referral-code.entry.js +173 -0
- package/dist/mint-components/sqm-referral-code.system.entry.js +1 -0
- package/dist/mint-components/sqm-reward-exchange-list.entry.js +1014 -0
- package/dist/mint-components/sqm-reward-exchange-list.system.entry.js +1 -0
- package/dist/mint-components/sqm-share-code.entry.js +143 -0
- package/dist/mint-components/sqm-share-code.system.entry.js +1 -0
- package/dist/mint-components/sqm-share-link.entry.js +98 -0
- package/dist/mint-components/sqm-share-link.system.entry.js +1 -0
- package/dist/mint-components/sqm-stencilbook.entry.js +20330 -0
- package/dist/mint-components/sqm-stencilbook.system.entry.js +1 -0
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/copy-text-view-61bd1ac1.js +0 -1
- package/dist/mint-components/p-c5ca5b5f.js +0 -1
- package/dist/mint-components/p-efeab858.system.js +0 -1
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-ad175903.js');
|
|
6
|
+
const domContextHooks_module = require('./dom-context-hooks.module-baf97805.js');
|
|
7
|
+
const index_module = require('./index.module-0ec494e5.js');
|
|
8
|
+
require('./jss-preset-default.esm-b48f0c33.js');
|
|
9
|
+
require('./JSS-518e9b4d.js');
|
|
10
|
+
require('./mixins-f51b04f1.js');
|
|
11
|
+
const utils = require('./utils-ebe923b6.js');
|
|
12
|
+
const cjs = require('./cjs-2bf512b9.js');
|
|
13
|
+
const copyTextView = require('./copy-text-view-f0313f78.js');
|
|
14
|
+
|
|
15
|
+
const MessageLinkQuery = index_module.dist.gql `
|
|
16
|
+
query ($programId: ID) {
|
|
17
|
+
user: viewer {
|
|
18
|
+
... on User {
|
|
19
|
+
referralCode(programId: $programId)
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
`;
|
|
24
|
+
const WIDGET_ENGAGEMENT_EVENT = index_module.dist.gql `
|
|
25
|
+
mutation loadEvent($eventMeta: UserAnalyticsEvent!) {
|
|
26
|
+
createUserAnalyticsEvent(eventMeta: $eventMeta)
|
|
27
|
+
}
|
|
28
|
+
`;
|
|
29
|
+
function useShareCode(props) {
|
|
30
|
+
var _a, _b;
|
|
31
|
+
const { programId = index_module.H() } = props;
|
|
32
|
+
const user = index_module.J();
|
|
33
|
+
const engagementMedium = index_module.B();
|
|
34
|
+
const { data } = index_module.wn(MessageLinkQuery, { programId }, !(user === null || user === void 0 ? void 0 : user.jwt));
|
|
35
|
+
const [sendLoadEvent] = index_module.$e(WIDGET_ENGAGEMENT_EVENT);
|
|
36
|
+
const copyString = (_b = (_a = data === null || data === void 0 ? void 0 : data.user) === null || _a === void 0 ? void 0 : _a.referralCode) !== null && _b !== void 0 ? _b :
|
|
37
|
+
// Shown during loading
|
|
38
|
+
"...";
|
|
39
|
+
const [open, setOpen] = domContextHooks_module.useState(false);
|
|
40
|
+
function onClick() {
|
|
41
|
+
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
42
|
+
// Only if called from a user-initiated event
|
|
43
|
+
navigator.clipboard.writeText(copyString);
|
|
44
|
+
setOpen(true);
|
|
45
|
+
setTimeout(() => setOpen(false), props.tooltiplifespan);
|
|
46
|
+
sendLoadEvent({
|
|
47
|
+
eventMeta: {
|
|
48
|
+
programId,
|
|
49
|
+
id: user === null || user === void 0 ? void 0 : user.id,
|
|
50
|
+
accountId: user === null || user === void 0 ? void 0 : user.accountId,
|
|
51
|
+
type: "USER_REFERRAL_PROGRAM_ENGAGEMENT_EVENT",
|
|
52
|
+
meta: {
|
|
53
|
+
engagementMedium,
|
|
54
|
+
shareMedium: "DIRECT",
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
return { ...props, onClick, open, copyString: copyString };
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const ShareCode = class {
|
|
63
|
+
constructor(hostRef) {
|
|
64
|
+
index.registerInstance(this, hostRef);
|
|
65
|
+
/**
|
|
66
|
+
* Shown inside a tooltip after someone has successfully copied the link to their clipboard
|
|
67
|
+
*
|
|
68
|
+
* @uiName Tooltip text
|
|
69
|
+
*/
|
|
70
|
+
this.tooltiptext = "Copied to Clipboard";
|
|
71
|
+
/**
|
|
72
|
+
* The number of milliseconds that the tooltip appears for
|
|
73
|
+
*
|
|
74
|
+
* @uiName Tooltip lifespan
|
|
75
|
+
*/
|
|
76
|
+
this.tooltiplifespan = 1000;
|
|
77
|
+
/**
|
|
78
|
+
* Change the text alignment
|
|
79
|
+
*
|
|
80
|
+
* @uiName Share code alignment
|
|
81
|
+
* @uiType string
|
|
82
|
+
* @uiEnum ["left", "center", "right"]
|
|
83
|
+
* @uiEnumNames ["Left", "Center", "Right"]
|
|
84
|
+
* @uiGroup Style
|
|
85
|
+
*/
|
|
86
|
+
this.textAlign = "left";
|
|
87
|
+
/**
|
|
88
|
+
* @uiName Copy button label
|
|
89
|
+
*/
|
|
90
|
+
this.copyButtonLabel = "Copy Code";
|
|
91
|
+
/**
|
|
92
|
+
* Set the copy button style and placement
|
|
93
|
+
*
|
|
94
|
+
* @uiName Style
|
|
95
|
+
* @uiType string
|
|
96
|
+
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
97
|
+
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
98
|
+
* @uiGroup Style
|
|
99
|
+
*/
|
|
100
|
+
this.buttonStyle = "icon";
|
|
101
|
+
/**
|
|
102
|
+
* The type of the button that is used (primary or secondary).
|
|
103
|
+
* @uiName Button Type
|
|
104
|
+
* @uiType string
|
|
105
|
+
* @uiEnum ["primary", "secondary"]
|
|
106
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
107
|
+
* @uiGroup Style
|
|
108
|
+
*/
|
|
109
|
+
this.buttonType = "primary";
|
|
110
|
+
domContextHooks_module.h$1(this);
|
|
111
|
+
}
|
|
112
|
+
disconnectedCallback() { }
|
|
113
|
+
render() {
|
|
114
|
+
const thisProps = utils.getProps(this);
|
|
115
|
+
const props = index_module.isDemo()
|
|
116
|
+
? useDemoShareCode(thisProps)
|
|
117
|
+
: useShareCode(thisProps);
|
|
118
|
+
return index.h(copyTextView.CopyTextView, Object.assign({}, props));
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
function useDemoShareCode(props) {
|
|
122
|
+
const [open, setOpen] = domContextHooks_module.useState(false);
|
|
123
|
+
const copyString = "SHARECODE001";
|
|
124
|
+
return cjs.cjs({
|
|
125
|
+
copyString: copyString,
|
|
126
|
+
tooltiptext: props.tooltiptext,
|
|
127
|
+
textAlign: props.textAlign,
|
|
128
|
+
copyButtonLabel: props.copyButtonLabel,
|
|
129
|
+
buttonStyle: props.buttonStyle,
|
|
130
|
+
backgroundColor: props.backgroundColor,
|
|
131
|
+
textColor: props.textColor,
|
|
132
|
+
borderRadius: props.borderRadius,
|
|
133
|
+
borderColor: props.borderColor,
|
|
134
|
+
buttonType: props.buttonType,
|
|
135
|
+
rewardStatus: "AVAILABLE",
|
|
136
|
+
open,
|
|
137
|
+
onClick: () => {
|
|
138
|
+
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
139
|
+
// Only if called from a user-initiated event
|
|
140
|
+
navigator.clipboard.writeText(copyString);
|
|
141
|
+
setOpen(true);
|
|
142
|
+
setTimeout(() => setOpen(false), props.tooltiplifespan);
|
|
143
|
+
},
|
|
144
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
exports.sqm_share_code = ShareCode;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-ad175903.js');
|
|
6
|
+
const domContextHooks_module = require('./dom-context-hooks.module-baf97805.js');
|
|
7
|
+
const index_module = require('./index.module-0ec494e5.js');
|
|
8
|
+
require('./jss-preset-default.esm-b48f0c33.js');
|
|
9
|
+
require('./JSS-518e9b4d.js');
|
|
10
|
+
require('./mixins-f51b04f1.js');
|
|
11
|
+
const utils = require('./utils-ebe923b6.js');
|
|
12
|
+
const cjs = require('./cjs-2bf512b9.js');
|
|
13
|
+
require('./useReferralCodes-bb07449a.js');
|
|
14
|
+
const copyTextView = require('./copy-text-view-f0313f78.js');
|
|
15
|
+
const useShareLink = require('./useShareLink-ce1c14bd.js');
|
|
16
|
+
|
|
17
|
+
const ShareLink = class {
|
|
18
|
+
constructor(hostRef) {
|
|
19
|
+
index.registerInstance(this, hostRef);
|
|
20
|
+
/**
|
|
21
|
+
* Shown inside a tooltip after someone has successfully copied the link to their clipboard
|
|
22
|
+
*
|
|
23
|
+
* @uiName Tooltip text
|
|
24
|
+
*/
|
|
25
|
+
this.tooltiptext = "Copied to Clipboard";
|
|
26
|
+
/**
|
|
27
|
+
* The number of milliseconds that the tooltip appears for
|
|
28
|
+
*
|
|
29
|
+
* @uiName Tooltip lifespan
|
|
30
|
+
*/
|
|
31
|
+
this.tooltiplifespan = 1000;
|
|
32
|
+
/**
|
|
33
|
+
* Change the text alignment
|
|
34
|
+
*
|
|
35
|
+
* @uiName Share link alignment
|
|
36
|
+
* @uiType string
|
|
37
|
+
* @uiEnum ["left", "center", "right"]
|
|
38
|
+
* @uiEnumNames ["Left", "Center", "Right"]
|
|
39
|
+
* @uiGroup Style
|
|
40
|
+
*/
|
|
41
|
+
this.textAlign = "left";
|
|
42
|
+
/**
|
|
43
|
+
* @uiName Copy button label
|
|
44
|
+
*/
|
|
45
|
+
this.copyButtonLabel = "Copy Link";
|
|
46
|
+
/**
|
|
47
|
+
* The type of the button that is used (primary or secondary).
|
|
48
|
+
* @uiName Button Type
|
|
49
|
+
* @uiType string
|
|
50
|
+
* @uiEnum ["primary", "secondary"]
|
|
51
|
+
* @uiEnumNames ["Primary", "Secondary"]
|
|
52
|
+
* @uiGroup Style
|
|
53
|
+
*/
|
|
54
|
+
this.buttonType = "primary";
|
|
55
|
+
/**
|
|
56
|
+
* Set the copy button style and placement
|
|
57
|
+
*
|
|
58
|
+
* @uiName Button style
|
|
59
|
+
* @uiType string
|
|
60
|
+
* @uiEnum ["icon", "button-outside", "button-below"]
|
|
61
|
+
* @uiEnumNames ["Icon", "Button outside", "Button below"]
|
|
62
|
+
* @uiGroup Style
|
|
63
|
+
*/
|
|
64
|
+
this.buttonStyle = "icon";
|
|
65
|
+
domContextHooks_module.h$1(this);
|
|
66
|
+
}
|
|
67
|
+
disconnectedCallback() { }
|
|
68
|
+
render() {
|
|
69
|
+
const thisProps = utils.getProps(this);
|
|
70
|
+
const props = index_module.isDemo()
|
|
71
|
+
? useDemoShareLink(thisProps)
|
|
72
|
+
: useShareLink.useShareLink(thisProps);
|
|
73
|
+
return index.h(copyTextView.CopyTextView, Object.assign({}, props));
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
function useDemoShareLink(props) {
|
|
77
|
+
const [open, setOpen] = domContextHooks_module.useState(false);
|
|
78
|
+
const copyString = "https://www.example.com/sharelink/abc";
|
|
79
|
+
return cjs.cjs({
|
|
80
|
+
copyString: copyString,
|
|
81
|
+
tooltiptext: props.tooltiptext,
|
|
82
|
+
textAlign: props.textAlign,
|
|
83
|
+
buttonStyle: props.buttonStyle,
|
|
84
|
+
backgroundColor: props.backgroundColor,
|
|
85
|
+
textColor: props.textColor,
|
|
86
|
+
borderRadius: props.borderRadius,
|
|
87
|
+
buttonType: props.buttonType,
|
|
88
|
+
copyButtonLabel: props.copyButtonLabel,
|
|
89
|
+
borderColor: props.borderColor,
|
|
90
|
+
rewardStatus: "AVAILABLE",
|
|
91
|
+
open,
|
|
92
|
+
onClick: () => {
|
|
93
|
+
// Should well supported: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#browser_compatibility
|
|
94
|
+
// Only if called from a user-initiated event
|
|
95
|
+
navigator.clipboard.writeText(copyString);
|
|
96
|
+
setOpen(true);
|
|
97
|
+
setTimeout(() => setOpen(false), props.tooltiplifespan);
|
|
98
|
+
},
|
|
99
|
+
}, props.demoData || {}, { arrayMerge: (_, a) => a });
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
exports.sqm_share_link = ShareLink;
|
|
@@ -11,7 +11,7 @@ require('./utils-7cbd60cc.js');
|
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
require('./useReferralCodes-11cdf43b.js');
|
|
13
13
|
require('./mixins-4761d472.js');
|
|
14
|
-
const copyTextView = require('./copy-text-view-
|
|
14
|
+
const copyTextView = require('./copy-text-view-44dfefc7.js');
|
|
15
15
|
const GenericTableView = require('./GenericTableView-a9845e80.js');
|
|
16
16
|
require('./useChildElements-966c9041.js');
|
|
17
17
|
const luxon = require('./luxon-949beaf2.js');
|
|
@@ -33,7 +33,7 @@ require('./utilities-9a0c5e91.js');
|
|
|
33
33
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-25eb2099.js');
|
|
34
34
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-1c4e781f.js');
|
|
35
35
|
const sqmQrCodeView = require('./sqm-qr-code-view-0c3b2f48.js');
|
|
36
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
36
|
+
const ShadowViewAddon = require('./ShadowViewAddon-f1bd9b26.js');
|
|
37
37
|
const sqmPortalContainerView = require('./sqm-portal-container-view-07e4343f.js');
|
|
38
38
|
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-cf888c7b.js');
|
|
39
39
|
const utils = require('./utils-e3305bd8.js');
|
|
@@ -13395,7 +13395,7 @@ const Default$m = () => {
|
|
|
13395
13395
|
open: false,
|
|
13396
13396
|
tooltiptext: "Copied!",
|
|
13397
13397
|
};
|
|
13398
|
-
return index.h(copyTextView.CopyTextView, Object.assign({
|
|
13398
|
+
return index.h(copyTextView.CopyTextView, Object.assign({}, props));
|
|
13399
13399
|
};
|
|
13400
13400
|
const Tooltip = () => {
|
|
13401
13401
|
const props = {
|
|
@@ -13,7 +13,7 @@ export const Default = () => {
|
|
|
13
13
|
open: false,
|
|
14
14
|
tooltiptext: "Copied!",
|
|
15
15
|
};
|
|
16
|
-
return h(CopyTextView, Object.assign({
|
|
16
|
+
return h(CopyTextView, Object.assign({}, props));
|
|
17
17
|
};
|
|
18
18
|
export const Tooltip = () => {
|
|
19
19
|
const props = {
|
|
@@ -33,15 +33,10 @@ export function CopyTextView(props) {
|
|
|
33
33
|
width: "100%",
|
|
34
34
|
},
|
|
35
35
|
"&::part(base)": {
|
|
36
|
-
|
|
37
|
-
"--sl-input-border-radius": props.borderRadius
|
|
38
|
-
? `${props.borderRadius}px`
|
|
39
|
-
: "var(--sqm-input-border-radius)",
|
|
40
|
-
"--sl-input-border-color": props.borderColor || "var(--sqm-border-color)",
|
|
41
|
-
// These are now correct
|
|
36
|
+
"--sl-input-border-radius": `${props.borderRadius}px` || "var(--sqm-border-radius-normal)",
|
|
42
37
|
"--sl-input-background-color": props.backgroundColor || "var(--sqm-portal-background)",
|
|
43
38
|
"--sl-input-color": props.textColor || "var(--sqm-input-color)",
|
|
44
|
-
|
|
39
|
+
"--sl-input-border-color": "var(--sqm-border-color)",
|
|
45
40
|
"--sl-input-border-color-hover": "#999999",
|
|
46
41
|
"--sl-input-border-color-focus": "#999999",
|
|
47
42
|
"--sl-input-color-hover": "var(--sqm-input-color-hover)",
|
|
@@ -51,6 +46,9 @@ export function CopyTextView(props) {
|
|
|
51
46
|
"--sl-input-background-color-hover": "var(--sqm-portal-background)",
|
|
52
47
|
cursor: "pointer",
|
|
53
48
|
overflow: "visible",
|
|
49
|
+
borderRadius: `${props.borderRadius}px` || "var(--sqm-border-radius-normal)",
|
|
50
|
+
background: props.backgroundColor || "var(--sqm-portal-background)",
|
|
51
|
+
border: `var(--sqm-border-thickness) solid ${props.borderColor || "var(--sqm-input-border-color)"}`,
|
|
54
52
|
},
|
|
55
53
|
width: "100%",
|
|
56
54
|
},
|