@3birds/midori-ui 0.0.43 → 0.0.44

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.
@@ -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;
@@ -34,7 +36,13 @@
34
36
  {@render children()}
35
37
  </a>
36
38
  {:else}
37
- <button {type} class="btn rounded-full {className}" disabled={loading || disabled} {onclick}>
39
+ <button
40
+ {type}
41
+ {style}
42
+ class="btn rounded-full {className}"
43
+ disabled={loading || disabled}
44
+ {onclick}
45
+ >
38
46
  {#if loading}
39
47
  <Loading />
40
48
  {:else}
@@ -2,6 +2,7 @@ import { type BtnType } from '..';
2
2
  type $$ComponentProps = {
3
3
  type?: BtnType;
4
4
  class?: string;
5
+ style?: string;
5
6
  loading?: boolean;
6
7
  disabled?: boolean;
7
8
  href?: string;
@@ -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 bg-base-100 btn-outline btn-sm"
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: number[];
4
- export declare const MAP_DEFAULT_ICON_ANCHOR: number[];
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
@@ -247,6 +247,6 @@ export { authState } from './auth.svelte.ts';
247
247
  export * as firebase from './auth';
248
248
  export { auth } from './firebase';
249
249
  export * as modal from './modals-context.ts';
250
- export * as util from './utils/index.ts';
250
+ export * from './utils/index.ts';
251
251
  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
252
  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
@@ -248,5 +248,5 @@ export { authState } from "./auth.svelte.js";
248
248
  export * as firebase from './auth';
249
249
  export { auth } from './firebase';
250
250
  export * as modal from "./modals-context.js";
251
- export * as util from "./utils/index.js";
251
+ export * from "./utils/index.js";
252
252
  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.43",
3
+ "version": "0.0.44",
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.19.0"
60
+ "firebase": "^12.0.0"
60
61
  }
61
62
  }