@paperless/core 0.1.0-alpha.33 → 0.1.0-alpha.34
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.
- package/CHANGELOG.md +11 -0
- package/dist/build/paperless.css +29 -3
- package/dist/collection/tailwind/typography.js +21 -0
- package/dist/collection/tailwind.config.js +3 -0
- package/dist/index.html +1 -1
- package/dist/paperless/paperless.css +97 -7
- package/dist/sw.js +7 -3
- package/dist/tailwind.config.js +3 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# 0.1.0-alpha.34 (2022-07-25)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **Typography:** Implement default typography ([b26b7d6](https://github.com/ionic-team/stencil-component-starter/commit/b26b7d6c3e68cefdec1b0c85333bd2d18b40b2d3))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# 0.1.0-alpha.33 (2022-07-18)
|
|
7
18
|
|
|
8
19
|
|
package/dist/build/paperless.css
CHANGED
|
@@ -21,7 +21,7 @@ body {
|
|
|
21
21
|
min-height: 100vh;
|
|
22
22
|
width: 100%;
|
|
23
23
|
max-width: 100vw;
|
|
24
|
-
@apply bg-mystic
|
|
24
|
+
@apply bg-mystic;
|
|
25
25
|
text-rendering: optimizeLegibility;
|
|
26
26
|
-webkit-font-smoothing: antialiased;
|
|
27
27
|
}
|
|
@@ -76,6 +76,32 @@ body {
|
|
|
76
76
|
src: local("IBM Plex Sans Bold"), local("IBMPlexSans-Bold"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.eot?#iefix) format("embedded-opentype"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.woff2) format("woff2"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.woff) format("woff"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.ttf) format("truetype"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.svg#IBMPlexSans) format("svg");
|
|
77
77
|
/* Legacy iOS */
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
|
|
79
|
+
@layer base {
|
|
80
|
+
h1 {
|
|
81
|
+
@apply text-h1 font-bold leading-h1;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
h2 {
|
|
85
|
+
@apply text-h2 font-bold leading-h2;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
h3 {
|
|
89
|
+
@apply text-h3 font-semibold leading-h3;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
h4 {
|
|
93
|
+
@apply text-h4 font-semibold leading-h4;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
h5 {
|
|
97
|
+
@apply text-h5 font-medium leading-h5;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
body {
|
|
101
|
+
@apply text-body leading-body text-storm !important;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.body-2 {
|
|
105
|
+
@apply text-body-2 leading-body-2 text-storm !important;
|
|
106
|
+
}
|
|
81
107
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
fontSize: {
|
|
3
|
+
'h1': '2.5rem',
|
|
4
|
+
'h2': '2rem',
|
|
5
|
+
'h3': '1.5rem',
|
|
6
|
+
'h4': '1.25rem',
|
|
7
|
+
'h5': '1.125rem',
|
|
8
|
+
'body': '1rem',
|
|
9
|
+
'body-2': '1.125rem',
|
|
10
|
+
'xxs': '0.6875rem'
|
|
11
|
+
},
|
|
12
|
+
lineHeight: {
|
|
13
|
+
'h1': '3rem',
|
|
14
|
+
'h2': '2.5rem',
|
|
15
|
+
'h3': '1.875rem',
|
|
16
|
+
'h4': '1.625rem',
|
|
17
|
+
'h5': '1.375rem',
|
|
18
|
+
'body': '1.75rem',
|
|
19
|
+
'body-2': '1.875rem',
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -4,6 +4,7 @@ const borderRadius = require('./tailwind/border-radius');
|
|
|
4
4
|
const grid = require('./tailwind/grid');
|
|
5
5
|
const scale = require('./tailwind/scale');
|
|
6
6
|
const rotate = require('./tailwind/rotate');
|
|
7
|
+
const typeograhpy = require('./tailwind/typography');
|
|
7
8
|
|
|
8
9
|
module.exports = {
|
|
9
10
|
important: true,
|
|
@@ -16,6 +17,8 @@ module.exports = {
|
|
|
16
17
|
...grid,
|
|
17
18
|
scale,
|
|
18
19
|
rotate,
|
|
20
|
+
fontSize: typeograhpy.fontSize,
|
|
21
|
+
lineHeight: typeograhpy.lineHeight
|
|
19
22
|
},
|
|
20
23
|
},
|
|
21
24
|
variants: {},
|
package/dist/index.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"> <title>Stencil Component Starter</title> <script type="module" src="/build/paperless.esm.js" data-stencil data-resources-url="/build/" data-stencil-namespace="paperless"></script> <script nomodule="" src="/build/paperless.js" data-stencil></script> </head> <body> <p-button>Buttono</p-button> <script data-build="2022-07-
|
|
1
|
+
<!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"> <title>Stencil Component Starter</title> <script type="module" src="/build/paperless.esm.js" data-stencil data-resources-url="/build/" data-stencil-namespace="paperless"></script> <script nomodule="" src="/build/paperless.js" data-stencil></script> </head> <body> <p-button>Buttono</p-button> <script data-build="2022-07-25T13:45:29">
|
|
2
2
|
if ('serviceWorker' in navigator && location.protocol !== 'file:') {
|
|
3
3
|
window.addEventListener('load', function() {
|
|
4
4
|
navigator.serviceWorker.register('/sw.js')
|
|
@@ -418,12 +418,47 @@ body {
|
|
|
418
418
|
max-width: 100vw;
|
|
419
419
|
--tw-bg-opacity: 1;
|
|
420
420
|
background-color: rgb(247 250 252 / var(--tw-bg-opacity));
|
|
421
|
-
--tw-text-opacity: 1;
|
|
422
|
-
color: rgb(81 83 107 / var(--tw-text-opacity));
|
|
423
421
|
text-rendering: optimizeLegibility;
|
|
424
422
|
-webkit-font-smoothing: antialiased;
|
|
425
423
|
}
|
|
426
424
|
|
|
425
|
+
h1 {
|
|
426
|
+
font-size: 2.5rem;
|
|
427
|
+
font-weight: 700;
|
|
428
|
+
line-height: 3rem;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
h2 {
|
|
432
|
+
font-size: 2rem;
|
|
433
|
+
font-weight: 700;
|
|
434
|
+
line-height: 2.5rem;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
h3 {
|
|
438
|
+
font-size: 1.5rem;
|
|
439
|
+
font-weight: 600;
|
|
440
|
+
line-height: 1.875rem;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
h4 {
|
|
444
|
+
font-size: 1.25rem;
|
|
445
|
+
font-weight: 600;
|
|
446
|
+
line-height: 1.625rem;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
h5 {
|
|
450
|
+
font-size: 1.125rem;
|
|
451
|
+
font-weight: 500;
|
|
452
|
+
line-height: 1.375rem;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
body {
|
|
456
|
+
font-size: 1rem !important;
|
|
457
|
+
line-height: 1.75rem !important;
|
|
458
|
+
--tw-text-opacity: 1 !important;
|
|
459
|
+
color: rgb(81 83 107 / var(--tw-text-opacity)) !important;
|
|
460
|
+
}
|
|
461
|
+
|
|
427
462
|
*, ::before, ::after {
|
|
428
463
|
--tw-border-spacing-x: 0;
|
|
429
464
|
--tw-border-spacing-y: 0;
|
|
@@ -23337,6 +23372,38 @@ body {
|
|
|
23337
23372
|
line-height: 1 !important;
|
|
23338
23373
|
}
|
|
23339
23374
|
|
|
23375
|
+
.text-h1 {
|
|
23376
|
+
font-size: 2.5rem !important;
|
|
23377
|
+
}
|
|
23378
|
+
|
|
23379
|
+
.text-h2 {
|
|
23380
|
+
font-size: 2rem !important;
|
|
23381
|
+
}
|
|
23382
|
+
|
|
23383
|
+
.text-h3 {
|
|
23384
|
+
font-size: 1.5rem !important;
|
|
23385
|
+
}
|
|
23386
|
+
|
|
23387
|
+
.text-h4 {
|
|
23388
|
+
font-size: 1.25rem !important;
|
|
23389
|
+
}
|
|
23390
|
+
|
|
23391
|
+
.text-h5 {
|
|
23392
|
+
font-size: 1.125rem !important;
|
|
23393
|
+
}
|
|
23394
|
+
|
|
23395
|
+
.text-body {
|
|
23396
|
+
font-size: 1rem !important;
|
|
23397
|
+
}
|
|
23398
|
+
|
|
23399
|
+
.text-body-2 {
|
|
23400
|
+
font-size: 1.125rem !important;
|
|
23401
|
+
}
|
|
23402
|
+
|
|
23403
|
+
.text-xxs {
|
|
23404
|
+
font-size: 0.6875rem !important;
|
|
23405
|
+
}
|
|
23406
|
+
|
|
23340
23407
|
.font-thin {
|
|
23341
23408
|
font-weight: 100 !important;
|
|
23342
23409
|
}
|
|
@@ -23497,6 +23564,34 @@ body {
|
|
|
23497
23564
|
line-height: 2 !important;
|
|
23498
23565
|
}
|
|
23499
23566
|
|
|
23567
|
+
.leading-h1 {
|
|
23568
|
+
line-height: 3rem !important;
|
|
23569
|
+
}
|
|
23570
|
+
|
|
23571
|
+
.leading-h2 {
|
|
23572
|
+
line-height: 2.5rem !important;
|
|
23573
|
+
}
|
|
23574
|
+
|
|
23575
|
+
.leading-h3 {
|
|
23576
|
+
line-height: 1.875rem !important;
|
|
23577
|
+
}
|
|
23578
|
+
|
|
23579
|
+
.leading-h4 {
|
|
23580
|
+
line-height: 1.625rem !important;
|
|
23581
|
+
}
|
|
23582
|
+
|
|
23583
|
+
.leading-h5 {
|
|
23584
|
+
line-height: 1.375rem !important;
|
|
23585
|
+
}
|
|
23586
|
+
|
|
23587
|
+
.leading-body {
|
|
23588
|
+
line-height: 1.75rem !important;
|
|
23589
|
+
}
|
|
23590
|
+
|
|
23591
|
+
.leading-body-2 {
|
|
23592
|
+
line-height: 1.875rem !important;
|
|
23593
|
+
}
|
|
23594
|
+
|
|
23500
23595
|
.tracking-tighter {
|
|
23501
23596
|
letter-spacing: -0.05em !important;
|
|
23502
23597
|
}
|
|
@@ -27113,9 +27208,4 @@ body {
|
|
|
27113
27208
|
src: local("IBM Plex Sans Bold"), local("IBMPlexSans-Bold"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.eot?#iefix) format("embedded-opentype"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.woff2) format("woff2"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.woff) format("woff"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.ttf) format("truetype"), url(/assets/fonts/ibm-plex-sans-v3-latin-700.svg#IBMPlexSans) format("svg");
|
|
27114
27209
|
|
|
27115
27210
|
/* Legacy iOS */
|
|
27116
|
-
}
|
|
27117
|
-
|
|
27118
|
-
body {
|
|
27119
|
-
--tw-bg-opacity: 1;
|
|
27120
|
-
background-color: rgb(247 250 252 / var(--tw-bg-opacity));
|
|
27121
27211
|
}
|
package/dist/sw.js
CHANGED
|
@@ -27,7 +27,7 @@ self.addEventListener('message', (event) => {
|
|
|
27
27
|
self.__precacheManifest = [
|
|
28
28
|
{
|
|
29
29
|
"url": "index.html",
|
|
30
|
-
"revision": "
|
|
30
|
+
"revision": "7e51649617b3422ac7271ad671bac643"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"url": "build/index.esm.js",
|
|
@@ -324,7 +324,7 @@ self.__precacheManifest = [
|
|
|
324
324
|
},
|
|
325
325
|
{
|
|
326
326
|
"url": "collection/tailwind.config.js",
|
|
327
|
-
"revision": "
|
|
327
|
+
"revision": "f742bad3ce244a35a3153d71eb6de4da"
|
|
328
328
|
},
|
|
329
329
|
{
|
|
330
330
|
"url": "collection/tailwind/border-radius.js",
|
|
@@ -350,6 +350,10 @@ self.__precacheManifest = [
|
|
|
350
350
|
"url": "collection/tailwind/shadows.js",
|
|
351
351
|
"revision": "90a3cc6f1c4f6714180ddbb3a0e40a53"
|
|
352
352
|
},
|
|
353
|
+
{
|
|
354
|
+
"url": "collection/tailwind/typography.js",
|
|
355
|
+
"revision": "63fc1dacace043e348a3fcf95c582fef"
|
|
356
|
+
},
|
|
353
357
|
{
|
|
354
358
|
"url": "collection/utils/child-of.js",
|
|
355
359
|
"revision": "203ec62b662bb9bc96f309e4cebcbbcf"
|
|
@@ -638,7 +642,7 @@ self.__precacheManifest = [
|
|
|
638
642
|
},
|
|
639
643
|
{
|
|
640
644
|
"url": "tailwind.config.js",
|
|
641
|
-
"revision": "
|
|
645
|
+
"revision": "f742bad3ce244a35a3153d71eb6de4da"
|
|
642
646
|
}
|
|
643
647
|
].concat(self.__precacheManifest || []);
|
|
644
648
|
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
|
package/dist/tailwind.config.js
CHANGED
|
@@ -4,6 +4,7 @@ const borderRadius = require('./tailwind/border-radius');
|
|
|
4
4
|
const grid = require('./tailwind/grid');
|
|
5
5
|
const scale = require('./tailwind/scale');
|
|
6
6
|
const rotate = require('./tailwind/rotate');
|
|
7
|
+
const typeograhpy = require('./tailwind/typography');
|
|
7
8
|
|
|
8
9
|
module.exports = {
|
|
9
10
|
important: true,
|
|
@@ -16,6 +17,8 @@ module.exports = {
|
|
|
16
17
|
...grid,
|
|
17
18
|
scale,
|
|
18
19
|
rotate,
|
|
20
|
+
fontSize: typeograhpy.fontSize,
|
|
21
|
+
lineHeight: typeograhpy.lineHeight
|
|
19
22
|
},
|
|
20
23
|
},
|
|
21
24
|
variants: {},
|