File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed
Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
44
55## Unreleased
66
7+ ### Breaking
8+
9+ - Dialog styles must be imported with ` import '@nextcloud/password-confirmation/dist/style.css' `
10+
11+ ### Fixed
12+
13+ - Remove exports field to fix eslint and build errors in dependent environments
14+
715## 3.0.1 - 2022-09-12
816
917### Fixed
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ npm add @nextcloud/password-confirmation
1515## Usage
1616``` js
1717import { confirmPassword } from ' @nextcloud/password-confirmation'
18- import ' @nextcloud/password-confirmation/style.css' // Required for dialog styles
18+ import ' @nextcloud/password-confirmation/dist/ style.css' // Required for dialog styles
1919
2020const foo = async () => {
2121 try {
Original file line number Diff line number Diff line change 55 "main" : " ./dist/main.js" ,
66 "browser" : " ./dist/main.js" ,
77 "types" : " ./dist/main.d.ts" ,
8- "exports" : {
9- "." : " ./dist/main.js" ,
10- "./style.css" : " ./dist/style.css"
11- },
128 "files" : [
139 " dist"
1410 ],
You can’t perform that action at this time.
0 commit comments