negodesign 0.0.28 → 0.0.30

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 (79) hide show
  1. package/dist/assets/lonely-404.mp4 +0 -0
  2. package/dist/components/core/banner/AdCardBanner.svelte +74 -0
  3. package/dist/components/core/banner/AdCardBanner.svelte.d.ts +4 -0
  4. package/dist/components/core/banner/CtaCardBanner.svelte +118 -0
  5. package/dist/components/core/banner/CtaCardBanner.svelte.d.ts +4 -0
  6. package/dist/components/core/banner/NotificationBanner.svelte +95 -0
  7. package/dist/components/core/banner/NotificationBanner.svelte.d.ts +4 -0
  8. package/dist/components/core/banner/types.d.ts +63 -0
  9. package/dist/components/core/banner/types.js +1 -0
  10. package/dist/components/core/card/highlight/01/CardHighlight01.svelte +20 -27
  11. package/dist/components/core/card/highlight/02/CardHighlight02.svelte +18 -27
  12. package/dist/components/core/card/highlight/data.js +1 -4
  13. package/dist/components/core/card/media/01/CardMedia01.svelte +114 -98
  14. package/dist/components/core/card/media/02/CardMedia02.svelte +115 -99
  15. package/dist/components/core/card/media/CardMedia.svelte +10 -9
  16. package/dist/components/core/card/media/CardMedia.svelte.d.ts +1 -0
  17. package/dist/components/core/card/profile/01/CardProfile01.svelte +104 -86
  18. package/dist/components/core/card/profile/02/CardProfile02.svelte +103 -87
  19. package/dist/components/core/card/profile/CardProfile.svelte +8 -7
  20. package/dist/components/core/card/profile/CardProfile.svelte.d.ts +1 -0
  21. package/dist/components/core/card/promotion/CardPromotion.svelte +10 -4
  22. package/dist/components/core/card/shared/CardButton.svelte +38 -23
  23. package/dist/components/core/card/shared/CardButton.svelte.d.ts +2 -1
  24. package/dist/components/core/card/shared/CardDescription.svelte +30 -30
  25. package/dist/components/core/card/shared/CardLogo.svelte +19 -0
  26. package/dist/components/core/card/shared/CardLogo.svelte.d.ts +7 -0
  27. package/dist/components/core/card/shared/CardStarRating.svelte +18 -14
  28. package/dist/components/core/card/shared/CardStarRating.svelte.d.ts +1 -0
  29. package/dist/components/core/card/shared/CardStartPrice.svelte +1 -1
  30. package/dist/components/core/card/shared/CardThumbnailVideo.svelte +210 -148
  31. package/dist/components/core/card/shared/CardThumbnailVideo.svelte.d.ts +1 -0
  32. package/dist/components/core/card/types.d.ts +5 -0
  33. package/dist/components/core/carousel/grid/media/types.d.ts +11 -0
  34. package/dist/components/core/carousel/grid/media/types.js +1 -0
  35. package/dist/components/core/carousel/grid/media/ui/CarouselGridMedia.svelte +49 -0
  36. package/dist/components/core/carousel/grid/media/ui/CarouselGridMedia.svelte.d.ts +4 -0
  37. package/dist/components/core/carousel/grid/profile/types.d.ts +11 -0
  38. package/dist/components/core/carousel/grid/profile/types.js +1 -0
  39. package/dist/components/core/carousel/grid/profile/ui/CarouselGridProfile.svelte +49 -0
  40. package/dist/components/core/carousel/grid/profile/ui/CarouselGridProfile.svelte.d.ts +4 -0
  41. package/dist/components/core/carousel/grid/shared/ui/CarouselGridSlot.svelte +33 -0
  42. package/dist/components/core/carousel/grid/shared/ui/CarouselGridSlot.svelte.d.ts +11 -0
  43. package/dist/components/core/carousel/hero/CarouselHero.svelte +21 -19
  44. package/dist/components/core/carousel/hero/CarouselHero.svelte.d.ts +1 -0
  45. package/dist/components/core/carousel/highlights/types.d.ts +4 -4
  46. package/dist/components/core/carousel/highlights/ui/CarouselHighlights.svelte +4 -22
  47. package/dist/components/core/carousel/promotion/types.d.ts +5 -5
  48. package/dist/components/core/carousel/promotion/ui/CarouselPromotion.svelte +4 -21
  49. package/dist/components/core/carousel/shared/ui/CarouselHeader.svelte +6 -1
  50. package/dist/components/core/carousel/types.d.ts +1 -0
  51. package/dist/components/core/footer/types.d.ts +23 -0
  52. package/dist/components/core/footer/types.js +1 -0
  53. package/dist/components/core/footer/ui/01/Footer01.svelte +76 -0
  54. package/dist/components/core/footer/ui/01/Footer01.svelte.d.ts +4 -0
  55. package/dist/components/core/footer/ui/02/Footer02.svelte +53 -0
  56. package/dist/components/core/footer/ui/02/Footer02.svelte.d.ts +4 -0
  57. package/dist/components/core/footer/ui/Footer.svelte +18 -0
  58. package/dist/components/core/footer/ui/Footer.svelte.d.ts +7 -0
  59. package/dist/components/core/footer/ui/shared/FooterColumn.svelte +18 -0
  60. package/dist/components/core/footer/ui/shared/FooterColumn.svelte.d.ts +4 -0
  61. package/dist/components/core/footer/ui/shared/FooterNewsLetter.svelte +57 -0
  62. package/dist/components/core/footer/ui/shared/FooterNewsLetter.svelte.d.ts +9 -0
  63. package/dist/components/core/footer/ui/shared/FooterSocialIcon.svelte +62 -0
  64. package/dist/components/core/footer/ui/shared/FooterSocialIcon.svelte.d.ts +4 -0
  65. package/dist/components/core/panel/CarouselSlot.svelte +4 -15
  66. package/dist/components/core/panel/CarouselSlot.svelte.d.ts +2 -12
  67. package/dist/components/core/panel/LeftHero.svelte +2 -2
  68. package/dist/components/core/panel/type.d.ts +11 -0
  69. package/dist/components/core/panel/type.js +1 -0
  70. package/dist/globals.css +463 -47
  71. package/dist/i18n/langs/en.d.ts +4 -0
  72. package/dist/i18n/langs/en.js +4 -0
  73. package/dist/i18n/langs/pt.d.ts +4 -0
  74. package/dist/i18n/langs/pt.js +10 -6
  75. package/dist/i18n/translations.d.ts +8 -0
  76. package/dist/index.d.ts +17 -5
  77. package/dist/index.js +17 -5
  78. package/dist/styles/globals.css +1 -1
  79. package/package.json +1 -1
