@lauravivan/notion-portfolio 1.1.0 → 1.1.2

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.
@@ -1,11 +1,9 @@
1
1
  import { PageInfo } from '../../@types';
2
- import { Component } from 'vue';
3
2
  type __VLS_Props = {
4
- hideModal: () => void;
5
- addModalListener: () => void;
3
+ hideMainModal: () => void;
4
+ addMainModalListener: () => void;
6
5
  provideName: string;
7
6
  page: PageInfo;
8
- component: Component;
9
7
  };
10
8
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
9
  export default _default;
@@ -0,0 +1,12 @@
1
+ type __VLS_Props = {
2
+ hideSettingsModal: () => void;
3
+ addSettingsModalListener: () => void;
4
+ menuProvider: string;
5
+ modalStyles: {
6
+ top: string;
7
+ right: string;
8
+ };
9
+ pageId: string;
10
+ };
11
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
12
+ export default _default;
@@ -17,7 +17,7 @@ declare enum Icons {
17
17
  code = "eva:code-outline",
18
18
  link = "eva:link-outline",
19
19
  add = "eva:plus-outline",
20
- expand = "eva:expand-outline",
20
+ expand = "material-symbols:expand-content-rounded",
21
21
  clock = "eva:clock-fill",
22
22
  list = "eva:list-outline",
23
23
  close = "eva:close-outline",
@@ -1,8 +1,8 @@
1
1
  export { Aside, Header, Tabs } from './components';
2
- export { Bookmark, Breadcrumb, BulletItem, BulletList, Callout, Column, Database, Divider, Empty, Heading, Image, LinkMention, Loader, MainModalView, Modal, Text, ToDoItem, ToDoList, TextHighlight, Link, Columns, } from './@client/components';
2
+ export { Bookmark, Breadcrumb, BulletItem, BulletList, Callout, Column, Database, Divider, Empty, Heading, Image, LinkMention, Loader, Text, ToDoItem, ToDoList, TextHighlight, Link, Columns, ToggleList, } from './@client/components';
3
3
  export { isTouchDevice } from './util';
4
4
  export { MainLayout } from './layouts';
5
5
  export { NotFoundPage } from './pages';
6
6
  export { useStore, piniaInstance } from './store';
7
- export { useAside, useDisplay, useModal, useToggle } from './hooks';
7
+ export { useAside, useDisplay } from './hooks';
8
8
  export type { PageInfo, IMetadata } from './@types';
@@ -194,13 +194,12 @@ declare const useStore: import('pinia').Store<"global", State, {
194
194
  };
195
195
  isAsideOpen: boolean;
196
196
  } & import('pinia').PiniaCustomStateProperties<State>) => {
197
- settings: import('../util/local-storage/types').Settings;
198
- created: Date | null;
199
- } | {
200
- settings: {
201
- fontFamily: string;
202
- fontSize: string;
203
- pageSize: string;
197
+ [x: string]: {
198
+ settings: {
199
+ fontFamily: string;
200
+ fontSize: string;
201
+ pageSize: string;
202
+ };
204
203
  };
205
204
  } | undefined;
206
205
  getActivePage: (state: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lauravivan/notion-portfolio",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "A Notion-based portfolio",
5
5
  "type": "module",
6
6
  "main": "./dist/index.es.js",