react-confirm-lite 1.0.8 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -167,6 +167,7 @@ pnpm add react-confirm-lite
167
167
 
168
168
  ### ConfirmContainer
169
169
  - `animationDuration` (optional): Animation duration in milliseconds. Default: `300`
170
+ - `defaultColorSchema` (optional): To change color schema. Default: `dark`
170
171
  - `classes` (optional): Custom CSS classes for styling
171
172
  - `children` (optional): Render prop for complete customization
172
173
 
@@ -261,4 +262,10 @@ Contributions are welcome! Please feel free to submit a Pull Request.
261
262
 
262
263
 
263
264
  ![npm version](https://img.shields.io/npm/v/react-confirm-lite)
264
- ![bundle size](https://img.shields.io/bundlephobia/minzip/react-confirm-lite)
265
+ ![bundle size](https://img.shields.io/bundlephobia/minzip/react-confirm-lite)
266
+ ![npm downloads](https://img.shields.io/npm/dm/react-confirm-lite)
267
+ ![license](https://img.shields.io/npm/l/react-confirm-lite)
268
+ ![typescript](https://img.shields.io/badge/types-TypeScript-blue)
269
+ ![react](https://img.shields.io/badge/react-%3E%3D16.8-blue)
270
+ ![react](https://img.shields.io/badge/react-%3E%3D16.8-blue)
271
+ ![maintenance](https://img.shields.io/badge/maintained-yes-brightgreen)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-confirm-lite",
3
- "version": "1.0.8",
3
+ "version": "1.1.0",
4
4
  "description": "A lightweight, promise-based confirm dialog for React with built-in Tailwind CSS support",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -46,7 +46,7 @@
46
46
  "component"
47
47
  ],
48
48
  "author": "Saad Nasir",
49
- "license": "ISC",
49
+ "license": "MIT",
50
50
  "type": "commonjs",
51
51
  "devDependencies": {
52
52
  "@rollup/plugin-commonjs": "^29.0.0",