@paperless/core 1.40.0 → 1.41.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 (103) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/build/index.esm.js +1 -1
  3. package/dist/build/index.esm.js.map +1 -1
  4. package/dist/build/p-1079ffc6.entry.js.map +1 -1
  5. package/dist/cjs/index.cjs.js +51 -0
  6. package/dist/cjs/index.cjs.js.map +1 -1
  7. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
  8. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +1 -1
  9. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js.map +1 -1
  10. package/dist/collection/tailwind/animation.js +85 -85
  11. package/dist/collection/tailwind/animation.js.map +1 -0
  12. package/dist/collection/tailwind/backdrop-blur.js +3 -2
  13. package/dist/collection/tailwind/backdrop-blur.js.map +1 -0
  14. package/dist/collection/tailwind/border-radius.js +11 -10
  15. package/dist/collection/tailwind/border-radius.js.map +1 -0
  16. package/dist/collection/tailwind/colors.js +2 -1
  17. package/dist/collection/tailwind/colors.js.map +1 -0
  18. package/dist/collection/tailwind/height.js +5 -4
  19. package/dist/collection/tailwind/height.js.map +1 -0
  20. package/dist/collection/tailwind/plugins/safe-area.js +87 -93
  21. package/dist/collection/tailwind/plugins/safe-area.js.map +1 -0
  22. package/dist/collection/tailwind/rotate.js +2 -3
  23. package/dist/collection/tailwind/rotate.js.map +1 -0
  24. package/dist/collection/tailwind/scale.js +2 -1
  25. package/dist/collection/tailwind/scale.js.map +1 -0
  26. package/dist/collection/tailwind/screens.js +15 -15
  27. package/dist/collection/tailwind/screens.js.map +1 -0
  28. package/dist/collection/tailwind/shadows.js +13 -12
  29. package/dist/collection/tailwind/shadows.js.map +1 -0
  30. package/dist/collection/tailwind/spacing.js +8 -9
  31. package/dist/collection/tailwind/spacing.js.map +1 -0
  32. package/dist/collection/tailwind/typography.js +22 -21
  33. package/dist/collection/tailwind/typography.js.map +1 -0
  34. package/dist/collection/tailwind/width.js +14 -15
  35. package/dist/collection/tailwind/width.js.map +1 -0
  36. package/dist/collection/tailwind/z-index.js +13 -18
  37. package/dist/collection/tailwind/z-index.js.map +1 -0
  38. package/dist/collection/tailwind.config.js +32 -41
  39. package/dist/collection/tailwind.config.js.map +1 -0
  40. package/dist/collection/utils/index.js +1 -0
  41. package/dist/collection/utils/index.js.map +1 -1
  42. package/dist/collection/utils/screens.js +26 -0
  43. package/dist/collection/utils/screens.js.map +1 -0
  44. package/dist/components/floating-menu-item.component.js.map +1 -1
  45. package/dist/components/index.js +42 -1
  46. package/dist/components/index.js.map +1 -1
  47. package/dist/esm/index.js +42 -1
  48. package/dist/esm/index.js.map +1 -1
  49. package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
  50. package/dist/index.html +1 -1
  51. package/dist/paperless/index.esm.js +1 -1
  52. package/dist/paperless/index.esm.js.map +1 -1
  53. package/dist/paperless/p-1079ffc6.entry.js.map +1 -1
  54. package/dist/sw.js +1 -1
  55. package/dist/sw.js.map +1 -1
  56. package/dist/tailwind/animation.ts +87 -0
  57. package/dist/tailwind/backdrop-blur.ts +3 -0
  58. package/dist/tailwind/border-radius.ts +11 -0
  59. package/dist/tailwind/colors.ts +52 -0
  60. package/dist/tailwind/height.ts +5 -0
  61. package/dist/tailwind/plugins/safe-area.ts +98 -0
  62. package/dist/tailwind/rotate.ts +8 -0
  63. package/dist/tailwind/scale.ts +3 -0
  64. package/dist/tailwind/{screens.js → screens.ts} +1 -1
  65. package/dist/tailwind/shadows.ts +13 -0
  66. package/dist/tailwind/spacing.ts +10 -0
  67. package/dist/tailwind/typography.ts +21 -0
  68. package/dist/tailwind/{width.js → width.ts} +1 -1
  69. package/dist/tailwind/z-index.ts +19 -0
  70. package/dist/tailwind.config.ts +43 -0
  71. package/dist/types/components/atoms/floating-menu-item/floating-menu-item.component.d.ts +1 -1
  72. package/dist/types/components.d.ts +2 -2
  73. package/dist/types/tailwind/animation.d.ts +151 -0
  74. package/dist/types/tailwind/backdrop-blur.d.ts +4 -0
  75. package/dist/types/tailwind/border-radius.d.ts +12 -0
  76. package/dist/types/tailwind/colors.d.ts +53 -0
  77. package/dist/types/tailwind/height.d.ts +6 -0
  78. package/dist/types/tailwind/plugins/safe-area.d.ts +2 -0
  79. package/dist/types/tailwind/rotate.d.ts +2 -0
  80. package/dist/types/tailwind/scale.d.ts +4 -0
  81. package/dist/types/tailwind/screens.d.ts +15 -0
  82. package/dist/types/tailwind/shadows.d.ts +11 -0
  83. package/dist/types/tailwind/spacing.d.ts +8 -0
  84. package/dist/types/tailwind/typography.d.ts +22 -0
  85. package/dist/types/tailwind/width.d.ts +13 -0
  86. package/dist/types/tailwind/z-index.d.ts +14 -0
  87. package/dist/types/tailwind.config.d.ts +313 -0
  88. package/dist/types/utils/index.d.ts +1 -0
  89. package/dist/types/utils/screens.d.ts +12 -0
  90. package/package.json +2 -2
  91. package/dist/tailwind/animation.js +0 -87
  92. package/dist/tailwind/backdrop-blur.js +0 -3
  93. package/dist/tailwind/border-radius.js +0 -11
  94. package/dist/tailwind/colors.js +0 -52
  95. package/dist/tailwind/height.js +0 -5
  96. package/dist/tailwind/plugins/safe-area.js +0 -98
  97. package/dist/tailwind/rotate.js +0 -8
  98. package/dist/tailwind/scale.js +0 -3
  99. package/dist/tailwind/shadows.js +0 -13
  100. package/dist/tailwind/spacing.js +0 -10
  101. package/dist/tailwind/typography.js +0 -21
  102. package/dist/tailwind/z-index.js +0 -19
  103. package/dist/tailwind.config.js +0 -42
