@turnipxenon/pineapple 2.4.55 → 2.4.56

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="Add dynamic url adder UI">
8
- <change afterPath="$PROJECT_DIR$/src/lib/template/seaweed/UrlShortenerForm.svelte" afterDir="false" />
9
- <change afterPath="$PROJECT_DIR$/src/lib/types/api/CreateUrl.ts" afterDir="false" />
10
- <change afterPath="$PROJECT_DIR$/src/lib/types/api/index.ts" afterDir="false" />
11
- <change afterPath="$PROJECT_DIR$/src/routes/api/create-url/+server.ts" afterDir="false" />
12
- <change beforePath="$PROJECT_DIR$/src/lib/index.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/index.ts" afterDir="false" />
7
+ <list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="CreateUrlForm" comment="Add CreateUrl UI">
13
8
  <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplate.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplate.svelte" afterDir="false" />
14
- <change beforePath="$PROJECT_DIR$/src/routes/(seaweed)/+layout.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/routes/(seaweed)/+layout.svelte" afterDir="false" />
9
+ <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplateData.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplateData.ts" afterDir="false" />
10
+ <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/entries/ThisWebpage.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/entries/ThisWebpage.svelte" afterDir="false" />
15
11
  </list>
16
12
  <option name="SHOW_DIALOG" value="false" />
17
13
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -339,15 +335,9 @@
339
335
  <workItem from="1712536086680" duration="3657000" />
340
336
  <workItem from="1712557998479" duration="1152000" />
341
337
  <workItem from="1712560061741" duration="265000" />
342
- <workItem from="1712560426380" duration="2683000" />
343
- </task>
344
- <task id="LOCAL-00120" summary="Change media to container">
345
- <option name="closed" value="true" />
346
- <created>1711685070024</created>
347
- <option name="number" value="00120" />
348
- <option name="presentableId" value="LOCAL-00120" />
349
- <option name="project" value="LOCAL" />
350
- <updated>1711685070024</updated>
338
+ <workItem from="1712560426380" duration="3011000" />
339
+ <workItem from="1712563659982" duration="1353000" />
340
+ <workItem from="1712570296984" duration="1345000" />
351
341
  </task>
352
342
  <task id="LOCAL-00121" summary="Add toggle to showcase pagination prevention">
353
343
  <option name="closed" value="true" />
@@ -733,7 +723,15 @@
733
723
  <option name="project" value="LOCAL" />
734
724
  <updated>1712543711416</updated>
735
725
  </task>
736
- <option name="localTasksCounter" value="169" />
726
+ <task id="LOCAL-00169" summary="Add CreateUrl UI">
727
+ <option name="closed" value="true" />
728
+ <created>1712563193335</created>
729
+ <option name="number" value="00169" />
730
+ <option name="presentableId" value="LOCAL-00169" />
731
+ <option name="project" value="LOCAL" />
732
+ <updated>1712563193335</updated>
733
+ </task>
734
+ <option name="localTasksCounter" value="170" />
737
735
  <servers />
738
736
  </component>
739
737
  <component name="TypeScriptGeneratedFilesManager">
@@ -791,7 +789,6 @@
791
789
  </option>
792
790
  </component>
793
791
  <component name="VcsManagerConfiguration">
794
- <MESSAGE value="Revert &quot;Correct app_build_command in Azure SWA GithubActions&quot;&#10;&#10;Revert b34caf17" />
795
792
  <MESSAGE value="Temporarily delete workflow to let Azure auto-generate secrets" />
796
793
  <MESSAGE value="Change npm to yarn in GithubActions" />
797
794
  <MESSAGE value="Cancel migration to Azure" />
@@ -816,6 +813,7 @@
816
813
  <MESSAGE value="Move parseQtTerm on afterUpdate" />
817
814
  <MESSAGE value="Change parseQueryTerm to parse during runtime on the DOM instead of on the raw svelte text" />
818
815
  <MESSAGE value="Add dynamic url adder UI" />
819
- <option name="LAST_COMMIT_MESSAGE" value="Add dynamic url adder UI" />
816
+ <MESSAGE value="Add CreateUrl UI" />
817
+ <option name="LAST_COMMIT_MESSAGE" value="Add CreateUrl UI" />
820
818
  </component>
821
819
  </project>
@@ -310,7 +310,7 @@ $:
310
310
 
