@turnipxenon/pineapple 2.4.56 → 2.4.58

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.
Files changed (58) hide show
  1. package/.idea/modules.xml +0 -1
  2. package/.idea/workspace.xml +77 -71
  3. package/.svelte-kit/__package__/app.postcss +4 -1
  4. package/.svelte-kit/__package__/assets/icons/arrow-upward.svg +1 -0
  5. package/.svelte-kit/__package__/components/Card.svelte +24 -3
  6. package/.svelte-kit/__package__/components/Card.svelte.d.ts +1 -0
  7. package/.svelte-kit/__package__/components/PineappleSlideToggle.svelte +10 -0
  8. package/.svelte-kit/__package__/components/PineappleSlideToggle.svelte.d.ts +19 -0
  9. package/.svelte-kit/__package__/components/chip/chip.postcss +0 -0
  10. package/.svelte-kit/__package__/components/combo_box/ComboBoxWithButton.svelte +7 -0
  11. package/.svelte-kit/__package__/components/pineapple/toast/Toast.svelte +4 -2
  12. package/.svelte-kit/__package__/template/seaweed/CreateUrlForm.svelte +15 -3
  13. package/.svelte-kit/__package__/template/seaweed/SeaweedTemplate.svelte +10 -6
  14. package/.svelte-kit/__package__/template/seaweed/entries/MigranteAlberta.svelte +1 -1
  15. package/.svelte-kit/__package__/template/seaweed/entries/MockUberApp.svelte +1 -1
  16. package/.svelte-kit/__package__/template/seaweed/entries/ThisWebpage.svelte +1 -1
  17. package/.svelte-kit/__package__/template/seaweed/entry_order_config/EntryOrderConfig.svelte +224 -47
  18. package/.svelte-kit/__package__/template/seaweed/entry_order_config/EntryOrderConfig.svelte.d.ts +1 -0
  19. package/.svelte-kit/__package__/template/seaweed/entry_order_config/entry-order-config.postcss +35 -0
  20. package/.svelte-kit/generated/server/internal.js +1 -1
  21. package/dist/app.postcss +4 -1
  22. package/dist/assets/icons/arrow-upward.svg +1 -0
  23. package/dist/components/Card.svelte +24 -3
  24. package/dist/components/Card.svelte.d.ts +1 -0
  25. package/dist/components/PineappleSlideToggle.svelte +10 -0
  26. package/dist/components/PineappleSlideToggle.svelte.d.ts +19 -0
  27. package/dist/components/chip/chip.postcss +0 -0
  28. package/dist/components/combo_box/ComboBoxWithButton.svelte +7 -0
  29. package/dist/components/pineapple/toast/Toast.svelte +4 -2
  30. package/dist/template/seaweed/CreateUrlForm.svelte +15 -3
  31. package/dist/template/seaweed/SeaweedTemplate.svelte +10 -6
  32. package/dist/template/seaweed/entries/MigranteAlberta.svelte +1 -1
  33. package/dist/template/seaweed/entries/MockUberApp.svelte +1 -1
  34. package/dist/template/seaweed/entries/ThisWebpage.svelte +1 -1
  35. package/dist/template/seaweed/entry_order_config/EntryOrderConfig.svelte +224 -47
  36. package/dist/template/seaweed/entry_order_config/EntryOrderConfig.svelte.d.ts +1 -0
  37. package/dist/template/seaweed/entry_order_config/entry-order-config.postcss +35 -0
  38. package/package.json +2 -2
  39. package/src/lib/app.postcss +4 -1
  40. package/src/lib/assets/icons/arrow-upward.svg +1 -0
  41. package/src/lib/components/Card.svelte +17 -2
  42. package/src/lib/components/PineappleSlideToggle.svelte +12 -0
  43. package/src/lib/components/{Chip.svelte → chip/Chip.svelte} +1 -1
  44. package/src/lib/components/chip/chip.postcss +0 -0
  45. package/src/lib/components/combo_box/ComboBoxWithButton.svelte +7 -0
  46. package/src/lib/components/pineapple/toast/Toast.svelte +4 -2
  47. package/src/lib/template/seaweed/CreateUrlForm.svelte +15 -3
  48. package/src/lib/template/seaweed/SeaweedTemplate.svelte +10 -6
  49. package/src/lib/template/seaweed/entries/MigranteAlberta.svelte +1 -1
  50. package/src/lib/template/seaweed/entries/MockUberApp.svelte +1 -1
  51. package/src/lib/template/seaweed/entries/ThisWebpage.svelte +1 -1
  52. package/src/lib/template/seaweed/entry_order_config/EntryOrderConfig.svelte +115 -28
  53. package/src/lib/template/seaweed/entry_order_config/entry-order-config.postcss +35 -0
  54. package/src/routes/(pineapple)/pineapple/(pineapple)/+page.svelte +4 -3
  55. /package/.svelte-kit/__package__/components/{Chip.svelte → chip/Chip.svelte} +0 -0
  56. /package/.svelte-kit/__package__/components/{Chip.svelte.d.ts → chip/Chip.svelte.d.ts} +0 -0
  57. /package/dist/components/{Chip.svelte → chip/Chip.svelte} +0 -0
  58. /package/dist/components/{Chip.svelte.d.ts → chip/Chip.svelte.d.ts} +0 -0
