@turnipxenon/pineapple 2.4.76 → 2.4.77

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.
@@ -4,14 +4,10 @@
4
4
  <option name="autoReloadType" value="SELECTIVE" />
5
5
  </component>
6
6
  <component name="ChangeListManager">
7
- <list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="Fix shouldAddFunNote reactivity">
8
- <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplateData.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplateData.ts" afterDir="false" />
9
- <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/entries/DecentralizedSocialMedia.svelte" beforeDir="false" />
10
- <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/entries/FullStackC.svelte" beforeDir="false" />
11
- <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/entries/ItchPromo.svelte" beforeDir="false" />
12
- <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/entries/MigranteAlberta.svelte" beforeDir="false" />
13
- <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/entries/MockUberApp.svelte" beforeDir="false" />
14
- <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/entries/WorkExperience.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/entries/WorkExperience.svelte" afterDir="false" />
7
+ <list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="Remove unused components">
8
+ <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplate.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplate.svelte" afterDir="false" />
9
+ <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/entry_order_config/EntryOrderConfig.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/entry_order_config/EntryOrderConfig.svelte" afterDir="false" />
10
+ <change beforePath="$PROJECT_DIR$/src/routes/(seaweed)/portfolio/+page.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/routes/(seaweed)/portfolio/+page.svelte" afterDir="false" />
15
11
  </list>
16
12
  <option name="SHOW_DIALOG" value="false" />
17
13
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -118,34 +114,34 @@
118
114
  <option name="hideEmptyMiddlePackages" value="true" />
119
115
  <option name="showLibraryContents" value="true" />
120
116
  </component>
