@salesforcedevs/docs-components 0.3.11 → 0.3.14-banner-alpha1

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.
Files changed (107) hide show
  1. package/lwc.config.json +12 -3
  2. package/package.json +17 -7
  3. package/src/modules/README.md +41 -0
  4. package/src/modules/doc/amfReference/amfReference.css +5 -0
  5. package/src/modules/doc/amfReference/amfReference.html +47 -0
  6. package/src/modules/doc/amfReference/amfReference.ts +1361 -0
  7. package/src/modules/doc/amfReference/constants.ts +76 -0
  8. package/src/modules/doc/amfReference/types.ts +133 -0
  9. package/src/modules/doc/amfReference/utils.ts +669 -0
  10. package/src/modules/doc/amfTopic/amfTopic.css +1 -0
  11. package/src/modules/doc/amfTopic/amfTopic.html +3 -0
  12. package/src/modules/doc/amfTopic/amfTopic.ts +94 -0
  13. package/src/modules/doc/amfTopic/types.ts +54 -0
  14. package/src/modules/doc/amfTopic/utils.ts +130 -0
  15. package/src/modules/doc/breadcrumbItem/breadcrumbItem.css +51 -0
  16. package/src/modules/doc/breadcrumbItem/breadcrumbItem.html +5 -0
  17. package/src/modules/doc/breadcrumbItem/breadcrumbItem.ts +64 -0
  18. package/src/modules/doc/breadcrumbs/breadcrumbs.css +27 -0
  19. package/src/modules/doc/breadcrumbs/breadcrumbs.html +60 -0
  20. package/src/modules/doc/breadcrumbs/breadcrumbs.ts +187 -0
  21. package/src/modules/doc/content/content.css +58 -102
  22. package/src/modules/doc/content/content.ts +261 -174
  23. package/src/modules/doc/contentCallout/contentCallout.css +7 -24
  24. package/src/modules/doc/contentCallout/contentCallout.html +4 -2
  25. package/src/modules/doc/contentCallout/contentCallout.ts +8 -2
  26. package/src/modules/doc/contentLayout/contentLayout.css +98 -0
  27. package/src/modules/doc/contentLayout/contentLayout.html +51 -0
  28. package/src/modules/doc/contentLayout/contentLayout.ts +322 -0
  29. package/src/modules/doc/header/header.css +103 -0
  30. package/src/modules/doc/header/header.html +160 -0
  31. package/src/modules/doc/header/header.ts +146 -0
  32. package/src/modules/doc/heading/heading.css +54 -0
  33. package/src/modules/doc/heading/heading.html +14 -0
  34. package/src/modules/doc/heading/heading.ts +65 -0
  35. package/src/modules/doc/headingAnchor/headingAnchor.css +33 -0
  36. package/src/modules/doc/headingAnchor/headingAnchor.html +19 -0
  37. package/src/modules/doc/headingAnchor/headingAnchor.ts +43 -0
  38. package/src/modules/doc/headingContent/headingContent.css +53 -0
  39. package/src/modules/doc/headingContent/headingContent.html +13 -0
  40. package/src/modules/doc/headingContent/headingContent.ts +30 -0
  41. package/src/modules/doc/phase/phase.css +55 -0
  42. package/src/modules/doc/phase/phase.html +28 -0
  43. package/src/modules/doc/phase/phase.ts +57 -0
  44. package/src/modules/doc/sprigSurvey/sprigSurvey.html +20 -0
  45. package/src/modules/doc/sprigSurvey/sprigSurvey.scoped.css +12 -0
  46. package/src/modules/doc/sprigSurvey/sprigSurvey.ts +16 -0
  47. package/src/modules/doc/toc/toc.html +3 -1
  48. package/src/modules/doc/toolbar/toolbar.ts +6 -6
  49. package/src/modules/doc/xmlContent/types.ts +114 -0
  50. package/src/modules/doc/xmlContent/utils.ts +161 -0
  51. package/src/modules/doc/xmlContent/xmlContent.css +32 -0
  52. package/src/modules/doc/xmlContent/xmlContent.html +40 -0
  53. package/src/modules/doc/xmlContent/xmlContent.ts +677 -0
  54. package/src/modules/docBaseElements/lightningElementWithState/lightningElementWithState.ts +93 -0
  55. package/src/modules/docHelpers/amfStyle/amfStyle.css +355 -0
  56. package/src/modules/docHelpers/phaseContentLayout/phaseContentLayout.css +39 -0
  57. package/src/modules/docHelpers/status/status.css +22 -0
  58. package/src/modules/docUtils/SearchSyncer/SearchSyncer.ts +85 -0
  59. package/LICENSE +0 -12
  60. package/src/modules/doc/container/__benchmarks__/container.benchmark.js +0 -43
  61. package/src/modules/doc/container/__mocks__/mockAvailableLanguages.js +0 -8
  62. package/src/modules/doc/container/__mocks__/mockAvailableVersions.js +0 -122
  63. package/src/modules/doc/container/__mocks__/mockContentFetchResponse.json +0 -5
  64. package/src/modules/doc/container/__mocks__/mockDocContent.js +0 -29
  65. package/src/modules/doc/container/__mocks__/mockNavigationFetchResponse.json +0 -4061
  66. package/src/modules/doc/container/__mocks__/mockPageReference.js +0 -8
  67. package/src/modules/doc/container/__mocks__/mockPdfUrl.js +0 -1
  68. package/src/modules/doc/container/__mocks__/mockSelectedLanguage.js +0 -8
  69. package/src/modules/doc/container/__mocks__/mockSelectedVersion.js +0 -8
  70. package/src/modules/doc/container/__mocks__/mockToc.js +0 -146
  71. package/src/modules/doc/container/__tests__/container.test.ts +0 -117
  72. package/src/modules/doc/container/container.css +0 -37
  73. package/src/modules/doc/container/container.html +0 -28
  74. package/src/modules/doc/container/container.stories.ts +0 -44
  75. package/src/modules/doc/container/container.ts +0 -367
  76. package/src/modules/doc/content/__tests__/content.test.ts +0 -99
  77. package/src/modules/doc/content/__tests__/mockDocContent.ts +0 -258
  78. package/src/modules/doc/content/__tests__/mockPageReference.ts +0 -8
  79. package/src/modules/doc/content/content.stories.ts +0 -82
  80. package/src/modules/doc/contentCallout/__tests__/contentCallout.test.ts +0 -80
  81. package/src/modules/doc/contentCallout/__tests__/mockProps.ts +0 -14
  82. package/src/modules/doc/contentCallout/contentCallout.stories.ts +0 -29
  83. package/src/modules/doc/contentMedia/__tests__/contentMedia.test.ts +0 -97
  84. package/src/modules/doc/contentMedia/contentMedia.stories.ts +0 -113
  85. package/src/modules/doc/landing/__tests__/landing.test.ts +0 -60
  86. package/src/modules/doc/landing/__tests__/mockFetch.json +0 -370
  87. package/src/modules/doc/landing/landing.css +0 -63
  88. package/src/modules/doc/landing/landing.html +0 -122
  89. package/src/modules/doc/landing/landing.stories.ts +0 -21
  90. package/src/modules/doc/landing/landing.ts +0 -222
  91. package/src/modules/doc/nav/__tests__/mockAvailableLanguages.ts +0 -8
  92. package/src/modules/doc/nav/__tests__/mockAvailableVersions.ts +0 -122
  93. package/src/modules/doc/nav/__tests__/mockPageReference.ts +0 -8
  94. package/src/modules/doc/nav/__tests__/mockPdfUrl.ts +0 -1
  95. package/src/modules/doc/nav/__tests__/mockSelectedLanguage.ts +0 -8
  96. package/src/modules/doc/nav/__tests__/mockSelectedVersion.ts +0 -8
  97. package/src/modules/doc/nav/__tests__/mockToc.ts +0 -146
  98. package/src/modules/doc/nav/__tests__/nav.test.ts +0 -58
  99. package/src/modules/doc/toc/__tests__/mockPageReference.ts +0 -8
  100. package/src/modules/doc/toc/__tests__/mockToc.ts +0 -146
  101. package/src/modules/doc/toc/__tests__/toc.test.ts +0 -29
  102. package/src/modules/doc/toolbar/__tests__/mockAvailableLanguages.ts +0 -8
  103. package/src/modules/doc/toolbar/__tests__/mockAvailableVersions.ts +0 -122
  104. package/src/modules/doc/toolbar/__tests__/mockPdfUrl.ts +0 -1
  105. package/src/modules/doc/toolbar/__tests__/mockSelectedLanguage.ts +0 -8
  106. package/src/modules/doc/toolbar/__tests__/mockSelectedVersion.ts +0 -8
  107. package/src/modules/doc/toolbar/__tests__/toolbar.test.ts +0 -44