package/.idea/modules.xml CHANGED
@@ -2,7 +2,6 @@
2
2
  <project version="4">
3
3
  <component name="ProjectModuleManager">
4
4
  <modules>
5
- <module fileurl="file://$PROJECT_DIR$/cdktf/.idea/cdktf.iml" filepath="$PROJECT_DIR$/cdktf/.idea/cdktf.iml" />
6
5
  <module fileurl="file://$PROJECT_DIR$/.idea/pineapple.iml" filepath="$PROJECT_DIR$/.idea/pineapple.iml" />
7
6
  </modules>
8
7
  </component>
@@ -4,9 +4,11 @@
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="CreateUrlForm" comment="Add CreateUrl UI">
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/SeaweedTemplateData.ts" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/SeaweedTemplateData.ts" afterDir="false" />
7
+ <list default="true" id="accb6ba2-c343-4f84-ad30-6e2d71eceee5" name="CreateUrlForm" comment="Fix light mode contrast issues">
8
+ <change afterPath="$PROJECT_DIR$/src/lib/components/chip/chip.postcss" afterDir="false" />
9
+ <change beforePath="$PROJECT_DIR$/src/lib/components/Chip.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/components/chip/Chip.svelte" afterDir="false" />
10
+ <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/entries/MigranteAlberta.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/entries/MigranteAlberta.svelte" afterDir="false" />
11
+ <change beforePath="$PROJECT_DIR$/src/lib/template/seaweed/entries/MockUberApp.svelte" beforeDir="false" afterPath="$PROJECT_DIR$/src/lib/template/seaweed/entries/MockUberApp.svelte" afterDir="false" />
10
12
  <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" />
11
13
  </list>
12
14
  <option name="SHOW_DIALOG" value="false" />
@@ -56,13 +58,15 @@
56
58
  <option value="RandomComponent" />
57
59
  <option value="UrlShortenerForm" />
58
60
  <option value="TypeScript File" />
61
+ <option value="PineappleSlideToggle" />
62
+ <option value="PostCSS File" />
59
63
  </list>
60
64
  </option>
61
65
  </component>
62
66
  <component name="Git.Settings">
63
67
  <option name="RECENT_BRANCH_BY_REPOSITORY">
64
68
  <map>
65
- <entry key="$PROJECT_DIR$" value="dbc946a316ca6b2c95588d487cf48fe8f4a04801" />
69
+ <entry key="$PROJECT_DIR$" value="main" />
66
70
  </map>
67
71
  </option>
68
72
  <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
@@ -110,34 +114,34 @@
110
114
  <option name="hideEmptyMiddlePackages" value="true" />
111
115
  <option name="showLibraryContents" value="true" />
112
116
  </component>
