Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@salesforcedevs/docs-components

Package Overview
Dependencies
Maintainers
14
Versions
647
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesforcedevs/docs-components - npm Package Compare versions

Comparing version 1.3.320-dc1 to 1.3.323

2

lwc.config.json

@@ -10,3 +10,2 @@ {

"doc/breadcrumbs",
"doc/component",
"doc/content",

@@ -22,3 +21,2 @@ "doc/contentCallout",

"doc/phase",
"doc/styledOrderedList",
"doc/versionPicker",

@@ -25,0 +23,0 @@ "doc/xmlContent",

2

package.json
{
"name": "@salesforcedevs/docs-components",
"version": "1.3.320-dc1",
"version": "1.3.323",
"description": "Docs Lightning web components for DSC",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -6,3 +6,3 @@ import { LightningElement, api } from "lwc";

export default class ContentCallout extends LightningElement {
@api title!: string;
@api header!: string;
@api variant!: CalloutVariant;

@@ -9,0 +9,0 @@ cardVariant?: string;

@@ -346,4 +346,6 @@ /* eslint-disable @lwc/lwc/no-document-query */

for (const headingElement of headingElements as any) {
// Sometimes elements hash is not being set when slot content is wrapped with div
// Sometimes elements hash and header is not being set when slot content is wrapped with div
headingElement.hash = headingElement.attributes.hash?.nodeValue;
headingElement.header =
headingElement.attributes.header?.nodeValue;
}

@@ -365,3 +367,3 @@

id: headingElement.id,
label: headingElement.title
label: headingElement.header
};

@@ -368,0 +370,0 @@ tocOptions.push(tocItem);

@@ -16,3 +16,3 @@ import { LightningElement, api } from "lwc";

export default class Heading extends LightningElement {
@api title: string = "";
@api header: string = "";
@api hash: string | null = null;

@@ -19,0 +19,0 @@

@@ -9,3 +9,3 @@ import { LightningElement, api } from "lwc";

@api iconSymbol?: IconSymbol;
@api title: string = "";
@api header: string = "";
@api urlText: string = "";

@@ -26,3 +26,3 @@

try {
if (this.title && this.urlText) {
if (this.header && this.urlText) {
const [hostUrl] = window.location.href.split("#");

@@ -29,0 +29,0 @@ const url = `${hostUrl}#${this.urlText}`;

import { LightningElement, api } from "lwc";
export default class HeadingContent extends LightningElement {
@api title: string = "";
@api header: string = "";
@api hash: string | null = null;

@@ -21,3 +21,3 @@

try {
if (this.title && this.hash) {
if (this.header && this.hash) {
const [hostUrl] = window.location.href.split("#");

@@ -24,0 +24,0 @@ const url = `${hostUrl}#${this.hash}`;

@@ -6,3 +6,3 @@ import { LightningElement, api } from "lwc";

@api docPhaseInfo!: DocPhaseInfo;
@api title!: string;
@api header!: string;
@api description!: string;

@@ -9,0 +9,0 @@ @api primaryLink!: Link;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc