negodesign 0.0.74 → 0.0.75

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 (93) hide show
  1. package/dist/components/pages/security/login/02/ui/LoginCard02.svelte +15 -4
  2. package/dist/components/pages/security/login/03/ui/LoginCard03.svelte +34 -16
  3. package/dist/components/ui/form/Form.svelte +171 -0
  4. package/dist/components/ui/form/Form.svelte.d.ts +4 -0
  5. package/dist/components/ui/form/types.d.ts +78 -0
  6. package/dist/components/ui/form/types.js +1 -0
  7. package/dist/components/ui/form/ui/input-badges.svelte +214 -0
  8. package/dist/components/ui/form/ui/input-badges.svelte.d.ts +14 -0
  9. package/dist/components/ui/form/ui/input-checkbox.svelte +86 -0
  10. package/dist/components/ui/form/ui/input-checkbox.svelte.d.ts +17 -0
  11. package/dist/components/ui/form/ui/input-radio.svelte +82 -0
  12. package/dist/components/ui/form/ui/input-radio.svelte.d.ts +17 -0
  13. package/dist/components/ui/form/ui/input-select.svelte +195 -0
  14. package/dist/components/ui/form/ui/input-select.svelte.d.ts +17 -0
  15. package/dist/components/ui/form/ui/input-textarea.svelte +61 -0
  16. package/dist/components/ui/form/ui/input-textarea.svelte.d.ts +13 -0
  17. package/dist/components/ui/form/ui/input-toggle.svelte +89 -0
  18. package/dist/components/ui/form/ui/input-toggle.svelte.d.ts +11 -0
  19. package/dist/components/ui/modal/badge/index.d.ts +3 -0
  20. package/dist/components/ui/modal/badge/index.js +2 -0
  21. package/dist/components/ui/modal/badge/types.d.ts +35 -0
  22. package/dist/components/ui/modal/badge/types.js +1 -0
  23. package/dist/components/ui/modal/badge/ui/ModalBadgeSelection.svelte +87 -0
  24. package/dist/components/ui/modal/badge/ui/ModalBadgeSelection.svelte.d.ts +4 -0
  25. package/dist/components/ui/modal/core/index.d.ts +3 -0
  26. package/dist/components/ui/modal/core/index.js +2 -0
  27. package/dist/components/ui/modal/core/types.d.ts +82 -0
  28. package/dist/components/ui/modal/core/types.js +1 -0
  29. package/dist/components/ui/modal/core/ui/ModalCore.svelte +129 -0
  30. package/dist/components/ui/modal/core/ui/ModalCore.svelte.d.ts +4 -0
  31. package/dist/components/ui/modal/feedback/index.d.ts +3 -0
  32. package/dist/components/ui/modal/feedback/index.js +2 -0
  33. package/dist/components/ui/modal/feedback/types.d.ts +32 -0
  34. package/dist/components/ui/modal/feedback/types.js +1 -0
  35. package/dist/components/ui/modal/feedback/ui/ModalFeedback.svelte +135 -0
  36. package/dist/components/ui/modal/feedback/ui/ModalFeedback.svelte.d.ts +4 -0
  37. package/dist/components/ui/modal/form/index.d.ts +3 -0
  38. package/dist/components/ui/modal/form/index.js +2 -0
  39. package/dist/components/ui/modal/form/types.d.ts +38 -0
  40. package/dist/components/ui/modal/form/types.js +1 -0
  41. package/dist/components/ui/modal/form/ui/ModalForm.svelte +67 -0
  42. package/dist/components/ui/modal/form/ui/ModalForm.svelte.d.ts +4 -0
  43. package/dist/components/ui/modal/grid/index.d.ts +5 -0
  44. package/dist/components/ui/modal/grid/index.js +4 -0
  45. package/dist/components/ui/modal/grid/types.d.ts +51 -0
  46. package/dist/components/ui/modal/grid/types.js +1 -0
  47. package/dist/components/ui/modal/grid/ui/01/ModalGridSelection01.svelte +83 -0
  48. package/dist/components/ui/modal/grid/ui/01/ModalGridSelection01.svelte.d.ts +4 -0
  49. package/dist/components/ui/modal/grid/ui/02/ModalGridSelection02.svelte +142 -0
  50. package/dist/components/ui/modal/grid/ui/02/ModalGridSelection02.svelte.d.ts +4 -0
  51. package/dist/components/ui/modal/grid/ui/ModalGridSelection.svelte +60 -0
  52. package/dist/components/ui/modal/grid/ui/ModalGridSelection.svelte.d.ts +4 -0
  53. package/dist/components/ui/modal/map/index.d.ts +3 -0
  54. package/dist/components/ui/modal/map/index.js +2 -0
  55. package/dist/components/ui/modal/map/types.d.ts +48 -0
  56. package/dist/components/ui/modal/map/types.js +1 -0
  57. package/dist/components/ui/modal/map/ui/ModalMap.svelte +187 -0
  58. package/dist/components/ui/modal/map/ui/ModalMap.svelte.d.ts +4 -0
  59. package/dist/components/ui/modal/notification/index.d.ts +3 -0
  60. package/dist/components/ui/modal/notification/index.js +2 -0
  61. package/dist/components/ui/modal/notification/types.d.ts +26 -0
  62. package/dist/components/ui/modal/notification/types.js +1 -0
  63. package/dist/components/ui/modal/notification/ui/ModalNotification.svelte +65 -0
  64. package/dist/components/ui/modal/notification/ui/ModalNotification.svelte.d.ts +4 -0
  65. package/dist/components/ui/modal/share/index.d.ts +3 -0
  66. package/dist/components/ui/modal/share/index.js +2 -0
  67. package/dist/components/ui/modal/share/types.d.ts +32 -0
  68. package/dist/components/ui/modal/share/types.js +1 -0
  69. package/dist/components/ui/modal/share/ui/ModalShareSelection.svelte +103 -0
  70. package/dist/components/ui/modal/share/ui/ModalShareSelection.svelte.d.ts +4 -0
  71. package/dist/components/ui/modal/upload/index.d.ts +3 -0
  72. package/dist/components/ui/modal/upload/index.js +2 -0
  73. package/dist/components/ui/modal/upload/types.d.ts +79 -0
  74. package/dist/components/ui/modal/upload/types.js +1 -0
  75. package/dist/components/ui/modal/upload/ui/ModalUpload.svelte +268 -0
  76. package/dist/components/ui/modal/upload/ui/ModalUpload.svelte.d.ts +4 -0
  77. package/dist/components/ui/section/Section01.svelte +90 -0
  78. package/dist/components/ui/section/Section01.svelte.d.ts +4 -0
  79. package/dist/components/ui/section/Section02.svelte +68 -0
  80. package/dist/components/ui/section/Section02.svelte.d.ts +4 -0
  81. package/dist/components/ui/section/Section03.svelte +52 -0
  82. package/dist/components/ui/section/Section03.svelte.d.ts +4 -0
  83. package/dist/components/ui/section/index.d.ts +4 -0
  84. package/dist/components/ui/section/index.js +3 -0
  85. package/dist/components/ui/section/types.d.ts +46 -0
  86. package/dist/components/ui/section/types.js +1 -0
  87. package/dist/docs/components.d.ts +1 -1
  88. package/dist/docs/components.js +882 -0
  89. package/dist/globals.css +443 -0
  90. package/dist/index.d.ts +169 -0
  91. package/dist/index.js +169 -0
  92. package/dist/types/index.d.ts +46 -0
  93. package/package.json +1 -1
