@stackoverflow/stacks 1.9.0 → 1.9.2
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/README.md +161 -153
- package/dist/components/table/table.d.ts +26 -4
- package/dist/css/stacks.css +21 -6
- package/dist/css/stacks.min.css +1 -1
- package/dist/js/stacks.js +93 -64
- package/dist/js/stacks.min.js +1 -1
- package/lib/atomic/border.less +397 -397
- package/lib/atomic/color.less +210 -210
- package/lib/atomic/flex.less +426 -426
- package/lib/atomic/gap.less +44 -44
- package/lib/atomic/grid.less +139 -139
- package/lib/atomic/misc.less +343 -343
- package/lib/atomic/spacing.less +342 -342
- package/lib/atomic/typography.less +267 -267
- package/lib/atomic/width-height.less +194 -194
- package/lib/base/body.less +44 -44
- package/lib/base/configuration-static.less +61 -61
- package/lib/base/fieldset.less +5 -5
- package/lib/base/icon.less +11 -11
- package/lib/base/internal.less +220 -220
- package/lib/base/reset-meyer.less +64 -64
- package/lib/base/reset-normalize.less +449 -449
- package/lib/base/reset.less +20 -20
- package/lib/components/activity-indicator/activity-indicator.a11y.test.ts +21 -21
- package/lib/components/activity-indicator/activity-indicator.less +40 -40
- package/lib/components/activity-indicator/activity-indicator.visual.test.ts +23 -23
- package/lib/components/anchor/anchor.less +61 -61
- package/lib/components/avatar/avatar.a11y.test.ts +36 -36
- package/lib/components/avatar/avatar.less +108 -108
- package/lib/components/avatar/avatar.visual.test.ts +54 -54
- package/lib/components/award-bling/award-bling.a11y.test.ts +17 -0
- package/lib/components/award-bling/award-bling.less +31 -31
- package/lib/components/award-bling/award-bling.visual.test.ts +26 -0
- package/lib/components/badge/badge.less +251 -251
- package/lib/components/banner/banner.a11y.test.ts +37 -0
- package/lib/components/banner/banner.less +51 -51
- package/lib/components/banner/banner.test.ts +73 -77
- package/lib/components/banner/banner.ts +149 -149
- package/lib/components/banner/banner.visual.test.ts +37 -36
- package/lib/components/block-link/block-link.a11y.test.ts +68 -0
- package/lib/components/block-link/block-link.less +80 -80
- package/lib/components/block-link/block-link.visual.test.ts +61 -0
- package/lib/components/breadcrumbs/breadcrumbs.a11y.test.ts +37 -0
- package/lib/components/breadcrumbs/breadcrumbs.less +41 -41
- package/lib/components/breadcrumbs/breadcrumbs.visual.test.ts +37 -0
- package/lib/components/button/button.a11y.test.ts +32 -32
- package/lib/components/button/button.less +502 -502
- package/lib/components/button/button.visual.test.ts +52 -52
- package/lib/components/button-group/button-group.less +83 -83
- package/lib/components/card/card.a11y.test.ts +13 -0
- package/lib/components/card/card.less +29 -29
- package/lib/components/card/card.visual.test.ts +54 -0
- package/lib/components/check-control/check-control.less +17 -17
- package/lib/components/check-group/check-group.less +19 -19
- package/lib/components/checkbox_radio/checkbox_radio.less +158 -158
- package/lib/components/code-block/code-block.less +116 -116
- package/lib/components/description/description.less +9 -9
- package/lib/components/empty-state/empty-state.less +16 -16
- package/lib/components/expandable/expandable.less +118 -118
- package/lib/components/expandable/expandable.test.ts +51 -53
- package/lib/components/expandable/expandable.ts +238 -238
- package/lib/components/input-fill/input-fill.less +35 -35
- package/lib/components/input-icon/input-icon.less +45 -45
- package/lib/components/input-message/input-message.less +48 -48
- package/lib/components/input_textarea/input_textarea.less +166 -166
- package/lib/components/label/label.less +111 -111
- package/lib/components/link/link.less +119 -119
- package/lib/components/link-preview/link-preview.less +139 -139
- package/lib/components/menu/menu.less +41 -41
- package/lib/components/modal/modal.less +113 -113
- package/lib/components/modal/modal.ts +379 -379
- package/lib/components/navigation/navigation.less +134 -134
- package/lib/components/navigation/navigation.ts +128 -128
- package/lib/components/notice/notice.less +203 -203
- package/lib/components/page-title/page-title.less +51 -51
- package/lib/components/pagination/pagination.less +52 -52
- package/lib/components/popover/popover.less +148 -148
- package/lib/components/popover/popover.ts +651 -651
- package/lib/components/popover/tooltip.test.ts +62 -66
- package/lib/components/popover/tooltip.ts +343 -343
- package/lib/components/popover/tooltip.visual.test.ts +31 -31
- package/lib/components/post-summary/post-summary.less +415 -415
- package/lib/components/progress-bar/progress-bar.less +291 -291
- package/lib/components/prose/prose.less +452 -452
- package/lib/components/select/select.less +148 -148
- package/lib/components/sidebar-widget/sidebar-widget.less +257 -258
- package/lib/components/spinner/spinner.less +103 -103
- package/lib/components/table/table.less +307 -292
- package/lib/components/table/table.test.ts +366 -0
- package/lib/components/table/table.ts +296 -263
- package/lib/components/table-container/table-container.less +4 -4
- package/lib/components/tag/tag.less +213 -213
- package/lib/components/toast/toast.less +35 -35
- package/lib/components/toast/toast.test.ts +63 -67
- package/lib/components/toast/toast.ts +357 -357
- package/lib/components/toast/toast.visual.test.ts +27 -27
- package/lib/components/toggle-switch/toggle-switch.less +110 -110
- package/lib/components/topbar/topbar.less +436 -435
- package/lib/components/uploader/uploader.less +195 -195
- package/lib/components/uploader/uploader.ts +205 -205
- package/lib/components/user-card/user-card.less +129 -129
- package/lib/controllers.ts +33 -33
- package/lib/exports/constants-colors.less +1112 -1111
- package/lib/exports/constants-helpers.less +108 -108
- package/lib/exports/constants-type.less +153 -153
- package/lib/exports/exports.less +15 -15
- package/lib/exports/mixins.less +299 -299
- package/lib/index.ts +32 -32
- package/lib/input-utils.less +44 -44
- package/lib/stacks-dynamic.less +24 -24
- package/lib/stacks-static.less +93 -93
- package/lib/stacks.less +13 -13
- package/lib/stacks.ts +113 -113
- package/lib/test/open-wc-testing-patch.d.ts +26 -0
- package/lib/test/test-utils.ts +466 -444
- package/lib/tsconfig.build.json +4 -0
- package/lib/tsconfig.json +16 -13
- package/package.json +106 -105
- package/dist/components/activity-indicator/activity-indicator.a11y.test.d.ts +0 -1
- package/dist/components/activity-indicator/activity-indicator.visual.test.d.ts +0 -1
- package/dist/components/avatar/avatar.a11y.test.d.ts +0 -1
- package/dist/components/avatar/avatar.visual.test.d.ts +0 -1
- package/dist/components/banner/banner.test.d.ts +0 -1
- package/dist/components/banner/banner.visual.test.d.ts +0 -1
- package/dist/components/button/button.a11y.test.d.ts +0 -1
- package/dist/components/button/button.visual.test.d.ts +0 -1
- package/dist/components/expandable/expandable.test.d.ts +0 -1
- package/dist/components/popover/tooltip.test.d.ts +0 -1
- package/dist/components/popover/tooltip.visual.test.d.ts +0 -1
- package/dist/components/toast/toast.test.d.ts +0 -1
- package/dist/components/toast/toast.visual.test.d.ts +0 -1
- package/dist/test/test-utils.d.ts +0 -136
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { html } from "@open-wc/testing";
|
|
2
|
-
import { runComponentTests } from "../../test/test-utils";
|
|
3
|
-
import "../../index";
|
|
4
|
-
|
|
5
|
-
const base64Image =
|
|
6
|
-
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATwAAAE8CAMAAABq2/00AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhQTFRF/3IA/////44y/8OS/+fU//Xs/6tn/9e2EhvbMQAABH9JREFUeNrs3e1y2ygAhWELJHH/d7zuJpN1XAnxoe408Ly/6xnnHXEOIEwfDwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/gbAGEhrZl2VloY20PIk8tAzZbfkXA7eeuHyysVfdFMsXiY66ptiWF8Re05BdxF7HkBV7PUNW7FVx4E7sVSwrDjBw2+pC7NWwHtkTe3ULM7En9v6O2ONF7Ik9sSf2IPbEntgTexB7t8feTsynniD2Oh6tXex1hFoUe02kaxVi72JMZs+Rib0LLdkXFGLvaECWjkOxdxVmUex1rB6S2Kss2lcytSH2LnVkakPsXQ7E8xwTe5fuMrUh9vKj8CP4xN7lNOXc3mnwib1M2X7Z28VeS93mg0/sFZTG6WCMVSE51fqsYL4s9jpqQ+yV1caxErHXUxtir6c2xF5HbYRF7LXXhtjrqQ2x11MbYu9tLG4VtSH2empD7BUNxpPaSGKvPPh2sdcxX45i78baEHs18+X32hB7NfPl99oQex21MVHsxViaR8W1MU3s/XpMSvWF0tqYJfY+BmMq01dcG+scP6/6enTK9BW+1J0j9l5aYN0rP5BzM0XsbSUnAlpqY4LYezexFeRSbpslH3uDXdF64OG6est258PohXE8BK+7o6g29rJTQsPt1F3qK9qdTwMP2Wz2X1Vv0UvdbeQ53nl2Xesr2Z0Pww7Zs5lsafWW1MY+6JDNxv5/+kLb5/fXfzLirRdhKSGnr6A2tkGvJoxLGZnqva6NkAbdgA+pUN9a+QuWYYPu+98ee/W1/PJgoMG7lek7nW3UHiEdbKpcqu+kO2L9b4aG0rcWjt5jfWf2Z7kCeE891XtSG/O86A5d+tbZj1h0VW+c/ja90FG9uxMCFdWb/+SkZ1Oaq/d1vjzvXfvF+tLp+aiZT5S1Vm90lrFj02B3bW1d9X7T92u+7Aq9qk2D+Fob/v/Myu7YostC76xe9K966evfr5+7ekuXHVy1V6+R275pEMd3kPbGB+Syeod/8D7Sf41NBvPdMf7a4uXpaTGY0zd+4r0vDlKtwdPqHf/BOzzf8zQYqvRtcz54mXfUNUVyUL0T7AhcrBbKY/C36p1geVEy1y00+F3fBA9eKFxnlRXJa/XOcKxnqeF6Pv1VvTPc7RuXai6K5LN6Z9hQSUsb2Rh86pviUultaScTg/sMD15YeqmcT8/bFx1Foi/umk9P3hcMfqTenrabBT5j8DGTwHivwelOCTwNrnfJm/Ol2U0GZ74WdE+dBn9+Z/z2J9UZ7IjB7dZv8gPl9RRJIq89BiN57QZ38trn04G8k62E6xjcHuQ1D+JEXrvBnbz2+XQgr30+/SCveT69ktceg4m8doOBvDG/CXnkkTezvOXPQB555JFHHnnkkUceeeSRRx555JFHHnnkkWcnmTzyyCOPPPLII4888sgjjzzfhDzyyCOPPPL+9Ff+eyCPPPLII4888sgjjzzyyCOPPPLII4888sgDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPy//CPAAPiZOI3BPDFQAAAAAElFTkSuQmCC";
|
|
7
|
-
|
|
8
|
-
const getChild = (child?: string): string => {
|
|
9
|
-
const srEl = `<span class="v-visible-sr">Stack Overflow</span>`;
|
|
10
|
-
switch (child) {
|
|
11
|
-
case "image":
|
|
12
|
-
return `<img
|
|
13
|
-
class="s-avatar--image"
|
|
14
|
-
src="${base64Image}"
|
|
15
|
-
alt="team logo"
|
|
16
|
-
/>${srEl}`;
|
|
17
|
-
case "letter":
|
|
18
|
-
return `<div
|
|
19
|
-
class="s-avatar--letter"
|
|
20
|
-
aria-hidden="true">
|
|
21
|
-
S
|
|
22
|
-
</div>${srEl}`;
|
|
23
|
-
default:
|
|
24
|
-
return srEl;
|
|
25
|
-
}
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
describe("avatar", () => {
|
|
29
|
-
runComponentTests({
|
|
30
|
-
type: "visual",
|
|
31
|
-
baseClass: "s-avatar",
|
|
32
|
-
variants: ["24", "32", "48", "64", "96", "128"],
|
|
33
|
-
children: {
|
|
34
|
-
default: getChild(),
|
|
35
|
-
image: getChild("image"),
|
|
36
|
-
letter: getChild("letter"),
|
|
37
|
-
},
|
|
38
|
-
attributes: {
|
|
39
|
-
href: "#",
|
|
40
|
-
},
|
|
41
|
-
tag: "a",
|
|
42
|
-
template: ({ component, testid }) => html`
|
|
43
|
-
<div
|
|
44
|
-
data-testid="${testid}"
|
|
45
|
-
class="d-inline-flex ai-center jc-center hmn1 wmn1 p8"
|
|
46
|
-
>
|
|
47
|
-
${component}
|
|
48
|
-
</div>
|
|
49
|
-
`,
|
|
50
|
-
skippedTestids: [
|
|
51
|
-
/-letter/, // TODO: resolve font-family thrashing issues
|
|
52
|
-
],
|
|
53
|
-
});
|
|
54
|
-
});
|
|
1
|
+
import { html } from "@open-wc/testing";
|
|
2
|
+
import { runComponentTests } from "../../test/test-utils";
|
|
3
|
+
import "../../index";
|
|
4
|
+
|
|
5
|
+
const base64Image =
|
|
6
|
+
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATwAAAE8CAMAAABq2/00AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAABhQTFRF/3IA/////44y/8OS/+fU//Xs/6tn/9e2EhvbMQAABH9JREFUeNrs3e1y2ygAhWELJHH/d7zuJpN1XAnxoe408Ly/6xnnHXEOIEwfDwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/gbAGEhrZl2VloY20PIk8tAzZbfkXA7eeuHyysVfdFMsXiY66ptiWF8Re05BdxF7HkBV7PUNW7FVx4E7sVSwrDjBw2+pC7NWwHtkTe3ULM7En9v6O2ONF7Ik9sSf2IPbEntgTexB7t8feTsynniD2Oh6tXex1hFoUe02kaxVi72JMZs+Rib0LLdkXFGLvaECWjkOxdxVmUex1rB6S2Kss2lcytSH2LnVkakPsXQ7E8xwTe5fuMrUh9vKj8CP4xN7lNOXc3mnwib1M2X7Z28VeS93mg0/sFZTG6WCMVSE51fqsYL4s9jpqQ+yV1caxErHXUxtir6c2xF5HbYRF7LXXhtjrqQ2x11MbYu9tLG4VtSH2empD7BUNxpPaSGKvPPh2sdcxX45i78baEHs18+X32hB7NfPl99oQex21MVHsxViaR8W1MU3s/XpMSvWF0tqYJfY+BmMq01dcG+scP6/6enTK9BW+1J0j9l5aYN0rP5BzM0XsbSUnAlpqY4LYezexFeRSbpslH3uDXdF64OG6est258PohXE8BK+7o6g29rJTQsPt1F3qK9qdTwMP2Wz2X1Vv0UvdbeQ53nl2Xesr2Z0Pww7Zs5lsafWW1MY+6JDNxv5/+kLb5/fXfzLirRdhKSGnr6A2tkGvJoxLGZnqva6NkAbdgA+pUN9a+QuWYYPu+98ee/W1/PJgoMG7lek7nW3UHiEdbKpcqu+kO2L9b4aG0rcWjt5jfWf2Z7kCeE891XtSG/O86A5d+tbZj1h0VW+c/ja90FG9uxMCFdWb/+SkZ1Oaq/d1vjzvXfvF+tLp+aiZT5S1Vm90lrFj02B3bW1d9X7T92u+7Aq9qk2D+Fob/v/Myu7YostC76xe9K966evfr5+7ekuXHVy1V6+R275pEMd3kPbGB+Syeod/8D7Sf41NBvPdMf7a4uXpaTGY0zd+4r0vDlKtwdPqHf/BOzzf8zQYqvRtcz54mXfUNUVyUL0T7AhcrBbKY/C36p1geVEy1y00+F3fBA9eKFxnlRXJa/XOcKxnqeF6Pv1VvTPc7RuXai6K5LN6Z9hQSUsb2Rh86pviUultaScTg/sMD15YeqmcT8/bFx1Foi/umk9P3hcMfqTenrabBT5j8DGTwHivwelOCTwNrnfJm/Ol2U0GZ74WdE+dBn9+Z/z2J9UZ7IjB7dZv8gPl9RRJIq89BiN57QZ38trn04G8k62E6xjcHuQ1D+JEXrvBnbz2+XQgr30+/SCveT69ktceg4m8doOBvDG/CXnkkTezvOXPQB555JFHHnnkkUceeeSRRx555JFHHnnkkWcnmTzyyCOPPPLII4888sgjjzzfhDzyyCOPPPL+9Ff+eyCPPPLII4888sgjjzzyyCOPPPLII4888sgDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPy//CPAAPiZOI3BPDFQAAAAAElFTkSuQmCC";
|
|
7
|
+
|
|
8
|
+
const getChild = (child?: string): string => {
|
|
9
|
+
const srEl = `<span class="v-visible-sr">Stack Overflow</span>`;
|
|
10
|
+
switch (child) {
|
|
11
|
+
case "image":
|
|
12
|
+
return `<img
|
|
13
|
+
class="s-avatar--image"
|
|
14
|
+
src="${base64Image}"
|
|
15
|
+
alt="team logo"
|
|
16
|
+
/>${srEl}`;
|
|
17
|
+
case "letter":
|
|
18
|
+
return `<div
|
|
19
|
+
class="s-avatar--letter"
|
|
20
|
+
aria-hidden="true">
|
|
21
|
+
S
|
|
22
|
+
</div>${srEl}`;
|
|
23
|
+
default:
|
|
24
|
+
return srEl;
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
describe("avatar", () => {
|
|
29
|
+
runComponentTests({
|
|
30
|
+
type: "visual",
|
|
31
|
+
baseClass: "s-avatar",
|
|
32
|
+
variants: ["24", "32", "48", "64", "96", "128"],
|
|
33
|
+
children: {
|
|
34
|
+
default: getChild(),
|
|
35
|
+
image: getChild("image"),
|
|
36
|
+
letter: getChild("letter"),
|
|
37
|
+
},
|
|
38
|
+
attributes: {
|
|
39
|
+
href: "#",
|
|
40
|
+
},
|
|
41
|
+
tag: "a",
|
|
42
|
+
template: ({ component, testid }) => html`
|
|
43
|
+
<div
|
|
44
|
+
data-testid="${testid}"
|
|
45
|
+
class="d-inline-flex ai-center jc-center hmn1 wmn1 p8"
|
|
46
|
+
>
|
|
47
|
+
${component}
|
|
48
|
+
</div>
|
|
49
|
+
`,
|
|
50
|
+
skippedTestids: [
|
|
51
|
+
/-letter/, // TODO: resolve font-family thrashing issues
|
|
52
|
+
],
|
|
53
|
+
});
|
|
54
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { defaultOptions, runComponentTests } from "../../test/test-utils";
|
|
2
|
+
import "../../index";
|
|
3
|
+
|
|
4
|
+
describe("award-bling", () => {
|
|
5
|
+
runComponentTests({
|
|
6
|
+
type: "a11y",
|
|
7
|
+
baseClass: "s-award-bling",
|
|
8
|
+
variants: ["gold", "silver", "bronze"],
|
|
9
|
+
children: {
|
|
10
|
+
default: `100 <div class="v-visible-sr">award</div>`,
|
|
11
|
+
},
|
|
12
|
+
options: {
|
|
13
|
+
...defaultOptions,
|
|
14
|
+
includeNullVariant: false,
|
|
15
|
+
},
|
|
16
|
+
});
|
|
17
|
+
});
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
.s-award-bling {
|
|
2
|
-
--_ab-before-bg: unset;
|
|
3
|
-
|
|
4
|
-
// VARIANTS
|
|
5
|
-
&&__gold {
|
|
6
|
-
--_ab-before-bg: var(--gold);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&&__silver {
|
|
10
|
-
--_ab-before-bg: var(--silver);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&&__bronze {
|
|
14
|
-
--_ab-before-bg: var(--bronze);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
// CHILD ELEMENTS
|
|
18
|
-
&:before {
|
|
19
|
-
background-color: var(--_ab-before-bg);
|
|
20
|
-
|
|
21
|
-
border-radius: 100%;
|
|
22
|
-
content: "";
|
|
23
|
-
margin-right: var(--su4);
|
|
24
|
-
height: var(--su8);
|
|
25
|
-
width: var(--su8);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
align-items: center;
|
|
29
|
-
color: inherit;
|
|
30
|
-
display: flex;
|
|
31
|
-
}
|
|
1
|
+
.s-award-bling {
|
|
2
|
+
--_ab-before-bg: unset;
|
|
3
|
+
|
|
4
|
+
// VARIANTS
|
|
5
|
+
&&__gold {
|
|
6
|
+
--_ab-before-bg: var(--gold);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
&&__silver {
|
|
10
|
+
--_ab-before-bg: var(--silver);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&&__bronze {
|
|
14
|
+
--_ab-before-bg: var(--bronze);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// CHILD ELEMENTS
|
|
18
|
+
&:before {
|
|
19
|
+
background-color: var(--_ab-before-bg);
|
|
20
|
+
|
|
21
|
+
border-radius: 100%;
|
|
22
|
+
content: "";
|
|
23
|
+
margin-right: var(--su4);
|
|
24
|
+
height: var(--su8);
|
|
25
|
+
width: var(--su8);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
align-items: center;
|
|
29
|
+
color: inherit;
|
|
30
|
+
display: flex;
|
|
31
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defaultOptions, runComponentTests } from "../../test/test-utils";
|
|
2
|
+
import { html } from "@open-wc/testing";
|
|
3
|
+
import "../../index";
|
|
4
|
+
|
|
5
|
+
describe("anchors", () => {
|
|
6
|
+
runComponentTests({
|
|
7
|
+
type: "visual",
|
|
8
|
+
baseClass: "s-award-bling",
|
|
9
|
+
variants: ["gold", "silver", "bronze"],
|
|
10
|
+
children: {
|
|
11
|
+
default: `100 <div class="v-visible-sr">award</div>`,
|
|
12
|
+
},
|
|
13
|
+
options: {
|
|
14
|
+
...defaultOptions,
|
|
15
|
+
includeNullVariant: false,
|
|
16
|
+
},
|
|
17
|
+
template: ({ component, testid }) => html`
|
|
18
|
+
<div
|
|
19
|
+
class="d-inline-flex ai-center jc-center hs1 ws1 p8"
|
|
20
|
+
data-testid="${testid}"
|
|
21
|
+
>
|
|
22
|
+
${component}
|
|
23
|
+
</div>
|
|
24
|
+
`,
|
|
25
|
+
});
|
|
26
|
+
});
|