@turnipxenon/pineapple 3.0.0 → 3.1.0-alpha.1

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 (62) hide show
  1. package/dist/components/blog_template/BlogTemplate.svelte +1 -1
  2. package/dist/components/blog_template/BlogTemplate.svelte.d.ts +1 -1
  3. package/dist/components/blog_template/BlogTemplateInner.svelte +1 -1
  4. package/dist/components/blog_template/BlogTemplateInner.svelte.d.ts +1 -1
  5. package/dist/components/dialog_manager/DialogMangerInit.d.ts +1 -1
  6. package/dist/components/dialog_manager/IDialogManager.d.ts +1 -1
  7. package/dist/components/dialog_overlay/DialogOverlay.svelte +127 -17
  8. package/dist/components/layouts/SeaweedBaseLayout.svelte +0 -6
  9. package/dist/components/pineapple/PineappleBaseLayout.svelte +0 -19
  10. package/dist/index.d.ts +1 -1
  11. package/dist/index.js +1 -1
  12. package/dist/styles/app.css +9 -14
  13. package/dist/ui/components/ModalBase.svelte +74 -74
  14. package/dist/ui/components/accordion/PinyaAccordion.svelte +20 -20
  15. package/dist/ui/components/accordion/PinyaAccordionItem.svelte +28 -28
  16. package/dist/ui/elements/CodeBlock/CodeBlock.svelte +64 -64
  17. package/dist/ui/elements/ImageIcon.svelte +53 -53
  18. package/dist/ui/elements/{pinya-card/component.svelte → PinyaCard/PinyaCard.svelte} +21 -20
  19. package/dist/ui/elements/PinyaCard/PinyaCard.svelte.d.ts +7 -0
  20. package/dist/ui/elements/PinyaCard/index.d.ts +2 -0
  21. package/dist/ui/elements/PinyaCard/index.js +2 -0
  22. package/dist/ui/elements/Placeholder.svelte +17 -17
  23. package/dist/ui/elements/TextLink.svelte +16 -16
  24. package/dist/ui/elements/index.d.ts +1 -1
  25. package/dist/ui/elements/index.js +1 -1
  26. package/dist/ui/elements/pinya-combobox/PinyaCombobox.svelte +34 -34
  27. package/dist/ui/elements/text-chip/TextChip.svelte +14 -14
  28. package/dist/{components/navigation_component → ui/modules/NavigationMenu}/NavigationControl.svelte +24 -20
  29. package/dist/{components/navigation_component/NavigationComponent.svelte → ui/modules/NavigationMenu/NavigationMenu.svelte} +69 -43
  30. package/dist/{components/navigation_component/NavigationComponent.svelte.d.ts → ui/modules/NavigationMenu/NavigationMenu.svelte.d.ts} +6 -6
  31. package/dist/{components/navigation_component → ui/modules/NavigationMenu}/PageMeta.d.ts +4 -4
  32. package/dist/ui/modules/NavigationMenu/index.d.ts +2 -0
  33. package/dist/ui/modules/NavigationMenu/index.js +2 -0
  34. package/dist/ui/modules/index.d.ts +1 -1
  35. package/dist/ui/modules/index.js +1 -1
  36. package/dist/ui/modules/modals/general-settings/GeneralSettingsModal.svelte +109 -109
  37. package/dist/ui/modules/modals/general-settings/LanguagePicker.svelte +42 -42
  38. package/dist/ui/modules/projects/Pengi.svelte +61 -61
  39. package/dist/ui/modules/projects/ThisWebpage.svelte +10 -8
  40. package/dist/ui/templates/PinyaPageLayout/runes.svelte.d.ts +2 -0
  41. package/dist/ui/{modules/seaweed → templates/SeaweedLayout}/ChumBucket.svelte +1 -1
  42. package/dist/ui/templates/SeaweedLayout/EntryGroup.svelte +65 -88
  43. package/dist/ui/templates/SeaweedLayout/ProjectComponentProps.d.ts +1 -0
  44. package/dist/ui/templates/SeaweedLayout/ProjectGroupConfig.svelte +316 -316
  45. package/dist/ui/templates/SeaweedLayout/SeaweedLayout.md +3 -3
  46. package/dist/ui/templates/SeaweedLayout/SeaweedLayout.svelte +278 -276
  47. package/dist/ui/templates/SeaweedLayout/props.d.ts +2 -2
  48. package/dist/ui/templates/confirmation-modal/component.svelte +46 -46
  49. package/package.json +1 -1
  50. package/src/lib/styles/app.css +9 -14
  51. package/dist/components/navigation_component/index.d.ts +0 -2
  52. package/dist/components/navigation_component/index.js +0 -3
  53. package/dist/ui/elements/pinya-card/component.svelte.d.ts +0 -7
  54. package/dist/ui/elements/pinya-card/index.d.ts +0 -2
  55. package/dist/ui/elements/pinya-card/index.js +0 -2
  56. package/dist/ui/modules/seaweed/index.d.ts +0 -3
  57. package/dist/ui/modules/seaweed/index.js +0 -4
  58. /package/dist/ui/elements/{pinya-card/props.d.ts → PinyaCard/PinyaCardProps.d.ts} +0 -0
  59. /package/dist/ui/elements/{pinya-card/props.js → PinyaCard/PinyaCardProps.js} +0 -0
  60. /package/dist/{components/navigation_component → ui/modules/NavigationMenu}/NavigationControl.svelte.d.ts +0 -0
  61. /package/dist/{components/navigation_component → ui/modules/NavigationMenu}/PageMeta.js +0 -0
  62. /package/dist/ui/{modules/seaweed → templates/SeaweedLayout}/ChumBucket.svelte.d.ts +0 -0