@@ -1,111 +1,127 @@
1
1
  <script lang="ts">
2
- /**
3
- * Card component with a title and content.
4
- * @component
5
- */
6
- import {
7
- InformationCircleIcon,
8
- UserIcon,
9
- } from "@hugeicons/core-free-icons";
10
- import { t } from "../../../../../i18n";
11
- import type { CardMediaProps } from "../../types";
12
- import CardStarRating from "../../shared/CardStarRating.svelte";
13
- import CardDescription from "../../shared/CardDescription.svelte";
14
- import CardTags from "../../shared/CardTags.svelte";
15
- import CardThumbnailVideo from "../../shared/CardThumbnailVideo.svelte";
16
- import CardButton from "../../shared/CardButton.svelte";
17
- import CardFavorite from "../../shared/CardFavorite.svelte";
2
+ /**
3
+ * Card component with a title and content.
4
+ * @component
5
+ */
6
+ import { InformationCircleIcon, UserIcon } from "@hugeicons/core-free-icons";
7
+ import { t } from "../../../../../i18n";
8
+ import type { CardMediaProps } from "../../types";
9
+ import CardStarRating from "../../shared/CardStarRating.svelte";
10
+ import CardDescription from "../../shared/CardDescription.svelte";
11
+ import CardTags from "../../shared/CardTags.svelte";
12
+ import CardThumbnailVideo from "../../shared/CardThumbnailVideo.svelte";
13
+ import CardButton from "../../shared/CardButton.svelte";
14
+ import CardFavorite from "../../shared/CardFavorite.svelte";
15
+ import Skeleton from "../../../../ui/skeleton/skeleton.svelte";
16
+ import CardLogo from "../../shared/CardLogo.svelte";
18
17
 