@@ -1,98 +0,0 @@
1
- // eslint-disable-next-line unicorn/prefer-module
2
- const plugin = require('tailwindcss/plugin');
3
-
4
- const safeArea = plugin(({ addUtilities }) => {
5
- const utilities = {
6
- '.m-safe': {
7
- marginTop: 'env(safe-area-inset-top)',
8
- marginRight: 'env(safe-area-inset-right)',
9
- marginBottom: 'env(safe-area-inset-bottom)',
10
- marginLeft: 'env(safe-area-inset-left)',
11
- },
12
- '.mx-safe': {
13
- marginRight: 'env(safe-area-inset-right)',
14
- marginLeft: 'env(safe-area-inset-left)',
15
- },
16
- '.my-safe': {
17
- marginTop: 'env(safe-area-inset-top)',
18
- marginBottom: 'env(safe-area-inset-bottom)',
19
- },
20
- '.mt-safe': {
21
- marginTop: 'env(safe-area-inset-top)',
22
- },
23
- '.mr-safe': {
24
- marginRight: 'env(safe-area-inset-right)',
25
- },
26
- '.mb-safe': {
27
- marginBottom: 'env(safe-area-inset-bottom)',
28
- },
29
- '.ml-safe': {
30
- marginLeft: 'env(safe-area-inset-left)',
31
- },
32
- '.p-safe': {
33
- paddingTop: 'env(safe-area-inset-top)',
34
- paddingRight: 'env(safe-area-inset-right)',
35
- paddingBottom: 'env(safe-area-inset-bottom)',
36
- paddingLeft: 'env(safe-area-inset-left)',
37
- },
38
- '.px-safe': {
39
- paddingRight: 'env(safe-area-inset-right)',
40
- paddingLeft: 'env(safe-area-inset-left)',
41
- },
42
- '.py-safe': {
43
- paddingTop: 'env(safe-area-inset-top)',
44
- paddingBottom: 'env(safe-area-inset-bottom)',
45
- },
46
- '.pt-safe': {
47
- paddingTop: 'env(safe-area-inset-top)',
48
- },
49
- '.pr-safe': {
50
- paddingRight: 'env(safe-area-inset-right)',
51
- },
52
- '.pb-safe': {
53
- paddingBottom: 'env(safe-area-inset-bottom)',
54
- },
55
- '.pl-safe': {
56
- paddingLeft: 'env(safe-area-inset-left)',
57
- },
58
- '.min-h-screen': {
59
- minHeight: '100vh',
60
- },
61
- '.min-h-screen-safe': {
62
- minHeight:
63
- 'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',
64
- },
65
- '.max-h-screen': {
66
- maxHeight: '100vh',
67
- },
68
- '.max-h-screen-safe': {
69
- maxHeight:
70
- 'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',
71
- },
72
- '.h-screen-safe': {
73
- height: 'calc(100vh - (env(safe-area-inset-top) + env(safe-area-inset-bottom)))',
74
- },
75
- '.min-w-screen': {
76
- minWidth: '100vw',
77
- },
78
- '.min-w-screen-safe': {
79
- minWidth:
80
- 'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',
81
- },
82
- '.max-w-screen': {
83
- maxWidth: '100vw',
84
- },
85
- '.max-w-screen-safe': {
86
- maxWidth:
87
- 'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',
88
- },
89
- '.w-screen-safe': {
90
- width: 'calc(100vw - (env(safe-area-inset-left) + env(safe-area-inset-right)))',
91
- },
92
- };
93
-
94
- addUtilities(utilities);
95
- });
96
-
97
- // eslint-disable-next-line unicorn/prefer-module
98
- module.exports = safeArea;
@@ -1,8 +0,0 @@
1
- const rotateNumbers = {};
2
-
3
- for (let i = 1; i < 360; i++) {
4
- rotateNumbers[`${i}`] = `${i}deg`;
5
- rotateNumbers[`-${i}`] = `-${i}deg`;
6
- }
7
-
8
- module.exports = rotateNumbers;
@@ -1,3 +0,0 @@
1
- module.exports = {
2
- flip: '-1',
3
- };
@@ -1,13 +0,0 @@
1
- module.exports = {
2
- 1: '0px 0.0625rem 0.05rem rgba(0,0,0, 0.5)',
3
- 2: '0px 0.0625rem 0.1125rem rgba(0,0,0, 0.65)',
4
- 3: '0px 0.0625rem 0.125rem rgba(0,0,0, 0.65)',
5
- 4: [
6
- '0px 0.3125rem 1rem rgba(0,24,98, 0.08)',
7
- '0px 0.0625rem 0.1875rem rgba(0,24,98, 0.13)',
8
- ],
9
- 5: '0px 0.1875rem 1rem rgba(0,24,98, 0.3)',
10
- transparent: 'transparent',
11
- 'button-primary-hover': '0px 2px 4px rgba(44,75,169, 0.4)',
12
- 'button-secondary-hover': '0px 2px 4px rgba(176,178,203, 0.4)',
13
- };
@@ -1,10 +0,0 @@
1
- module.exports = {
2
- // default variant layout
3
- 'content-mobile-x': '1rem',
4
- 'content-mobile-y': '1.5rem',
5
-
6
- 'content-desktop-x': '2rem',
7
- 'content-desktop-y': '2rem',
8
-
9
- 18: '4.5rem',
10
- };
@@ -1,21 +0,0 @@
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
- }
@@ -1,19 +0,0 @@
1
- module.exports = {
2
- 'floating-menu': 190,
3
- dropdown: 200,
4
-
5
- 'navbar-topbar': 280,
6
- 'navbar-backdrop': 290,
7
- navbar: 300,
8
-
9
- backdrop: 490,
10
-
11
- drawer: 500,
12
- 'drawer-header': 501,
13
-
14
- modal: 600,
15
-
16
- tooltip: 601,
17
-
18
- toast: 700,
19
- };
@@ -1,42 +0,0 @@
1
- const colors = require('./tailwind/colors');
2
- const shadows = require('./tailwind/shadows');
3
- const borderRadius = require('./tailwind/border-radius');
4
- const scale = require('./tailwind/scale');
5
- const rotate = require('./tailwind/rotate');
6
- const typeograhpy = require('./tailwind/typography');
7
- const backdropBlur = require('./tailwind/backdrop-blur');
8
- const zIndex = require('./tailwind/z-index');
9
- const animation = require('./tailwind/animation');
10
- const screens = require('./tailwind/screens');
11
- const width = require('./tailwind/width');
12
- const height = require('./tailwind/height');
13
- const spacing = require('./tailwind/spacing');
14
-
15
- module.exports = {
16
- important: true,
17
- theme: {
18
- colors,
19
- boxShadow: shadows,
20
- dropShadow: shadows,
21
- borderRadius,
22
- extend: {
23
- ...animation,
24
- scale,
25
- rotate,
26
- fontSize: typeograhpy.fontSize,
27
- lineHeight: typeograhpy.lineHeight,
28
- backdropBlur,
29
- zIndex,
30
- screens,
31
- width: width.width,
32
- maxWidth: width.maxWidth,
33
- height: height.height,
34
- spacing,
35
- },
36
- },
37
- plugins: [
38
- require('@tailwindcss/aspect-ratio'),
39
- require('tailwind-scrollbar-hide'),
40
- require('./tailwind/plugins/safe-area'),
41
- ],
42
- };