113
- <component name="PropertiesComponent">{
114
- &quot;keyToString&quot;: {
115
- &quot;DefaultHtmlFileTemplate&quot;: &quot;HTML File&quot;,
116
- &quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
117
- &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
118
- &quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
119
- &quot;git-widget-placeholder&quot;: &quot;turnip/customizable2&quot;,
120
- &quot;ignore.virus.scanning.warn.message&quot;: &quot;true&quot;,
121
- &quot;last_opened_file_path&quot;: &quot;C:/Users/Pumpkin/Projects/Web/pineapple/src/routes/api/create-url&quot;,
122
- &quot;list.type.of.created.stylesheet&quot;: &quot;CSS&quot;,
123
- &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
124
- &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
125
- &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
126
- &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
127
- &quot;nodejs_interpreter_path&quot;: &quot;node&quot;,
128
- &quot;nodejs_package_manager_path&quot;: &quot;yarn&quot;,
129
- &quot;npm.build.executor&quot;: &quot;Run&quot;,
130
- &quot;npm.dev (1).executor&quot;: &quot;Run&quot;,
131
- &quot;npm.dev --open.executor&quot;: &quot;Run&quot;,
132
- &quot;npm.dev offline.executor&quot;: &quot;Run&quot;,
133
- &quot;npm.dev-offline.executor&quot;: &quot;Run&quot;,
134
- &quot;npm.dev.executor&quot;: &quot;Run&quot;,
135
- &quot;npm.to-dev.executor&quot;: &quot;Run&quot;,
136
- &quot;settings.editor.selected.configurable&quot;: &quot;preferences.general&quot;,
137
- &quot;ts.external.directory.path&quot;: &quot;C:\\Users\\Pumpkin\\Projects\\Web\\pineapple\\node_modules\\typescript\\lib&quot;,
138
- &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",
126
+ "list.type.of.created.stylesheet": "PostCSS",
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"
139
143
  }
140
- }</component>
144
+ }]]></component>
141
145
  <component name="RecentsManager">
142
146
  <key name="CopyFile.RECENT_KEYS">
143
147
  <recent name="C:\Users\Pumpkin\Projects\Web\pineapple\src\routes\api\create-url" />
@@ -147,11 +151,11 @@
147
151
  <recent name="C:\Users\Pumpkin\Projects\Web\pineapple\src\routes\(pineapple)\pineapple\(extra-pages)\page3\page5" />
148
152
  </key>
149
153
  <key name="MoveFile.RECENT_KEYS">
154
+ <recent name="C:\Users\Pumpkin\Projects\Web\pineapple\src\lib\components\chip" />
150
155
  <recent name="C:\Users\Pumpkin\Projects\Web\pineapple\src\lib\components\combo_box" />
151
156
  <recent name="C:\Users\Pumpkin\Projects\Web\pineapple\docs\archive" />
152
157
  <recent name="C:\Users\Pumpkin\Projects\Web\pineapple\src\routes\(pineapple)\pineapple\(pineapple)" />
153
158
  <recent name="C:\Users\Pumpkin\Projects\Web\pineapple\src\routes\(pineapple)\pineapple\(nested)" />
154
- <recent name="C:\Users\Pumpkin\Projects\Web\pineapple\src\routes\(pineapple)\pineapple\(extra-pages)" />
155
159
  </key>
156
160
  <key name="es6.move.members.recent.items">
157
161
  <recent name="C:\Users\Pumpkin\Projects\Web\pineapple\src\routes\types\RootLayoutProps.ts" />
@@ -337,39 +341,9 @@
337
341
  <workItem from="1712560061741" duration="265000" />
338
342
  <workItem from="1712560426380" duration="3011000" />
339
343
  <workItem from="1712563659982" duration="1353000" />