311
311
  <section class={group.gridClass}>
312
312
  {#each group.items as entry}
313
- <svelte:component this={entry} props={entryProps}></svelte:component>
313
+ <svelte:component this={entry.component} props={entryProps}></svelte:component>
314
314
  {/each}
315
315
  </section>
316
316
  {/if}
@@ -3,9 +3,13 @@ export declare enum GroupGridClass {
3
3
  Games = "games-section",
4
4
  Projects = "projects-section"
5
5
  }
6
+ export interface ComponentMeta {
7
+ name: string;
8
+ component: ComponentType;
9
+ }
6
10
  export interface EntryGroup {
7
11
  name: string;
8
- items: ComponentType[];
12
+ items: ComponentMeta[];
9
13
  gridClass: string;
10
14
  }
11
15
  export declare const GameEntries: Readonly<EntryGroup>;
@@ -14,8 +18,8 @@ export declare const EmptyRelevantProjects: Readonly<EntryGroup>;
14
18
  export declare const AllGroupedEntriesGameFirst: ReadonlyArray<EntryGroup>;
15
19
  export declare const AllGroupedEntriesProjectFirst: ReadonlyArray<EntryGroup>;
16
20
  export declare const lazyInitializeAllFlatEntries: () => void;
17
- export declare const GetAllEntryFromGlobal: () => Map<string, ComponentType>;
18
- export declare const GetEntryFromGlobal: (name: string) => ComponentType | undefined;
21
+ export declare const GetAllEntryFromGlobal: () => Map<string, ComponentMeta>;
22
+ export declare const GetEntryFromGlobal: (name: string) => ComponentMeta | undefined;
19
23
  export declare const TurnGroupEntriesMutable: (allEntries: ReadonlyArray<EntryGroup>) => EntryGroup[];
20
24
  export interface SeaweedTemplateData {
21
25
  groupedEntries: EntryGroup[];
@@ -19,12 +19,26 @@ export var GroupGridClass;
19
19
  })(GroupGridClass || (GroupGridClass = {}));
20
20
  export const GameEntries = {
21
21
  name: DefaultHeader.Games.toString(),
22
- items: [Pengi, Hepcat, ChefWings, Soulwork, ItchPromo],
22
+ items: [
23
+ { name: "Pengi", component: Pengi },
24
+ { name: "Hepcat", component: Hepcat },
25
+ { name: "Chef Wings", component: ChefWings },
26
+ { name: "Soulwork", component: Soulwork },
27
+ { name: "Itch Promo", component: ItchPromo }
28
+ ],
23
29
  gridClass: GroupGridClass.Games.toString()
24
30
  };
25
31
  export const ProjectEntries = {
26
32
  name: DefaultHeader.Projects.toString(),
27
- items: [MigranteAlberta, DecentralizedSocialMedia, CustomizedYarnspinner, FullStackC, Workset, ThisWebpage, MockUberApp],
33
+ items: [
34
+ { name: "Migrante Alberta", component: MigranteAlberta },
35
+ { name: "Decentralized Social Media", component: DecentralizedSocialMedia },
36
+ { name: "Customized YarnSpinner", component: CustomizedYarnspinner },
37
+ { name: "Full Stack C", component: FullStackC },
38
+ { name: "Workset", component: Workset },
39
+ { name: "This Webpage", component: ThisWebpage },
40
+ { name: "Mock Uber App", component: MockUberApp }
41
+ ],
28
42
  gridClass: GroupGridClass.Projects.toString()
29
43
  };
30
44
  export const EmptyRelevantProjects = {
@@ -30,6 +30,8 @@ export let props;
30
30
  <Chip>Typescript</Chip>
31
31
  <Chip>Vercel</Chip>
32
32
  <Chip>YarnSpinner</Chip>
33
+ <Chip>Postgres (SQL database)</Chip>
34
+ <Chip>Prisma ORM</Chip>
33
35
  </p>
34
36
 
35
37
  <section class="game-link-section">
@@ -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: "shyqvz"
24
+ version_hash: "rdpije"
25
25
  };
26
26
 
