@3birds/midori-ui 0.0.31 → 0.0.32

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/index.d.ts CHANGED
@@ -12,7 +12,7 @@ export { default as Pagination } from './components/Pagination.svelte';
12
12
  export { default as accountSvg } from './assets/account.svg';
13
13
  export { default as alertSvg } from './assets/alert.svg';
14
14
  export { default as calendarMonthSvg } from './assets/calendar-month.svg';
15
- export { default as calendarMonthGraySvg } from './assets/calendar-month^gray.svg';
15
+ export { default as calendarMonthGraySvg } from './assets/calendar-month-gray.svg';
16
16
  export { default as checkCircleSvg } from './assets/check-circle.svg';
17
17
  export { default as clipboardTextOutlineSvg } from './assets/clipboard-text-outline.svg';
18
18
  export { default as closeCircleSvg } from './assets/close-circle.svg';
@@ -52,4 +52,4 @@ export * as firebase from './auth';
52
52
  export { auth } from './firebase';
53
53
  export * as modal from './modals-context.ts';
54
54
  export { PRIORITIES } from './constants/index.ts';
55
- export type { BtnType, InputType, AlertType, AlertState, BreadcrumbsItem, FilterItem, Priority, PriorityChoice, ModalsContext, Data, ContentCasual } from './types/index.ts';
55
+ export type { BtnType, InputType, AlertType, AlertState, BreadcrumbsItem, FilterItem, Priority, PriorityChoice, ModalsContext, Data, ContentCasual, Dashboard, DashboardPref } from './types/index.ts';
package/dist/index.js CHANGED
@@ -13,7 +13,7 @@ export { default as Pagination } from './components/Pagination.svelte';
13
13
  export { default as accountSvg } from './assets/account.svg';
14
14
  export { default as alertSvg } from './assets/alert.svg';
15
15
  export { default as calendarMonthSvg } from './assets/calendar-month.svg';
16
- export { default as calendarMonthGraySvg } from './assets/calendar-month^gray.svg';
16
+ export { default as calendarMonthGraySvg } from './assets/calendar-month-gray.svg';
17
17
  export { default as checkCircleSvg } from './assets/check-circle.svg';
18
18
  export { default as clipboardTextOutlineSvg } from './assets/clipboard-text-outline.svg';
19
19
  export { default as closeCircleSvg } from './assets/close-circle.svg';
@@ -20,6 +20,16 @@ export interface PriorityChoice {
20
20
  label: string;
21
21
  value: Priority;
22
22
  }
23
+ export type ModalsContext = {
24
+ openSignin: () => void;
25
+ openSignup: () => void;
26
+ openPassword: () => void;
27
+ };
28
+ export interface Data<T> {
29
+ status: number;
30
+ data?: T;
31
+ message?: string;
32
+ }
23
33
  export interface ContentCasual {
24
34
  id: string;
25
35
  name: string;
@@ -31,13 +41,14 @@ export interface ContentCasual {
31
41
  rate_average: number;
32
42
  schedules: string[];
33
43
  }
34
- export type ModalsContext = {
35
- openSignin: () => void;
36
- openSignup: () => void;
37
- openPassword: () => void;
38
- };
39
- export interface Data<T> {
40
- status: number;
41
- data?: T;
42
- message?: string;
44
+ export interface Dashboard {
45
+ hot_contents: ContentCasual[];
46
+ new_contents: ContentCasual[];
47
+ pickup_contents: ContentCasual[];
48
+ prefs: DashboardPref[];
49
+ }
50
+ export interface DashboardPref {
51
+ ja: string;
52
+ en: string;
53
+ count: number;
43
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3birds/midori-ui",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite dev",