19
- let {
20
- id,
21
- tags,
22
- logo,
23
- title,
24
- content,
25
- imageUrl,
26
- videoUrl,
27
- //videoAction,
28
- startNumber,
29
- startMax = 5,
30
- isImageButtonMaximized = false,
31
- isVideoButtonMaximized = false,
32
- isTagBorderBottom = false,
33
- isFavorite = false,
34
- buttonProfileClass,
35
- buttonDetailsClass,
36
- onFavoriteClick,
37
- onButtonProfile,
38
- onButtonDetails,
39
- }: CardMediaProps = $props();
18
+ let {
19
+ id,
20
+ tags,
21
+ logo,
22
+ title,
23
+ content,
24
+ imageUrl,
25
+ videoUrl,
26
+ //videoAction,
27
+ startNumber,
28
+ startMax = 5,
29
+ isImageButtonMaximized = false,
30
+ isVideoButtonMaximized = false,
31
+ isTagBorderBottom = false,
32
+ isFavorite = false,
33
+ isLoading = false,
34
+ buttonProfileClass,
35
+ buttonDetailsClass,
36
+ onFavoriteClick,
37
+ onButtonProfile,
38
+ onButtonDetails,
39
+ }: CardMediaProps = $props();
40
40
 
41
- let isShowButtonProfileAndDetails = $derived(
42
- onButtonProfile != null && onButtonDetails != null,
43
- );
41
+ let isShowButtonProfileAndDetails = $derived(
42
+ onButtonProfile != null && onButtonDetails != null,
43
+ );
44
44
  </script>
45
45
 
46
46
  <article
47
- class="border border-gray-300 dark:border-gray-700 bg-gray-100 dark:bg-transparent rounded-lg p-5 space-y-1 md:space-y-3"
47
+ class="border border-gray-300 dark:border-gray-700 bg-gray-100 dark:bg-transparent rounded-lg p-5 space-y-1 md:space-y-3"
48
48
  >