27
27
  export async function get_hooks() {
@@ -310,7 +310,7 @@ $:
310
310
 
311
311
  <section class={group.gridClass}>
312
312
  {#each group.items as entry}
313
- <svelte:component this={entry} props={entryProps}></svelte:component>
313
+ <svelte:component this={entry.component} props={entryProps}></svelte:component>
314
314
  {/each}
315
315
  </section>
316
316
  {/if}
@@ -3,9 +3,13 @@ export declare enum GroupGridClass {
3
3
  Games = "games-section",
4
4
  Projects = "projects-section"
5
5
  }
6
+ export interface ComponentMeta {
7
+ name: string;
8
+ component: ComponentType;
9
+ }
6
10
  export interface EntryGroup {
7
11
  name: string;
8
- items: ComponentType[];
12
+ items: ComponentMeta[];
9
13
  gridClass: string;
10
14
  }
11
15
  export declare const GameEntries: Readonly<EntryGroup>;
@@ -14,8 +18,8 @@ export declare const EmptyRelevantProjects: Readonly<EntryGroup>;
14
18
  export declare const AllGroupedEntriesGameFirst: ReadonlyArray<EntryGroup>;
15
19
  export declare const AllGroupedEntriesProjectFirst: ReadonlyArray<EntryGroup>;
16
20
  export declare const lazyInitializeAllFlatEntries: () => void;
17
- export declare const GetAllEntryFromGlobal: () => Map<string, ComponentType>;
18
- export declare const GetEntryFromGlobal: (name: string) => ComponentType | undefined;
21
+ export declare const GetAllEntryFromGlobal: () => Map<string, ComponentMeta>;
22
+ export declare const GetEntryFromGlobal: (name: string) => ComponentMeta | undefined;
19
23
  export declare const TurnGroupEntriesMutable: (allEntries: ReadonlyArray<EntryGroup>) => EntryGroup[];
20
24
  export interface SeaweedTemplateData {
21
25
  groupedEntries: EntryGroup[];
@@ -19,12 +19,26 @@ export var GroupGridClass;
19
19
  })(GroupGridClass || (GroupGridClass = {}));
20
20
  export const GameEntries = {
21
21
  name: DefaultHeader.Games.toString(),
22
- items: [Pengi, Hepcat, ChefWings, Soulwork, ItchPromo],
22
+ items: [
23
+ { name: "Pengi", component: Pengi },
24
+ { name: "Hepcat", component: Hepcat },
25
+ { name: "Chef Wings", component: ChefWings },
26
+ { name: "Soulwork", component: Soulwork },
27
+ { name: "Itch Promo", component: ItchPromo }
28
+ ],
23
29
  gridClass: GroupGridClass.Games.toString()
24
30
  };
25
31
  export const ProjectEntries = {
26
32
  name: DefaultHeader.Projects.toString(),
27
- items: [MigranteAlberta, DecentralizedSocialMedia, CustomizedYarnspinner, FullStackC, Workset, ThisWebpage, MockUberApp],
33
+ items: [
34
+ { name: "Migrante Alberta", component: MigranteAlberta },
35
+ { name: "Decentralized Social Media", component: DecentralizedSocialMedia },
36
+ { name: "Customized YarnSpinner", component: CustomizedYarnspinner },
37
+ { name: "Full Stack C", component: FullStackC },
38
+ { name: "Workset", component: Workset },
39
+ { name: "This Webpage", component: ThisWebpage },
40
+ { name: "Mock Uber App", component: MockUberApp }
41
+ ],
28
42
  gridClass: GroupGridClass.Projects.toString()
29
43
  };
30
44
  export const EmptyRelevantProjects = {
@@ -30,6 +30,8 @@ export let props;
30
30
  <Chip>Typescript</Chip>
31
31
  <Chip>Vercel</Chip>
32
32
  <Chip>YarnSpinner</Chip>
33
+ <Chip>Postgres (SQL database)</Chip>
34
+ <Chip>Prisma ORM</Chip>
33
35
  </p>
34
36
 
35
37
  <section class="game-link-section">
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.55",
4
+ "version": "2.4.56",
5
5
  "scripts": {
6
6
  "dev": "vite dev",
7
7
  "build": "vite build && yarn package",
@@ -371,7 +371,7 @@
371
371
 
372
372
  <section class={group.gridClass}>
373
373
  {#each group.items as entry}
374
- <svelte:component this={entry} props={entryProps}></svelte:component>
374
+ <svelte:component this={entry.component} props={entryProps}></svelte:component>
375
375
  {/each}
376
376
  </section>
377
377
  {/if}
@@ -19,21 +19,40 @@ export enum GroupGridClass {
19
19
  Projects = "projects-section"
20
20
  }
21
21
 
22
+ export interface ComponentMeta {
23
+ name: string;
24
+ component: ComponentType;
25
+ }
26
+
22
27
  export interface EntryGroup {
23
28
  name: string;
24
- items: ComponentType[];
29
+ items: ComponentMeta[];
25
30
  gridClass: string;
26
31
  }
27
32
 
28
33
  export const GameEntries: Readonly<EntryGroup> = {
29
34
  name: DefaultHeader.Games.toString(),
30
- items: [Pengi, Hepcat, ChefWings, Soulwork, ItchPromo],
35
+ items: [
36
+ { name: "Pengi", component: Pengi },
37
+ { name: "Hepcat", component: Hepcat },
38
+ { name: "Chef Wings", component: ChefWings },
39
+ { name: "Soulwork", component: Soulwork },
40
+ { name: "Itch Promo", component: ItchPromo }
41
+ ],
31
42
  gridClass: GroupGridClass.Games.toString()
32
43
  };
33
44
 
34
45
  export const ProjectEntries: Readonly<EntryGroup> = {
35
46
  name: DefaultHeader.Projects.toString(),
36
- items: [MigranteAlberta, DecentralizedSocialMedia, CustomizedYarnspinner, FullStackC, Workset, ThisWebpage, MockUberApp],
47
+ items: [
48
+ { name: "Migrante Alberta", component: MigranteAlberta },
49
+ { name: "Decentralized Social Media", component: DecentralizedSocialMedia },
50
+ { name: "Customized YarnSpinner", component: CustomizedYarnspinner },
51
+ { name: "Full Stack C", component: FullStackC },
52
+ { name: "Workset", component: Workset },
53
+ { name: "This Webpage", component: ThisWebpage },
54
+ { name: "Mock Uber App", component: MockUberApp }
55
+ ],
37
56
  gridClass: GroupGridClass.Projects.toString()
38
57
  };
39
58
 
@@ -55,7 +74,7 @@ export const AllGroupedEntriesProjectFirst: ReadonlyArray<EntryGroup> = [
55
74
  GameEntries
56
75
  ];
57
76
 
58
- const allFlatEntries: Map<string, ComponentType> = new Map<string, ComponentType>();
77
+ const allFlatEntries = new Map<string, ComponentMeta>();
59
78
 
60
79
  export const lazyInitializeAllFlatEntries = () => {
61
80
  if (allFlatEntries.size === 0) {
@@ -33,6 +33,8 @@
33
33
  <Chip>Typescript</Chip>
34
34
  <Chip>Vercel</Chip>
35
35
  <Chip>YarnSpinner</Chip>
36
+ <Chip>Postgres (SQL database)</Chip>
37
+ <Chip>Prisma ORM</Chip>
36
38
  </p>
37
39
 
38
40
  <section class="game-link-section">
@@ -1,13 +1,12 @@
1
1
  <script>
2
2
  import SeaweedTemplate from "$pkg/template/seaweed/SeaweedTemplate.svelte";
3
- import RandomComponent from "./RandomComponent.svelte";
4
3
  </script>
5
4
 
6
5
  <SeaweedTemplate letChaos={false}
7
6
  name="Allan Manuba"
8
7
  email="allanmanuba@gmail.com"
9
8
  linkedinSlug="allan-manuba"
10
- serverSideQueryParams="order=Games:Hepcat|ChefWings|Soulwork|ItchPromo:games-section,Projects:MigranteAlberta|DecentralizedSocialMedia|CustomizedYarnspinner|FullStackC|Workset|ThisWebpage|MockUberApp:projects-section,Relevant projects:MigranteAlberta:games-section&game-section-first=false"
9
+ serverSideQueryParams="order=Relevant projects::games-section,Games:Pengi|Chef Wings|Hepcat|Itch Promo|Soulwork|Full Stack C:games-section,Projects:Migrante Alberta|Customized YarnSpinner|Decentralized Social Media|Workset|This Webpage:projects-section"
11
10
  >
12
11
 
13
12
  </SeaweedTemplate>
@@ -1,7 +0,0 @@
1
- <script>
2
- import { Card } from "$pkg";
3
- </script>
4
-
5
- <Card>
6
- <h1 slot="content">Hello</h1>
7
- </Card>