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

@volvo-cars/ced-os-react-components

Package Overview
Dependencies
Maintainers
8
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volvo-cars/ced-os-react-components - npm Package Compare versions

Comparing version 2.0.14-rc.1 to 2.0.14-rc.2

lib/es/components/AdmonitionBlock/AdmonitionBlock.css.d.ts

1

lib/es/index.js

@@ -1,2 +0,1 @@

'use client';
export { ThemeProvider, ThemeConsumer, Theme } from './themes/ThemeProvider';

@@ -3,0 +2,0 @@ export { ConfigProvider, ConfigConsumer, HotspotLinksPosition, } from './config/ConfigProvider';

import { PropsWithChildrenAndClassName } from '../../types';
declare const FootnotesDisplay: ({ className }: PropsWithChildrenAndClassName) => import("react/jsx-runtime").JSX.Element | null;
declare const FootnotesDisplay: ({ className }: PropsWithChildrenAndClassName) => import("react/jsx-runtime").JSX.Element;
export { FootnotesDisplay };

@@ -29,3 +29,3 @@ import { PropsWithChildren } from 'react';

*/
declare function Footnote({ noteText, className, ...props }: FootnoteProps): import("react/jsx-runtime").JSX.Element | null;
declare function Footnote({ noteText, className, ...props }: FootnoteProps): import("react/jsx-runtime").JSX.Element;
export { Footnote };

@@ -8,3 +8,3 @@ import React, { Dispatch, SetStateAction } from 'react';

setVideoRef: Dispatch<SetStateAction<any>>;
videoRef?: React.RefObject<HTMLVideoElement> | undefined;
videoRef?: React.RefObject<HTMLVideoElement>;
}>;

@@ -11,0 +11,0 @@ /**

/// <reference types="react" />
export declare const useIcons: () => {
note?: import("react").ElementType<any> | undefined;
warning?: import("react").ElementType<any> | undefined;
important?: import("react").ElementType<any> | undefined;
tip?: import("react").ElementType<any> | undefined;
chevron?: import("react").ElementType<any> | undefined;
replay?: import("react").ElementType<any> | undefined;
note?: import("react").ElementType<any>;
warning?: import("react").ElementType<any>;
important?: import("react").ElementType<any>;
tip?: import("react").ElementType<any>;
chevron?: import("react").ElementType<any>;
replay?: import("react").ElementType<any>;
};

@@ -45,3 +45,3 @@ /// <reference types="react" />

*/
declare function JSONArticle({ theme, config, data, metaSlot, omitTitle, darkMode, ...articleProps }: JSONArticleProps): import("react/jsx-runtime").JSX.Element | null;
declare function JSONArticle({ theme, config, data, metaSlot, omitTitle, darkMode, ...articleProps }: JSONArticleProps): import("react/jsx-runtime").JSX.Element;
export { JSONArticle };

@@ -19,3 +19,3 @@ import { ReactElement } from 'react';

}
declare function JSONContent({ theme, config, data }: JSONContentProps): ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
declare function JSONContent({ theme, config, data }: JSONContentProps): ReactElement<any, string | import("react").JSXElementConstructor<any>>;
export { JSONContent };

@@ -113,3 +113,3 @@ /// <reference types="react" />

props: {
subtype: string | undefined;
subtype: string;
};

@@ -123,3 +123,3 @@ };

props: {
level: number | undefined;
level: number;
};

@@ -138,4 +138,4 @@ };

props: {
value: string | JSX.Element | undefined;
options: import("./types").TextOptions[] | undefined;
value: string | JSX.Element;
options: import("./types").TextOptions[];
};

@@ -161,3 +161,3 @@ };

props: {
listType: string | undefined;
listType: string;
};

@@ -177,10 +177,10 @@ };

props: {
poster: string | undefined;
src: string | undefined;
autoplay: boolean | undefined;
controls: boolean | undefined;
loop: boolean | undefined;
template: string | undefined;
height: string | undefined;
width: string | undefined;
poster: string;
src: string;
autoplay: boolean;
controls: boolean;
loop: boolean;
template: string;
height: string;
width: string;
};

@@ -224,3 +224,3 @@ };

props: {
ordering: string | undefined;
ordering: string;
};

@@ -240,7 +240,7 @@ };

props: {
src: string | undefined;
alt: string | undefined;
template: string | undefined;
height: string | undefined;
width: string | undefined;
src: string;
alt: string;
template: string;
height: string;
width: string;
};

@@ -251,7 +251,7 @@ };

props: {
src: string | undefined;
alt: string | undefined;
template: string | undefined;
height: string | undefined;
width: string | undefined;
src: string;
alt: string;
template: string;
height: string;
width: string;
};

@@ -286,3 +286,3 @@ };

props: {
position: import("./types").Position | undefined;
position: import("./types").Position;
};

@@ -319,3 +319,3 @@ };

props: {
align: string | undefined;
align: string;
};

@@ -338,9 +338,9 @@ };