49
- <div class="flex justify-between items-center w-full mb-4">
50
- <div class="flex justify-start gap-2">
51
- <div class="flex justify-center items-center">
52
- {#if logo}
53
- <img src={logo} alt={logo} class="w-12 h-12 rounded-lg" />
54
- {/if}
55
- </div>
56
- <div class="flex-col">
57
- {#if title}
58
- <div class="text-center font-bold text-lg">{title}</div>
59
- {/if}
60
- {#if startNumber}
61
- <CardStarRating {startNumber} {startMax} />
62
- {/if}
63
- </div>
64
- </div>
65
- <div class="flex justify-end items-center">
66
- <CardFavorite
67
- {id}
68
- {isFavorite}
69
- onFavoriteClick={() => onFavoriteClick!(id)}
70
- />
71
- </div>
72
- </div>
49
+ <div class="flex justify-between items-center w-full mb-4">
50
+ <div class="flex justify-start gap-2">
51
+ <div class="flex justify-center items-center">
52
+ <CardLogo {logo} {isLoading} />
53
+ </div>
54
+ <div class="flex-col">
55
+ {#if title}
56
+ <div class="text-center font-bold text-lg">{title}</div>
57
+ {:else if isLoading}
58
+ <Skeleton class="w-40 h-5 rounded-lg bg-gray-400 mb-0.5" />
59
+ {/if}
73
60
 
74
- <div class="h-15 my-2">
75
- <CardDescription {content} />
61
+ {#if startNumber}
62
+ <CardStarRating {startNumber} {startMax} {isLoading} />
63
+ {:else if isLoading}
64
+ <Skeleton class="w-20 h-4 rounded-lg bg-gray-300 mt-0.5" />
65
+ {/if}
66
+ </div>
67
+ </div>
68
+ <div class="flex justify-end items-center">
69
+ <CardFavorite
70
+ {id}
71
+ {isFavorite}
72
+ {isLoading}
73
+ onFavoriteClick={() => onFavoriteClick!(id)}
74
+ />
76
75
  </div>
76
+ </div>
77
77
 
78
- <CardTags className="my-6" tags={tags ?? []} {isTagBorderBottom} />
78
+ <div class="h-15 my-2">
79
+ <CardDescription {content} {isLoading} />
80
+ </div>
79
81
 
80
- <CardThumbnailVideo
81
- {imageUrl}
82
- {videoUrl}
83
- {isImageButtonMaximized}
84
- {isVideoButtonMaximized}
85
- />
82
+ <CardTags
83
+ className="my-6"
84
+ tags={tags ?? []}
85
+ {isTagBorderBottom}
86
+ {isLoading}
87
+ />
86
88
 
87
- {#if onButtonProfile || onButtonDetails}
88
- <div class="flex justify-center items-center gap-2 mt-4 w-full">
89
- {#if onButtonProfile}
90
- <CardButton
91
- {id}
92
- icon={UserIcon}
93
- className={buttonProfileClass}
94
- text={$t("label.view.profile")}
95
- onClick={onButtonProfile}
96
- isFlex={isShowButtonProfileAndDetails}
97
- />
98
- {/if}
99
- {#if onButtonDetails}
100
- <CardButton
101
- {id}
102
- icon={InformationCircleIcon}
103
- className={buttonDetailsClass}
104
- text={$t("label.more.details")}
105
- onClick={onButtonDetails}
106
- isFlex={isShowButtonProfileAndDetails}
107
- />
108
- {/if}
109
- </div>
110
- {/if}
89
+ <CardThumbnailVideo
90
+ {imageUrl}
91
+ {videoUrl}
92
+ {isImageButtonMaximized}
93
+ {isVideoButtonMaximized}
94
+ {isLoading}
95
+ />
96
+
97
+ {#if onButtonProfile || onButtonDetails}
98
+ <div class="flex justify-center items-center gap-2 mt-4 w-full">
99
+ {#if onButtonProfile}
100
+ <CardButton
101
+ {id}
102
+ icon={UserIcon}
103
+ className={buttonProfileClass}
104
+ text={$t("label.view.profile")}
105
+ onClick={onButtonProfile}
106
+ isFlex={isShowButtonProfileAndDetails}
107
+ {isLoading}
108
+ />
109
+ {:else if isLoading}
110
+ <Skeleton class="w-20 h-4 rounded-lg bg-gray-400 mt-0.5" />
111
+ {/if}
112
+ {#if onButtonDetails}
113
+ <CardButton
114
+ {id}
115
+ icon={InformationCircleIcon}
116
+ className={buttonDetailsClass}
117
+ text={$t("label.more.details")}
118
+ onClick={onButtonDetails}
119
+ isFlex={isShowButtonProfileAndDetails}
120
+ {isLoading}
121
+ />
122
+ {:else if isLoading}
123
+ <Skeleton class="w-20 h-4 rounded-lg bg-gray-400 mt-0.5" />
124
+ {/if}
125
+ </div>
126
+ {/if}
111
127
  </article>
@@ -1,110 +1,126 @@
1
1
  <script lang="ts">
2
- /**
3
- * Card component with a title and content.
4
- * @component
5
- */
6
- import {
7
- InformationCircleIcon,
8
- UserIcon,
9
- } from "@hugeicons/core-free-icons";
10
- import { t } from "../../../../../i18n";
11
- import type { CardMediaProps } from "../../types";
12
- import CardStarRating from "../../shared/CardStarRating.svelte";
13
- import CardTags from "../../shared/CardTags.svelte";
14
- import CardDescription from "../../shared/CardDescription.svelte";
15
- import CardThumbnailVideo from "../../shared/CardThumbnailVideo.svelte";
16
- import CardButton from "../../shared/CardButton.svelte";
17
- import CardFavorite from "../../shared/CardFavorite.svelte";
18
- let {
19
- id,
20
- tags,
21
- logo,
22
- title,
23
- content,
24
- className,
25
- imageUrl,
26
- videoUrl,
27
- //videoAction,
28
- startNumber,
29
- startMax = 5,
30
- isImageButtonMaximized = false,
31
- isVideoButtonMaximized = false,
32
- isTagBorderBottom = false,
33
- isFavorite = false,
34
- buttonProfileClass,
35
- buttonDetailsClass,
36
- onFavoriteClick,
37
- onButtonProfile,
38
- onButtonDetails,
39
- }: CardMediaProps = $props();
2
+ /**
3
+ * Card component with a title and content.
4
+ * @component
5
+ */
6
+ import { InformationCircleIcon, UserIcon } from "@hugeicons/core-free-icons";
7
+ import { t } from "../../../../../i18n";
8
+ import type { CardMediaProps } from "../../types";
9
+ import CardStarRating from "../../shared/CardStarRating.svelte";
10
+ import CardTags from "../../shared/CardTags.svelte";
11
+ import CardDescription from "../../shared/CardDescription.svelte";
12
+ import CardThumbnailVideo from "../../shared/CardThumbnailVideo.svelte";
13
+ import CardButton from "../../shared/CardButton.svelte";
14
+ import CardFavorite from "../../shared/CardFavorite.svelte";
15
+ import Skeleton from "../../../../ui/skeleton/skeleton.svelte";
16
+ import CardLogo from "../../shared/CardLogo.svelte";
17
+ let {
18
+ id,
19
+ tags,
20
+ logo,
21
+ title,
22
+ content,
23
+ className,
24
+ imageUrl,
25
+ videoUrl,
26
+ //videoAction,
27
+ startNumber,
28
+ startMax = 5,
29
+ isImageButtonMaximized = false,
30
+ isVideoButtonMaximized = false,
31
+ isTagBorderBottom = false,
32
+ isFavorite = false,
33
+ isLoading = false,
34
+ buttonProfileClass,
35
+ buttonDetailsClass,
36
+ onFavoriteClick,
37
+ onButtonProfile,
38
+ onButtonDetails,
39
+ }: CardMediaProps = $props();
40
40
 
41
- let isShowButtonProfileAndDetails = $derived(
42
- onButtonProfile != null && onButtonDetails != null,
43
- );
41
+ let isShowButtonProfileAndDetails = $derived(
42
+ onButtonProfile != null && onButtonDetails != null,
43
+ );
44
44
  </script>
45
45
 
46
46
  <article
47
- class="border border-gray-300 dark:border-gray-700 bg-gray-100 dark:bg-transparent rounded-lg p-5 space-y-1 md:space-y-3 {className}"
47
+ class="border border-gray-300 dark:border-gray-700 bg-gray-100 dark:bg-transparent rounded-lg p-5 space-y-1 md:space-y-3 {className}"
48
48
  >
49
- <div class="flex flex-col justify-center items-center w-full relative">
50
- <div class="flex flex-col justify-start gap-2">
51
- <div class="flex justify-center items-center">
52
- {#if logo}
53
- <img src={logo} alt={logo} class="w-12 h-12 rounded-lg" />
54
- {/if}
55
- </div>
56
- <div class="flex flex-col justify-center items-center">
57
- {#if title}
58
- <div class="text-center font-bold text-lg">{title}</div>
59
- {/if}
60
- {#if startNumber}
61
- <CardStarRating {startNumber} {startMax} />
62
- {/if}
63
- </div>
64
- </div>
65
- <div class="flex justify-end items-center absolute top-0 right-0">
66
- <CardFavorite
67
- {id}
68
- {isFavorite}
69
- onFavoriteClick={() => onFavoriteClick!(id)}
70
- />
71
- </div>
72
- <CardTags className="my-4" tags={tags ?? []} {isTagBorderBottom} />
73
- </div>
49
+ <div class="flex flex-col justify-center items-center w-full relative">
50
+ <div class="flex flex-col justify-start gap-2">
51
+ <div class="flex justify-center items-center">
52
+ <CardLogo {logo} {isLoading} />
53
+ </div>
54
+ <div class="flex flex-col justify-center items-center">
55
+ {#if title}
56
+ <div class="text-center font-bold text-lg">{title}</div>
57
+ {:else if isLoading}
58
+ <Skeleton class="w-40 h-5 rounded-lg bg-gray-400 mb-0.5" />
59
+ {/if}
74
60
 
75
- <div class="h-15 mb-8">
76
- <CardDescription {content} />
61
+ {#if startNumber}
62
+ <CardStarRating {startNumber} {startMax} {isLoading} />
63
+ {:else if isLoading}
64
+ <Skeleton class="w-20 h-4 rounded-lg bg-gray-300 mt-0.5" />
65
+ {/if}
66
+ </div>
77
67
  </div>
78
-
79
- <CardThumbnailVideo
80
- {imageUrl}
81
- {videoUrl}
82
- {isImageButtonMaximized}
83
- {isVideoButtonMaximized}
68
+ <div class="flex justify-end items-center absolute top-0 right-0">
69
+ <CardFavorite
70
+ {id}
71
+ {isFavorite}
72
+ onFavoriteClick={() => onFavoriteClick!(id)}
73
+ {isLoading}
74
+ />
75
+ </div>
76
+ <CardTags
77
+ className="my-2"
78
+ tags={tags ?? []}
79
+ {isTagBorderBottom}
80
+ {isLoading}
84
81
  />
82
+ </div>
85
83
 
86
- {#if onButtonProfile || onButtonDetails}
87
- <div class="flex justify-center items-center gap-2 mt-4 w-full">
88
- {#if onButtonProfile}
89
- <CardButton
90
- {id}
91
- icon={UserIcon}
92
- className={buttonProfileClass}
93
- text={$t("label.view.profile")}
94
- onClick={onButtonProfile}
95
- isFlex={isShowButtonProfileAndDetails}
96
- />
97
- {/if}
98
- {#if onButtonDetails}
99
- <CardButton
100
- {id}
101
- icon={InformationCircleIcon}
102
- className={buttonDetailsClass}
103
- text={$t("label.more.details")}
104
- onClick={onButtonDetails}
105
- isFlex={isShowButtonProfileAndDetails}
106
- />
107
- {/if}
108
- </div>
109
- {/if}
84
+ <div class="h-15 mb-4">
85
+ <CardDescription {content} {isLoading} />
86
+ </div>
87
+
88
+ <CardThumbnailVideo
89
+ {imageUrl}
90
+ {videoUrl}
91
+ {isImageButtonMaximized}
92
+ {isVideoButtonMaximized}
93
+ {isLoading}
94
+ />
95
+
96
+ {#if onButtonProfile || onButtonDetails}
97
+ <div class="flex justify-center items-center gap-2 mt-4 w-full">
98
+ {#if onButtonProfile}
99
+ <CardButton
100
+ {id}
101
+ icon={UserIcon}
102
+ className={buttonProfileClass}
103
+ text={$t("label.view.profile")}
104
+ onClick={onButtonProfile}
105
+ isFlex={isShowButtonProfileAndDetails}
106
+ {isLoading}
107
+ />
108
+ {:else if isLoading}
109
+ <Skeleton class="w-20 h-4 rounded-lg bg-gray-400 mt-0.5" />
110
+ {/if}
111
+ {#if onButtonDetails}
112
+ <CardButton
113
+ {id}
114
+ icon={InformationCircleIcon}
115
+ className={buttonDetailsClass}
116
+ text={$t("label.more.details")}
117
+ onClick={onButtonDetails}
118
+ isFlex={isShowButtonProfileAndDetails}
119
+ {isLoading}
120
+ />
121
+ {:else if isLoading}
122
+ <Skeleton class="w-20 h-4 rounded-lg bg-gray-400 mt-0.5" />
123
+ {/if}
124
+ </div>
125
+ {/if}
110
126
  </article>
@@ -1,17 +1,18 @@
1
1
  <script lang="ts">
2
- import type { CardMediaProps } from "../types";
3
- import CardMedia01 from "./01/CardMedia01.svelte";
4
- import CardMedia02 from "./02/CardMedia02.svelte";
2
+ import type { CardMediaProps } from "../types";
3
+ import CardMedia01 from "./01/CardMedia01.svelte";
4
+ import CardMedia02 from "./02/CardMedia02.svelte";
5
5
 
6
- type Props = {
7
- variant?: 1 | 2;
8
- };
6
+ type Props = {
7
+ variant?: 1 | 2;
8
+ isLoading?: boolean;
9
+ };
9
10
 
10
- let { variant, ...restProps }: CardMediaProps & Props = $props();
11
+ let { variant, isLoading, ...restProps }: CardMediaProps & Props = $props();
11
12
  </script>
12
13
 
13
14
  {#if variant === 2}
14
- <CardMedia02 {...restProps} />
15
+ <CardMedia02 {...restProps} {isLoading} />
15
16
  {:else}
16
- <CardMedia01 {...restProps} />
17
+ <CardMedia01 {...restProps} {isLoading} />
17
18
  {/if}
@@ -1,6 +1,7 @@
1
1
  import type { CardMediaProps } from "../types";
2
2
  type Props = {
3
3
  variant?: 1 | 2;
4
+ isLoading?: boolean;
4
5
  };
5
6
  type $$ComponentProps = CardMediaProps & Props;
6
7
  declare const CardMedia: import("svelte").Component<$$ComponentProps, {}, "">;