340
- <workItem from="1712570296984" duration="1345000" />
341
- </task>
342
- <task id="LOCAL-00121" summary="Add toggle to showcase pagination prevention">
343
- <option name="closed" value="true" />
344
- <created>1711910588771</created>
345
- <option name="number" value="00121" />
346
- <option name="presentableId" value="LOCAL-00121" />
347
- <option name="project" value="LOCAL" />
348
- <updated>1711910588772</updated>
349
- </task>
350
- <task id="LOCAL-00122" summary="WIP custom v1">
351
- <option name="closed" value="true" />
352
- <created>1711940053335</created>
353
- <option name="number" value="00122" />
354
- <option name="presentableId" value="LOCAL-00122" />
355
- <option name="project" value="LOCAL" />
356
- <updated>1711940053335</updated>
357
- </task>
358
- <task id="LOCAL-00123" summary="Rename Seaweed to seaweed">
359
- <option name="closed" value="true" />
360
- <created>1711940145763</created>
361
- <option name="number" value="00123" />
362
- <option name="presentableId" value="LOCAL-00123" />
363
- <option name="project" value="LOCAL" />
364
- <updated>1711940145763</updated>
365
- </task>
366
- <task id="LOCAL-00124" summary="Fully extract all entries from groups">
367
- <option name="closed" value="true" />
368
- <created>1711943579891</created>
369
- <option name="number" value="00124" />
370
- <option name="presentableId" value="LOCAL-00124" />
371
- <option name="project" value="LOCAL" />
372
- <updated>1711943579891</updated>
344
+ <workItem from="1712570296984" duration="1559000" />
345
+ <workItem from="1712571884570" duration="7000" />
346
+ <workItem from="1712636226857" duration="10964000" />
373
347
  </task>
374
348
  <task id="LOCAL-00125" summary="Allow full reordering for entries">
375
349
  <option name="closed" value="true" />
@@ -731,7 +705,39 @@
731
705
  <option name="project" value="LOCAL" />
732
706
  <updated>1712563193335</updated>
733
707
  </task>
734
- <option name="localTasksCounter" value="170" />
708
+ <task id="LOCAL-00170" summary="Fix component names being deprettified">
709
+ <option name="closed" value="true" />
710
+ <created>1712571707602</created>
711
+ <option name="number" value="00170" />
712
+ <option name="presentableId" value="LOCAL-00170" />
713
+ <option name="project" value="LOCAL" />
714
+ <updated>1712571707602</updated>
715
+ </task>
716
+ <task id="LOCAL-00171" summary="Fix Advanced Settings layout in dark more">
717
+ <option name="closed" value="true" />
718
+ <created>1712643641833</created>
719
+ <option name="number" value="00171" />
720
+ <option name="presentableId" value="LOCAL-00171" />
721
+ <option name="project" value="LOCAL" />
722
+ <updated>1712643641833</updated>
723
+ </task>
724
+ <task id="LOCAL-00172" summary="Fix Advanced Settings layout in dark mode">
725
+ <option name="closed" value="true" />
726
+ <created>1712643646820</created>
727
+ <option name="number" value="00172" />
728
+ <option name="presentableId" value="LOCAL-00172" />
729
+ <option name="project" value="LOCAL" />
730
+ <updated>1712643646820</updated>
731
+ </task>
732
+ <task id="LOCAL-00173" summary="Fix light mode contrast issues">
733
+ <option name="closed" value="true" />
734
+ <created>1712647325849</created>
735
+ <option name="number" value="00173" />
736
+ <option name="presentableId" value="LOCAL-00173" />
737
+ <option name="project" value="LOCAL" />
738
+ <updated>1712647325849</updated>
739
+ </task>
740
+ <option name="localTasksCounter" value="174" />
735
741
  <servers />
736
742
  </component>
737
743
  <component name="TypeScriptGeneratedFilesManager">
@@ -789,10 +795,6 @@
789
795
  </option>
790
796
  </component>
791
797
  <component name="VcsManagerConfiguration">
792
- <MESSAGE value="Temporarily delete workflow to let Azure auto-generate secrets" />
793
- <MESSAGE value="Change npm to yarn in GithubActions" />
794
- <MESSAGE value="Cancel migration to Azure" />
795
- <MESSAGE value="Extract plan for dynamic portfolio layout" />
796
798
  <MESSAGE value="Remove floating-ui" />
