@3birds/midori-ui 0.0.38 → 0.0.40
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.
- package/dist/assets/heart-outline-red.svg +7 -0
- package/dist/components/Card.svelte +2 -2
- package/dist/components/Card.svelte.d.ts +1 -0
- package/dist/components/Header.svelte +4 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
2
|
+
<title>heart-outline</title>
|
|
3
|
+
<path
|
|
4
|
+
fill="#FF637D"
|
|
5
|
+
d="M12.1,18.55L12,18.65L11.89,18.55C7.14,14.24 4,11.39 4,8.5C4,6.5 5.5,5 7.5,5C9.04,5 10.54,6 11.07,7.36H12.93C13.46,6 14.96,5 16.5,5C18.5,5 20,6.5 20,8.5C20,11.39 16.86,14.24 12.1,18.55M16.5,3C14.76,3 13.09,3.81 12,5.08C10.91,3.81 9.24,3 7.5,3C4.42,3 2,5.41 2,8.5C2,12.27 5.4,15.36 10.55,20.03L12,21.35L13.45,20.03C18.6,15.36 22,12.27 22,8.5C22,5.41 19.58,3 16.5,3Z"
|
|
6
|
+
/>
|
|
7
|
+
</svg>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { calendarMonthGraySvg, noImageSvg, StarGraySvg } from '..';
|
|
3
3
|
import type { ContentCasual } from '../types';
|
|
4
4
|
|
|
5
|
-
let { content }: { content: ContentCasual } = $props();
|
|
5
|
+
let { content, searchParams = '' }: { content: ContentCasual; searchParams?: string } = $props();
|
|
6
6
|
|
|
7
7
|
const onErrorImage = (e: Event): void => {
|
|
8
8
|
const target = e.currentTarget as HTMLImageElement;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
};
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
|
-
<a class="card w-full rounded-3xl card-sm" href="/contents/{content.id}">
|
|
14
|
+
<a class="card w-full rounded-3xl card-sm" href="/contents/{content.id}{searchParams}">
|
|
15
15
|
<figure class="aspect-3/2 rounded-3xl">
|
|
16
16
|
<img
|
|
17
17
|
src={content.thumbnail}
|
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
$props();
|
|
6
6
|
</script>
|
|
7
7
|
|
|
8
|
-
<header
|
|
8
|
+
<header
|
|
9
|
+
class="pointer-events-none navbar hidden justify-between py-0 pr-4 pl-2 sm:flex {className}"
|
|
10
|
+
>
|
|
9
11
|
<div class="pointer-events-auto">
|
|
10
|
-
<Btn class="flex w-fit items-center btn-ghost text-2xl font-bold text-primary" href="/"
|
|
12
|
+
<Btn class="flex w-fit items-center btn-ghost px-2 text-2xl font-bold text-primary" href="/"
|
|
11
13
|
>Midori</Btn
|
|
12
14
|
>
|
|
13
15
|
</div>
|
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export { default as faviconSvg } from './assets/favicon.svg';
|
|
|
28
28
|
export { default as fileTreeOutlineSvg } from './assets/file-tree-outline.svg';
|
|
29
29
|
export { default as forestOutlineSvg } from './assets/forest-outline.svg';
|
|
30
30
|
export { default as heartOutlineSvg } from './assets/heart-outline.svg';
|
|
31
|
+
export { default as heartOutlineRedSvg } from './assets/heart-outline-red.svg';
|
|
31
32
|
export { default as homeOutlineSvg } from './assets/home-outline.svg';
|
|
32
33
|
export { default as humanMaleFemaleSvg } from './assets/human-male-female.svg';
|
|
33
34
|
export { default as informationSvg } from './assets/information.svg';
|
package/dist/index.js
CHANGED
|
@@ -29,6 +29,7 @@ export { default as faviconSvg } from './assets/favicon.svg';
|
|
|
29
29
|
export { default as fileTreeOutlineSvg } from './assets/file-tree-outline.svg';
|
|
30
30
|
export { default as forestOutlineSvg } from './assets/forest-outline.svg';
|
|
31
31
|
export { default as heartOutlineSvg } from './assets/heart-outline.svg';
|
|
32
|
+
export { default as heartOutlineRedSvg } from './assets/heart-outline-red.svg';
|
|
32
33
|
export { default as homeOutlineSvg } from './assets/home-outline.svg';
|
|
33
34
|
export { default as humanMaleFemaleSvg } from './assets/human-male-female.svg';
|
|
34
35
|
export { default as informationSvg } from './assets/information.svg';
|
package/dist/types/index.d.ts
CHANGED