@@ -0,0 +1,68 @@
1
+ <script lang="ts">
2
+ import { HugeiconsIcon } from "@hugeicons/svelte";
3
+ import { ArrowRight01Icon } from "@hugeicons/core-free-icons";
4
+ import type { Section02Props } from "./types";
5
+
6
+ let {
7
+ title,
8
+ description,
9
+ image,
10
+ imageAlt,
11
+ features = [],
12
+ titleClass,
13
+ descriptionClass,
14
+ className,
15
+ imageClass,
16
+ }: Section02Props = $props();
17
+ </script>
18
+
19
+ <section class={className}>
20
+ <div class="px-6 py-12 md:px-12 md:py-20">
21
+ <div class="flex flex-col md:flex-row md:items-start gap-8 md:gap-16">
22
+ <div class="flex flex-col gap-8 md:w-1/2">
23
+ <h2
24
+ class="text-3xl md:text-5xl lg:text-6xl font-bold leading-tight {titleClass}"
25
+ >
26
+ {title}
27
+ </h2>
28
+ {#if image}
29
+ <div class="rounded-3xl overflow-hidden">
30
+ <img
31
+ src={image}
32
+ alt={imageAlt ?? title}
33
+ class="w-full h-auto object-cover {imageClass}"
34
+ />
35
+ </div>
36
+ {/if}
37
+ </div>
38
+
39
+ <div class="flex flex-col gap-8 md:w-1/2">
40
+ {#if description}
41
+ <p class="text-sm md:text-base text-gray-600 {descriptionClass}">
42
+ {description}
43
+ </p>
44
+ {/if}
45
+
46
+ <div class="grid grid-cols-1 sm:grid-cols-2 gap-8">
47
+ {#each features as feature, i (i)}
48
+ <div class="flex flex-col gap-3">
49
+ <h3 class="text-lg font-bold">{feature.title}</h3>
50
+ {#if feature.description}
51
+ <p class="text-sm text-gray-500">{feature.description}</p>
52
+ {/if}
53
+ {#if feature.link}
54
+ <a
55
+ href={feature.link}
56
+ class="inline-flex items-center gap-2 text-sm font-semibold mt-2 hover:opacity-80 transition-opacity"
57
+ >
58
+ {feature.linkLabel ?? "Learn More"}
59
+ <HugeiconsIcon icon={ArrowRight01Icon} class="size-4" />
60
+ </a>
61
+ {/if}
62
+ </div>
63
+ {/each}
64
+ </div>
65
+ </div>
66
+ </div>
67
+ </div>
68
+ </section>
@@ -0,0 +1,4 @@
1
+ import type { Section02Props } from "./types";
2
+ declare const Section02: import("svelte").Component<Section02Props, {}, "">;
3
+ type Section02 = ReturnType<typeof Section02>;
4
+ export default Section02;
@@ -0,0 +1,52 @@
1
+ <script lang="ts">
2
+ import { HugeiconsIcon } from "@hugeicons/svelte";
3
+ import type { Section03Props } from "./types";
4
+
5
+ let {
6
+ title,
7
+ description,
8
+ items = [],
9
+ titleClass,
10
+ descriptionClass,
11
+ className,
12
+ }: Section03Props = $props();
13
+ </script>
14
+
15
+ <section class={className}>
16
+ <div class="px-6 py-12 md:px-12 md:py-20">
17
+ <div
18
+ class="flex flex-col md:flex-row md:items-start md:justify-between gap-8 mb-16"
19
+ >
20
+ <h2
21
+ class="text-3xl md:text-5xl lg:text-6xl font-bold leading-tight md:max-w-3xl {titleClass}"
22
+ >
23
+ {title}
24
+ </h2>
25
+ {#if description}
26
+ <p
27
+ class="text-sm md:text-base text-gray-600 md:max-w-sm {descriptionClass}"
28
+ >
29
+ {description}
30
+ </p>
31
+ {/if}
32
+ </div>
33
+
34
+ <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-8">
35
+ {#each items as item, i (i)}
36
+ <div class="flex flex-col gap-4">
37
+ <div class="flex items-center justify-center w-12 h-12">
38
+ {#if typeof item.icon === "string"}
39
+ <i class="text-3xl {item.icon}"></i>
40
+ {:else}
41
+ <HugeiconsIcon icon={item.icon} class="size-8" />
42
+ {/if}
43
+ </div>
44
+ <h3 class="text-lg font-bold">{item.title}</h3>
45
+ {#if item.description}
46
+ <p class="text-sm">{item.description}</p>
47
+ {/if}
48
+ </div>
49
+ {/each}
50
+ </div>
51
+ </div>
52
+ </section>
@@ -0,0 +1,4 @@
1
+ import type { Section03Props } from "./types";
2
+ declare const Section03: import("svelte").Component<Section03Props, {}, "">;
3
+ type Section03 = ReturnType<typeof Section03>;
4
+ export default Section03;
@@ -0,0 +1,4 @@
1
+ export { default as Section01 } from "./Section01.svelte";
2
+ export { default as Section02 } from "./Section02.svelte";
3
+ export { default as Section03 } from "./Section03.svelte";
4
+ export type { Section01Props, Section02Props, Section03Props, SectionCardItem, SectionFeatureItem, } from "./types";
@@ -0,0 +1,3 @@
1
+ export { default as Section01 } from "./Section01.svelte";
2
+ export { default as Section02 } from "./Section02.svelte";
3
+ export { default as Section03 } from "./Section03.svelte";
@@ -0,0 +1,46 @@
1
+ import type { IconSvgElement } from "@hugeicons/svelte";
2
+ export interface SectionCardItem {
3
+ id?: string | number;
4
+ title: string;
5
+ description?: string;
6
+ icon: string | IconSvgElement;
7
+ isActive?: boolean;
8
+ }
9
+ export interface SectionFeatureItem {
10
+ id?: string | number;
11
+ title: string;
12
+ description?: string;
13
+ link?: string;
14
+ linkLabel?: string;
15
+ }
16
+ export interface Section01Props {
17
+ title?: string;
18
+ description?: string;
19
+ items?: SectionCardItem[];
20
+ selectedKey?: string | number;
21
+ titleClass?: string;
22
+ descriptionClass?: string;
23
+ className?: string;
24
+ onSelect?: (id: string | number) => void;
25
+ onPrev?: () => void;
26
+ onNext?: () => void;
27
+ }
28
+ export interface Section02Props {
29
+ title?: string;
30
+ description?: string;
31
+ image?: string;
32
+ imageAlt?: string;
33
+ features?: SectionFeatureItem[];
34
+ titleClass?: string;
35
+ descriptionClass?: string;
36
+ className?: string;
37
+ imageClass?: string;
38
+ }
39
+ export interface Section03Props {
40
+ title?: string;
41
+ description?: string;
42
+ items?: SectionCardItem[];
43
+ titleClass?: string;
44
+ descriptionClass?: string;
45
+ className?: string;
46
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -21,7 +21,7 @@ export interface DocComponent {
21
21
  examples: DocExample[];
22
22
  props: DocProp[];
23
23
  }
24
- export declare const categories: readonly ["Navigation", "Hero", "Banners", "Cards", "Carousels", "Item Grid", "Footer", "Admin Panel", "Login / Security", "Full Pages"];
24
+ export declare const categories: readonly ["Navigation", "Hero", "Sections", "Banners", "Cards", "Carousels", "Item Grid", "Tabs", "Form Inputs", "Forms", "Modals", "Empty States", "Footer", "Admin Panel", "Login / Security", "Full Pages"];
25
25
  export declare const components: DocComponent[];
26
26
  export declare function getComponent(slug: string): DocComponent | undefined;
27
27
  export declare function getComponentsByCategory(category: string): DocComponent[];