@salesforcedevs/docs-components 0.54.0-alpha01 → 0.54.0-alpha02
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/package.json +1 -1
- package/src/modules/doc/amfReference/amfReference.css +1 -1
- package/src/modules/doc/amfReference/utils.ts +1 -1
- package/src/modules/doc/amfTopic/amfTopic.css +1 -1
- package/src/modules/doc/breadcrumbItem/breadcrumbItem.css +2 -2
- package/src/modules/doc/breadcrumbs/breadcrumbs.css +2 -2
- package/src/modules/doc/breadcrumbs/breadcrumbs.ts +1 -1
- package/src/modules/doc/content/content.css +4 -4
- package/src/modules/doc/content/content.ts +1 -1
- package/src/modules/doc/contentCallout/contentCallout.css +3 -3
- package/src/modules/doc/contentLayout/contentLayout.ts +3 -3
- package/src/modules/doc/header/header.css +1 -1
- package/src/modules/doc/header/header.ts +2 -2
- package/src/modules/doc/headingAnchor/headingAnchor.css +1 -1
- package/src/modules/doc/headingContent/headingContent.css +1 -1
- package/src/modules/doc/phase/phase.css +3 -3
- package/src/modules/doc/phase/phase.ts +1 -1
- package/src/modules/doc/xmlContent/xmlContent.ts +3 -3
- /package/src/modules/{base-elements → docBaseElements}/lightningElementWithState/lightningElementWithState.ts +0 -0
- /package/src/modules/{helpers → docHelpers}/amfStyle/amfStyle.css +0 -0
- /package/src/modules/{helpers → docHelpers}/phaseContentLayout/phaseContentLayout.css +0 -0
- /package/src/modules/{helpers → docHelpers}/status/status.css +0 -0
- /package/src/modules/{utils → docUtils}/SearchSyncer/SearchSyncer.ts +0 -0
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@import "
|
|
1
|
+
@import "docHelpers/amfStyle";
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* pattern validation cannot be applied
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
@import "
|
|
8
|
-
@import "
|
|
9
|
-
@import "
|
|
10
|
-
@import "
|
|
7
|
+
@import "dxHelpers/text";
|
|
8
|
+
@import "dxHelpers/reset";
|
|
9
|
+
@import "dxHelpers/card";
|
|
10
|
+
@import "dxHelpers/table";
|
|
11
11
|
|
|
12
12
|
.doc-content {
|
|
13
13
|
width: 100%;
|
|
@@ -5,7 +5,7 @@ import ContentCallout from "doc/contentCallout";
|
|
|
5
5
|
import CodeBlock from "dx/codeBlock";
|
|
6
6
|
import ContentMedia from "doc/contentMedia";
|
|
7
7
|
import Button from "dx/button";
|
|
8
|
-
import { highlightTerms } from "
|
|
8
|
+
import { highlightTerms } from "dxUtils/highlight";
|
|
9
9
|
|
|
10
10
|
const HIGHLIGHTABLE_SELECTOR = [
|
|
11
11
|
"p",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LightningElement, api, track } from "lwc";
|
|
2
2
|
import { closest } from "kagekiri";
|
|
3
|
-
import { toJson } from "
|
|
4
|
-
import { highlightTerms } from "
|
|
5
|
-
import { SearchSyncer } from "
|
|
3
|
+
import { toJson } from "dxUtils/normalizers";
|
|
4
|
+
import { highlightTerms } from "dxUtils/highlight";
|
|
5
|
+
import { SearchSyncer } from "docUtils/SearchSyncer";
|
|
6
6
|
|
|
7
7
|
type AnchorMap = { [key: string]: { intersect: boolean; id: string } };
|
|
8
8
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { api } from "lwc";
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
import type { Option } from "typings/custom";
|
|
4
|
-
import { HeaderBase } from "
|
|
5
|
-
import { toJson } from "
|
|
4
|
+
import { HeaderBase } from "dxBaseElements/headerBase";
|
|
5
|
+
import { toJson } from "dxUtils/normalizers";
|
|
6
6
|
import get from "lodash.get";
|
|
7
7
|
|
|
8
8
|
const TABLET_MATCH = "980px";
|
|
@@ -2,7 +2,7 @@ import { LightningElement, api } from "lwc";
|
|
|
2
2
|
import cx from "classnames";
|
|
3
3
|
|
|
4
4
|
import { DocPhaseInfo } from "typings/custom";
|
|
5
|
-
import { toJson } from "
|
|
5
|
+
import { toJson } from "dxUtils/normalizers";
|
|
6
6
|
|
|
7
7
|
export default class Phase extends LightningElement {
|
|
8
8
|
_docPhaseInfo: DocPhaseInfo | null = null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { api, track } from "lwc";
|
|
2
|
-
import { toJson } from "
|
|
2
|
+
import { toJson } from "dxUtils/normalizers";
|
|
3
3
|
import { FetchContent } from "./utils";
|
|
4
4
|
import {
|
|
5
5
|
CoveoAdvancedQueryXMLConfig,
|
|
@@ -11,8 +11,8 @@ import {
|
|
|
11
11
|
HistoryState,
|
|
12
12
|
PageReference
|
|
13
13
|
} from "./types";
|
|
14
|
-
import { SearchSyncer } from "
|
|
15
|
-
import { LightningElementWithState } from "
|
|
14
|
+
import { SearchSyncer } from "docUtils/SearchSyncer";
|
|
15
|
+
import { LightningElementWithState } from "docBaseElements/lightningElementWithState";
|
|
16
16
|
|
|
17
17
|
// TODO: Imitating from actual implementation as doc-content use it like this. We should refactor it later.
|
|
18
18
|
const handleContentError = (error): void => console.log(error);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|