797
799
  <MESSAGE value="Move shouldAddFunNote to data" />
798
800
  <MESSAGE value="Extract runChaos to its own file" />
@@ -814,6 +816,10 @@
814
816
  <MESSAGE value="Change parseQueryTerm to parse during runtime on the DOM instead of on the raw svelte text" />
815
817
  <MESSAGE value="Add dynamic url adder UI" />
816
818
  <MESSAGE value="Add CreateUrl UI" />
817
- <option name="LAST_COMMIT_MESSAGE" value="Add CreateUrl UI" />
819
+ <MESSAGE value="Fix component names being deprettified" />
820
+ <MESSAGE value="Fix Advanced Settings layout in dark more" />
821
+ <MESSAGE value="Fix Advanced Settings layout in dark mode" />
822
+ <MESSAGE value="Fix light mode contrast issues" />
823
+ <option name="LAST_COMMIT_MESSAGE" value="Fix light mode contrast issues" />
818
824
  </component>
819
825
  </project>
@@ -185,7 +185,6 @@ a:active {
185
185
  }
186
186
 
187
187
  #toast-progress::-moz-progress-bar {
188
- /*background-color: red;*/
189
188
  background: rgba(var(--color-secondary-500));
190
189
  }
191
190
 
@@ -207,3 +206,7 @@ a:active {
207
206
  .dark .ares-logo {
208
207
  filter: invert(100%);
209
208
  }
209
+
210
+ .input {
211
+ @apply border-surface-800;
212
+ }
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487h-80Z"/></svg>
@@ -3,6 +3,7 @@ export let marginBottom = "2lh";
3
3
  export let overrideStyle = "";
4
4
  export let includeDataNoSnippet = true;
5
5
  export let additionalClass = [];
6
+ export let turnOnLightModeBorder = true;
6
7
  const style = `
7
8
  --turnip-card-margin: ${margin};
8
9
  --turnip-card-margin-bottom: ${marginBottom};
@@ -11,7 +12,16 @@ const style = `
11
12
  if (!$$slots.content) {
12
13
  console.error("Missing content slot in card. No content will be displayed.");
13
14
  }
14
- const classes = ["card", "turnip-card"].concat(additionalClass).join(" ");
15
+ const originalClasses = ["card", "turnip-card"].concat(additionalClass).join(" ");
16
+ let classes = originalClasses.slice();
17
+ const toggleLightModeBorder = (turnOnLightModeBorder2) => {
18
+ classes = originalClasses;
19
+ if (turnOnLightModeBorder2) {
20
+ classes += " light-mode-border";
21
+ }
22
+ };
23
+ $:
24
+ toggleLightModeBorder(turnOnLightModeBorder);
15
25
  </script>
16
26
 
17
27
  {#if (includeDataNoSnippet)}
@@ -19,17 +29,28 @@ const classes = ["card", "turnip-card"].concat(additionalClass).join(" ");
19
29
  <slot name="content" class="card" />
20
30
  </div>
21
31
  {:else }
22
- <div class="card turnip-card" style={style}>
32
+ <div class={classes} style={style}>
23
33
  <slot name="content" class="card" />
24
34
  </div>
25
35
  {/if}
26
36
 
27
37
  <style>
38
+ /*noinspection CssUnusedSymbol*/
39
+ .light-mode-border {
40
+ border-width: 2px;
41
+ --tw-border-opacity: 1;
42
+ border-color: rgb(var(--color-surface-600) / var(--tw-border-opacity));
43
+ }
44
+ :is(.dark .light-mode-border) {
45
+ border-width: 0px;
46
+ }
47
+
48
+ /*noinspection CssUnusedSymbol*/
28
49
  .turnip-card {
29
50
  --tw-bg-opacity: 1;
30
51
  background-color: rgb(var(--color-surface-100) / var(--tw-bg-opacity));
31
52
  }
32
- :is(.dark .turnip-card) {
53
+ :is(.dark .turnip-card) {
33
54
  --tw-bg-opacity: 1;
34
55
  background-color: rgb(var(--color-surface-900) / var(--tw-bg-opacity));
35
56
  }
@@ -6,6 +6,7 @@ declare const __propDef: {
6
6
  overrideStyle?: string | undefined;
7
7
  includeDataNoSnippet?: boolean | undefined;
8
8
  additionalClass?: string[] | undefined;
9
+ turnOnLightModeBorder?: boolean | undefined;
9
10
  };
10
11
  events: {
11
12
  [evt: string]: CustomEvent<any>;
@@ -0,0 +1,10 @@
1
+ <script>export let checked = false;
2
+ export let name;
3
+ import { SlideToggle } from "@skeletonlabs/skeleton";
4
+ </script>
5
+
6
+ <SlideToggle name={name}
7
+ background="bg-surface-700 dark:bg-surface-700"
8
+ bind:checked={checked}>
9
+ <slot />
10
+ </SlideToggle>
@@ -0,0 +1,19 @@
1
+ import { SvelteComponent } from "svelte";
2
+ declare const __propDef: {
3
+ props: {
4
+ checked?: boolean | undefined;
5
+ name: string;
6
+ };
7
+ events: {
8
+ [evt: string]: CustomEvent<any>;
9
+ };
10
+ slots: {
11
+ default: {};
12
+ };
13
+ };
14
+ export type PineappleSlideToggleProps = typeof __propDef.props;
15
+ export type PineappleSlideToggleEvents = typeof __propDef.events;
16
+ export type PineappleSlideToggleSlots = typeof __propDef.slots;
17
+ export default class PineappleSlideToggle extends SvelteComponent<PineappleSlideToggleProps, PineappleSlideToggleEvents, PineappleSlideToggleSlots> {
18
+ }
19
+ export {};
@@ -13,3 +13,10 @@ let onClickInternal = () => {
13
13
  <ComboBox bind:selectedValue={selectedValue}
14
14
  bind:stringItems={stringItems}></ComboBox>
15
15
  </div>
16
+
17
+ <style>
18
+ .combo-box-wrapper {
19
+ display: flex;
20
+ gap: 1em;
21
+ }
22
+ </style>
@@ -56,7 +56,9 @@ const dismissToast = () => {
56
56
  {#if (localComponent !== undefined)}
57
57
  <div class="toast-positioner" style={`bottom: ${$position}lh;`}>
58
58
  <!-- todo: adjust shadow to be more dynamic or transparent -->
59
- <Card marginBottom="1lh" overrideStyle="box-shadow: 3px 3px 3px var(--shadow-color);">
59
+ <Card marginBottom="1lh"
60
+ turnOnLightModeBorder={false}
61
+ overrideStyle="box-shadow: 3px 3px 3px var(--shadow-color);">
60
62
  <div slot="content">
61
63
  {#if (localProps !== undefined)}
62
64
  <svelte:component this={localComponent}
@@ -77,7 +79,7 @@ const dismissToast = () => {
77
79
  position: fixed;
78
80
  /* 12em = this component's margin (4em) + fab margin + width (8em) */
79
81
  max-width: calc(100vw - 12em);
80
- z-index: 100;
82
+ z-index: 100;
81
83
  }
82
84
 
83
85
  .toast-positioner:dir(ltr) {
@@ -37,7 +37,7 @@ const post = () => {
37
37
  };
38
38
  </script>
39
39
 
40
- <div>
40
+ <div class="local-list">
41
41
  <label for="short-url">Short URL for url shortener</label>
42
42
  <input bind:value={request.shortUrl}
43
43
  name="short-url"
@@ -49,6 +49,18 @@ const post = () => {
49
49
  name="password"
50
50
  class="input"
51
51
  type="password"
52
- placeholder="Input" />
53
- <button class="btn variant-filled" on:click={post}>Send link</button>
52
+ placeholder="ILoveTurnips" />
53
+ <button class="send-link btn variant-filled" on:click={post}>Send link</button>
54
54
  </div>
55
+
56
+ <style>
57
+ .local-list {
58
+ display: flex;
59
+ flex-direction: column;
60
+ gap: 0.25lh;
61
+ }
62
+
63
+ .send-link {
64
+ margin-top: 0.75lh;
65
+ }
66
+ </style>
@@ -16,6 +16,7 @@ import {
16
16
  } from "./SeaweedTemplateData";
17
17
  import { parseQueryTerms } from "./ParseQueryTerms";
18
18
  import UrlShortenerForm from "./CreateUrlForm.svelte";
19
+ import PineappleSlideToggle from "../../components/PineappleSlideToggle.svelte";
19
20
  export let letChaos = true;
20
21
  export let name = "Turnip";
21
22
  export let email = "turnipxenon@gmail.com";
@@ -324,18 +325,21 @@ $:
324
325
  <h1>Advanced settings</h1>
325
326
  <p>This one is for those curious how I customize this page.</p>
326
327
 
327
- <SlideToggle name="advanced-setting-slider" bind:checked={isAdvanceSettingOn}>
328
+ <PineappleSlideToggle name="advanced-setting-slider"
329
+ bind:checked={isAdvanceSettingOn}>
328
330
  Advanced settings: {isAdvanceSettingOn ? "On" : "Off"}
329
- </SlideToggle>
331
+ </PineappleSlideToggle>
330
332
 
331
333
  {#if (isAdvanceSettingOn)}
332
- <SlideToggle name="game-section-slider" bind:checked={seaweedTemplateData.gameSectionFirst}>
334
+ <PineappleSlideToggle name="game-section-slider"
335
+ bind:checked={seaweedTemplateData.gameSectionFirst}>
333
336
  Should game section appear first over projects: {seaweedTemplateData.gameSectionFirst ? "On" : "Off"}
334
- </SlideToggle>
337
+ </PineappleSlideToggle>
335
338
  <p>Note: the above configuration was made before the dynamic entry list and to support links sent with that params, we will act like it only swaps the two groups, and nothing more dynamic if order query param does not exist. The configuration only happens during page load with query param, and it does not apply when changed here.</p>
336
- <SlideToggle name="fun-note-slider" bind:checked={seaweedTemplateData.shouldAddFunNote}>
339
+ <PineappleSlideToggle name="fun-note-slider"
340
+ bind:checked={seaweedTemplateData.shouldAddFunNote}>
337
341
  Should add fun note in description: {seaweedTemplateData.shouldAddFunNote ? "On" : "Off"}
338
- </SlideToggle>
342
+ </PineappleSlideToggle>
339
343
 
340
344
  <h3>Query terms to bold</h3>
341
345
  <div class="query-term-grid">
@@ -1,4 +1,4 @@
1
- <script>import Chip from "../../../components/Chip.svelte";
1
+ <script>import Chip from "../../../components/chip/Chip.svelte";
2
2
  import {} from "./EntryProps";
3
3
  import LinkIcon from "../../../assets/icons/link-icon.svg";
4
4
  import Card from "../../../components/Card.svelte";
@@ -3,7 +3,7 @@ import Card from "../../../components/Card.svelte";
3
3
  import GithubIcon from "../../../assets/icons/github-mark.svg";
4
4
  import WindowSetGraph from "../../../assets/others/window-set.png";
5
5
  import ThisWebsiteFootage from "../../../assets/others/seaweed-showcase.mp4";
6
- import Chip from "../../../components/Chip.svelte";
6
+ import Chip from "../../../components/chip/Chip.svelte";
7
7
  export let props;
8
8
  </script>
9
9
 
@@ -3,7 +3,7 @@ import Card from "../../../components/Card.svelte";
3
3
  import GithubIcon from "../../../assets/icons/github-mark.svg";
4
4
  import WindowSetGraph from "../../../assets/others/window-set.png";
5
5
  import ThisWebsiteFootage from "../../../assets/others/seaweed-showcase.mp4";
6
- import Chip from "../../../components/Chip.svelte";
6
+ import Chip from "../../../components/chip/Chip.svelte";
7
7
  export let props;
8
8
  </script>
9
9