@salesforcedevs/dx-components 0.53.10 → 0.53.11-alpha
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/lwc.config.json +15 -17
- package/package.json +3 -6
- package/src/modules/base-elements/headerBase/headerBase.ts +1 -1
- package/src/modules/dx/cardCallout/cardCallout.ts +4 -4
- package/src/modules/dx/cardNews/cardNews.ts +1 -1
- package/src/modules/dx/codeBlock/codeBlock.ts +1 -1
- package/src/modules/dx/dropdownOption/dropdownOption.ts +1 -1
- package/src/modules/dx/footer/footer.ts +1 -1
- package/src/modules/dx/footerOption/footerOption.ts +1 -1
- package/src/modules/dx/groupText/groupText.ts +1 -1
- package/src/modules/dx/headerMobileNavMenuOption/headerMobileNavMenuOption.ts +1 -1
- package/src/modules/dx/pagination/pagination.ts +1 -1
- package/src/modules/dx/sidebar/sidebar.ts +1 -1
- package/src/modules/dx/sidebarOld/sidebarOld.ts +1 -1
- package/src/modules/dx/tab/tab.ts +1 -1
- package/src/modules/dx/treeItem/treeItem.ts +1 -1
- package/src/modules/utils/analytics/analytics.ts +24 -0
- package/LICENSE +0 -12
- package/src/modules/dx/cardBlogPostProvider/cardBlogPostProvider.css +0 -3
- package/src/modules/dx/cardBlogPostProvider/cardBlogPostProvider.html +0 -16
- package/src/modules/dx/cardBlogPostProvider/cardBlogPostProvider.ts +0 -29
- package/src/modules/dx/cardPodcastEpisodeProvider/cardPodcastEpisodeProvider.css +0 -3
- package/src/modules/dx/cardPodcastEpisodeProvider/cardPodcastEpisodeProvider.html +0 -12
- package/src/modules/dx/cardPodcastEpisodeProvider/cardPodcastEpisodeProvider.ts +0 -29
- package/src/modules/dx/contentArchive/contentArchive.css +0 -242
- package/src/modules/dx/contentArchive/contentArchive.html +0 -337
- package/src/modules/dx/contentArchive/contentArchive.ts +0 -461
- package/src/modules/dx/contentArchive/contentArchive.types.ts +0 -6
- package/src/modules/dx/instrumentation/instrumentation.html +0 -1
- package/src/modules/dx/instrumentation/instrumentation.ts +0 -116
- package/src/modules/dx/newsletterForm/newsletterForm.css +0 -73
- package/src/modules/dx/newsletterForm/newsletterForm.html +0 -73
- package/src/modules/dx/newsletterForm/newsletterForm.ts +0 -238
- package/src/modules/dx/podcastSubscription/podcastSubscription.css +0 -91
- package/src/modules/dx/podcastSubscription/podcastSubscription.html +0 -24
- package/src/modules/dx/podcastSubscription/podcastSubscription.ts +0 -52
- package/src/modules/dx/searchResults/coveo.css +0 -18989
- package/src/modules/dx/searchResults/searchResults.css +0 -387
- package/src/modules/dx/searchResults/searchResults.html +0 -104
- package/src/modules/dx/searchResults/searchResults.ts +0 -186
- package/src/modules/dx/slackCta/slackCta.css +0 -47
- package/src/modules/dx/slackCta/slackCta.html +0 -17
- package/src/modules/dx/slackCta/slackCta.ts +0 -12
- package/src/modules/utils/contentArchive/altData.js +0 -3
- package/src/modules/utils/contentArchive/contentArchive.ts +0 -163
package/lwc.config.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"modules": [{ "dir": "src/modules" }],
|
|
3
3
|
"expose": [
|
|
4
|
+
"base-elements/headerBase",
|
|
5
|
+
"base-elements/matchMediaElement",
|
|
6
|
+
"dx/banner",
|
|
4
7
|
"dx/brandThemeProvider",
|
|
5
8
|
"dx/breadcrumbs",
|
|
6
9
|
"dx/button",
|
|
7
10
|
"dx/cardBlogPost",
|
|
8
|
-
"dx/cardBlogPostProvider",
|
|
9
11
|
"dx/cardCallout",
|
|
10
12
|
"dx/cardContent",
|
|
11
13
|
"dx/cardDemo",
|
|
@@ -15,25 +17,21 @@
|
|
|
15
17
|
"dx/cardMinimal",
|
|
16
18
|
"dx/cardNews",
|
|
17
19
|
"dx/cardPodcastEpisode",
|
|
18
|
-
"dx/cardPodcastEpisodeProvider",
|
|
19
20
|
"dx/cardSmall",
|
|
20
21
|
"dx/cardTrailheadModule",
|
|
21
22
|
"dx/cardTrial",
|
|
22
23
|
"dx/cardVideoPreview",
|
|
23
24
|
"dx/checkbox",
|
|
24
|
-
"dx/checkboxNative",
|
|
25
25
|
"dx/checkboxGroup",
|
|
26
|
+
"dx/checkboxNative",
|
|
26
27
|
"dx/codeBlock",
|
|
27
|
-
"dx/contentArchive",
|
|
28
28
|
"dx/dropdown",
|
|
29
29
|
"dx/emptyState",
|
|
30
30
|
"dx/feature",
|
|
31
31
|
"dx/featuredContentHeader",
|
|
32
32
|
"dx/featuresList",
|
|
33
33
|
"dx/filterMenu",
|
|
34
|
-
"dx/banner",
|
|
35
34
|
"dx/footer",
|
|
36
|
-
"dx/newsletterForm",
|
|
37
35
|
"dx/formattedDateTime",
|
|
38
36
|
"dx/grid",
|
|
39
37
|
"dx/groupText",
|
|
@@ -47,17 +45,14 @@
|
|
|
47
45
|
"dx/iconBadge",
|
|
48
46
|
"dx/imageAndLabel",
|
|
49
47
|
"dx/input",
|
|
50
|
-
"dx/instrumentation",
|
|
51
48
|
"dx/logo",
|
|
52
49
|
"dx/modalDrawer",
|
|
53
50
|
"dx/pagination",
|
|
54
51
|
"dx/podcastHost",
|
|
55
52
|
"dx/podcastPlayer",
|
|
56
|
-
"dx/podcastSubscription",
|
|
57
53
|
"dx/popover",
|
|
58
54
|
"dx/radioGroup",
|
|
59
55
|
"dx/relativeDateTime",
|
|
60
|
-
"dx/searchResults",
|
|
61
56
|
"dx/section",
|
|
62
57
|
"dx/sectionSignup",
|
|
63
58
|
"dx/sectionSmall",
|
|
@@ -65,28 +60,31 @@
|
|
|
65
60
|
"dx/sidebar",
|
|
66
61
|
"dx/sidebarOld",
|
|
67
62
|
"dx/skipNavLink",
|
|
68
|
-
"dx/slackCta",
|
|
69
63
|
"dx/socials",
|
|
64
|
+
"dx/spinner",
|
|
65
|
+
"dx/toc",
|
|
70
66
|
"dx/toc",
|
|
71
|
-
"dx/tree",
|
|
72
67
|
"dx/tooltip",
|
|
68
|
+
"dx/tree",
|
|
73
69
|
"dx/typeBadge",
|
|
74
70
|
"dx/typeBadgeGroup",
|
|
75
|
-
"dx/toc",
|
|
76
71
|
"dx/vimeoPlayer",
|
|
77
72
|
"helpers/animations",
|
|
73
|
+
"helpers/button",
|
|
78
74
|
"helpers/card",
|
|
79
75
|
"helpers/code",
|
|
80
76
|
"helpers/commonHeader",
|
|
81
77
|
"helpers/reset",
|
|
82
78
|
"helpers/table",
|
|
83
79
|
"helpers/text",
|
|
84
|
-
"
|
|
85
|
-
"base-elements/matchMediaElement",
|
|
80
|
+
"utils/analytics",
|
|
86
81
|
"utils/constants",
|
|
87
|
-
"utils/
|
|
82
|
+
"utils/coveo",
|
|
83
|
+
"utils/dates",
|
|
88
84
|
"utils/highlight",
|
|
89
|
-
"utils/
|
|
90
|
-
"utils/
|
|
85
|
+
"utils/normalizers",
|
|
86
|
+
"utils/queryCoordinator",
|
|
87
|
+
"utils/recentSearches",
|
|
88
|
+
"utils/wordpress"
|
|
91
89
|
]
|
|
92
90
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforcedevs/dx-components",
|
|
3
|
-
"version": "0.53.
|
|
3
|
+
"version": "0.53.11-alpha",
|
|
4
4
|
"description": "DX Lightning web components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -15,18 +15,15 @@
|
|
|
15
15
|
"@sfdocs-internal/wires": "^0.6.3",
|
|
16
16
|
"@vimeo/player": "^2.16.4",
|
|
17
17
|
"classnames": "^2.2.6",
|
|
18
|
-
"coveo-search-ui": "^2.10082.5",
|
|
19
18
|
"debounce": "^1.2.0",
|
|
20
19
|
"lightning-base-components": "1.12.3-alpha",
|
|
21
20
|
"lodash.get": "^4.4.2",
|
|
22
|
-
"microtip": "0.2.2"
|
|
23
|
-
"query-string": "^7.1.1"
|
|
21
|
+
"microtip": "0.2.2"
|
|
24
22
|
},
|
|
25
23
|
"devDependencies": {
|
|
26
24
|
"@types/classnames": "^2.2.10",
|
|
27
25
|
"@types/debounce": "^1.2.0",
|
|
28
26
|
"@types/lodash.get": "^4.4.6",
|
|
29
27
|
"@types/vimeo__player": "^2.16.2"
|
|
30
|
-
}
|
|
31
|
-
"gitHead": "4c4e059fbd82f79db3c02c69e69d2fabc0035390"
|
|
28
|
+
}
|
|
32
29
|
}
|
|
@@ -2,7 +2,7 @@ import { LightningElement, api } from "lwc";
|
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import { Brand, Option } from "typings/custom";
|
|
4
4
|
import { toJson } from "utils/normalizers";
|
|
5
|
-
import { track } from "
|
|
5
|
+
import { track } from "utils/analytics";
|
|
6
6
|
|
|
7
7
|
const VALID_BRANDS = [
|
|
8
8
|
"analytics",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { LightningElement, api } from "lwc";
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import { toDxColor } from "utils/css";
|
|
4
|
-
import { track } from "
|
|
4
|
+
import { track } from "utils/analytics";
|
|
5
5
|
|
|
6
6
|
export default class CardCallout extends LightningElement {
|
|
7
|
-
@api backgroundColor
|
|
8
|
-
@api color
|
|
7
|
+
@api backgroundColor: string = "indigo-vibrant-40";
|
|
8
|
+
@api color: string = "white";
|
|
9
9
|
@api href!: string;
|
|
10
10
|
@api label: string = "";
|
|
11
|
-
@api target?: string
|
|
11
|
+
@api target?: string;
|
|
12
12
|
@api title!: string;
|
|
13
13
|
|
|
14
14
|
private get style(): string {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
CardNewsSize,
|
|
10
10
|
CardNewsTextContainerSize
|
|
11
11
|
} from "typings/custom";
|
|
12
|
-
import { track } from "
|
|
12
|
+
import { track } from "utils/analytics";
|
|
13
13
|
|
|
14
14
|
export default class CardNews extends LightningElement {
|
|
15
15
|
@api backgroundColor?: string = "indigo-vibrant-40";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
getLocalStorageData,
|
|
7
7
|
setLocalStorageData
|
|
8
8
|
} from "@sfdocs-internal/wires";
|
|
9
|
-
import { track as gtmTrack } from "
|
|
9
|
+
import { track as gtmTrack } from "utils/analytics";
|
|
10
10
|
|
|
11
11
|
// Used por remove enclosing <pre> tag's (if occurs)
|
|
12
12
|
const preTagRegexp: RegExp = /^<pre.*?>(.*)<\/pre>$/is;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LightningElement, api } from "lwc";
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import { Option } from "typings/custom";
|
|
4
|
-
import { track } from "
|
|
4
|
+
import { track } from "utils/analytics";
|
|
5
5
|
|
|
6
6
|
export default class DropdownOption extends LightningElement {
|
|
7
7
|
@api option!: Option;
|
|
@@ -3,7 +3,7 @@ import cx from "classnames";
|
|
|
3
3
|
import { LightningSlotElement, Link } from "typings/custom";
|
|
4
4
|
import { isSlotEmpty } from "utils/slot";
|
|
5
5
|
import { toJson } from "utils/normalizers";
|
|
6
|
-
import { track } from "
|
|
6
|
+
import { track } from "utils/analytics";
|
|
7
7
|
|
|
8
8
|
type OptionalLink = Link | null;
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LightningElement, api } from "lwc";
|
|
2
2
|
import { InternalTreeNode } from "typings/custom";
|
|
3
|
-
import { track } from "
|
|
3
|
+
import { track } from "utils/analytics";
|
|
4
4
|
import { SidebarGtmAction } from "typings/custom";
|
|
5
5
|
import { isInViewport } from "utils/browser";
|
|
6
6
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const TRACKING_EVENT_NAME = "developerwebsite_track";
|
|
2
|
+
export const LISTENER_QUEUE = "__DX_INSTRUMENTATION_QUEUE__";
|
|
3
|
+
export const LISTENER_INDICATOR = "__DX_INSTRUMENTATION_IS_INITIALIZED__";
|
|
4
|
+
|
|
5
|
+
export function track(
|
|
6
|
+
element: EventTarget,
|
|
7
|
+
event: string,
|
|
8
|
+
payload: Record<string, unknown>
|
|
9
|
+
): void {
|
|
10
|
+
const detail = { event, payload };
|
|
11
|
+
// if window.LISTENER_INDICATOR is undefined, `dx-instrumentation` has not
|
|
12
|
+
// been mounted, and the listener hasn't been attached.
|
|
13
|
+
if ((window as any)[LISTENER_INDICATOR] === undefined) {
|
|
14
|
+
(window as any)[LISTENER_QUEUE] = (window as any)[LISTENER_QUEUE] || [];
|
|
15
|
+
(window as any)[LISTENER_QUEUE].push(detail);
|
|
16
|
+
} else {
|
|
17
|
+
const e = new CustomEvent(TRACKING_EVENT_NAME, {
|
|
18
|
+
bubbles: true,
|
|
19
|
+
composed: true,
|
|
20
|
+
detail
|
|
21
|
+
});
|
|
22
|
+
element.dispatchEvent(e);
|
|
23
|
+
}
|
|
24
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
Copyright (c) 2020, Salesforce.com, Inc.
|
|
2
|
-
All rights reserved.
|
|
3
|
-
|
|
4
|
-
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
5
|
-
|
|
6
|
-
* Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
7
|
-
|
|
8
|
-
* Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
9
|
-
|
|
10
|
-
* Neither the name of Salesforce.com nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
|
|
11
|
-
|
|
12
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<template for:each={posts} for:item="post">
|
|
3
|
-
<dx-card-blog-post
|
|
4
|
-
label="BLOG POST"
|
|
5
|
-
author-img-src={post.authorImgSrc}
|
|
6
|
-
author-label={post.authorName}
|
|
7
|
-
body={post.body}
|
|
8
|
-
datetime={post.datetime}
|
|
9
|
-
href={post.href}
|
|
10
|
-
img-alt={post.imgAlt}
|
|
11
|
-
img-src={post.imgSrc}
|
|
12
|
-
key={post.id}
|
|
13
|
-
title={post.title}
|
|
14
|
-
></dx-card-blog-post>
|
|
15
|
-
</template>
|
|
16
|
-
</template>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { LightningElement, api, track } from "lwc";
|
|
2
|
-
import { fetchWordpressPosts } from "utils/wordpress";
|
|
3
|
-
import { normalizePost } from "utils/normalizers";
|
|
4
|
-
|
|
5
|
-
type BlogPost = {
|
|
6
|
-
body: string;
|
|
7
|
-
datetime: string;
|
|
8
|
-
href: string;
|
|
9
|
-
id: string;
|
|
10
|
-
title: string;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export default class CardBlogPostProvider extends LightningElement {
|
|
14
|
-
@api count?: string;
|
|
15
|
-
|
|
16
|
-
@track posts: BlogPost[] = [];
|
|
17
|
-
|
|
18
|
-
private fetchPosts = async () => {
|
|
19
|
-
this.posts = await fetchWordpressPosts(
|
|
20
|
-
"/blogs/api",
|
|
21
|
-
normalizePost,
|
|
22
|
-
this.count
|
|
23
|
-
);
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
connectedCallback() {
|
|
27
|
-
this.fetchPosts();
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<template for:each={episodes} for:item="episode">
|
|
3
|
-
<dx-card-podcast-episode
|
|
4
|
-
body={episode.body}
|
|
5
|
-
datetime={episode.datetime}
|
|
6
|
-
href={episode.href}
|
|
7
|
-
key={episode.id}
|
|
8
|
-
length={episode.length}
|
|
9
|
-
title={episode.title}
|
|
10
|
-
></dx-card-podcast-episode>
|
|
11
|
-
</template>
|
|
12
|
-
</template>
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { LightningElement, api, track } from "lwc";
|
|
2
|
-
import { fetchWordpressPosts } from "utils/wordpress";
|
|
3
|
-
import { normalizeEpisode } from "utils/normalizers";
|
|
4
|
-
|
|
5
|
-
type PodcastEpisode = {
|
|
6
|
-
body: string;
|
|
7
|
-
datetime: string;
|
|
8
|
-
href: string;
|
|
9
|
-
id: string;
|
|
10
|
-
length: string;
|
|
11
|
-
title: string;
|
|
12
|
-
};
|
|
13
|
-
export default class CardPodcastEpisodeProvider extends LightningElement {
|
|
14
|
-
@api count?: string;
|
|
15
|
-
|
|
16
|
-
@track episodes: PodcastEpisode[] = [];
|
|
17
|
-
|
|
18
|
-
private fetchEpisodes = async () => {
|
|
19
|
-
this.episodes = await fetchWordpressPosts(
|
|
20
|
-
"/podcast/api",
|
|
21
|
-
normalizeEpisode,
|
|
22
|
-
this.count
|
|
23
|
-
);
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
connectedCallback() {
|
|
27
|
-
this.fetchEpisodes();
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
@import "helpers/reset";
|
|
2
|
-
|
|
3
|
-
.container {
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
height: 100%;
|
|
7
|
-
width: 100%;
|
|
8
|
-
padding: 0 40px;
|
|
9
|
-
max-width: 1390px;
|
|
10
|
-
margin: 0 auto;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.modal-loading {
|
|
14
|
-
padding: 16px;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.filter-container {
|
|
18
|
-
width: 100%;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.filter-header-container {
|
|
22
|
-
display: flex;
|
|
23
|
-
justify-content: space-between;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.filter-clear-btn {
|
|
27
|
-
color: var(--dx-g-blue-vibrant-50);
|
|
28
|
-
font-family: var(--dx-g-font-display);
|
|
29
|
-
font-size: var(--dx-g-text-sm);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.results-heading,
|
|
33
|
-
.posts-month {
|
|
34
|
-
color: var(--dx-g-text-heading-color);
|
|
35
|
-
font-family: var(--dx-g-font-display);
|
|
36
|
-
font-size: 20px;
|
|
37
|
-
letter-spacing: -0.4px;
|
|
38
|
-
line-height: 28px;
|
|
39
|
-
margin-top: 40px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.posts-month {
|
|
43
|
-
margin-bottom: 11px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
hr {
|
|
47
|
-
margin-top: 20px;
|
|
48
|
-
margin-bottom: 28px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.content-container {
|
|
52
|
-
width: 100%;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.content-info-container {
|
|
56
|
-
display: flex;
|
|
57
|
-
justify-content: space-between;
|
|
58
|
-
margin-top: 60px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.card-type-group {
|
|
62
|
-
display: flex;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.min-card-btn,
|
|
66
|
-
.exp-card-btn {
|
|
67
|
-
font-size: var(--dx-g-text-sm);
|
|
68
|
-
color: var(--dx-g-blue-vibrant-20);
|
|
69
|
-
font-family: var(--dx-g-font-display);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.btn-active {
|
|
73
|
-
color: var(--dx-g-blue-vibrant-50);
|
|
74
|
-
text-decoration: underline 2px;
|
|
75
|
-
text-underline-offset: 2px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.min-card-btn {
|
|
79
|
-
margin-left: 10px;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.min-card-btn:hover,
|
|
83
|
-
.exp-card-btn:hover {
|
|
84
|
-
color: var(--dx-g-blue-vibrant-50);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
button:focus,
|
|
88
|
-
button:active {
|
|
89
|
-
outline: none;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.spinner-container {
|
|
93
|
-
position: relative;
|
|
94
|
-
margin-top: 85px;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.pagination-container {
|
|
98
|
-
display: flex;
|
|
99
|
-
justify-content: center;
|
|
100
|
-
margin-top: 36px;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.empty-state-container {
|
|
104
|
-
background-image: url(/assets/svg/no-results-combined.svg);
|
|
105
|
-
background-repeat: no-repeat;
|
|
106
|
-
background-position: center;
|
|
107
|
-
background-size: contain;
|
|
108
|
-
display: flex;
|
|
109
|
-
justify-content: center;
|
|
110
|
-
align-items: center;
|
|
111
|
-
height: 170px;
|
|
112
|
-
width: 100%;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.empty-state-text {
|
|
116
|
-
color: var(--dx-g-blue-vibrant-20);
|
|
117
|
-
font-family: var(--dx-g-font-display);
|
|
118
|
-
font-size: 12px;
|
|
119
|
-
text-align: center;
|
|
120
|
-
width: 130px;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.filter-title {
|
|
124
|
-
font-family: var(--dx-g-font-display);
|
|
125
|
-
font-size: var(--dx-g-text-lg);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.filter-content {
|
|
129
|
-
color: var(--dx-g-blue-vibrant-50);
|
|
130
|
-
font-family: var(--dx-g-font-display);
|
|
131
|
-
font-size: var(--dx-g-text-sm);
|
|
132
|
-
width: 100%;
|
|
133
|
-
height: 100%;
|
|
134
|
-
display: inline-flex;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
dx-modal-drawer {
|
|
138
|
-
width: 300px;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
dx-icon {
|
|
142
|
-
display: inline;
|
|
143
|
-
margin-left: 5px;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
.content-page-length {
|
|
147
|
-
font-size: var(--dx-g-text-sm);
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
dx-card-minimal:not(first-of-type) {
|
|
151
|
-
margin-top: 14px;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
dx-card-expanded:not(:first-of-type) {
|
|
155
|
-
margin-top: 22.5px;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
dx-filter-menu {
|
|
159
|
-
--dx-c-filter-menu-margin: 16px 0;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.filter-chips-container {
|
|
163
|
-
display: flex;
|
|
164
|
-
flex-direction: column;
|
|
165
|
-
gap: 25px;
|
|
166
|
-
margin-top: 23px;
|
|
167
|
-
}
|
|
168
|
-
|
|
169
|
-
.chip-item-container {
|
|
170
|
-
display: flex;
|
|
171
|
-
flex-wrap: wrap;
|
|
172
|
-
align-items: center;
|
|
173
|
-
gap: 8px;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
.chip-title,
|
|
177
|
-
.chip-item {
|
|
178
|
-
font-size: var(--dx-g-text-sm);
|
|
179
|
-
font-family: var(--dx-g-font-sans);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.chip-title {
|
|
183
|
-
font-weight: bold;
|
|
184
|
-
color: rgb(24, 24, 24);
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
.chip-item {
|
|
188
|
-
border: 2px solid rgb(92, 92, 92);
|
|
189
|
-
border-radius: 4px;
|
|
190
|
-
color: rgb(92, 92, 92);
|
|
191
|
-
font-weight: 600;
|
|
192
|
-
padding: 2px 4px;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.chip-item dx-button {
|
|
196
|
-
margin-left: 4px;
|
|
197
|
-
|
|
198
|
-
--dx-c-button-primary-color: inherit;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
/* TABLET */
|
|
202
|
-
@media screen and (min-width: 768px) {
|
|
203
|
-
.container {
|
|
204
|
-
flex-direction: row;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.filter-container {
|
|
208
|
-
margin-top: 56px;
|
|
209
|
-
min-width: 220px;
|
|
210
|
-
max-width: 300px;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.empty-state-container {
|
|
214
|
-
background-size: 550px 100%;
|
|
215
|
-
height: 250px;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
.empty-state-text {
|
|
219
|
-
font-size: 18px;
|
|
220
|
-
width: 177px;
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
.content-container {
|
|
224
|
-
margin-left: 30.5px;
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.results-heading {
|
|
228
|
-
font-size: 24px;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
/* DESKTOP */
|
|
233
|
-
@media screen and (min-width: 1024px) {
|
|
234
|
-
.content-container {
|
|
235
|
-
margin-left: 62px;
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
.results-heading {
|
|
239
|
-
font-size: 32px;
|
|
240
|
-
margin-top: 42px;
|
|
241
|
-
}
|
|
242
|
-
}
|