react-vite-component-library
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 2 instances in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
145342
49
3766
6
72
4
4
2
+ Added@esbuild/aix-ppc64@0.24.0(transitive)
+ Added@esbuild/android-arm@0.24.0(transitive)
+ Added@esbuild/android-arm64@0.24.0(transitive)
+ Added@esbuild/android-x64@0.24.0(transitive)
+ Added@esbuild/darwin-arm64@0.24.0(transitive)
+ Added@esbuild/darwin-x64@0.24.0(transitive)
+ Added@esbuild/freebsd-arm64@0.24.0(transitive)
+ Added@esbuild/freebsd-x64@0.24.0(transitive)
+ Added@esbuild/linux-arm@0.24.0(transitive)
+ Added@esbuild/linux-arm64@0.24.0(transitive)
+ Added@esbuild/linux-ia32@0.24.0(transitive)
+ Added@esbuild/linux-loong64@0.24.0(transitive)
+ Added@esbuild/linux-mips64el@0.24.0(transitive)
+ Added@esbuild/linux-ppc64@0.24.0(transitive)
+ Added@esbuild/linux-riscv64@0.24.0(transitive)
+ Added@esbuild/linux-s390x@0.24.0(transitive)
+ Added@esbuild/linux-x64@0.24.0(transitive)
+ Added@esbuild/netbsd-x64@0.24.0(transitive)
+ Added@esbuild/openbsd-arm64@0.24.0(transitive)
+ Added@esbuild/openbsd-x64@0.24.0(transitive)
+ Added@esbuild/sunos-x64@0.24.0(transitive)
+ Added@esbuild/win32-arm64@0.24.0(transitive)
+ Added@esbuild/win32-ia32@0.24.0(transitive)
+ Added@esbuild/win32-x64@0.24.0(transitive)
+ Added@rollup/rollup-android-arm-eabi@4.29.1(transitive)
+ Added@rollup/rollup-android-arm64@4.29.1(transitive)
+ Added@rollup/rollup-darwin-arm64@4.29.1(transitive)
+ Added@rollup/rollup-darwin-x64@4.29.1(transitive)
+ Added@rollup/rollup-freebsd-arm64@4.29.1(transitive)
+ Added@rollup/rollup-freebsd-x64@4.29.1(transitive)
+ Added@rollup/rollup-linux-arm-gnueabihf@4.29.1(transitive)
+ Added@rollup/rollup-linux-arm-musleabihf@4.29.1(transitive)
+ Added@rollup/rollup-linux-arm64-gnu@4.29.1(transitive)
+ Added@rollup/rollup-linux-arm64-musl@4.29.1(transitive)
+ Added@rollup/rollup-linux-loongarch64-gnu@4.29.1(transitive)
+ Added@rollup/rollup-linux-powerpc64le-gnu@4.29.1(transitive)
+ Added@rollup/rollup-linux-riscv64-gnu@4.29.1(transitive)
+ Added@rollup/rollup-linux-s390x-gnu@4.29.1(transitive)
+ Added@rollup/rollup-linux-x64-gnu@4.29.1(transitive)
+ Added@rollup/rollup-linux-x64-musl@4.29.1(transitive)
+ Added@rollup/rollup-win32-arm64-msvc@4.29.1(transitive)
+ Added@rollup/rollup-win32-ia32-msvc@4.29.1(transitive)
+ Added@rollup/rollup-win32-x64-msvc@4.29.1(transitive)
+ Added@types/estree@1.0.6(transitive)
+ Addedesbuild@0.24.0(transitive)
+ Addedrollup@4.29.1(transitive)
+ Addedvite@6.0.5(transitive)
+ Addedvite-plugin-css-injected-by-js@3.5.2(transitive)