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
9
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 1.0.0-alpha.10 to 1.0.0-alpha.11

12

lib/index.js

@@ -43,3 +43,3 @@ // src/utils/classNames.ts

var ConfigProvider = ({ config, ...props }) => {
const direction = (config == null ? void 0 : config.direction) || isRtlLocale(config == null ? void 0 : config.locale) ? "rtl" : "ltr";
const direction = (config == null ? void 0 : config.direction) || (isRtlLocale(config == null ? void 0 : config.locale) ? "rtl" : "ltr");
return /* @__PURE__ */ jsx3(ConfigContext.Provider, {

@@ -50,2 +50,3 @@ value: { ...config, direction },

};
var ConfigConsumer = ConfigContext.Consumer;
var withOptionalConfigProvider = (component, config) => config ? /* @__PURE__ */ jsx3(ConfigProvider, {

@@ -943,2 +944,5 @@ config,

});
function useTheme() {
return useContext3(ThemeContext);
}

@@ -1654,2 +1658,3 @@ // src/support/molecules/LegalDate/index.tsx

Caption,
ConfigConsumer,
ConfigProvider,

@@ -1692,2 +1697,3 @@ Disclaimer,

TableRow,
ThemeConsumer,
ThemeProvider,

@@ -1699,3 +1705,5 @@ Title,

Video,
createRenderer
createRenderer,
useConfig,
useTheme
};

4

lib/types/index.d.ts

@@ -42,6 +42,6 @@ export { Caption } from './support/atoms/Caption';

export { Video } from './support/molecules/Video';
export { ThemeProvider } from './themes/ThemeProvider';
export { ConfigProvider } from './support/ConfigProvider';
export { ThemeProvider, ThemeConsumer, useTheme } from './themes/ThemeProvider';
export { ConfigProvider, ConfigConsumer, useConfig, } from './support/ConfigProvider';
export { JSONArticle } from './support/organisms/JSONArticle';
export { RENDER_CONFIG } from './render/config';
export { createRenderer } from './render/createRenderer';

@@ -17,4 +17,5 @@ import React, { PropsWithChildren, ReactNode } from 'react';

export declare const ConfigProvider: ({ config, ...props }: ConfigProviderProps) => JSX.Element;
export declare const ConfigConsumer: React.Consumer<Config>;
export declare const withOptionalConfigProvider: (component: ReactNode, config?: Config) => JSX.Element;
export declare const useConfig: () => Config;
export {};
{
"name": "@volvo-cars/ced-os-react-components",
"version": "1.0.0-alpha.10",
"version": "1.0.0-alpha.11",
"description": "Set of components for developing UIs in the onboarding and support apps",

@@ -5,0 +5,0 @@ "keywords": [],

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 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