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

@ui5/webcomponents-react-base

Package Overview
Dependencies
Maintainers
0
Versions
516
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ui5/webcomponents-react-base - npm Package Compare versions

Comparing version 0.0.0-12e32789 to 0.0.0-185b915fe1

bin/codemod.js

70

package.json
{
"name": "@ui5/webcomponents-react-base",
"version": "0.0.0-12e32789",
"version": "0.0.0-185b915fe1",
"description": "Base for ui5-webcomponents-react",
"main": "index.cjs.js",
"module": "index.esm.js",
"types": "index.d.ts",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json",
"./dist": "./dist/index.js",
"./dist/*": "./dist/*",
"./dist/*.js": "./dist/*.js"
},
"homepage": "https://sap.github.io/ui5-webcomponents-react",

@@ -16,30 +27,15 @@ "repository": {

"license": "Apache-2.0",
"sideEffects": [
"**/third-party/*",
"./polyfill/*",
"core-js/**/*",
"intersection-observer"
],
"sideEffects": false,
"scripts": {
"clean": "rimraf cjs Device hooks lib polyfill styling types utils index.esm.js index.d.ts",
"build:rollup": "rollup -c rollup.config.js",
"build:polyfills": "tsc ./src/polyfill/*.ts --outDir ./polyfill --skipLibCheck",
"build": "npm-run-all -s build:rollup build:polyfills"
"clean": "rimraf dist"
},
"dependencies": {
"@babel/runtime": "7.10.2",
"core-js": "3.6.5",
"intersection-observer": "0.8.0",
"resize-observer-polyfill": "1.5.1",
"smoothscroll-polyfill": "0.4.4"
},
"devDependencies": {
"@sap-theming/theming-base-content": "11.1.18"
},
"peerDependencies": {
"@ui5/webcomponents-base": "0.20.0",
"react": "^16.8.0",
"react-jss": "^10.0.4"
"@types/react": "*",
"@ui5/webcomponents-base": "~1.24.0",
"react": "^16.14.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"@ui5/webcomponents-base": {

@@ -50,5 +46,21 @@ "optional": true

"publishConfig": {
"access": "public"
"access": "public",
"tag": "V1"
},
"gitHead": "12e32789cfddb40a6f56738e6d1fbe5904e7d459"
"bin": {
"ui5wcr-codemod": "./bin/codemod.js"
},
"files": [
"bin",
"codemods",
"dist",
"CHANGELOG.md",
"LICENSE",
"NOTICE.txt",
"README.md"
],
"dependencies": {
"use-sync-external-store": "1.2.2"
},
"gitHead": "185b915fe193c1523fb221c4f2166ef24adb7484"
}
# @ui5/webcomponents-react-base
Base Utilities for ui5-webcomponents-react
## Installation
```
yarn add @ui5/webcomponents-react-base
OR
npm install @ui5/webcomponents-react-base --save
npm install @ui5/webcomponents-react-base
```
## Modules
## Usage
### StyleClassHelper
Concat multiple CSS Module into an instance of this class helper and place them into a react component.<br>
Example:
```javascript
import { StyleClassHelper } from '@ui5/webcomponents-react-base/lib/StyleClassHelper';
import style from 'YOUR_STYLESHEET';
This package is a collection of utils for the `@ui5/webcomponents-react` project. Please only use [public utils](https://sap.github.io/ui5-webcomponents-react/?path=/docs/knowledge-base-public-utils--docs) described in our documentation, as all others are not subject to semantic versioning and can therefore change without notice.
const classes = new StyleClassHelper.of(style.text);
classes.put(style.anotherClass);
classes.put(style.thirdClass)
## Contribute
const MyComponent = props => (
<div className={classes}>
My Component
</div>
);
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents-react/blob/main/CONTRIBUTING.md).
export default MyComponent;
## License
```
Please see our [LICENSE](https://github.com/SAP/ui5-webcomponents-react/blob/main/LICENSE) for copyright and license information.
Detailed information including third-party components and their licensing/copyright information is available via the [REUSE tool](https://api.reuse.software/info/github.com/SAP/ui5-webcomponents-react).
## Contribute
Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents-react/blob/master/CONTRIBUTING.md).
## License
Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
This file is licensed under the Apache Software License, Version 2.0 except as noted otherwise in the [LICENSE](https://github.com/SAP/ui5-webcomponents-react/blob/master/LICENSE) file.
<!-- Use the force, round 2 -->

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