@turnipxenon/pineapple 2.4.28 → 2.4.29
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/.idea/workspace.xml +40 -39
- package/.svelte-kit/__package__/components/pineapple/PineappleBaseLayout.svelte +1 -0
- package/.svelte-kit/generated/server/internal.js +1 -1
- package/dist/components/pineapple/PineappleBaseLayout.svelte +1 -0
- package/package.json +1 -1
- package/src/lib/components/pineapple/PineappleBaseLayout.svelte +1 -0
- package/src/routes/(pineapple)/pineapple/+page.svelte +26 -13
package/.idea/workspace.xml
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
7
|
<list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="Fix dialog positioning Dialog positioning seemed to be broken when the styles from Seaweed moved to postcss, even if the dialog solely exists in Pineapple">
|
|
8
|
-
<change beforePath="$PROJECT_DIR$/src/lib/components/DialogOverlay.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/components/dialog_overlay/DialogOverlay.svelte" afterDir="false" />
|
|
9
8
|
<change beforePath="$PROJECT_DIR$/src/lib/components/pineapple/PineappleBaseLayout.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/components/pineapple/PineappleBaseLayout.svelte" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/src/routes/(pineapple)/pineapple/+page.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/routes/(pineapple)/pineapple/+page.svelte" afterDir="false" />
|
|
10
10
|
</list>
|
|
11
11
|
<option name="SHOW_DIALOG" value="false" />
|
|
12
12
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -82,33 +82,33 @@
|
|
|
82
82
|
<option name="hideEmptyMiddlePackages" value="true" />
|
|
83
83
|
<option name="showLibraryContents" value="true" />
|
|
84
84
|
</component>
|
|
85
|
-
<component name="PropertiesComponent"
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
85
|
+
<component name="PropertiesComponent">{
|
|
86
|
+
"keyToString": {
|
|
87
|
+
"DefaultHtmlFileTemplate": "HTML File",
|
|
88
|
+
"RunOnceActivity.OpenProjectViewOnStart": "true",
|
|
89
|
+
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
90
|
+
"WebServerToolWindowFactoryState": "false",
|
|
91
|
+
"git-widget-placeholder": "turnip/meta",
|
|
92
|
+
"ignore.virus.scanning.warn.message": "true",
|
|
93
|
+
"last_opened_file_path": "C:/Users/Pumpkin/Projects/Web/pineapple/src/routes/(seaweed)/portfolio/actual",
|
|
94
|
+
"list.type.of.created.stylesheet": "CSS",
|
|
95
|
+
"node.js.detected.package.eslint": "true",
|
|
96
|
+
"node.js.detected.package.tslint": "true",
|
|
97
|
+
"node.js.selected.package.eslint": "(autodetect)",
|
|
98
|
+
"node.js.selected.package.tslint": "(autodetect)",
|
|
99
|
+
"nodejs_interpreter_path": "node",
|
|
100
|
+
"nodejs_package_manager_path": "yarn",
|
|
101
|
+
"npm.build.executor": "Run",
|
|
102
|
+
"npm.dev (1).executor": "Run",
|
|
103
|
+
"npm.dev --open.executor": "Run",
|
|
104
|
+
"npm.dev offline.executor": "Run",
|
|
105
|
+
"npm.dev-offline.executor": "Run",
|
|
106
|
+
"npm.dev.executor": "Run",
|
|
107
|
+
"settings.editor.selected.configurable": "inlay.hints",
|
|
108
|
+
"ts.external.directory.path": "C:\\Users\\Pumpkin\\Projects\\Web\\pineapple\\node_modules\\typescript\\lib",
|
|
109
|
+
"vue.rearranger.settings.migration": "true"
|
|
110
110
|
}
|
|
111
|
-
}
|
|
111
|
+
}</component>
|
|
112
112
|
<component name="RecentsManager">
|
|
113
113
|
<key name="CopyFile.RECENT_KEYS">
|
|
114
114
|
<recent name="C:\Users\Pumpkin\Projects\Web\pineapple\src\routes\(seaweed)\portfolio\actual" />
|
|
@@ -157,9 +157,9 @@
|
|
|
157
157
|
</list>
|
|
158
158
|
<recent_temporary>
|
|
159
159
|
<list>
|
|
160
|
-
<item itemvalue="npm.dev-offline" />
|
|
161
160
|
<item itemvalue="npm.dev --open" />
|
|
162
161
|
<item itemvalue="npm.dev-offline" />
|
|
162
|
+
<item itemvalue="npm.dev-offline" />
|
|
163
163
|
<item itemvalue="npm.dev --open" />
|
|
164
164
|
<item itemvalue="npm.dev-offline" />
|
|
165
165
|
</list>
|
|
@@ -228,15 +228,8 @@
|
|
|
228
228
|
<workItem from="1711115902471" duration="148000" />
|
|
229
229
|
<workItem from="1711116299202" duration="1291000" />
|
|
230
230
|
<workItem from="1711179012668" duration="14397000" />
|
|
231
|
-
<workItem from="1711206704484" duration="
|
|
232
|
-
|
|
233
|
-
<task id="LOCAL-00045" summary="Solve videos not dynamically loading">
|
|
234
|
-
<option name="closed" value="true" />
|
|
235
|
-
<created>1710203392528</created>
|
|
236
|
-
<option name="number" value="00045" />
|
|
237
|
-
<option name="presentableId" value="LOCAL-00045" />
|
|
238
|
-
<option name="project" value="LOCAL" />
|
|
239
|
-
<updated>1710203392528</updated>
|
|
231
|
+
<workItem from="1711206704484" duration="9686000" />
|
|
232
|
+
<workItem from="1711323704651" duration="348000" />
|
|
240
233
|
</task>
|
|
241
234
|
<task id="LOCAL-00046" summary="Remove unnecessary iframe requests">
|
|
242
235
|
<option name="closed" value="true" />
|
|
@@ -622,7 +615,15 @@
|
|
|
622
615
|
<option name="project" value="LOCAL" />
|
|
623
616
|
<updated>1711210905814</updated>
|
|
624
617
|
</task>
|
|
625
|
-
<
|
|
618
|
+
<task id="LOCAL-00094" summary="Fix dialog positioning Dialog positioning seemed to be broken when the styles from Seaweed moved to postcss, even if the dialog solely exists in Pineapple">
|
|
619
|
+
<option name="closed" value="true" />
|
|
620
|
+
<created>1711214822227</created>
|
|
621
|
+
<option name="number" value="00094" />
|
|
622
|
+
<option name="presentableId" value="LOCAL-00094" />
|
|
623
|
+
<option name="project" value="LOCAL" />
|
|
624
|
+
<updated>1711214822227</updated>
|
|
625
|
+
</task>
|
|
626
|
+
<option name="localTasksCounter" value="95" />
|
|
626
627
|
<servers />
|
|
627
628
|
</component>
|
|
628
629
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -660,7 +661,7 @@
|
|
|
660
661
|
<entry key="branch">
|
|
661
662
|
<value>
|
|
662
663
|
<list>
|
|
663
|
-
<option value="
|
|
664
|
+
<option value="turnip/meta" />
|
|
664
665
|
</list>
|
|
665
666
|
</value>
|
|
666
667
|
</entry>
|
|
@@ -21,7 +21,7 @@ export const options = {
|
|
|
21
21
|
app: ({ head, body, assets, nonce, env }) => "<!DOCTYPE html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<link rel=\"icon\" href=\"" + assets + "/favicon.png\" />\n\t\t<meta name=\"viewport\" content=\"width=device-width\" />\n\t\t" + head + "\n\t</head>\n\n\t<body data-sveltekit-preload-data=\"hover\" data-theme=\"crimson\">\n\t\t<div style=\"display: contents\" class=\"h-full overflow-hidden\">" + body + "</div>\n\t</body>\n</html>\n",
|
|
22
22
|
error: ({ status, message }) => "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"utf-8\" />\n\t\t<title>" + message + "</title>\n\n\t\t<style>\n\t\t\tbody {\n\t\t\t\t--bg: white;\n\t\t\t\t--fg: #222;\n\t\t\t\t--divider: #ccc;\n\t\t\t\tbackground: var(--bg);\n\t\t\t\tcolor: var(--fg);\n\t\t\t\tfont-family:\n\t\t\t\t\tsystem-ui,\n\t\t\t\t\t-apple-system,\n\t\t\t\t\tBlinkMacSystemFont,\n\t\t\t\t\t'Segoe UI',\n\t\t\t\t\tRoboto,\n\t\t\t\t\tOxygen,\n\t\t\t\t\tUbuntu,\n\t\t\t\t\tCantarell,\n\t\t\t\t\t'Open Sans',\n\t\t\t\t\t'Helvetica Neue',\n\t\t\t\t\tsans-serif;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tjustify-content: center;\n\t\t\t\theight: 100vh;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t.error {\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t\tmax-width: 32rem;\n\t\t\t\tmargin: 0 1rem;\n\t\t\t}\n\n\t\t\t.status {\n\t\t\t\tfont-weight: 200;\n\t\t\t\tfont-size: 3rem;\n\t\t\t\tline-height: 1;\n\t\t\t\tposition: relative;\n\t\t\t\ttop: -0.05rem;\n\t\t\t}\n\n\t\t\t.message {\n\t\t\t\tborder-left: 1px solid var(--divider);\n\t\t\t\tpadding: 0 0 0 1rem;\n\t\t\t\tmargin: 0 0 0 1rem;\n\t\t\t\tmin-height: 2.5rem;\n\t\t\t\tdisplay: flex;\n\t\t\t\talign-items: center;\n\t\t\t}\n\n\t\t\t.message h1 {\n\t\t\t\tfont-weight: 400;\n\t\t\t\tfont-size: 1em;\n\t\t\t\tmargin: 0;\n\t\t\t}\n\n\t\t\t@media (prefers-color-scheme: dark) {\n\t\t\t\tbody {\n\t\t\t\t\t--bg: #222;\n\t\t\t\t\t--fg: #ddd;\n\t\t\t\t\t--divider: #666;\n\t\t\t\t}\n\t\t\t}\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<div class=\"error\">\n\t\t\t<span class=\"status\">" + status + "</span>\n\t\t\t<div class=\"message\">\n\t\t\t\t<h1>" + message + "</h1>\n\t\t\t</div>\n\t\t</div>\n\t</body>\n</html>\n"
|
|
23
23
|
},
|
|
24
|
-
version_hash: "
|
|
24
|
+
version_hash: "h76do5"
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
export async function get_hooks() {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@turnipxenon/pineapple",
|
|
3
3
|
"description": "personal package for base styling for other personal projects",
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.29",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite dev",
|
|
7
7
|
"build": "npm run check-requirements && vite build && yarn package",
|
|
@@ -26,24 +26,28 @@
|
|
|
26
26
|
};
|
|
27
27
|
</script>
|
|
28
28
|
|
|
29
|
-
<
|
|
30
|
-
<
|
|
31
|
-
<
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
<div class="pineapple-container">
|
|
30
|
+
<Card>
|
|
31
|
+
<div slot="content" class="default-card">
|
|
32
|
+
<button
|
|
33
|
+
class="btn variant-filled-secondary"
|
|
34
|
+
on:click={() => {
|
|
34
35
|
showComponentInToast({componentAndProps: {component: TestCard, props: undefined}});
|
|
35
36
|
}}><h3>Test custom toast</h3></button>
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
<button
|
|
38
|
+
class="btn variant-filled-secondary"
|
|
39
|
+
on:click={() => {
|
|
39
40
|
showTextInToast(`${testingQueueNumber} ${testingRandomPhrases[testingQueueNumber]}`);
|
|
40
41
|
testingQueueNumber = (testingQueueNumber + 1) % testingRandomPhrases.length;
|
|
41
42
|
}}><h3>Handy toast</h3></button>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
</Card>
|
|
43
|
+
<button
|
|
44
|
+
class="btn variant-filled-secondary"
|
|
45
|
+
on:click={onTestDialogClick}><h3>Test dialog</h3></button>
|
|
46
|
+
</div>
|
|
47
|
+
</Card>
|
|
48
|
+
<Card><h1 class="filler" slot="content">Card</h1></Card>
|
|
49
|
+
<Card><h1 class="filler" slot="content">Card</h1></Card>
|
|
50
|
+
</div>
|
|
47
51
|
|
|
48
52
|
<style lang="postcss">
|
|
49
53
|
.default-card {
|
|
@@ -51,4 +55,13 @@
|
|
|
51
55
|
flex-wrap: wrap;
|
|
52
56
|
gap: 2em;
|
|
53
57
|
}
|
|
58
|
+
|
|
59
|
+
.pineapple-container {
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-direction: column;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.filler {
|
|
65
|
+
padding: 2em;
|
|
66
|
+
}
|
|
54
67
|
</style>
|