@@ -1,113 +0,0 @@
1
- import { html } from "lit-html";
2
-
3
- export default {
4
- title: "docs/doc-content-media",
5
- component: "doc-content-media"
6
- };
7
-
8
- // prettier-ignore
9
- const styles = () => html `
10
- <style>
11
- .container-sm {
12
- max-width: 540px;
13
- margin: 0 auto;
14
- }
15
-
16
- .container-fw {
17
- width: 100%;
18
- }
19
-
20
- h1 {
21
- font-size: 36px;
22
- }
23
-
24
- h2 {
25
- font-size: 24px;
26
- }
27
-
28
- h1, h2 {
29
- font-weight: bold;
30
- }
31
- </style>
32
- `;
33
-
34
- // prettier-ignore
35
- export const Base = () => html`${styles()}
36
- <div class="container-sm">
37
- <h1>Small Container</h1>
38
- <h2>Images</h2>
39
- <doc-content-media
40
- content-type="image"
41
- content-src="https://placekitten.com/400/300"
42
- media-title="A cute kitten"
43
- caption="An incredibly cute kitten"
44
- ></doc-content-media>
45
- <doc-content-media
46
- content-type="image"
47
- content-src="https://placekitten.com/400/300"
48
- media-title="A cute kitten"
49
- ></doc-content-media>
50
- <doc-content-media
51
- content-type="image"
52
- content-src="https://placekitten.com/400/300"
53
- caption="An incredibly cute kitten"
54
- ></doc-content-media>
55
- <doc-content-media
56
- content-type="image"
57
- content-src="https://placekitten.com/400/300"
58
- ></doc-content-media>
59
-
60
- <h2>IFrames</h2>
61
- <doc-content-media
62
- content-type="iframe"
63
- content-src="https://www.youtube.com/embed/DfV7WnyEPTE"
64
- media-title="Master Lightning Web Components in 8 Easy Steps (1)"
65
- caption="Lightning Web Components are a new development platform for Salesforce."
66
- ></doc-content-media>
67
- <doc-content-media
68
- content-type="iframe"
69
- content-src="https://play.vidyard.com/yThw736PBYf18ts1f8SKXa?disable_popouts=1&v=4.2.30&type=inline"
70
- media-title="Non-YouTube Video"
71
- caption="doc-content-media supports iframes from any origin."
72
- ></doc-content-media>
73
- </div>
74
-
75
- <div class="container-fw">
76
- <h1>Full-width Container</h1>
77
- <h2>Images</h2>
78
- <doc-content-media
79
- content-type="image"
80
- content-src="https://placekitten.com/400/300"
81
- media-title="A cute kitten"
82
- caption="An incredibly cute kitten"
83
- ></doc-content-media>
84
- <doc-content-media
85
- content-type="image"
86
- content-src="https://placekitten.com/400/300"
87
- media-title="A cute kitten"
88
- ></doc-content-media>
89
- <doc-content-media
90
- content-type="image"
91
- content-src="https://placekitten.com/400/300"
92
- caption="An incredibly cute kitten"
93
- ></doc-content-media>
94
- <doc-content-media
95
- content-type="image"
96
- content-src="https://placekitten.com/400/300"
97
- ></doc-content-media>
98
-
99
- <h2>IFrames</h2>
100
- <doc-content-media
101
- content-type="iframe"
102
- content-src="https://www.youtube.com/embed/DfV7WnyEPTE"
103
- media-title="Master Lightning Web Components in 8 Easy Steps (1)"
104
- caption="Lightning Web Components are a new development platform for Salesforce."
105
- ></doc-content-media>
106
- <doc-content-media
107
- content-type="iframe"
108
- content-src="https://play.vidyard.com/yThw736PBYf18ts1f8SKXa?disable_popouts=1&v=4.2.30&type=inline"
109
- media-title="Non-YouTube Video"
110
- caption="doc-content-media supports iframes from any origin."
111
- ></doc-content-media>
112
- </div>
113
- `;
@@ -1,60 +0,0 @@
1
- /* eslint-disable jest/no-mocks-import */
2
- import Landing from "../landing";
3
- import { createRenderComponent } from "utils/tests";
4
- const mockFetchResponse = require("../__tests__/mockFetch.json");
5
-
6
- const TAG = "dx-doc-landing";
7
- const render = createRenderComponent(TAG, Landing);
8
- const LANDING_DEFAULT_URL =
9
- "https://developer.salesforce.com/docs/get_index/en-us/000.0/false/All%20Services/all";
10
- const LANDING_ALTERNATE_URL =
11
- "https://staging.developer.salesforce.com/docs/get_index/en-us/000.0/false/All%20Services/all";
12
-
13
- function mockFetch() {
14
- return jest.fn().mockImplementation(() => {
15
- const data = mockFetchResponse;
16
- return Promise.resolve({
17
- ok: true,
18
- json: () => data
19
- });
20
- });
21
- }
22
-
23
- describe(TAG, () => {
24
- describe("doc-landing", () => {
25
- afterEach(() => {
26
- jest.resetAllMocks();
27
- });
28
-
29
- it("renders the landing page", async () => {
30
- global.fetch = mockFetch();
31
- const element = render();
32
- expect(global.fetch).toHaveBeenCalledTimes(1);
33
- expect(global.fetch).toHaveBeenCalledWith(LANDING_DEFAULT_URL);
34
- const els = [
35
- ".docs-results-container",
36
- ".docs-search-row"
37
- ].map((query) => element.shadowRoot.querySelector(query));
38
- expect(els).not.toContain(null);
39
- await expect(element).toBeAccessible();
40
- });
41
-
42
- it("binds the correct default value for defaultUrl", async () => {
43
- global.fetch = mockFetch();
44
- const element = render();
45
- expect(global.fetch).toHaveBeenCalledTimes(1);
46
- expect(global.fetch).toHaveBeenCalledWith(LANDING_DEFAULT_URL);
47
- expect(element.defaultUrl).toBe(LANDING_DEFAULT_URL);
48
- await expect(element).toBeAccessible();
49
- });
50
-
51
- it("binds the correct value for defaultUrl", async () => {
52
- global.fetch = mockFetch();
53
- const element = render({ defaultUrl: LANDING_ALTERNATE_URL });
54
- expect(global.fetch).toHaveBeenCalledTimes(1);
55
- expect(global.fetch).toHaveBeenCalledWith(LANDING_ALTERNATE_URL);
56
- expect(element.defaultUrl).toBe(LANDING_ALTERNATE_URL);
57
- await expect(element).toBeAccessible();
58
- });
59
- });
60
- });
@@ -1,370 +0,0 @@
1
- {
2
- "content": [
3
- {
4
- "id": "atlas.en-us.230.0.apexcode.meta",
5
- "key": "en-us",
6
- "value": {
7
- "_id": "atlas.en-us.apexcode.meta",
8
- "_rev": "8-7d28d415d7759c3040ad3a6874daffb0",
9
- "default_topic": "apexcode/apex_dev_guide.htm",
10
- "title": "Apex Developer Guide",
11
- "subtitle": "",
12
- "tagline": "",
13
- "shortdesc": "Learn about Salesforce Apex, the strongly typed, object-oriented, multitenant-aware programming language. Use Apex code to run flow and transaction control statements on the Salesforce platform. Apex syntax looks like Java and acts like database stored procedures. Developers can add business logic to most system events, including button clicks, related record updates, and Visualforce pages.",
14
- "type": "Developer Guide",
15
- "locale": "en-us",
16
- "pdf_url": "https://resources.docs.salesforce.com/230/latest/en-us/sfdc/pdf/salesforce_apex_language_reference.pdf",
17
- "service": "Force.com",
18
- "topic": "App Logic",
19
- "version": {
20
- "doc_version": "230.0",
21
- "release_name": "Spring '21",
22
- "api_version": "51.0"
23
- },
24
- "deliverable": "apexcode",
25
- "prerelease": false,
26
- "version_label": "",
27
- "major": "230",
28
- "minor": null,
29
- "content_hash": "x4GMUSx37NfN7UMk/XkmFw==",
30
- "updated": "2021-01-22",
31
- "deliverable_content_hash": "/6BuE/I2HcZgwBXqCaImbg=="
32
- }
33
- },
34
- {
35
- "id": "atlas.en-us.230.0.formula_date_time_tipsheet.meta",
36
- "key": "en-us",
37
- "value": {
38
- "_id": "atlas.en-us.formula_date_time_tipsheet.meta",
39
- "_rev": "8-87b208db1d03cb2fccad9ad6585947c9",
40
- "default_topic": "formula_date_time_tipsheet/formula_using_date_datetime.htm",
41
- "title": "Using Date and Date/Time in Formulas",
42
- "subtitle": "",
43
- "tagline": "",
44
- "shortdesc": "Learn how to use formulas to convert between date-related data types, how to work best with timezones, and how the TODAY(), NOW(), and DATE() functions work. We’ve included several useful examples to get you started.",
45
- "type": "Tip Sheet",
46
- "locale": "en-us",
47
- "pdf_url": "https://resources.docs.salesforce.com/latest/latest/en-us/sfdc/pdf/formula_date_time_tipsheet.pdf",
48
- "service": "Force.com",
49
- "topic": "App Logic",
50
- "version": {
51
- "doc_version": "230.0",
52
- "release_name": "Spring '21",
53
- "api_version": "51.0"
54
- },
55
- "deliverable": "formula_date_time_tipsheet",
56
- "prerelease": false,
57
- "version_label": "",
58
- "major": "main",
59
- "minor": null,
60
- "content_hash": "HjgPe4OGWJc6WnIfAmrp3Q==",
61
- "updated": "2021-01-22",
62
- "deliverable_content_hash": "QfPjchQpQayxRT/YqtkKIw=="
63
- }
64
- },
65
- {
66
- "id": "atlas.en-us.230.0.salesforce_useful_approval_processes.meta",
67
- "key": "en-us",
68
- "value": {
69
- "_id": "atlas.en-us.salesforce_useful_approval_processes.meta",
70
- "_rev": "8-9d8f6a83dc3aaded9cbca02771573e8a",
71
- "default_topic": "salesforce_useful_approval_processes/approvals_useful_approval_processes.htm",
72
- "title": "Sample Approval Processes",
73
- "subtitle": "",
74
- "tagline": "",
75
- "shortdesc": "Review samples of common approval processes to help you get started creating your own.",
76
- "type": "Tip Sheet",
77
- "locale": "en-us",
78
- "pdf_url": "https://resources.docs.salesforce.com/latest/latest/en-us/sfdc/pdf/salesforce_useful_approval_processes.pdf",
79
- "service": "Force.com",
80
- "topic": "App Logic",
81
- "version": {
82
- "doc_version": "230.0",
83
- "release_name": "Spring '21",
84
- "api_version": "51.0"
85
- },
86
- "deliverable": "salesforce_useful_approval_processes",
87
- "prerelease": false,
88
- "version_label": "",
89
- "major": "main",
90
- "minor": null,
91
- "content_hash": "a110M2UlXnOCSw+zzlOPSw==",
92
- "updated": "2021-01-22",
93
- "deliverable_content_hash": "041j7LM6HuCoT7HXPWgOCw=="
94
- }
95
- },
96
- {
97
- "id": "atlas.en-us.230.0.usefulFormulaFields.meta",
98
- "key": "en-us",
99
- "value": {
100
- "_id": "atlas.en-us.usefulFormulaFields.meta",
101
- "_rev": "8-4458e886ce849aa438202e3ebaca266e",
102
- "default_topic": "usefulFormulaFields/useful_advanced_formulas.htm",
103
- "title": "Examples of Advanced Formula Fields",
104
- "subtitle": "",
105
- "tagline": "",
106
- "shortdesc": "Review examples of formula fields for various types of apps that you can use and modify for your own purposes.",
107
- "type": "Tip Sheet",
108
- "locale": "en-us",
109
- "pdf_url": "https://resources.docs.salesforce.com/230/latest/en-us/sfdc/pdf/salesforce_useful_formula_fields.pdf",
110
- "service": "Force.com",
111
- "topic": "App Logic",
112
- "version": {
113
- "doc_version": "230.0",
114
- "release_name": "Spring '21",
115
- "api_version": "51.0"
116
- },
117
- "deliverable": "usefulFormulaFields",
118
- "prerelease": false,
119
- "version_label": "",
120
- "major": "230",
121
- "minor": null,
122
- "content_hash": "kyUnV5iBJ04/Z6l+NrRWrA==",
123
- "updated": "2021-01-22",
124
- "deliverable_content_hash": "YhRlVP0AMJxO2lzz+gC1lg=="
125
- }
126
- },
127
- {
128
- "id": "atlas.en-us.230.0.usefulValidationRules.meta",
129
- "key": "en-us",
130
- "value": {
131
- "_id": "atlas.en-us.usefulValidationRules.meta",
132
- "_rev": "8-c9d1713fbd8ec5f9ca8f9a85e555d711",
133
- "default_topic": "usefulValidationRules/fields_useful_field_validation_formulas.htm",
134
- "title": "Examples of Validation Rules",
135
- "subtitle": "",
136
- "tagline": "",
137
- "shortdesc": "Review examples of validation rules for various types of apps that you can use and modify for your own purposes. Validation rules verify that the data a user enters in a record meets the standards you specify before the user can save the record.",
138
- "type": "Tip Sheet",
139
- "locale": "en-us",
140
- "pdf_url": "https://resources.docs.salesforce.com/230/latest/en-us/sfdc/pdf/salesforce_useful_validation_formulas.pdf",
141
- "service": "Force.com",
142
- "topic": "App Logic",
143
- "version": {
144
- "doc_version": "230.0",
145
- "release_name": "Spring '21",
146
- "api_version": "51.0"
147
- },
148
- "deliverable": "usefulValidationRules",
149
- "prerelease": false,
150
- "version_label": "",
151
- "major": "230",
152
- "minor": null,
153
- "content_hash": "BcNt5kcGnKyWLE9goSUe1w==",
154
- "updated": "2021-01-22",
155
- "deliverable_content_hash": "CurMAro4iwOB3hd/X34jzA=="
156
- }
157
- },
158
- {
159
- "id": "atlas.en-us.230.0.usefulWorkflowRules.meta",
160
- "key": "en-us",
161
- "value": {
162
- "_id": "atlas.en-us.usefulWorkflowRules.meta",
163
- "_rev": "8-455569315ee796cb695b24ca02ba18fd",
164
- "default_topic": "usefulWorkflowRules/workflow_examples.htm",
165
- "title": "Examples of Workflow Rules",
166
- "subtitle": "",
167
- "tagline": "",
168
- "shortdesc": "Looking for ideas on how workflow rules can help streamline your business? Check out these examples.",
169
- "type": "Tip Sheet",
170
- "locale": "en-us",
171
- "pdf_url": "https://resources.docs.salesforce.com/230/latest/en-us/sfdc/pdf/salesforce_useful_workflow_rules.pdf",
172
- "service": "Force.com",
173
- "topic": "App Logic",
174
- "version": {
175
- "doc_version": "230.0",
176
- "release_name": "Spring '21",
177
- "api_version": "51.0"
178
- },
179
- "deliverable": "usefulWorkflowRules",
180
- "prerelease": false,
181
- "version_label": "",
182
- "major": "230",
183
- "minor": null,
184
- "content_hash": "6IxVnuOWhxnQwc/SErCbHw==",
185
- "updated": "2021-01-22",
186
- "deliverable_content_hash": "82T/3e2Ily1whCD4gXPuyw=="
187
- }
188
- }
189
- ],
190
- "locale": "en-us",
191
- "version": {
192
- "doc_version": "230.0",
193
- "release_name": "Spring '21",
194
- "api_version": "51.0"
195
- },
196
- "available_languages": [
197
- { "label": "ENGLISH", "locale": "en-us" },
198
- { "label": "JAPANESE", "locale": "ja-jp" }
199
- ],
200
- "available_versions": [
201
- {
202
- "version_text": "Spring '21 (API version 51.0)",
203
- "release_version": "51.0",
204
- "doc_version": "230.0"
205
- },
206
- {
207
- "version_text": "Winter '21 (API version 50.0)",
208
- "release_version": "50.0",
209
- "doc_version": "228.0"
210
- },
211
- {
212
- "version_text": "Summer '20 (API version 49.0)",
213
- "release_version": "49.0",
214
- "doc_version": "226.0"
215
- },
216
- {
217
- "version_text": "Spring '20 (API version 48.0)",
218
- "release_version": "48.0",
219
- "doc_version": "224.0"
220
- },
221
- {
222
- "version_text": "Winter '20 (API version 47.0)",
223
- "release_version": "47.0",
224
- "doc_version": "222.0"
225
- },
226
- {
227
- "version_text": "Summer '19 (API version 46.0)",
228
- "release_version": "46.0",
229
- "doc_version": "220.0"
230
- },
231
- {
232
- "version_text": "Spring '19 (API version 45.0)",
233
- "release_version": "45.0",
234
- "doc_version": "218.0"
235
- },
236
- {
237
- "version_text": "Winter '19 (API version 44.0)",
238
- "release_version": "44.0",
239
- "doc_version": "216.0"
240
- },
241
- {
242
- "version_text": "Summer '18 (API version 43.0)",
243
- "release_version": "43.0",
244
- "doc_version": "214.0"
245
- },
246
- {
247
- "version_text": "Spring '18 (API version 42.0)",
248
- "release_version": "42.0",
249
- "doc_version": "212.0"
250
- },
251
- {
252
- "version_text": "Winter '18 (API version 41.0)",
253
- "release_version": "41.0",
254
- "doc_version": "210.0"
255
- },
256
- {
257
- "version_text": "Summer '17 (API version 40.0)",
258
- "release_version": "40.0",
259
- "doc_version": "208.0"
260
- },
261
- {
262
- "version_text": "Spring '17 (API version 39.0)",
263
- "release_version": "39.0",
264
- "doc_version": "206.0"
265
- },
266
- {
267
- "version_text": "Winter '17 (API version 38.0)",
268
- "release_version": "38.0",
269
- "doc_version": "204.0"
270
- },
271
- {
272
- "version_text": "Summer '16 (API version 37.0)",
273
- "release_version": "37.0",
274
- "doc_version": "202.0"
275
- },
276
- {
277
- "version_text": "Spring '16 (API version 36.0)",
278
- "release_version": "36.0",
279
- "doc_version": "200.0"
280
- },
281
- {
282
- "version_text": "Winter '16 (API version 35.0)",
283
- "release_version": "35.0",
284
- "doc_version": "198.0"
285
- },
286
- {
287
- "version_text": "Summer '15 (API version 34.0)",
288
- "release_version": "34.0",
289
- "doc_version": "196.0"
290
- },
291
- {
292
- "version_text": "Spring '15 (API version 33.0)",
293
- "release_version": "33.0",
294
- "doc_version": "194.0"
295
- },
296
- {
297
- "version_text": "Winter '15 (API version 32.0)",
298
- "release_version": "32.0",
299
- "doc_version": "192.0"
300
- },
301
- {
302
- "version_text": "Summer '14 (API version 31.0)",
303
- "release_version": "31.0",
304
- "doc_version": "190.0"
305
- },
306
- {
307
- "version_text": "Spring '14 (API version 30.0)",
308
- "release_version": "30.0",
309
- "doc_version": "188.0"
310
- },
311
- {
312
- "version_text": "Earlier Reference Docs",
313
- "release_version": "",
314
- "doc_version": "earlier"
315
- }
316
- ],
317
- "available_services": [
318
- {
319
- "name": "All Services",
320
- "icon": "/resource/images/docs/icons/allServices.png"
321
- },
322
- {
323
- "name": "Force.com",
324
- "icon": "/resource/images/docs/icons/forceDotCom.png"
325
- },
326
- {
327
- "name": "Data.com",
328
- "icon": "/resource/images/docs/icons/forceDotCom.png"
329
- },
330
- {
331
- "name": "Salesforce1",
332
- "icon": "/resource/images/docs/icons/salesforce1.png"
333
- },
334
- {
335
- "name": "Einstein",
336
- "icon": "/resource/images/docs/icons/einstein.png"
337
- },
338
- {
339
- "name": "Einstein Analytics",
340
- "icon": "/resource/images/docs/icons/wave.png"
341
- },
342
- {
343
- "name": "Marketing Cloud",
344
- "icon": "/resource/images/docs/icons/forceDotCom.png"
345
- },
346
- { "name": "Quip", "icon": "/resource/images/docs/icons/quip.png" }
347
- ],
348
- "available_topics": [
349
- "Analytics",
350
- "App Distribution",
351
- "App Logic",
352
- "Commerce",
353
- "Database, Objects, Query, and Search",
354
- "Financial Services Cloud, Industries",
355
- "General Development",
356
- "Health Cloud, Industries",
357
- "Industries",
358
- "Integration",
359
- "Mobile",
360
- "Platform Events, Integration",
361
- "Salesforce IoT REST API, Integration",
362
- "Security",
363
- "Security, Encryption",
364
- "Service Cloud",
365
- "Tools",
366
- "User Interface",
367
- "Web Sites"
368
- ],
369
- "content_message": null
370
- }
@@ -1,63 +0,0 @@
1
- @import "helpers/reset";
2
- @import "helpers/card";
3
- @import "helpers/text";
4
-
5
- dx-button {
6
- width: 100%;
7
- }
8
-
9
- .docs-results-container {
10
- display: flex;
11
- background-color: #fafaf9;
12
- }
13
-
14
- .docs-search-row {
15
- display: flex;
16
- flex-direction: column;
17
- width: 100%;
18
- padding-bottom: var(--dx-g-spacing-xs);
19
- }
20
-
21
- .docs-search-input {
22
- --dx-c-input-width: 100%;
23
- }
24
-
25
- .docs-results-version-row {
26
- display: flex;
27
- align-items: center;
28
- flex-wrap: wrap;
29
- }
30
-
31
- .docs-filter-column {
32
- width: 30%;
33
- margin: 10px;
34
- }
35
-
36
- .docs-results-column {
37
- width: 70%;
38
- margin: 10px;
39
- }
40
-
41
- .card-doc_detail-section {
42
- display: flex;
43
- flex-direction: column;
44
- justify-content: center;
45
- align-items: start;
46
- padding-top: var(--dx-g-spacing-sm);
47
- }
48
-
49
- .card-doc_detail-metadata-row {
50
- display: flex;
51
- color: var(--dx-g-gray-10);
52
- flex-wrap: wrap;
53
- padding-top: var(--dx-g-spacing-sm);
54
- }
55
-
56
- .card-doc {
57
- display: flex;
58
- flex-direction: row;
59
- padding-top: 10px;
60
- padding-bottom: 10px;
61
- margin-top: 10px;
62
- margin-bottom: 10px;
63
- }