duckylib 0.0.10 → 0.0.12

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.
@@ -18,8 +18,7 @@
18
18
  <p class="font-bold">{label}</p>
19
19
  </button>
20
20
 
21
- <style>
22
- @import url("../../styles/globals.css");
21
+ <style src="../../styles/globals.css">
23
22
 
24
23
  button {
25
24
  cursor: pointer;
@@ -65,8 +65,7 @@
65
65
  {/if}
66
66
  </button>
67
67
 
68
- <style>
69
- @import url("../../styles/globals.css");
68
+ <style src="../../styles/globals.css">
70
69
 
71
70
  button {
72
71
  cursor: pointer;
@@ -124,8 +124,7 @@
124
124
  {/if}
125
125
  </contextmenu>
126
126
 
127
- <style>
128
- @import url("../../styles/globals.css");
127
+ <style src="../../styles/globals.css">
129
128
 
130
129
  red {
131
130
  color: var(--red);
@@ -49,6 +49,5 @@ margin-top: ${marginTopPx === "auto" ? "auto" : `${marginTopPx}px`};
49
49
  {@render children()}
50
50
  </div>
51
51
 
52
- <style>
53
- @import url("../../styles/globals.css");
52
+ <style src="../../styles/globals.css">
54
53
  </style>
@@ -48,6 +48,5 @@ margin-top: ${marginTopPx === "auto" ? "auto" : `${marginTopPx}px`};
48
48
  {@render children()}
49
49
  </div>
50
50
 
51
- <style>
52
- @import url("../../styles/globals.css");
51
+ <style src="../../styles/globals.css">
53
52
  </style>
@@ -52,8 +52,8 @@
52
52
  </div>
53
53
  </svelte:element>
54
54
 
55
- <style>
56
- @import url("../../styles/globals.css");
55
+
56
+ <style src="../../styles/globals.css">
57
57
 
58
58
  #outer {
59
59
  position: absolute;
@@ -29,8 +29,7 @@
29
29
  </Column>
30
30
  </div>
31
31
 
32
- <style>
33
- @import url("../../../styles/globals.css");
32
+ <style src="../../../styles/globals.css">
34
33
 
35
34
  div {
36
35
  max-width: fit-content;
@@ -45,8 +45,7 @@
45
45
  </Column>
46
46
  </div>
47
47
 
48
- <style>
49
- @import url("../../../styles/globals.css");
48
+ <style src="../../../styles/globals.css">
50
49
 
51
50
  div {
52
51
  max-width: fit-content;
@@ -96,8 +96,7 @@
96
96
  <!-- </Row> -->
97
97
  </div>
98
98
 
99
- <style>
100
- @import url("../../../styles/globals.css");
99
+ <style src="../../../styles/globals.css">
101
100
 
102
101
  div {
103
102
  /* position: absolute; */
@@ -141,8 +141,7 @@
141
141
  </Row>
142
142
  </div>
143
143
 
144
- <style>
145
- @import url("../../../styles/globals.css");
144
+ <style src="../../../styles/globals.css">
146
145
 
147
146
  div {
148
147
  position: sticky;
@@ -29,8 +29,7 @@
29
29
  {/await}
30
30
  </div>
31
31
 
32
- <style>
33
- @import url("../../styles/globals.css");
32
+ <style src="../../styles/globals.css">
34
33
 
35
34
  div {
36
35
  width: 100%;
@@ -12,6 +12,5 @@
12
12
 
13
13
  <span class="material-symbols-outlined{hoverEffect ? " hoverable" : ""}" style="color: {inheritColor ? "inherit" : "var(--text)"};font-size:{sizePx}px;user-select:none;">{name}</span>
14
14
 
15
- <style>
16
- @import url("../../styles/globals.css");
15
+ <style src="../../styles/globals.css">
17
16
  </style>
@@ -46,6 +46,5 @@
46
46
  <!-- {type()} -->
47
47
  {content}
48
48
 
49
- <style>
50
- @import url("../../styles/globals.css");
49
+ <style src="../../styles/globals.css">
51
50
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "duckylib",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run prepack",
@@ -25,7 +25,8 @@
25
25
  ".": {
26
26
  "types": "./dist/index.d.ts",
27
27
  "svelte": "./dist/index.js"
28
- }
28
+ },
29
+ "./styles": "./dist/styles/*.css"
29
30
  },
30
31
  "dependencies": {
31
32
  "mdsvex": "^0.12.6",