@turnipxenon/pineapple 2.4.43 → 2.4.44

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.
@@ -5,7 +5,6 @@
5
5
  </component>
6
6
  <component name="ChangeListManager">
7
7
  <list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="Changes" comment="Adjust description">
8
- <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
9
8
  <change beforePath="$PROJECT_DIR$/src/routes/(seaweed)/portfolio/+page.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/routes/(seaweed)/portfolio/+page.svelte" afterDir="false" />
10
9
  </list>
11
10
  <option name="SHOW_DIALOG" value="false" />
@@ -85,33 +84,33 @@
85
84
  <option name="hideEmptyMiddlePackages" value="true" />
86
85
  <option name="showLibraryContents" value="true" />
87
86
  </component>
88
- <component name="PropertiesComponent"><![CDATA[{
89
- "keyToString": {
90
- "DefaultHtmlFileTemplate": "HTML File",
91
- "RunOnceActivity.OpenProjectViewOnStart": "true",
92
- "RunOnceActivity.ShowReadmeOnStart": "true",
93
- "WebServerToolWindowFactoryState": "false",
94
- "git-widget-placeholder": "turnip/adjust-description",
95
- "ignore.virus.scanning.warn.message": "true",
96
- "last_opened_file_path": "C:/Users/Pumpkin/Projects/Web/pineapple/src/lib/template/seaweed/entries",
97
- "list.type.of.created.stylesheet": "CSS",
98
- "node.js.detected.package.eslint": "true",
99
- "node.js.detected.package.tslint": "true",
100
- "node.js.selected.package.eslint": "(autodetect)",
101
- "node.js.selected.package.tslint": "(autodetect)",
102
- "nodejs_interpreter_path": "node",
103
- "nodejs_package_manager_path": "yarn",
104
- "npm.build.executor": "Run",
105
- "npm.dev (1).executor": "Run",
106
- "npm.dev --open.executor": "Run",
107
- "npm.dev offline.executor": "Run",
108
- "npm.dev-offline.executor": "Run",
109
- "npm.dev.executor": "Run",
110
- "settings.editor.selected.configurable": "preferences.editor",
111
- "ts.external.directory.path": "C:\\Users\\Pumpkin\\Projects\\Web\\pineapple\\node_modules\\typescript\\lib",
112
- "vue.rearranger.settings.migration": "true"
87
+ <component name="PropertiesComponent">{
88
+ &quot;keyToString&quot;: {
89
+ &quot;DefaultHtmlFileTemplate&quot;: &quot;HTML File&quot;,
90
+ &quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
91
+ &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
92
+ &quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
93
+ &quot;git-widget-placeholder&quot;: &quot;turnip/adjust-description&quot;,
94
+ &quot;ignore.virus.scanning.warn.message&quot;: &quot;true&quot;,
95
+ &quot;last_opened_file_path&quot;: &quot;C:/Users/Pumpkin/Projects/Web/pineapple/src/lib/template/seaweed/entries&quot;,
96
+ &quot;list.type.of.created.stylesheet&quot;: &quot;CSS&quot;,
97
+ &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
98
+ &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
99
+ &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
100
+ &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
101
+ &quot;nodejs_interpreter_path&quot;: &quot;node&quot;,
102
+ &quot;nodejs_package_manager_path&quot;: &quot;yarn&quot;,
103
+ &quot;npm.build.executor&quot;: &quot;Run&quot;,
104
+ &quot;npm.dev (1).executor&quot;: &quot;Run&quot;,
105
+ &quot;npm.dev --open.executor&quot;: &quot;Run&quot;,
106
+ &quot;npm.dev offline.executor&quot;: &quot;Run&quot;,
107
+ &quot;npm.dev-offline.executor&quot;: &quot;Run&quot;,
108
+ &quot;npm.dev.executor&quot;: &quot;Run&quot;,
109
+ &quot;settings.editor.selected.configurable&quot;: &quot;preferences.editor&quot;,
110
+ &quot;ts.external.directory.path&quot;: &quot;C:\\Users\\Pumpkin\\Projects\\Web\\pineapple\\node_modules\\typescript\\lib&quot;,
111
+ &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
113
112
  }
114
- }]]></component>
113
+ }</component>
115
114
  <component name="RecentsManager">
116
115
  <key name="CopyFile.RECENT_KEYS">
117
116
  <recent name="C:\Users\Pumpkin\Projects\Web\pineapple\src\lib\template\seaweed\entries" />
@@ -267,7 +266,8 @@
267
266
  <workItem from="1711910783501" duration="388000" />
268
267
  <workItem from="1711930835848" duration="1753000" />
269
268
  <workItem from="1711933293449" duration="16410000" />
270
- <workItem from="1711990899017" duration="1339000" />
269
+ <workItem from="1711990899017" duration="1418000" />
270
+ <workItem from="1712175800853" duration="256000" />
271
271
  </task>
272
272
  <task id="LOCAL-00079" summary="Refactor all util functions into util/util">
273
273
  <option name="closed" value="true" />
@@ -57,6 +57,10 @@ let gameSectionFirst = true;
57
57
  let qtfontWeight = "normal";
58
58
  let additionalFontWeight = "";
59
59
  const filterSearchParams = (searchParams) => {
60
+ const isFunOn = searchParams.get("fun")?.trim();
61
+ if (isFunOn === "true") {
62
+ shouldAddFunNote = true;
63
+ }
60
64
  const gameSectionFirstParam = searchParams.get("game-section-first")?.trim();
61
65
  if (gameSectionFirstParam === "false") {
62
66
  gameSectionFirst = false;
@@ -143,6 +147,9 @@ const updateUrl = () => {
143
147
  } else if (qtMap.size !== qtList.length) {
144
148
  queryParams.push(`qt=${qtList.map((t) => t.slice(3, t.length)).join(",")}`);
145
149
  }
150
+ if (shouldAddFunNote) {
151
+ queryParams.push("fun=true");
152
+ }
146
153
  if (!gameSectionFirst) {
147
154
  queryParams.push("game-section-first=false");
148
155
  }
@@ -153,7 +160,7 @@ const updateUrl = () => {
153
160
  }
154
161
  };
155
162
  $:
156
- gameSectionFirst, qtMap, updateUrl();
163
+ gameSectionFirst, qtMap, shouldAddFunNote, updateUrl();
157
164
  </script>
158
165
 
159
166
  <SeaweedBaseLayout bind:shouldDisplayLeadingIcons={isSocialsGone}>
@@ -57,6 +57,10 @@ let gameSectionFirst = true;
57
57
  let qtfontWeight = "normal";
58
58
  let additionalFontWeight = "";
59
59
  const filterSearchParams = (searchParams) => {
60
+ const isFunOn = searchParams.get("fun")?.trim();
61
+ if (isFunOn === "true") {
62
+ shouldAddFunNote = true;
63
+ }
60
64
  const gameSectionFirstParam = searchParams.get("game-section-first")?.trim();
61
65
  if (gameSectionFirstParam === "false") {
62
66
  gameSectionFirst = false;
@@ -143,6 +147,9 @@ const updateUrl = () => {
143
147
  } else if (qtMap.size !== qtList.length) {
144
148
  queryParams.push(`qt=${qtList.map((t) => t.slice(3, t.length)).join(",")}`);
145
149
  }
150
+ if (shouldAddFunNote) {
151
+ queryParams.push("fun=true");
152
+ }
146
153
  if (!gameSectionFirst) {
147
154
  queryParams.push("game-section-first=false");
148
155
  }
@@ -153,7 +160,7 @@ const updateUrl = () => {
153
160
  }
154
161
  };
155
162
  $:
156
- gameSectionFirst, qtMap, updateUrl();
163
+ gameSectionFirst, qtMap, shouldAddFunNote, updateUrl();
157
164
  </script>
158
165
 
159
166
  <SeaweedBaseLayout bind:shouldDisplayLeadingIcons={isSocialsGone}>
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.43",
4
+ "version": "2.4.44",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "npm run check-requirements && vite build && yarn package",
@@ -94,6 +94,11 @@
94
94
  * ONLY CALL INSIDE onMount()
95
95
  **/
96
96
  const filterSearchParams = (searchParams: URLSearchParams) => {
97
+ const isFunOn = searchParams.get("fun")?.trim();
98
+ if (isFunOn === "true") {
99
+ shouldAddFunNote = true;
100
+ }
101
+
97
102
  const gameSectionFirstParam = searchParams.get("game-section-first")?.trim();
98
103
  if (gameSectionFirstParam === "false") {
99
104
  gameSectionFirst = false;
@@ -211,6 +216,10 @@
211
216
  queryParams.push(`qt=${qtList.map(t => t.slice(3, t.length)).join(",")}`);
212
217
  }
213
218
 
219
+ if (shouldAddFunNote) {
220
+ queryParams.push("fun=true");
221
+ }
222
+
214
223
  if (!gameSectionFirst) {
215
224
  queryParams.push("game-section-first=false");
216
225
  }
@@ -220,10 +229,9 @@
220
229
  } else {
221
230
  advancedUrl = domain;
222
231
  }
223
- // advancedUrl = `${domain}?${q}`;
224
232
  };
225
233
  $: // noinspection CommaExpressionJS
226
- gameSectionFirst, qtMap, updateUrl();
234
+ gameSectionFirst, qtMap, shouldAddFunNote, updateUrl();
227
235
  // $: gameSectionQuery = gameSectionFirst ? "" : "game-section-first=false";
228
236
  </script>
229
237