Skip to content

Commit 036076b

Browse files
authored
Merge pull request #1 from risoflora/version-3.0.0
Version 3.0.0
2 parents 6f5af88 + 82dd527 commit 036076b

34 files changed

+842
-512
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@
44

55
Invoice generator for Google Chrome and Microsoft Edge.
66

7-
[![Screen shot 01][screenshot-01-url]][web-store-url]
8-
[![Screen shot 02][screenshot-02-url]][web-store-url]
7+
[![Screenshot 01][screenshot-01-url]][web-store-url]
8+
[![Screenshot 02][screenshot-02-url]][web-store-url]
9+
[![Screenshot 03][screenshot-03-url]][web-store-url]
910

1011
## Installation
1112

@@ -45,13 +46,14 @@ yarn dev
4546
- [x] Export/import options
4647
- [x] CI/CD
4748
- [ ] Tests
48-
- [ ] Multiple services
49+
- [x] Multiple services
4950
- [ ] Invoice reminder
5051
- [ ] Invoice expression
5152

5253
[web-store-url]: https://chrome.google.com/webstore/detail/invoice-generator/obdabdocagpfclncklefebhhgggkbbnk 'Invoice generator Web Store'
53-
[screenshot-01-url]: https://github.com/risoflora/invoice-generator/raw/master/contrib/screen-shot-1.png 'Invoice generator'
54-
[screenshot-02-url]: https://github.com/risoflora/invoice-generator/raw/master/contrib/screen-shot-2.png 'Invoice generator options'
54+
[screenshot-01-url]: https://github.com/risoflora/invoice-generator/raw/master/contrib/screenshot-01.png 'Invoice generator'
55+
[screenshot-02-url]: https://github.com/risoflora/invoice-generator/raw/master/contrib/screenshot-02.png 'Invoice generator items'
56+
[screenshot-03-url]: https://github.com/risoflora/invoice-generator/raw/master/contrib/screenshot-03.png 'Invoice generator options'
5557
[invoice-generator-logo-url]: https://github.com/risoflora/invoice-generator/raw/master/contrib/logo.png 'Invoice generator logo'
5658
[bootstrap-url]: https://github.com/twbs/bootstrap 'Bootstrap repository'
5759
[jspdf-url]: https://github.com/parallax/jsPDF 'jsPDF repository'

contrib/screen-shot-1.png

-203 KB
Binary file not shown.

contrib/screen-shot-2.png

-18.9 KB
Binary file not shown.

contrib/screenshot-01.png

230 KB
Loading

contrib/screenshot-02.png

235 KB
Loading

contrib/screenshot-03.png

61.8 KB
Loading

manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "Invoice generator",
3-
"description": "Invoice generator",
2+
"name": "$name",
3+
"description": "$name",
44
"version": "$version",
55
"manifest_version": 3,
66
"permissions": ["downloads", "storage"],

package.json

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,34 @@
11
{
22
"name": "invoice-generator",
3+
"description": "Invoice generator",
34
"private": true,
4-
"version": "2.0.0",
5+
"version": "3.0.0",
56
"scripts": {
67
"dev": "tsc && vite build --watch",
78
"build": "tsc && vite build"
89
},
910
"dependencies": {
1011
"bootstrap": "^5.1.3",
11-
"bootstrap-icons": "^1.8.1",
12+
"bootstrap-icons": "^1.8.3",
13+
"deepmerge-ts": "^4.2.1",
1214
"jspdf": "^2.5.1",
13-
"react": "^18.0.0",
14-
"react-datepicker": "^4.7.0",
15-
"react-dom": "^18.0.0"
15+
"react": "^18.2.0",
16+
"react-datepicker": "^4.8.0",
17+
"react-dom": "^18.2.0"
1618
},
1719
"devDependencies": {
18-
"@types/chrome": "^0.0.181",
20+
"@types/chrome": "^0.0.190",
1921
"@types/jspdf": "^2.0.0",
20-
"@types/node": "^17.0.23",
22+
"@types/node": "^17.0.42",
2123
"@types/react": "^18.0.4",
22-
"@types/react-datepicker": "^4.4.0",
23-
"@types/react-dom": "^18.0.0",
24-
"@vitejs/plugin-react": "^1.3.1",
24+
"@types/react-datepicker": "^4.4.2",
25+
"@types/react-dom": "^18.0.5",
26+
"@vitejs/plugin-react": "^1.3.2",
2527
"minimist": "^1.2.6",
2628
"rollup-plugin-copy": "^3.4.0",
27-
"sass": "^1.50.0",
28-
"typescript": "^4.6.3",
29-
"vite": "^2.9.2",
29+
"sass": "^1.52.3",
30+
"typescript": "^4.7.3",
31+
"vite": "^2.9.12",
3032
"vite-plugin-auto-zip": "^1.0.4"
3133
}
3234
}

src/components/Accordion.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { FunctionComponent } from 'react';
2+
3+
const Accordion: FunctionComponent<JSX.IntrinsicElements['div']> = ({ className, children, ...props }) => (
4+
<div className={`accordion${className ? ` ${className}` : ''}`} {...props}>
5+
{children}
6+
</div>
7+
);
8+
9+
export default Accordion;

src/components/AccordionItem.scss

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.accordion-button:focus {
2+
box-shadow: none !important;
3+
}
4+
5+
.accordion-button:not(.collapsed) {
6+
color: transparent !important;
7+
background-color: transparent !important;
8+
box-shadow: none !important;
9+
}
10+
11+
.accordion-button:not(.collapsed):after {
12+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
13+
}

0 commit comments

Comments
 (0)