native-document 1.0.200 → 1.0.202
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "native-document",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.202",
|
|
4
4
|
"description": "A reactive JavaScript framework that preserves native DOM simplicity without sacrificing modern features",
|
|
5
5
|
"author": "AfroCodeur <https://github.com/afrocodeur>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--drawer-z-index: 1000;
|
|
3
|
+
--drawer-background-color: white;
|
|
4
|
+
--drawer-width: 400px;
|
|
5
|
+
--drawer-backdrop-color: rgba(0, 0, 0, var(--opacity-backdrop));
|
|
6
|
+
--drawer-panel-backdrop-color: hsl(from var(--gray-lite-1) h s l / .5);
|
|
7
|
+
--drawer-panel-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
|
|
8
|
+
--drawer-panel-body-background: #F9F9F9;
|
|
9
|
+
}
|
|
10
|
+
|
|
1
11
|
.drawer-container {
|
|
2
12
|
position: fixed;
|
|
3
|
-
z-index:
|
|
13
|
+
z-index: var(--drawer-z-index);
|
|
4
14
|
display: none;
|
|
5
15
|
inset: 0;
|
|
6
16
|
pointer-events: none
|
|
@@ -16,7 +26,7 @@
|
|
|
16
26
|
.drawer-backdrop {
|
|
17
27
|
position: absolute;
|
|
18
28
|
inset: 0;
|
|
19
|
-
background:
|
|
29
|
+
background: var(--drawer-backdrop-color);
|
|
20
30
|
transition: opacity 0.25s ease;
|
|
21
31
|
}
|
|
22
32
|
|
|
@@ -29,7 +39,10 @@
|
|
|
29
39
|
max-width: 100%;
|
|
30
40
|
max-height: 100%;
|
|
31
41
|
display: flex;
|
|
32
|
-
width:
|
|
42
|
+
width: var(--drawer-width);
|
|
43
|
+
border-radius: var(--radius-large);
|
|
44
|
+
background: var(--drawer-panel-backdrop-color);
|
|
45
|
+
margin: var(--space-cozy)
|
|
33
46
|
}
|
|
34
47
|
|
|
35
48
|
.drawer-panel-container {
|
|
@@ -37,11 +50,10 @@
|
|
|
37
50
|
justify-content: space-between;
|
|
38
51
|
flex: 1;
|
|
39
52
|
display: flex;
|
|
40
|
-
background: var(--
|
|
53
|
+
background: var(--drawer-background-color);
|
|
41
54
|
border-radius: var(--radius-large);
|
|
42
55
|
margin: var(--space-cozy);
|
|
43
|
-
|
|
44
|
-
box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
|
|
56
|
+
box-shadow: var(--drawer-panel-shadow);
|
|
45
57
|
}
|
|
46
58
|
|
|
47
59
|
|
|
@@ -162,7 +174,7 @@
|
|
|
162
174
|
flex: 1;
|
|
163
175
|
overflow-y: auto;
|
|
164
176
|
padding: 20px;
|
|
165
|
-
background: var(--
|
|
177
|
+
background: var(--drawer-panel-body-background);
|
|
166
178
|
margin: var(--space-cozy);
|
|
167
179
|
border-radius: var(--radius-large);
|
|
168
180
|
}
|