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

react-vite-component-library

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-vite-component-library - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

dist/appbutton.cjs

7

dist/lib/index.ts

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

import { AppButton } from './app-button';
import { AppTextBox } from './app-textbox';
import { Eye, TailessArrow } from './svgicons';
import { ButtonThemes, AppDialogVariant } from './types/enums';
export { ButtonThemes, AppDialogVariant, AppButton, AppTextBox, Eye, TailessArrow };
export { ButtonThemes, AppDialogVariant };

@@ -16,3 +16,3 @@ {

},
"version": "1.1.0",
"version": "1.1.1",
"type": "module",

@@ -24,2 +24,20 @@ "files": [

],
"exports": {
"./apptextbox": {
"import": "./dist/apptextbox.js",
"require": "./dist/apptextbox.cjs"
},
"./appbutton": {
"import": "./dist/appbutton.js",
"require": "./dist/appbutton.cjs"
},
"./svgicons": {
"import": "./dist/svgicons.js",
"require": "./dist/svgicons.cjs"
},
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"scripts": {

@@ -48,3 +66,4 @@ "dev": "vite",

"react": "^18.2.0",
"react-dom": "^18.2.0"
"react-dom": "^18.2.0",
"vite-plugin-css-injected-by-js": "^3.3.0"
},

@@ -56,3 +75,2 @@ "peerDependencies": {

},
"module": "./dist/index.es.js",
"types": "dist/lib/index.d.ts",

@@ -130,2 +148,3 @@ "devDependencies": {

"vite-plugin-istanbul": "^4.0.1",
"vite-plugin-lib-inject-css": "^1.3.0",
"vite-tsconfig-paths": "^4.2.0"

@@ -132,0 +151,0 @@ },

@@ -56,7 +56,7 @@ # This is a template to create React Components Library

...
<Component />
...
<Component />
## Usage Of Exported tailwind-base.config.js
```
```
exported tailwind config can be used via tailwind [preset](https://tailwindcss.com/docs/presets)

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

import { AppButton } from './app-button';
import { AppTextBox } from './app-textbox';
import { Eye, TailessArrow } from './svgicons';
import { ButtonThemes, AppDialogVariant } from './types/enums';
export { ButtonThemes, AppDialogVariant, AppButton, AppTextBox, Eye, TailessArrow };
export { ButtonThemes, AppDialogVariant };
import { test, expect } from '@playwright/test';
test('Primary Button Test Case', async ({ page }) => {
await page.goto('http://localhost:6006/iframe.html?id=appbutton--primary');
await page.goto('http://localhost:6006/iframe.html?args=&id=stories-app-button--primary&viewMode=story');
const titleLocator = page.locator("[class*='_title_']");
expect(await titleLocator.textContent()).toBe('Button');
});

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

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