@3birds/midori-ui 0.0.23 → 0.0.26

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/alert.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { AlertState, AlertType } from './types';
1
+ import type { AlertState, AlertType } from './';
2
2
  declare function close(): void;
3
3
  export declare const alert: {
4
4
  subscribe: (this: void, run: import("svelte/store").Subscriber<AlertState>, invalidate?: () => void) => import("svelte/store").Unsubscriber;
@@ -1,6 +1,5 @@
1
1
  <script lang="ts">
2
- import { fileTreeOutlineSvg } from '..';
3
- import type { BreadcrumbsItem } from '../types';
2
+ import { fileTreeOutlineSvg, type BreadcrumbsItem } from '..';
4
3
 
5
4
  let {
6
5
  items,
@@ -11,7 +10,7 @@
11
10
  } = $props();
12
11
  </script>
13
12
 
14
- <nav class="breadcrumbs text-sm {className}">
13
+ <nav class="breadcrumbs p-0 text-sm {className}">
15
14
  <ul class="flex-wrap items-center">
16
15
  <img src={fileTreeOutlineSvg} alt="パンくずリスト" class="mr-2 size-4" />
17
16
  {#each items as item}
@@ -1,4 +1,4 @@
1
- import type { BreadcrumbsItem } from '../types';
1
+ import { type BreadcrumbsItem } from '..';
2
2
  type $$ComponentProps = {
3
3
  items: BreadcrumbsItem[];
4
4
  class?: string;
@@ -1,6 +1,5 @@
1
1
  <script lang="ts">
2
- import { Loading } from '..';
3
- import type { BtnType } from '../types';
2
+ import { Loading, type BtnType } from '..';
4
3
 
5
4
  let {
6
5
  type = 'button',
@@ -1,4 +1,4 @@
1
- import type { BtnType } from '../types';
1
+ import { type BtnType } from '..';
2
2
  type $$ComponentProps = {
3
3
  type?: BtnType;
4
4
  class?: string;
@@ -9,7 +9,7 @@
9
9
  </script>
10
10
 
11
11
  <div class="fab">
12
- <div tabindex="0" role="button" class="btn btn-circle btn-lg btn-primary">
12
+ <div tabindex="0" role="button" class="btn btn-circle btn-primary btn-xl">
13
13
  {@render dial()}
14
14
  </div>
15
15
  {@render children()}
@@ -1,6 +1,5 @@
1
1
  <script lang="ts">
2
- import { Btn, closeSvg } from '..';
3
- import type { FilterItem } from '../types';
2
+ import { Btn, closeSvg, type FilterItem } from '..';
4
3
 
5
4
  let {
6
5
  value = $bindable(),
@@ -13,7 +12,7 @@
13
12
  } = $props();
14
13
  </script>
15
14
 
16
- <form class="filter my-4 items-center {className}">
15
+ <form class="filter items-center {className}">
17
16
  <p class="text-sm text-base-content/60">絞り込み:</p>
18
17
  {#each items as item}
19
18
  <input
@@ -1,4 +1,4 @@
1
- import type { FilterItem } from '../types';
1
+ import { type FilterItem } from '..';
2
2
  type $$ComponentProps = {
3
3
  value: any[];
4
4
  items: FilterItem[];
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import type { InputType } from '../types';
2
+ import type { InputType } from '..';
3
3
 
4
4
  let {
5
5
  type,
@@ -1,4 +1,4 @@
1
- import type { InputType } from '../types';
1
+ import type { InputType } from '..';
2
2
  type $$ComponentProps = {
3
3
  type: InputType;
4
4
  required?: boolean;
package/dist/index.d.ts CHANGED
@@ -45,3 +45,4 @@ export { authState } from './auth.svelte.ts';
45
45
  export * as firebase from './auth';
46
46
  export { auth } from './firebase';
47
47
  export { PRIORITIES } from './constants/index.ts';
48
+ export type { BtnType, InputType, AlertType, AlertState, BreadcrumbsItem, FilterItem, Priority, PriorityChoice } from './types/index.ts';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3birds/midori-ui",
3
- "version": "0.0.23",
3
+ "version": "0.0.26",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite dev",