@saasquatch/mint-components 1.15.0-7 → 1.15.0-9
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/{ShadowViewAddon-e666dc8b.js → ShadowViewAddon-3e3e03ab.js} +1 -1
- package/dist/cjs/{copy-text-view-7441206d.js → copy-text-view-b2f47da0.js} +2 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-big-stat_41.cjs.entry.js +22 -4
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +70 -54
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +13 -2
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -1
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +1 -1
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +79 -0
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-referral-code/ReferralCode.stories.js +3 -0
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +165 -1
- package/dist/collection/components/sqm-referral-codes/ReferralCodes.stories.js +6 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes-view.js +46 -46
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +28 -1
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +32 -2
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +36 -3
- package/dist/collection/components/views/copy-text-view.js +2 -2
- package/dist/esm/{ShadowViewAddon-7c10e0ee.js → ShadowViewAddon-ccd5586b.js} +1 -1
- package/dist/esm/{copy-text-view-717050d5.js → copy-text-view-0ac6e1d1.js} +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-big-stat_41.entry.js +22 -4
- package/dist/esm/sqm-pagination_3.entry.js +70 -54
- package/dist/esm/sqm-stencilbook.entry.js +13 -2
- package/dist/esm-es5/{ShadowViewAddon-7c10e0ee.js → ShadowViewAddon-ccd5586b.js} +1 -1
- package/dist/esm-es5/copy-text-view-0ac6e1d1.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-19439bf0.system.entry.js +1 -0
- package/dist/mint-components/p-2c7ebd5b.js +1 -0
- package/dist/mint-components/p-32dbde60.system.js +1 -0
- package/dist/mint-components/p-5ca43353.system.entry.js +1 -0
- package/dist/mint-components/{p-4874193a.system.js → p-6d061986.system.js} +1 -1
- package/dist/mint-components/{p-8c12078e.js → p-ab47e9a7.js} +1 -1
- package/dist/mint-components/{p-7f1e10d3.entry.js → p-b59cd472.entry.js} +2 -2
- package/dist/mint-components/{p-bdbbc673.system.entry.js → p-ccc207bc.system.entry.js} +1 -1
- package/dist/mint-components/{p-c0d839d0.entry.js → p-cd31cfd4.entry.js} +11 -11
- package/dist/mint-components/p-d4546357.entry.js +13 -0
- package/dist/mint-components/p-ed11966d.system.js +1 -1
- package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +19 -0
- package/dist/types/components/sqm-referral-code/ReferralCode.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +41 -0
- package/dist/types/components/sqm-referral-codes/ReferralCodes.stories.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes-view.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +6 -0
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +9 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +10 -1
- package/dist/types/components.d.ts +170 -4
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +2 -0
- package/dist/types/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/copy-text-view-717050d5.js +0 -1
- package/dist/mint-components/p-51495bc3.entry.js +0 -13
- package/dist/mint-components/p-bb3f1257.system.entry.js +0 -1
- package/dist/mint-components/p-c3680c02.js +0 -1
- package/dist/mint-components/p-c6841ab8.system.entry.js +0 -1
- package/dist/mint-components/p-d8cf46ba.system.js +0 -1
|
@@ -43,6 +43,12 @@ export const WithPreviouslyCopiedCode = () => {
|
|
|
43
43
|
shareCodeWithPreviouslyCopied("shareCodes"),
|
|
44
44
|
shareButtons("shareButtons")));
|
|
45
45
|
};
|
|
46
|
+
export const WithPreviouslyCopiedCodeAndCustomColor = () => {
|
|
47
|
+
return (h("sqm-referral-codes", { textColor: "red" },
|
|
48
|
+
pagination("pagination"),
|
|
49
|
+
shareCodeWithPreviouslyCopied("shareCodes"),
|
|
50
|
+
shareButtons("shareButtons")));
|
|
51
|
+
};
|
|
46
52
|
export const Empty = () => {
|
|
47
53
|
return (h("sqm-referral-codes", { demoData: { states: { ...demoData.states, noCodes: true } } },
|
|
48
54
|
pagination("pagination"),
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { createStyleSheet } from "../../styling/JSS";
|
|
3
|
-
const style = {
|
|
4
|
-
Wrapper: {
|
|
5
|
-
width: "100%",
|
|
6
|
-
display: "flex",
|
|
7
|
-
alignItems: "flex-start",
|
|
8
|
-
justifyContent: "center",
|
|
9
|
-
flexDirection: "column",
|
|
10
|
-
gap: "var(--sl-spacing-large)",
|
|
11
|
-
},
|
|
12
|
-
HeaderContainer: {
|
|
13
|
-
display: "flex",
|
|
14
|
-
alignItems: "center",
|
|
15
|
-
justifyContent: "space-between",
|
|
16
|
-
width: "100%",
|
|
17
|
-
},
|
|
18
|
-
ShareCodeContainer: {
|
|
19
|
-
width: "100%",
|
|
20
|
-
display: "flex",
|
|
21
|
-
alignItems: "flex-start",
|
|
22
|
-
justifyContent: "center",
|
|
23
|
-
flexDirection: "column",
|
|
24
|
-
},
|
|
25
|
-
ShareButtonContainer: {
|
|
26
|
-
width: "100%",
|
|
27
|
-
display: "flex",
|
|
28
|
-
alignItems: "flex-start",
|
|
29
|
-
justifyContent: "center",
|
|
30
|
-
flexDirection: "column",
|
|
31
|
-
},
|
|
32
|
-
TitleText: {
|
|
33
|
-
color: "var(--sqm-text-subdued)",
|
|
34
|
-
fontSize: "var(--sl-font-size-large)",
|
|
35
|
-
margin: "0",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const vanillaStyle = `
|
|
39
|
-
:host {
|
|
40
|
-
display: block;
|
|
41
|
-
}
|
|
42
|
-
:host([hidden]): {
|
|
43
|
-
display: none;
|
|
44
|
-
}
|
|
45
|
-
`;
|
|
46
|
-
const sheet = createStyleSheet(style);
|
|
47
|
-
const styleString = sheet.toString();
|
|
48
3
|
export function ReferralCodesView(props) {
|
|
49
|
-
const { slots, titleText, states } = props;
|
|
4
|
+
const { slots, titleText, states, textColor = "var(--sqm-text-subdued)", } = props;
|
|
5
|
+
const style = {
|
|
6
|
+
Wrapper: {
|
|
7
|
+
width: "100%",
|
|
8
|
+
display: "flex",
|
|
9
|
+
alignItems: "flex-start",
|
|
10
|
+
justifyContent: "center",
|
|
11
|
+
flexDirection: "column",
|
|
12
|
+
gap: "var(--sl-spacing-large)",
|
|
13
|
+
color: textColor,
|
|
14
|
+
},
|
|
15
|
+
HeaderContainer: {
|
|
16
|
+
display: "flex",
|
|
17
|
+
alignItems: "center",
|
|
18
|
+
justifyContent: "space-between",
|
|
19
|
+
width: "100%",
|
|
20
|
+
},
|
|
21
|
+
ShareCodeContainer: {
|
|
22
|
+
width: "100%",
|
|
23
|
+
display: "flex",
|
|
24
|
+
alignItems: "flex-start",
|
|
25
|
+
justifyContent: "center",
|
|
26
|
+
flexDirection: "column",
|
|
27
|
+
},
|
|
28
|
+
ShareButtonContainer: {
|
|
29
|
+
width: "100%",
|
|
30
|
+
display: "flex",
|
|
31
|
+
alignItems: "flex-start",
|
|
32
|
+
justifyContent: "center",
|
|
33
|
+
flexDirection: "column",
|
|
34
|
+
},
|
|
35
|
+
TitleText: {
|
|
36
|
+
fontSize: "var(--sl-font-size-large)",
|
|
37
|
+
margin: "0",
|
|
38
|
+
},
|
|
39
|
+
};
|
|
40
|
+
const vanillaStyle = `
|
|
41
|
+
:host {
|
|
42
|
+
display: block;
|
|
43
|
+
}
|
|
44
|
+
:host([hidden]): {
|
|
45
|
+
display: none;
|
|
46
|
+
}
|
|
47
|
+
`;
|
|
48
|
+
const sheet = createStyleSheet(style);
|
|
49
|
+
const styleString = sheet.toString();
|
|
50
50
|
const getSlotContent = (states) => {
|
|
51
51
|
if (states.noCodes) {
|
|
52
52
|
return slots.empty;
|
|
@@ -77,6 +77,32 @@ export class ReferralCodes {
|
|
|
77
77
|
"reflect": false,
|
|
78
78
|
"defaultValue": "\"Start sharing\""
|
|
79
79
|
},
|
|
80
|
+
"textColor": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"mutable": false,
|
|
83
|
+
"complexType": {
|
|
84
|
+
"original": "string",
|
|
85
|
+
"resolved": "string",
|
|
86
|
+
"references": {}
|
|
87
|
+
},
|
|
88
|
+
"required": false,
|
|
89
|
+
"optional": true,
|
|
90
|
+
"docs": {
|
|
91
|
+
"tags": [{
|
|
92
|
+
"text": "Text Color",
|
|
93
|
+
"name": "uiName"
|
|
94
|
+
}, {
|
|
95
|
+
"text": "string",
|
|
96
|
+
"name": "uiType"
|
|
97
|
+
}, {
|
|
98
|
+
"text": "color",
|
|
99
|
+
"name": "uiWidget"
|
|
100
|
+
}],
|
|
101
|
+
"text": ""
|
|
102
|
+
},
|
|
103
|
+
"attribute": "text-color",
|
|
104
|
+
"reflect": false
|
|
105
|
+
},
|
|
80
106
|
"emptyStateHeaderText": {
|
|
81
107
|
"type": "string",
|
|
82
108
|
"mutable": false,
|
|
@@ -168,7 +194,7 @@ export class ReferralCodes {
|
|
|
168
194
|
"mutable": false,
|
|
169
195
|
"complexType": {
|
|
170
196
|
"original": "DemoData<ReferralCodesViewProps>",
|
|
171
|
-
"resolved": "{ states?: { noCodes: boolean; loading: boolean; }; slots?: { shareButtons: VNode; shareCodes: VNode; pagination: VNode; empty: VNode; loading: VNode; }; titleText?: string; }",
|
|
197
|
+
"resolved": "{ states?: { noCodes: boolean; loading: boolean; }; slots?: { shareButtons: VNode; shareCodes: VNode; pagination: VNode; empty: VNode; loading: VNode; }; titleText?: string; textColor?: string; }",
|
|
172
198
|
"references": {
|
|
173
199
|
"DemoData": {
|
|
174
200
|
"location": "import",
|
|
@@ -212,6 +238,7 @@ function LoadingRow() {
|
|
|
212
238
|
function useDemoReferralCodes(props) {
|
|
213
239
|
return deepmerge({
|
|
214
240
|
titleText: props.titleText,
|
|
241
|
+
textColor: props.textColor,
|
|
215
242
|
states: {
|
|
216
243
|
noCodes: false,
|
|
217
244
|
loading: false,
|
|
@@ -248,7 +248,7 @@ export class ShareCode {
|
|
|
248
248
|
"text": "Style",
|
|
249
249
|
"name": "uiGroup"
|
|
250
250
|
}],
|
|
251
|
-
"text": "The border radius on the share link container"
|
|
251
|
+
"text": "The border radius on the share link container (in pixels)"
|
|
252
252
|
},
|
|
253
253
|
"attribute": "border-radius",
|
|
254
254
|
"reflect": false
|
|
@@ -340,12 +340,41 @@ export class ShareCode {
|
|
|
340
340
|
"reflect": false,
|
|
341
341
|
"defaultValue": "\"primary\""
|
|
342
342
|
},
|
|
343
|
+
"borderColor": {
|
|
344
|
+
"type": "string",
|
|
345
|
+
"mutable": false,
|
|
346
|
+
"complexType": {
|
|
347
|
+
"original": "string",
|
|
348
|
+
"resolved": "string",
|
|
349
|
+
"references": {}
|
|
350
|
+
},
|
|
351
|
+
"required": false,
|
|
352
|
+
"optional": true,
|
|
353
|
+
"docs": {
|
|
354
|
+
"tags": [{
|
|
355
|
+
"text": "Border color",
|
|
356
|
+
"name": "uiName"
|
|
357
|
+
}, {
|
|
358
|
+
"text": "color",
|
|
359
|
+
"name": "uiWidget"
|
|
360
|
+
}, {
|
|
361
|
+
"text": "color",
|
|
362
|
+
"name": "format"
|
|
363
|
+
}, {
|
|
364
|
+
"text": "Style",
|
|
365
|
+
"name": "uiGroup"
|
|
366
|
+
}],
|
|
367
|
+
"text": "Border color of share link container (default is set to 1px solid transparent)"
|
|
368
|
+
},
|
|
369
|
+
"attribute": "border-color",
|
|
370
|
+
"reflect": false
|
|
371
|
+
},
|
|
343
372
|
"demoData": {
|
|
344
373
|
"type": "unknown",
|
|
345
374
|
"mutable": false,
|
|
346
375
|
"complexType": {
|
|
347
376
|
"original": "DemoData<CopyTextViewProps>",
|
|
348
|
-
"resolved": "{ loading?: boolean; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string;
|
|
377
|
+
"resolved": "{ loading?: boolean; textColor?: string; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string; buttonType?: \"primary\" | \"secondary\"; borderColor?: string; onClick?: () => void; }",
|
|
349
378
|
"references": {
|
|
350
379
|
"DemoData": {
|
|
351
380
|
"location": "import",
|
|
@@ -384,6 +413,7 @@ function useDemoShareCode(props) {
|
|
|
384
413
|
backgroundColor: props.backgroundColor,
|
|
385
414
|
textColor: props.textColor,
|
|
386
415
|
borderRadius: props.borderRadius,
|
|
416
|
+
borderColor: props.borderColor,
|
|
387
417
|
buttonType: props.buttonType,
|
|
388
418
|
rewardStatus: "AVAILABLE",
|
|
389
419
|
open,
|
|
@@ -31,6 +31,7 @@ export class ShareLink {
|
|
|
31
31
|
* @uiType string
|
|
32
32
|
* @uiEnum ["left", "center", "right"]
|
|
33
33
|
* @uiEnumNames ["Left", "Center", "Right"]
|
|
34
|
+
* @uiGroup Style
|
|
34
35
|
*/
|
|
35
36
|
this.textAlign = "left";
|
|
36
37
|
/**
|
|
@@ -157,6 +158,9 @@ export class ShareLink {
|
|
|
157
158
|
}, {
|
|
158
159
|
"text": "[\"Left\", \"Center\", \"Right\"]",
|
|
159
160
|
"name": "uiEnumNames"
|
|
161
|
+
}, {
|
|
162
|
+
"text": "Style",
|
|
163
|
+
"name": "uiGroup"
|
|
160
164
|
}],
|
|
161
165
|
"text": "Change the text alignment"
|
|
162
166
|
},
|
|
@@ -214,6 +218,35 @@ export class ShareLink {
|
|
|
214
218
|
"attribute": "background-color",
|
|
215
219
|
"reflect": false
|
|
216
220
|
},
|
|
221
|
+
"borderColor": {
|
|
222
|
+
"type": "string",
|
|
223
|
+
"mutable": false,
|
|
224
|
+
"complexType": {
|
|
225
|
+
"original": "string",
|
|
226
|
+
"resolved": "string",
|
|
227
|
+
"references": {}
|
|
228
|
+
},
|
|
229
|
+
"required": false,
|
|
230
|
+
"optional": true,
|
|
231
|
+
"docs": {
|
|
232
|
+
"tags": [{
|
|
233
|
+
"text": "Border color",
|
|
234
|
+
"name": "uiName"
|
|
235
|
+
}, {
|
|
236
|
+
"text": "color",
|
|
237
|
+
"name": "uiWidget"
|
|
238
|
+
}, {
|
|
239
|
+
"text": "color",
|
|
240
|
+
"name": "format"
|
|
241
|
+
}, {
|
|
242
|
+
"text": "Style",
|
|
243
|
+
"name": "uiGroup"
|
|
244
|
+
}],
|
|
245
|
+
"text": "Border color of share link container (default is set to 1px solid transparent)"
|
|
246
|
+
},
|
|
247
|
+
"attribute": "border-color",
|
|
248
|
+
"reflect": false
|
|
249
|
+
},
|
|
217
250
|
"textColor": {
|
|
218
251
|
"type": "string",
|
|
219
252
|
"mutable": false,
|
|
@@ -264,7 +297,7 @@ export class ShareLink {
|
|
|
264
297
|
"text": "Style",
|
|
265
298
|
"name": "uiGroup"
|
|
266
299
|
}],
|
|
267
|
-
"text": "The border radius on the share link container"
|
|
300
|
+
"text": "The border radius on the share link container (in pixels)"
|
|
268
301
|
},
|
|
269
302
|
"attribute": "border-radius",
|
|
270
303
|
"reflect": false
|
|
@@ -340,7 +373,7 @@ export class ShareLink {
|
|
|
340
373
|
"mutable": false,
|
|
341
374
|
"complexType": {
|
|
342
375
|
"original": "DemoData<CopyTextViewProps>",
|
|
343
|
-
"resolved": "{ loading?: boolean; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string;
|
|
376
|
+
"resolved": "{ loading?: boolean; textColor?: string; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string; buttonType?: \"primary\" | \"secondary\"; borderColor?: string; onClick?: () => void; }",
|
|
344
377
|
"references": {
|
|
345
378
|
"DemoData": {
|
|
346
379
|
"location": "import",
|
|
@@ -380,7 +413,7 @@ function useDemoShareLink(props) {
|
|
|
380
413
|
borderRadius: props.borderRadius,
|
|
381
414
|
buttonType: props.buttonType,
|
|
382
415
|
copyButtonLabel: props.copyButtonLabel,
|
|
383
|
-
|
|
416
|
+
borderColor: props.borderColor,
|
|
384
417
|
rewardStatus: "AVAILABLE",
|
|
385
418
|
open,
|
|
386
419
|
onClick: () => {
|
|
@@ -36,7 +36,7 @@ export function CopyTextView(props) {
|
|
|
36
36
|
"&::part(base)": {
|
|
37
37
|
cursor: "pointer",
|
|
38
38
|
overflow: "visible",
|
|
39
|
-
borderRadius: props.borderRadius || "var(--sl-border-radius-medium)",
|
|
39
|
+
borderRadius: `${props.borderRadius}px` || "var(--sl-border-radius-medium)",
|
|
40
40
|
background: props.backgroundColor || "var(--sl-color-white)",
|
|
41
41
|
border: `1px solid ${props.borderColor || "transparent"}`,
|
|
42
42
|
},
|
|
@@ -72,7 +72,7 @@ export function CopyTextView(props) {
|
|
|
72
72
|
},
|
|
73
73
|
notificationTextStyle: {
|
|
74
74
|
margin: "0",
|
|
75
|
-
color: "
|
|
75
|
+
color: "inherit",
|
|
76
76
|
},
|
|
77
77
|
};
|
|
78
78
|
const sheet = createStyleSheet(style);
|
|
@@ -7,7 +7,7 @@ import { l as luxonLocale } from './utils-334c1e34.js';
|
|
|
7
7
|
import { c as createStyleSheet, j as jss, a as create } from './JSS-67b5cff8.js';
|
|
8
8
|
import { a as REFERRAL_CODES_NAMESPACE, S as SET_CODE_COPIED } from './useReferralCodes-8f75921a.js';
|
|
9
9
|
import { H as HostBlock, A as AuthWrapper, a as AuthColumn, b as AuthButtonsContainer, E as ErrorStyles } from './mixins-83f90fa1.js';
|
|
10
|
-
import { C as CopyTextView } from './copy-text-view-
|
|
10
|
+
import { C as CopyTextView } from './copy-text-view-0ac6e1d1.js';
|
|
11
11
|
import { u as useChildElements } from './useChildElements-7945ae56.js';
|
|
12
12
|
import { l as luxon } from './luxon-8d51c92b.js';
|
|
13
13
|
import { T as TextSpanView } from './sqm-text-span-view-c577cc60.js';
|
|
@@ -37,7 +37,7 @@ function CopyTextView(props) {
|
|
|
37
37
|
"&::part(base)": {
|
|
38
38
|
cursor: "pointer",
|
|
39
39
|
overflow: "visible",
|
|
40
|
-
borderRadius: props.borderRadius || "var(--sl-border-radius-medium)",
|
|
40
|
+
borderRadius: `${props.borderRadius}px` || "var(--sl-border-radius-medium)",
|
|
41
41
|
background: props.backgroundColor || "var(--sl-color-white)",
|
|
42
42
|
border: `1px solid ${props.borderColor || "transparent"}`,
|
|
43
43
|
},
|
|
@@ -73,7 +73,7 @@ function CopyTextView(props) {
|
|
|
73
73
|
},
|
|
74
74
|
notificationTextStyle: {
|
|
75
75
|
margin: "0",
|
|
76
|
-
color: "
|
|
76
|
+
color: "inherit",
|
|
77
77
|
},
|
|
78
78
|
};
|
|
79
79
|
const sheet = createStyleSheet(style);
|