@3birds/midori-ui 0.0.43 → 0.0.45
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/chevron-left.svg +1 -0
- package/dist/assets/chevron-right.svg +1 -0
- package/dist/assets/export-variant.svg +1 -0
- package/dist/components/Btn.svelte +10 -1
- package/dist/components/Btn.svelte.d.ts +1 -0
- package/dist/components/Filter.svelte +1 -1
- package/dist/constants/index.d.ts +3 -2
- package/dist/index.d.ts +4 -1
- package/dist/index.js +4 -1
- package/package.json +5 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z" /></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z" /></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="currentColor" d="M12,1L8,5H11V14H13V5H16M18,23H6C4.89,23 4,22.1 4,21V9A2,2 0 0,1 6,7H9V9H6V21H18V9H15V7H18A2,2 0 0,1 20,9V21A2,2 0 0,1 18,23Z" /></svg>
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
let {
|
|
5
5
|
type = 'button',
|
|
6
6
|
class: className,
|
|
7
|
+
style,
|
|
7
8
|
loading,
|
|
8
9
|
disabled,
|
|
9
10
|
href,
|
|
@@ -13,6 +14,7 @@
|
|
|
13
14
|
}: {
|
|
14
15
|
type?: BtnType;
|
|
15
16
|
class?: string;
|
|
17
|
+
style?: string;
|
|
16
18
|
loading?: boolean;
|
|
17
19
|
disabled?: boolean;
|
|
18
20
|
href?: string;
|
|
@@ -24,6 +26,7 @@
|
|
|
24
26
|
|
|
25
27
|
{#if href}
|
|
26
28
|
<a
|
|
29
|
+
{style}
|
|
27
30
|
{href}
|
|
28
31
|
{target}
|
|
29
32
|
class="btn rounded-full {className}"
|
|
@@ -34,7 +37,13 @@
|
|
|
34
37
|
{@render children()}
|
|
35
38
|
</a>
|
|
36
39
|
{:else}
|
|
37
|
-
<button
|
|
40
|
+
<button
|
|
41
|
+
{type}
|
|
42
|
+
{style}
|
|
43
|
+
class="btn rounded-full {className}"
|
|
44
|
+
disabled={loading || disabled}
|
|
45
|
+
{onclick}
|
|
46
|
+
>
|
|
38
47
|
{#if loading}
|
|
39
48
|
<Loading />
|
|
40
49
|
{:else}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<p class="text-sm text-base-content/60">絞り込み:</p>
|
|
17
17
|
{#each items as item}
|
|
18
18
|
<input
|
|
19
|
-
class="btn m-0.5 rounded-full
|
|
19
|
+
class="btn m-0.5 rounded-full btn-sm"
|
|
20
20
|
type="checkbox"
|
|
21
21
|
name="frameworks"
|
|
22
22
|
aria-label={item.label}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { PriorityChoice } from '../types';
|
|
2
|
+
import type { PointExpression } from 'leaflet';
|
|
2
3
|
export declare const MAP_ATTRIBUTION: string;
|
|
3
|
-
export declare const MAP_DEFAULT_ICON_SIZE:
|
|
4
|
-
export declare const MAP_DEFAULT_ICON_ANCHOR:
|
|
4
|
+
export declare const MAP_DEFAULT_ICON_SIZE: PointExpression;
|
|
5
|
+
export declare const MAP_DEFAULT_ICON_ANCHOR: PointExpression;
|
|
5
6
|
export declare const MAP_MAX_ZOOM: number;
|
|
6
7
|
export declare const MAP_DEFAULT_LATITUDE: number;
|
|
7
8
|
export declare const MAP_DEFAULT_LONGITUDE: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ export { default as alertSvg } from './assets/alert.svg';
|
|
|
16
16
|
export { default as calendarMonthSvg } from './assets/calendar-month.svg';
|
|
17
17
|
export { default as calendarMonthGraySvg } from './assets/calendar-month-gray.svg';
|
|
18
18
|
export { default as checkCircleSvg } from './assets/check-circle.svg';
|
|
19
|
+
export { default as chevronLeft } from './assets/chevron-left.svg';
|
|
20
|
+
export { default as chevronRight } from './assets/chevron-right.svg';
|
|
19
21
|
export { default as clipboardTextOutlineSvg } from './assets/clipboard-text-outline.svg';
|
|
20
22
|
export { default as closeCircleSvg } from './assets/close-circle.svg';
|
|
21
23
|
export { default as closeSvg } from './assets/close.svg';
|
|
@@ -23,6 +25,7 @@ export { default as cogOutlineSvg } from './assets/cog-outline.svg';
|
|
|
23
25
|
export { default as crosshairsGpsSvg } from './assets/crosshairs-gps.svg';
|
|
24
26
|
export { default as deleteSvg } from './assets/delete.svg';
|
|
25
27
|
export { default as emailOutlineSvg } from './assets/email-outline.svg';
|
|
28
|
+
export { default as exportVariant } from './assets/export-variant.svg';
|
|
26
29
|
export { default as faceAgentSvg } from './assets/face-agent.svg';
|
|
27
30
|
export { default as faceManSvg } from './assets/face-man.svg';
|
|
28
31
|
export { default as faceManWhiteSvg } from './assets/face-man-white.svg';
|
|
@@ -247,6 +250,6 @@ export { authState } from './auth.svelte.ts';
|
|
|
247
250
|
export * as firebase from './auth';
|
|
248
251
|
export { auth } from './firebase';
|
|
249
252
|
export * as modal from './modals-context.ts';
|
|
250
|
-
export *
|
|
253
|
+
export * from './utils/index.ts';
|
|
251
254
|
export { MAP_ATTRIBUTION, MAP_DEFAULT_ICON_SIZE, PRIORITIES, MAP_DEFAULT_ICON_ANCHOR, MAP_MAX_ZOOM, MAP_DEFAULT_LATITUDE, MAP_DEFAULT_LONGITUDE, PRIORITIES_WITHOUT_LOG, PREFECTURE_SVG, POI_ICON } from './constants/index.ts';
|
|
252
255
|
export type { BtnType, InputType, AlertType, AlertState, BreadcrumbsItem, FilterItem, Priority, PriorityChoice, ModalsContext, Data, ContentAdditionalInfo, ContentAdmin, ContentImage, ContentReview, ContentMinimal, ContentCasual, ContentFormal, ContentGeo, Dashboard, DashboardPref } from './types/index.ts';
|
package/dist/index.js
CHANGED
|
@@ -17,6 +17,8 @@ export { default as alertSvg } from './assets/alert.svg';
|
|
|
17
17
|
export { default as calendarMonthSvg } from './assets/calendar-month.svg';
|
|
18
18
|
export { default as calendarMonthGraySvg } from './assets/calendar-month-gray.svg';
|
|
19
19
|
export { default as checkCircleSvg } from './assets/check-circle.svg';
|
|
20
|
+
export { default as chevronLeft } from './assets/chevron-left.svg';
|
|
21
|
+
export { default as chevronRight } from './assets/chevron-right.svg';
|
|
20
22
|
export { default as clipboardTextOutlineSvg } from './assets/clipboard-text-outline.svg';
|
|
21
23
|
export { default as closeCircleSvg } from './assets/close-circle.svg';
|
|
22
24
|
export { default as closeSvg } from './assets/close.svg';
|
|
@@ -24,6 +26,7 @@ export { default as cogOutlineSvg } from './assets/cog-outline.svg';
|
|
|
24
26
|
export { default as crosshairsGpsSvg } from './assets/crosshairs-gps.svg';
|
|
25
27
|
export { default as deleteSvg } from './assets/delete.svg';
|
|
26
28
|
export { default as emailOutlineSvg } from './assets/email-outline.svg';
|
|
29
|
+
export { default as exportVariant } from './assets/export-variant.svg';
|
|
27
30
|
export { default as faceAgentSvg } from './assets/face-agent.svg';
|
|
28
31
|
export { default as faceManSvg } from './assets/face-man.svg';
|
|
29
32
|
export { default as faceManWhiteSvg } from './assets/face-man-white.svg';
|
|
@@ -248,5 +251,5 @@ export { authState } from "./auth.svelte.js";
|
|
|
248
251
|
export * as firebase from './auth';
|
|
249
252
|
export { auth } from './firebase';
|
|
250
253
|
export * as modal from "./modals-context.js";
|
|
251
|
-
export *
|
|
254
|
+
export * from "./utils/index.js";
|
|
252
255
|
export { MAP_ATTRIBUTION, MAP_DEFAULT_ICON_SIZE, PRIORITIES, MAP_DEFAULT_ICON_ANCHOR, MAP_MAX_ZOOM, MAP_DEFAULT_LATITUDE, MAP_DEFAULT_LONGITUDE, PRIORITIES_WITHOUT_LOG, PREFECTURE_SVG, POI_ICON } from "./constants/index.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@3birds/midori-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.45",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite dev",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"svelte": "^5.0.0",
|
|
29
28
|
"@sveltejs/kit": "^2.0.0",
|
|
30
|
-
"firebase": "^12.0.0",
|
|
31
29
|
"daisyui": "^5.7.38",
|
|
30
|
+
"firebase": "^12.0.0",
|
|
31
|
+
"svelte": "^5.0.0",
|
|
32
32
|
"tailwindcss": "^4.3.0",
|
|
33
33
|
"typescript": "^6.0.3"
|
|
34
34
|
},
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"@sveltejs/package": "^2.5.8",
|
|
40
40
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
|
41
41
|
"@tailwindcss/vite": "^4.3.0",
|
|
42
|
+
"@types/leaflet": "^1.9.22",
|
|
42
43
|
"@types/node": "^24",
|
|
43
44
|
"daisyui": "^5.7.38",
|
|
44
45
|
"eslint": "^10.4.1",
|
|
@@ -56,6 +57,6 @@
|
|
|
56
57
|
"vite": "^8.0.16"
|
|
57
58
|
},
|
|
58
59
|
"dependencies": {
|
|
59
|
-
"firebase": "^12.
|
|
60
|
+
"firebase": "^12.0.0"
|
|
60
61
|
}
|
|
61
62
|
}
|