121
- <component name="PropertiesComponent">{
122
- &quot;keyToString&quot;: {
123
- &quot;DefaultHtmlFileTemplate&quot;: &quot;HTML File&quot;,
124
- &quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
125
- &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
126
- &quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
127
- &quot;git-widget-placeholder&quot;: &quot;turnip/dev&quot;,
128
- &quot;ignore.virus.scanning.warn.message&quot;: &quot;true&quot;,
129
- &quot;last_opened_file_path&quot;: &quot;C:/Users/Pumpkin/Projects/Web/pineapple/src/lib&quot;,
130
- &quot;list.type.of.created.stylesheet&quot;: &quot;CSS&quot;,
131
- &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
132
- &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
133
- &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
134
- &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
135
- &quot;nodejs_interpreter_path&quot;: &quot;node&quot;,
136
- &quot;nodejs_package_manager_path&quot;: &quot;yarn&quot;,
137
- &quot;npm.build.executor&quot;: &quot;Run&quot;,
138
- &quot;npm.dev (1).executor&quot;: &quot;Run&quot;,
139
- &quot;npm.dev --open.executor&quot;: &quot;Run&quot;,
140
- &quot;npm.dev offline.executor&quot;: &quot;Run&quot;,
141
- &quot;npm.dev-offline.executor&quot;: &quot;Run&quot;,
142
- &quot;npm.dev.executor&quot;: &quot;Run&quot;,
143
- &quot;npm.to-dev.executor&quot;: &quot;Run&quot;,
144
- &quot;settings.editor.selected.configurable&quot;: &quot;settings.sync&quot;,
145
- &quot;ts.external.directory.path&quot;: &quot;C:\\Users\\Pumpkin\\Projects\\Web\\pineapple\\node_modules\\typescript\\lib&quot;,
146
- &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
117
+ <component name="PropertiesComponent"><![CDATA[{
118
+ "keyToString": {
119
+ "DefaultHtmlFileTemplate": "HTML File",
120
+ "RunOnceActivity.OpenProjectViewOnStart": "true",
121
+ "RunOnceActivity.ShowReadmeOnStart": "true",
122
+ "WebServerToolWindowFactoryState": "false",
123
+ "git-widget-placeholder": "turnip/dev",
124
+ "ignore.virus.scanning.warn.message": "true",
125
+ "last_opened_file_path": "C:/Users/Pumpkin/Projects/Web/pineapple/src/lib",
126
+ "list.type.of.created.stylesheet": "CSS",
127
+ "node.js.detected.package.eslint": "true",
128
+ "node.js.detected.package.tslint": "true",
129
+ "node.js.selected.package.eslint": "(autodetect)",
130
+ "node.js.selected.package.tslint": "(autodetect)",
131
+ "nodejs_interpreter_path": "node",
132
+ "nodejs_package_manager_path": "yarn",
133
+ "npm.build.executor": "Run",
134
+ "npm.dev (1).executor": "Run",
135
+ "npm.dev --open.executor": "Run",
136
+ "npm.dev offline.executor": "Run",
137
+ "npm.dev-offline.executor": "Run",
138
+ "npm.dev.executor": "Run",
139
+ "npm.to-dev.executor": "Run",
140
+ "settings.editor.selected.configurable": "settings.sync",
141
+ "ts.external.directory.path": "C:\\Users\\Pumpkin\\Projects\\Web\\pineapple\\node_modules\\typescript\\lib",
142
+ "vue.rearranger.settings.migration": "true"
147
143
  }
148
- }</component>
144
+ }]]></component>
149
145
  <component name="RecentsManager">
150
146
  <key name="CopyFile.RECENT_KEYS">
151
147
  <recent name="C:\Users\Pumpkin\Projects\Web\pineapple\src\lib" />
@@ -210,8 +206,8 @@
210
206
  <item itemvalue="npm.dev --open" />
211
207
  <item itemvalue="npm.to-dev" />
212
208
  <item itemvalue="npm.dev-offline" />
213
- <item itemvalue="npm.dev --open" />
214
209
  <item itemvalue="npm.to-dev" />
210
+ <item itemvalue="npm.dev-offline" />
215
211
  </list>
216
212
  </recent_temporary>
217
213
  </component>
@@ -387,15 +383,7 @@
387
383
  <workItem from="1713055651151" duration="721000" />
388
384
  <workItem from="1713056429943" duration="1789000" />
389
385
  <workItem from="1713062148811" duration="58000" />
390
- <workItem from="1713062548290" duration="3245000" />
391
- </task>
392
- <task id="LOCAL-00151" summary="Extract runChaos to its own file">
393
- <option name="closed" value="true" />
394
- <created>1712412027844</created>
395
- <option name="number" value="00151" />
396
- <option name="presentableId" value="LOCAL-00151" />
397
- <option name="project" value="LOCAL" />
398
- <updated>1712412027844</updated>
386
+ <workItem from="1713062548290" duration="4255000" />
399
387
  </task>
400
388
  <task id="LOCAL-00152" summary="Extract all dependencies for updateUrl">
401
389
  <option name="closed" value="true" />
@@ -781,7 +769,15 @@
781
769
  <option name="project" value="LOCAL" />
782
770
  <updated>1713065626944</updated>
783
771
  </task>
784
- <option name="localTasksCounter" value="200" />
772
+ <task id="LOCAL-00200" summary="Remove unused components">
773
+ <option name="closed" value="true" />
774
+ <created>1713065902296</created>
775
+ <option name="number" value="00200" />
776
+ <option name="presentableId" value="LOCAL-00200" />
777
+ <option name="project" value="LOCAL" />
778
+ <updated>1713065902296</updated>
779
+ </task>
780
+ <option name="localTasksCounter" value="201" />
785
781
  <servers />
786
782
  </component>
787
783
  <component name="TypeScriptGeneratedFilesManager">
@@ -839,7 +835,6 @@
839
835
  </option>
840
836
  </component>
841
837
  <component name="VcsManagerConfiguration">
842
- <MESSAGE value="Add border-radius for advanced settings cards" />
843
838
  <MESSAGE value="Fix pkg import for Chip" />
844
839
  <MESSAGE value="Extract tailwind css utility class to local-chip" />
845
840
  <MESSAGE value="Fix chip issue in Advanced Settings" />
@@ -864,6 +859,7 @@
864
859
  <MESSAGE value="Add more exportable types from Seaweed&#10;&#10;Refactor export index files" />
865
860
  <MESSAGE value="Fix exports" />
866
861
  <MESSAGE value="Fix shouldAddFunNote reactivity" />
867
- <option name="LAST_COMMIT_MESSAGE" value="Fix shouldAddFunNote reactivity" />
862
+ <MESSAGE value="Remove unused components" />
863
+ <option name="LAST_COMMIT_MESSAGE" value="Remove unused components" />
868
864
  </component>
869
865
  </project>
@@ -17,6 +17,7 @@ import { Chip } from "../../index";
17
17
  import ChumBucket from "./ChumBucket.svelte";
18
18
  export let seaweedTemplateData;
19
19
  export let projectFirstGroupedEntries;
20
+ export let getAllEntryFromGlobal;
20
21
  export let getEntryFromGlobal;
21
22
  export let letChaos = true;
22
23
  export let name = "Turnip";
@@ -244,6 +245,8 @@ $:
244
245
  <EntryOrderConfig bind:seaweedEntries={seaweedTemplateData.groupedEntries}
245
246
  seaweedTemplateData={seaweedTemplateData}
246
247
  bind:orderUrl={orderUrl}
248
+ getAllEntryFromGlobal={getAllEntryFromGlobal}
249
+ getEntryFromGlobal={getEntryFromGlobal}
247
250
  updateUrl={updateUrl}></EntryOrderConfig>
248
251
 
249
252
  <br>
@@ -6,6 +6,7 @@ declare const __propDef: {
6
6
  props: {
7
7
  seaweedTemplateData: SeaweedTemplateData;
8
8
  projectFirstGroupedEntries: ReadonlyArray<EntryGroup>;
9
+ getAllEntryFromGlobal: () => Map<string, ComponentMeta>;
9
10
  getEntryFromGlobal: (name: string) => undefined | ComponentMeta;
10
11
  letChaos?: boolean | undefined;
11
12
  name?: string | undefined;
@@ -5,109 +5,109 @@ import ElementVisibilityDetector from "../../../components/ElementVisbilityDetec
5
5
  export let entryProps;
6
6
  export let isVisible;
7
7
  let { email, letChaos, linkedinSlug, name } = entryProps;
8
- </script>
9
-
10
- <div class="experience-and-about-div">
11
-
12
- <div class="greater-about-div">
13
-
14
- <Card includeDataNoSnippet={false}>
15
- <section class="section-card" slot="content">
16
-
17
- <h1>About</h1>
18
-
19
- <p>
20
- Hi! My name is {name}! I work as a software developer. Outside of that, I like making games, and
21
- trying to do everything in between required to make one. I have some showcased below, our visit
22
- my itch.io page for more of them.
23
- </p>
24
- <!-- todo: link the degree details idk -->
25
- <p>
26
- I also graduated with BS Computing Science, Specializing in Software Practice, and a
27
- certificate in Computer Game Development at University of Alberta.
28
- </p>
29
- {#if entryProps.seaweedTemplateData.shouldAddFunNote}
30
- <p>
31
- I'm inspired by games like Harvest Moon: Friends of Mineral Town, Rune Factory 4, Theatrhythm,
32
- Bravely Default: Flying Fairy, Boku no Natsuyasumi 2, and A Short Hike.
33
- </p>
34
- {/if}
35
-
36
- <!-- todo: maybe put cute stuff here -->
37
- <!-- </ToggleableContent>-->
38
- </section>
39
- </Card>
40
-
41
- <Card>
42
- <section class="section-card" slot="content">
43
- <SocialSection email={email} linkedinSlug={linkedinSlug}></SocialSection>
44
- <ElementVisibilityDetector bind:isVisible={isVisible}>
45
- </ElementVisibilityDetector>
46
- </section>
47
- </Card>
48
-
49
- </div>
50
-
51
- <Card>
52
- <section class="section-card" slot="content">
53
- <h1>Experience</h1>
54
-
55
- <h2>Highlight</h2>
56
- <p>I like French Fries</p>
57
-
58
- <h2>Software Engineer</h2>
59
- <div class="two-column-separated">
60
- <div>July 2023 – January 2024</div>
61
- <div style="text-align: end">Control, Remote</div>
62
- </div>
63
- <ul>
64
- <li>
65
- Developed things
66
- </li>
67
- <li>
68
- Woah
69
- </li>
70
- </ul>
71
- <br>
72
-
73
- <h2>Software Engineer Intern</h2>
74
- <div class="two-column-separated">
75
- <div>May 2022 – Aug 2022</div>
76
- <div style="text-align: end">Pou Company</div>
77
- </div>
78
- <ul>
79
- <li>
80
- Stuff
81
- </li>
82
- <li>
83
- Golang
84
- </li>
85
- </ul>
86
- <br>
87
- <!-- todo: turn off flashing when accordion is expanded -->
88
- <Accordion>
89
- <AccordionItem>
90
- <div slot="summary">
91
- <h2 class="accordion-header">More experience</h2>
92
- </div>
93
- <svelte:fragment slot="content">
94
- <section class="more-section">
95
- <h2>Software Engineer Intern</h2>
96
- <div class="two-column-separated">
97
- <div>May 2021 – Dec 2021</div>
98
- <div style="text-align: end">Testing</div>
99
- </div>
100
- <ul>
101
- <li>
102
- Amazing
103
- </li>
104
- </ul>
105
- <br>
106
- </section>
107
- </svelte:fragment>
108
- </AccordionItem>
109
- </Accordion>
110
- </section>
111
- </Card>
112
-
8
+ </script>
9
+
10
+ <div class="experience-and-about-div">
11
+
12
+ <div class="greater-about-div">
13
+
14
+ <Card includeDataNoSnippet={false}>
15
+ <section class="section-card" slot="content">
16
+
17
+ <h1>About</h1>
18
+
19
+ <p>
20
+ Hi! My name is {name}! I work as a software developer. Outside of that, I like making games, and
21
+ trying to do everything in between required to make one. I have some showcased below, our visit
22
+ my itch.io page for more of them.
23
+ </p>
24
+ <!-- todo: link the degree details idk -->
25
+ <p>
26
+ I also graduated with BS Computing Science, Specializing in Software Practice, and a
27
+ certificate in Computer Game Development at University of Alberta.
28
+ </p>
29
+ {#if entryProps.seaweedTemplateData.shouldAddFunNote}
30
+ <p>
31
+ I'm inspired by games like Harvest Moon: Friends of Mineral Town, Rune Factory 4, Theatrhythm,
32
+ Bravely Default: Flying Fairy, Boku no Natsuyasumi 2, and A Short Hike.
33
+ </p>
34
+ {/if}
35
+
36
+ <!-- todo: maybe put cute stuff here -->
37
+ <!-- </ToggleableContent>-->
38
+ </section>
39
+ </Card>
40
+
41
+ <Card>
42
+ <section class="section-card" slot="content">
43
+ <SocialSection email={email} linkedinSlug={linkedinSlug}></SocialSection>
44
+ <ElementVisibilityDetector bind:isVisible={isVisible}>
45
+ </ElementVisibilityDetector>
46
+ </section>
47
+ </Card>
48
+
49
+ </div>
50
+
51
+ <Card>
52
+ <section class="section-card" slot="content">
53
+ <h1>Experience</h1>
54
+
55
+ <h2>Highlight</h2>
56
+ <p>I like French Fries</p>
57
+
58
+ <h2>Software Engineer</h2>
59
+ <div class="two-column-separated">
60
+ <div>July 2023 – January 2024</div>
61
+ <div style="text-align: end">Control, Remote</div>
62
+ </div>
63
+ <ul>
64
+ <li>
65
+ Developed things
66
+ </li>
67
+ <li>
68
+ Woah
69
+ </li>
70
+ </ul>
71
+ <br>
72
+
73
+ <h2>Software Engineer Intern</h2>
74
+ <div class="two-column-separated">
75
+ <div>May 2022 – Aug 2022</div>
76
+ <div style="text-align: end">Pou Company</div>
77
+ </div>
78
+ <ul>
79
+ <li>
80
+ Stuff
81
+ </li>
82
+ <li>
83
+ Golang
84
+ </li>
85
+ </ul>
86
+ <br>
87
+ <!-- todo: turn off flashing when accordion is expanded -->
88
+ <Accordion>
89
+ <AccordionItem>
90
+ <div slot="summary">
91
+ <h2 class="accordion-header">More experience</h2>
92
+ </div>
93
+ <svelte:fragment slot="content">
94
+ <section class="more-section">
95
+ <h2>Software Engineer Intern</h2>
96
+ <div class="two-column-separated">
97
+ <div>May 2021 – Dec 2021</div>
98
+ <div style="text-align: end">Testing</div>
99
+ </div>
100
+ <ul>
101
+ <li>
102
+ Amazing
103
+ </li>
104
+ </ul>
105
+ <br>
106
+ </section>
107
+ </svelte:fragment>
108
+ </AccordionItem>
109
+ </Accordion>
110
+ </section>
111
+ </Card>
112
+
113
113
  </div>
@@ -1,6 +1,4 @@
1
1
  <script>import {
2
- GetAllEntryFromGlobal,
3
- GetEntryFromGlobal
4
2
  } from "../SeaweedTemplateData";
5
3
  import { removeProxyWrapperOnString } from "./EntryOrderConfig";
6
4
  import ComboBoxWithButton from "../../../components/combo_box/ComboBoxWithButton.svelte";
@@ -11,6 +9,8 @@ export let seaweedTemplateData;
11
9
  export let seaweedEntries;
12
10
  export let orderUrl;
13
11
  export let updateUrl;
12
+ export let getAllEntryFromGlobal;
13
+ export let getEntryFromGlobal;
14
14
  const updateOrderQuery = () => {
15
15
  orderUrl = "order=" + seaweedEntries.map((g) => {
16
16
  const groupUrl = g.items.map(
@@ -22,7 +22,7 @@ const updateOrderQuery = () => {
22
22
  };
23
23
  const addEntry = (group) => {
24
24
  return (selected) => {
25
- const c = GetEntryFromGlobal(selected);
25
+ const c = getEntryFromGlobal(selected);
26
26
  if (c) {
27
27
  group.items.push(c);
28
28
  seaweedEntries = seaweedEntries;
@@ -87,7 +87,7 @@ const removeEntry = (entry, group) => {
87
87
  }
88
88
  };
89
89
  };
90
- const allDefaultEntries = Array.from(GetAllEntryFromGlobal().keys());
90
+ const allDefaultEntries = Array.from(getAllEntryFromGlobal().keys());
91
91
  </script>
92
92
 
93
93
  <br>
@@ -1,5 +1,5 @@
1
1
  import { SvelteComponent } from "svelte";
2
- import { type EntryGroup, type SeaweedTemplateData } from "../SeaweedTemplateData";
2
+ import { type ComponentMeta, type EntryGroup, type SeaweedTemplateData } from "../SeaweedTemplateData";
3
3
  import "./entry-order-config.postcss";
4
4
  declare const __propDef: {
5
5
  props: {
@@ -7,6 +7,8 @@ declare const __propDef: {
7
7
  seaweedEntries: EntryGroup[];
8
8
  orderUrl: string;
9
9
  updateUrl: (data: SeaweedTemplateData) => void;
10
+ getAllEntryFromGlobal: () => Map<string, ComponentMeta>;
11
+ getEntryFromGlobal: (s: string) => ComponentMeta | undefined;
10
12
  };
11
13
  events: {
12
14
  [evt: string]: CustomEvent<any>;
@@ -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: "4pmjjt"
24
+ version_hash: "1czq7kj"
25
25
  };
26
26
 
27
27
  export async function get_hooks() {
@@ -17,6 +17,7 @@ import { Chip } from "../../index";
17
17
  import ChumBucket from "./ChumBucket.svelte";
18
18
  export let seaweedTemplateData;
19
19
  export let projectFirstGroupedEntries;
20
+ export let getAllEntryFromGlobal;
20
21
  export let getEntryFromGlobal;
21
22
  export let letChaos = true;
22
23
  export let name = "Turnip";
@@ -244,6 +245,8 @@ $:
244
245
  <EntryOrderConfig bind:seaweedEntries={seaweedTemplateData.groupedEntries}
245
246
  seaweedTemplateData={seaweedTemplateData}
246
247
  bind:orderUrl={orderUrl}
248
+ getAllEntryFromGlobal={getAllEntryFromGlobal}
249
+ getEntryFromGlobal={getEntryFromGlobal}
247
250
  updateUrl={updateUrl}></EntryOrderConfig>
248
251
 
249
252
  <br>
@@ -6,6 +6,7 @@ declare const __propDef: {
6
6
  props: {
7
7
  seaweedTemplateData: SeaweedTemplateData;
8
8
  projectFirstGroupedEntries: ReadonlyArray<EntryGroup>;
9
+ getAllEntryFromGlobal: () => Map<string, ComponentMeta>;
9
10
  getEntryFromGlobal: (name: string) => undefined | ComponentMeta;
10
11
  letChaos?: boolean | undefined;
11
12
  name?: string | undefined;
@@ -5,109 +5,109 @@ import ElementVisibilityDetector from "../../../components/ElementVisbilityDetec
5
5
  export let entryProps;
6
6
  export let isVisible;
7
7
  let { email, letChaos, linkedinSlug, name } = entryProps;
8
- </script>
9
-
10
- <div class="experience-and-about-div">
11
-
12
- <div class="greater-about-div">
13
-
14
- <Card includeDataNoSnippet={false}>
15
- <section class="section-card" slot="content">
16
-
17
- <h1>About</h1>
18
-
19
- <p>
20
- Hi! My name is {name}! I work as a software developer. Outside of that, I like making games, and
21
- trying to do everything in between required to make one. I have some showcased below, our visit
22
- my itch.io page for more of them.
23
- </p>
24
- <!-- todo: link the degree details idk -->
25
- <p>
26
- I also graduated with BS Computing Science, Specializing in Software Practice, and a
27
- certificate in Computer Game Development at University of Alberta.
28
- </p>
29
- {#if entryProps.seaweedTemplateData.shouldAddFunNote}
30
- <p>
31
- I'm inspired by games like Harvest Moon: Friends of Mineral Town, Rune Factory 4, Theatrhythm,
32
- Bravely Default: Flying Fairy, Boku no Natsuyasumi 2, and A Short Hike.
33
- </p>
34
- {/if}
35
-
36
- <!-- todo: maybe put cute stuff here -->
37
- <!-- </ToggleableContent>-->
38
- </section>
39
- </Card>
40
-
41
- <Card>
42
- <section class="section-card" slot="content">
43
- <SocialSection email={email} linkedinSlug={linkedinSlug}></SocialSection>
44
- <ElementVisibilityDetector bind:isVisible={isVisible}>
45
- </ElementVisibilityDetector>
46
- </section>
47
- </Card>
48
-
49
- </div>
50
-
51
- <Card>
52
- <section class="section-card" slot="content">
53
- <h1>Experience</h1>
54
-
55
- <h2>Highlight</h2>
56
- <p>I like French Fries</p>
57
-
58
- <h2>Software Engineer</h2>
59
- <div class="two-column-separated">
60
- <div>July 2023 – January 2024</div>
61
- <div style="text-align: end">Control, Remote</div>
62
- </div>
63
- <ul>
64
- <li>
65
- Developed things
66
- </li>
67
- <li>
68
- Woah
69
- </li>
70
- </ul>
71
- <br>
72
-
73
- <h2>Software Engineer Intern</h2>
74
- <div class="two-column-separated">
75
- <div>May 2022 – Aug 2022</div>
76
- <div style="text-align: end">Pou Company</div>
77
- </div>
78
- <ul>
79
- <li>
80
- Stuff
81
- </li>
82
- <li>
83
- Golang
84
- </li>
85
- </ul>
86
- <br>
87
- <!-- todo: turn off flashing when accordion is expanded -->
88
- <Accordion>
89
- <AccordionItem>
90
- <div slot="summary">
91
- <h2 class="accordion-header">More experience</h2>
92
- </div>
93
- <svelte:fragment slot="content">
94
- <section class="more-section">
95
- <h2>Software Engineer Intern</h2>
96
- <div class="two-column-separated">
97
- <div>May 2021 – Dec 2021</div>
98
- <div style="text-align: end">Testing</div>
99
- </div>
100
- <ul>
101
- <li>
102
- Amazing
103
- </li>
104
- </ul>
105
- <br>
106
- </section>
107
- </svelte:fragment>
108
- </AccordionItem>
109
- </Accordion>
110
- </section>
111
- </Card>
112
-
8
+ </script>
9
+
10
+ <div class="experience-and-about-div">
11
+
12
+ <div class="greater-about-div">
13
+
14
+ <Card includeDataNoSnippet={false}>
15
+ <section class="section-card" slot="content">
16
+
17
+ <h1>About</h1>
18
+
19
+ <p>
20
+ Hi! My name is {name}! I work as a software developer. Outside of that, I like making games, and
21
+ trying to do everything in between required to make one. I have some showcased below, our visit
22
+ my itch.io page for more of them.
23
+ </p>
24
+ <!-- todo: link the degree details idk -->
25
+ <p>
26
+ I also graduated with BS Computing Science, Specializing in Software Practice, and a
27
+ certificate in Computer Game Development at University of Alberta.
28
+ </p>
29
+ {#if entryProps.seaweedTemplateData.shouldAddFunNote}
30
+ <p>
31
+ I'm inspired by games like Harvest Moon: Friends of Mineral Town, Rune Factory 4, Theatrhythm,
32
+ Bravely Default: Flying Fairy, Boku no Natsuyasumi 2, and A Short Hike.
33
+ </p>
34
+ {/if}
35
+
36
+ <!-- todo: maybe put cute stuff here -->
37
+ <!-- </ToggleableContent>-->
38
+ </section>
39
+ </Card>
40
+
41
+ <Card>
42
+ <section class="section-card" slot="content">
43
+ <SocialSection email={email} linkedinSlug={linkedinSlug}></SocialSection>
44
+ <ElementVisibilityDetector bind:isVisible={isVisible}>
45
+ </ElementVisibilityDetector>
46
+ </section>
47
+ </Card>
48
+
49
+ </div>
50
+
51
+ <Card>
52
+ <section class="section-card" slot="content">
53
+ <h1>Experience</h1>
54
+
55
+ <h2>Highlight</h2>
56
+ <p>I like French Fries</p>
57
+
58
+ <h2>Software Engineer</h2>
59
+ <div class="two-column-separated">
60
+ <div>July 2023 – January 2024</div>
61
+ <div style="text-align: end">Control, Remote</div>
62
+ </div>
63
+ <ul>
64
+ <li>
65
+ Developed things
66
+ </li>
67
+ <li>
68
+ Woah
69
+ </li>
70
+ </ul>
71
+ <br>
72
+
73
+ <h2>Software Engineer Intern</h2>
74
+ <div class="two-column-separated">
75
+ <div>May 2022 – Aug 2022</div>
76
+ <div style="text-align: end">Pou Company</div>
77
+ </div>
78
+ <ul>
79
+ <li>
80
+ Stuff
81
+ </li>
82
+ <li>
83
+ Golang
84
+ </li>
85
+ </ul>
86
+ <br>
87
+ <!-- todo: turn off flashing when accordion is expanded -->
88
+ <Accordion>
89
+ <AccordionItem>
90
+ <div slot="summary">
91
+ <h2 class="accordion-header">More experience</h2>
92
+ </div>
93
+ <svelte:fragment slot="content">
94
+ <section class="more-section">
95
+ <h2>Software Engineer Intern</h2>
96
+ <div class="two-column-separated">
97
+ <div>May 2021 – Dec 2021</div>
98
+ <div style="text-align: end">Testing</div>
99
+ </div>
100
+ <ul>
101
+ <li>
102
+ Amazing
103
+ </li>
104
+ </ul>
105
+ <br>
106
+ </section>
107
+ </svelte:fragment>
108
+ </AccordionItem>
109
+ </Accordion>
110
+ </section>
111
+ </Card>
112
+
113
113
  </div>
@@ -1,6 +1,4 @@
1
1
  <script>import {
2
- GetAllEntryFromGlobal,
3
- GetEntryFromGlobal
4
2
  } from "../SeaweedTemplateData";
5
3
  import { removeProxyWrapperOnString } from "./EntryOrderConfig";
6
4
  import ComboBoxWithButton from "../../../components/combo_box/ComboBoxWithButton.svelte";
@@ -11,6 +9,8 @@ export let seaweedTemplateData;
11
9
  export let seaweedEntries;
12
10
  export let orderUrl;
13
11
  export let updateUrl;
12
+ export let getAllEntryFromGlobal;
13
+ export let getEntryFromGlobal;
14
14
  const updateOrderQuery = () => {
15
15
  orderUrl = "order=" + seaweedEntries.map((g) => {
16
16
  const groupUrl = g.items.map(
@@ -22,7 +22,7 @@ const updateOrderQuery = () => {
22
22
  };
23
23
  const addEntry = (group) => {
24
24
  return (selected) => {
25
- const c = GetEntryFromGlobal(selected);
25
+ const c = getEntryFromGlobal(selected);
26
26
  if (c) {
27
27
  group.items.push(c);
28
28
  seaweedEntries = seaweedEntries;
@@ -87,7 +87,7 @@ const removeEntry = (entry, group) => {
87
87
  }
88
88
  };
89
89
  };
90
- const allDefaultEntries = Array.from(GetAllEntryFromGlobal().keys());
90
+ const allDefaultEntries = Array.from(getAllEntryFromGlobal().keys());
91
91
  </script>
92
92
 
93
93
  <br>
@@ -1,5 +1,5 @@
1
1
  import { SvelteComponent } from "svelte";
2
- import { type EntryGroup, type SeaweedTemplateData } from "../SeaweedTemplateData";
2
+ import { type ComponentMeta, type EntryGroup, type SeaweedTemplateData } from "../SeaweedTemplateData";
3
3
  import "./entry-order-config.postcss";
4
4
  declare const __propDef: {
5
5
  props: {
@@ -7,6 +7,8 @@ declare const __propDef: {
7
7
  seaweedEntries: EntryGroup[];
8
8
  orderUrl: string;
9
9
  updateUrl: (data: SeaweedTemplateData) => void;
10
+ getAllEntryFromGlobal: () => Map<string, ComponentMeta>;
11
+ getEntryFromGlobal: (s: string) => ComponentMeta | undefined;
10
12
  };
11
13
  events: {
12
14
  [evt: string]: CustomEvent<any>;
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.76",
4
+ "version": "2.4.77",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && yarn package",
@@ -1,8 +1,8 @@
1
- // noinspection JSUnusedGlobalSymbols
2
-
3
- export { default as LazyAsset } from "./LazyAsset.svelte";
4
- export { default as Card } from "./Card.svelte";
5
- export { default as Chip } from "./chip/Chip.svelte";
6
- export { default as PineappleSlideToggle } from "./PineappleSlideToggle.svelte";
7
- export { default as SocialSection } from "./SocialSection.svelte";
8
- export { default as ElementVisbilityDetector } from "./ElementVisbilityDetector.svelte";
1
+ // noinspection JSUnusedGlobalSymbols
2
+
3
+ export { default as LazyAsset } from "./LazyAsset.svelte";
4
+ export { default as Card } from "./Card.svelte";
5
+ export { default as Chip } from "./chip/Chip.svelte";
6
+ export { default as PineappleSlideToggle } from "./PineappleSlideToggle.svelte";
7
+ export { default as SocialSection } from "./SocialSection.svelte";
8
+ export { default as ElementVisbilityDetector } from "./ElementVisbilityDetector.svelte";
@@ -23,6 +23,7 @@
23
23
 
24
24
  export let seaweedTemplateData: SeaweedTemplateData;
25
25
  export let projectFirstGroupedEntries: ReadonlyArray<EntryGroup>;
26
+ export let getAllEntryFromGlobal: () => Map<string, ComponentMeta>;
26
27
  export let getEntryFromGlobal: (name: string) => undefined | ComponentMeta;
27
28
  export let letChaos = true;
28
29
  export let name = "Turnip";
@@ -306,6 +307,8 @@
306
307
  <EntryOrderConfig bind:seaweedEntries={seaweedTemplateData.groupedEntries}
307
308
  seaweedTemplateData={seaweedTemplateData}
308
309
  bind:orderUrl={orderUrl}
310
+ getAllEntryFromGlobal={getAllEntryFromGlobal}
311
+ getEntryFromGlobal={getEntryFromGlobal}
309
312
  updateUrl={updateUrl}></EntryOrderConfig>
310
313
 
311
314
  <br>
@@ -1,116 +1,116 @@
1
- <script lang="ts">
2
- import SocialSection from "$pkg/components/SocialSection.svelte";
3
- import Card from "$pkg/components/Card.svelte";
4
- import { Accordion, AccordionItem } from "@skeletonlabs/skeleton";
5
- import ElementVisibilityDetector from "$pkg/components/ElementVisbilityDetector.svelte";
6
- import type { EntryProps } from "$pkg/template/seaweed/entries/EntryProps";
7
-
8
- export let entryProps: EntryProps;
9
- export let isVisible: boolean;
10
- let { email, letChaos, linkedinSlug, name } = entryProps;
11
- </script>
12
-
13
- <div class="experience-and-about-div">
14
-
15
- <div class="greater-about-div">
16
-
17
- <Card includeDataNoSnippet={false}>
18
- <section class="section-card" slot="content">
19
-
20
- <h1>About</h1>
21
-
22
- <p>
23
- Hi! My name is {name}! I work as a software developer. Outside of that, I like making games, and
24
- trying to do everything in between required to make one. I have some showcased below, our visit
25
- my itch.io page for more of them.
26
- </p>
27
- <!-- todo: link the degree details idk -->
28
- <p>
29
- I also graduated with BS Computing Science, Specializing in Software Practice, and a
30
- certificate in Computer Game Development at University of Alberta.
31
- </p>
32
- {#if entryProps.seaweedTemplateData.shouldAddFunNote}
33
- <p>
34
- I'm inspired by games like Harvest Moon: Friends of Mineral Town, Rune Factory 4, Theatrhythm,
35
- Bravely Default: Flying Fairy, Boku no Natsuyasumi 2, and A Short Hike.
36
- </p>
37
- {/if}
38
-
39
- <!-- todo: maybe put cute stuff here -->
40
- <!-- </ToggleableContent>-->
41
- </section>
42
- </Card>
43
-
44
- <Card>
45
- <section class="section-card" slot="content">
46
- <SocialSection email={email} linkedinSlug={linkedinSlug}></SocialSection>
47
- <ElementVisibilityDetector bind:isVisible={isVisible}>
48
- </ElementVisibilityDetector>
49
- </section>
50
- </Card>
51
-
52
- </div>
53
-
54
- <Card>
55
- <section class="section-card" slot="content">
56
- <h1>Experience</h1>
57
-
58
- <h2>Highlight</h2>
59
- <p>I like French Fries</p>
60
-
61
- <h2>Software Engineer</h2>
62
- <div class="two-column-separated">
63
- <div>July 2023 – January 2024</div>
64
- <div style="text-align: end">Control, Remote</div>
65
- </div>
66
- <ul>
67
- <li>
68
- Developed things
69
- </li>
70
- <li>
71
- Woah
72
- </li>
73
- </ul>
74
- <br>
75
-
76
- <h2>Software Engineer Intern</h2>
77
- <div class="two-column-separated">
78
- <div>May 2022 – Aug 2022</div>
79
- <div style="text-align: end">Pou Company</div>
80
- </div>
81
- <ul>
82
- <li>
83
- Stuff
84
- </li>
85
- <li>
86
- Golang
87
- </li>
88
- </ul>
89
- <br>
90
- <!-- todo: turn off flashing when accordion is expanded -->
91
- <Accordion>
92
- <AccordionItem>
93
- <div slot="summary">
94
- <h2 class="accordion-header">More experience</h2>
95
- </div>
96
- <svelte:fragment slot="content">
97
- <section class="more-section">
98
- <h2>Software Engineer Intern</h2>
99
- <div class="two-column-separated">
100
- <div>May 2021 – Dec 2021</div>
101
- <div style="text-align: end">Testing</div>
102
- </div>
103
- <ul>
104
- <li>
105
- Amazing
106
- </li>
107
- </ul>
108
- <br>
109
- </section>
110
- </svelte:fragment>
111
- </AccordionItem>
112
- </Accordion>
113
- </section>
114
- </Card>
115
-
1
+ <script lang="ts">
2
+ import SocialSection from "$pkg/components/SocialSection.svelte";
3
+ import Card from "$pkg/components/Card.svelte";
4
+ import { Accordion, AccordionItem } from "@skeletonlabs/skeleton";
5
+ import ElementVisibilityDetector from "$pkg/components/ElementVisbilityDetector.svelte";
6
+ import type { EntryProps } from "$pkg/template/seaweed/entries/EntryProps";
7
+
8
+ export let entryProps: EntryProps;
9
+ export let isVisible: boolean;
10
+ let { email, letChaos, linkedinSlug, name } = entryProps;
11
+ </script>
12
+
13
+ <div class="experience-and-about-div">
14
+
15
+ <div class="greater-about-div">
16
+
17
+ <Card includeDataNoSnippet={false}>
18
+ <section class="section-card" slot="content">
19
+
20
+ <h1>About</h1>
21
+
22
+ <p>
23
+ Hi! My name is {name}! I work as a software developer. Outside of that, I like making games, and
24
+ trying to do everything in between required to make one. I have some showcased below, our visit
25
+ my itch.io page for more of them.
26
+ </p>
27
+ <!-- todo: link the degree details idk -->
28
+ <p>
29
+ I also graduated with BS Computing Science, Specializing in Software Practice, and a
30
+ certificate in Computer Game Development at University of Alberta.
31
+ </p>
32
+ {#if entryProps.seaweedTemplateData.shouldAddFunNote}
33
+ <p>
34
+ I'm inspired by games like Harvest Moon: Friends of Mineral Town, Rune Factory 4, Theatrhythm,
35
+ Bravely Default: Flying Fairy, Boku no Natsuyasumi 2, and A Short Hike.
36
+ </p>
37
+ {/if}
38
+
39
+ <!-- todo: maybe put cute stuff here -->
40
+ <!-- </ToggleableContent>-->
41
+ </section>
42
+ </Card>
43
+
44
+ <Card>
45
+ <section class="section-card" slot="content">
46
+ <SocialSection email={email} linkedinSlug={linkedinSlug}></SocialSection>
47
+ <ElementVisibilityDetector bind:isVisible={isVisible}>
48
+ </ElementVisibilityDetector>
49
+ </section>
50
+ </Card>
51
+
52
+ </div>
53
+
54
+ <Card>
55
+ <section class="section-card" slot="content">
56
+ <h1>Experience</h1>
57
+
58
+ <h2>Highlight</h2>
59
+ <p>I like French Fries</p>
60
+
61
+ <h2>Software Engineer</h2>
62
+ <div class="two-column-separated">
63
+ <div>July 2023 – January 2024</div>
64
+ <div style="text-align: end">Control, Remote</div>
65
+ </div>
66
+ <ul>
67
+ <li>
68
+ Developed things
69
+ </li>
70
+ <li>
71
+ Woah
72
+ </li>
73
+ </ul>
74
+ <br>
75
+
76
+ <h2>Software Engineer Intern</h2>
77
+ <div class="two-column-separated">
78
+ <div>May 2022 – Aug 2022</div>
79
+ <div style="text-align: end">Pou Company</div>
80
+ </div>
81
+ <ul>
82
+ <li>
83
+ Stuff
84
+ </li>
85
+ <li>
86
+ Golang
87
+ </li>
88
+ </ul>
89
+ <br>
90
+ <!-- todo: turn off flashing when accordion is expanded -->
91
+ <Accordion>
92
+ <AccordionItem>
93
+ <div slot="summary">
94
+ <h2 class="accordion-header">More experience</h2>
95
+ </div>
96
+ <svelte:fragment slot="content">
97
+ <section class="more-section">
98
+ <h2>Software Engineer Intern</h2>
99
+ <div class="two-column-separated">
100
+ <div>May 2021 – Dec 2021</div>
101
+ <div style="text-align: end">Testing</div>
102
+ </div>
103
+ <ul>
104
+ <li>
105
+ Amazing
106
+ </li>
107
+ </ul>
108
+ <br>
109
+ </section>
110
+ </svelte:fragment>
111
+ </AccordionItem>
112
+ </Accordion>
113
+ </section>
114
+ </Card>
115
+
116
116
  </div>
@@ -2,9 +2,7 @@
2
2
  import {
3
3
  type ComponentMeta,
4
4
  type EntryGroup,
5
- GetAllEntryFromGlobal,
6
- GetEntryFromGlobal,
7
- type SeaweedTemplateData,
5
+ type SeaweedTemplateData
8
6
  } from "$pkg/template/seaweed/SeaweedTemplateData";
9
7
  import { removeProxyWrapperOnString } from "./EntryOrderConfig";
10
8
  import ComboBoxWithButton from "$pkg/components/combo_box/ComboBoxWithButton.svelte";
@@ -16,6 +14,8 @@
16
14
  export let seaweedEntries: EntryGroup[];
17
15
  export let orderUrl: string;
18
16
  export let updateUrl: (data: SeaweedTemplateData) => void;
17
+ export let getAllEntryFromGlobal: () => Map<string, ComponentMeta>;
18
+ export let getEntryFromGlobal: (s: string) => ComponentMeta | undefined;
19
19
 
20
20
  const updateOrderQuery = () => {
21
21
  orderUrl = "order=" + seaweedEntries.map(g => {
@@ -29,7 +29,7 @@
29
29
 
30
30
  const addEntry = (group: EntryGroup): ((selected: string) => void) => {
31
31
  return (selected: string) => {
32
- const c = GetEntryFromGlobal(selected);
32
+ const c = getEntryFromGlobal(selected);
33
33
  if (c) {
34
34
  group.items.push(c);
35
35
  seaweedEntries = seaweedEntries;
@@ -111,7 +111,7 @@
111
111
  };
112
112
  };
113
113
 
114
- const allDefaultEntries = Array.from(GetAllEntryFromGlobal().keys());
114
+ const allDefaultEntries = Array.from(getAllEntryFromGlobal().keys());
115
115
  </script>
116
116
 
117
117
  <br>
@@ -1,4 +1,4 @@
1
- export { default as SeaweedTemplate } from "./SeaweedTemplate.svelte";
2
- export * from "./SeaweedTemplateData";
3
- export * from "./SeaweedTemplateData";
4
- export * from "./entries/EntryProps";
1
+ export { default as SeaweedTemplate } from "./SeaweedTemplate.svelte";
2
+ export * from "./SeaweedTemplateData";
3
+ export * from "./SeaweedTemplateData";
4
+ export * from "./entries/EntryProps";
@@ -2,6 +2,7 @@
2
2
  import SeaweedTemplate from "$pkg/template/seaweed/SeaweedTemplate.svelte";
3
3
  import {
4
4
  AllGroupedEntriesProjectFirst,
5
+ GetAllEntryFromGlobal,
5
6
  GetEntryFromGlobal,
6
7
  seaweedTemplateData
7
8
  } from "$pkg/template/seaweed/SeaweedTemplateData";
@@ -10,6 +11,7 @@
10
11
 
11
12
  <!--todo: maybe add check that this is always false? -->
12
13
  <SeaweedTemplate
14
+ getAllEntryFromGlobal={GetAllEntryFromGlobal}
13
15
  seaweedTemplateData={seaweedTemplateData}
14
16
  projectFirstGroupedEntries={AllGroupedEntriesProjectFirst}
15
17
  getEntryFromGlobal={GetEntryFromGlobal}