props: {
colSpan: number | undefined;
rowSpan: number | undefined;
morerows: string | undefined;
namest: string | undefined;
nameend: string | undefined;
valign: string | undefined;
align: string | undefined;
colSpan: number;
rowSpan: number;
morerows: string;
namest: string;
nameend: string;
valign: string;
align: string;
};

@@ -351,3 +351,3 @@ };

props: {
href: string | undefined;
href: string;
};

@@ -358,3 +358,3 @@ };

props: {
address: string | undefined;
address: string;
};

@@ -371,4 +371,4 @@ };

props: {
value: string | JSX.Element | undefined;
datetime: string | undefined;
value: string | JSX.Element;
datetime: string;
};

@@ -406,11 +406,11 @@ };

props: {
poster: string | undefined;
src: string | undefined;
title: string | undefined;
autoplay: boolean | undefined;
controls: boolean | undefined;
loop: boolean | undefined;
template: string | undefined;
height: string | undefined;
width: string | undefined;
poster: string;
src: string;
title: string;
autoplay: boolean;
controls: boolean;
loop: boolean;
template: string;
height: string;
width: string;
};

@@ -424,3 +424,3 @@ };

};
__IGNORE_TYPES__: never[];
__IGNORE_TYPES__: any[];
__ALIAS_MAP__: {

@@ -427,0 +427,0 @@ 'leg-entry': string;

@@ -25,3 +25,3 @@ import { ReactElement, ReactNode } from 'react';

value?: undefined;
} | null;
};
export { createRenderer, getComponentConfig, renderChildren };

@@ -15,3 +15,3 @@ /// <reference types="react" />

export declare const isNotIgnored: (componentMappings: ComponentsConfig, { type }: JSONNode) => boolean;
export declare const isTextNode: (node: JSONNodeOrString) => boolean | "";
export declare const isTextNode: (node: JSONNodeOrString) => boolean;
export declare const groupTextChildren: (children: JSONChildren) => string | JSONNodeOrString[];

@@ -18,0 +18,0 @@ export declare const dataTransformStringToTextComponent: (data?: JSONNode | string) => JSONNode | undefined;

@@ -7,3 +7,3 @@ export declare enum breakpointSizes {

export declare const breakpoints: {
readonly onlyS: string;
readonly onlyS: any;
untilM: string;

@@ -17,3 +17,3 @@ fromM: string;

fromXL: string;
readonly onlyXL: string;
readonly onlyXL: any;
};
import { ReactElement, ReactNode } from 'react';
export declare const organizeListChildren: (originalChildren?: ReactNode) => {
intro: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal | undefined;
outro: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal | undefined;
items: (string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null)[];
head: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal | undefined;
intro: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal;
outro: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal;
items: (string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode>)[];
head: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal;
};
import { ReactElement, ReactNode } from 'react';
export declare const organizeMediaChildren: (originalChildren?: ReactNode) => {
visual: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | undefined;
overlay: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal | undefined;
visual: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode>;
overlay: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal;
caption: (string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal)[];
image: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal | undefined;
video: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal | undefined;
animation: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal | undefined;
image: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal;
video: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal;
animation: string | number | ReactElement<any, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | import("react").ReactPortal;
};
import React, { ReactElement } from 'react';
import { PropsWithChildrenAndClassName } from '../types';
export declare const setTitleLevel: (titleComponent: ReactElement, level: number, props?: PropsWithChildrenAndClassName) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
export declare const setTitleLevel: (titleComponent: ReactElement, level: number, props?: PropsWithChildrenAndClassName) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
export declare const useImgSrcAttrs: (src: string, defaultSize?: number) => {
src: string;
srcSet?: string | undefined;
sizes?: string | undefined;
} | null;
srcSet?: string;
sizes?: string;
};
declare const sizes: string;
export {};
{
"name": "@volvo-cars/ced-os-react-components",
"version": "2.0.14-rc.1",
"version": "2.0.14-rc.2",
"description": "Set of components for developing UIs in the onboarding and support apps",

@@ -23,7 +23,7 @@ "keywords": [],

".": {
"import": "./lib/index.js",
"import": "./es/index.js",
"require": "./lib/index.cjs"
},
"./lib/index.css": {
"import": "./lib/index.css",
"import": "./es/index.css",
"require": "./lib/index.css"

@@ -51,3 +51,3 @@ },

"build": "npm run lint && scripts/bundle.cjs && npm run types && npm run build:es",
"build:es": "tsc --outDir lib/es --declarationDir lib/types --declaration --jsx react-jsx --target ESNext --moduleResolution node --allowSyntheticDefaultImports --resolveJsonModule --skipLibCheck --noEmit false",
"build:es": "tsc --outDir lib/es --declaration --jsx react-jsx --target ESNext --moduleResolution node --allowSyntheticDefaultImports --resolveJsonModule --skipLibCheck --noEmit false",
"lint": "eslint ./src --fix",

@@ -54,0 +54,0 @@ "test": "vitest run",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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