@@ -10,16 +10,25 @@
10
10
 
11
11
  @custom-variant turnip (&:where([data-theme=turnip], [data-theme=turnip] *));
12
12
 
13
+ html {
14
+ --dialog-start-pad: clamp(0em, 5vw, 2em);
15
+ --dialog-box-width: min(calc(54em), calc(100vw - var(--dialog-start-pad) - 2px));
16
+ --dialog-box-height: clamp(15em, 50vw, 18em);
17
+ --fab-margin: 1rem;
18
+ }
19
+
13
20
  .footer-space {
14
21
  width: 100%;
15
22
  height: calc(var(--dialog-box-height) + 4em);
16
23
  }
17
24
 
18
25
  a.dialog-choice {
26
+ font-size: inherit;
19
27
  cursor: url("$pkg/assets/icons/chat-cursor.svg"), auto;
20
28
  }
21
29
 
22
30
  a.external-link {
31
+ font-size: inherit;
23
32
  cursor: url("$pkg/assets/icons/external-link.svg"), auto;
24
33
  }
25
34
 
@@ -37,20 +46,6 @@ a.external-link {
37
46
  background: rgba(var(--color-secondary-500));
38
47
  }
39
48
 
40
- .dialog-box {
41
- background-color: rgb(var(--color-surface-500) / 0.9);
42
- position: fixed;
43
- bottom: 0;
44
- width: var(--dialog-box-width); /*75em + 4em padding*/
45
- height: var(--dialog-box-height);
46
- max-width: calc(100vw - ((var(--fab-margin) * 2) + 4em));
47
- }
48
-
49
- .dark .dialog-box {
50
- background-color: rgb(var(--color-surface-900) / 0.95);
51
- --tw-ring-color: rgb(var(--color-text-400));
52
- /*background-color: red;*/
53
- }
54
49
 
55
50
  @layer base {
56
51
  .game-link-section {
@@ -1,2 +0,0 @@
1
- export { default as NavigationComponent } from "./NavigationComponent.svelte";
2
- export * from "./PageMeta";
@@ -1,3 +0,0 @@
1
- // noinspection JSUnusedGlobalSymbols
2
- export { default as NavigationComponent } from "./NavigationComponent.svelte";
3
- export * from "./PageMeta";
@@ -1,7 +0,0 @@
1
- /**
2
- * When with texts, wrap the text content inside a div so flex wont apply
3
- */
4
- import type { PinyaCardProps } from "./props";
5
- declare const Component: import("svelte").Component<PinyaCardProps, {}, "">;
6
- type Component = ReturnType<typeof Component>;
7
- export default Component;
@@ -1,2 +0,0 @@
1
- export { default as PinyaCard } from "./component.svelte";
2
- export * from "./props";
@@ -1,2 +0,0 @@
1
- export { default as PinyaCard } from "./component.svelte";
2
- export * from "./props";
@@ -1,3 +0,0 @@
1
- export declare const Seaweed: {
2
- ChumBucket: import("svelte").Component<Record<string, never>, {}, "">;
3
- };
@@ -1,4 +0,0 @@
1
- import { default as ChumBucket } from "./ChumBucket.svelte";
2
- export const Seaweed = {
3
- ChumBucket
4
- };