├── .npmrc ├── site ├── .gitignore ├── public │ ├── favicon.png │ ├── images │ │ ├── flat-dark.png │ │ ├── flat-light.png │ │ ├── bootstrap-dark.png │ │ ├── dynamic-toast.gif │ │ ├── bootstrap-light.png │ │ ├── github.svg │ │ └── logo.svg │ ├── global.css │ ├── index.html │ ├── favicon.svg │ └── prism-vsc-theme.css ├── postcss.config.js ├── src │ ├── styles │ │ └── vars.scss │ ├── main.js │ ├── stores │ │ └── isXs.js │ ├── components │ │ ├── Tailwind.svelte │ │ ├── Code.svelte │ │ ├── Link.svelte │ │ ├── Button.svelte │ │ ├── MenuItem.svelte │ │ ├── Sidebar.svelte │ │ └── Table.svelte │ ├── pages │ │ ├── BootstrapToastDocs.svelte │ │ ├── CustomToastDocs.svelte │ │ ├── FlatToastDocs.svelte │ │ ├── StoreDocs.svelte │ │ ├── ToastContainerDocs.svelte │ │ ├── ToastDocs.svelte │ │ └── Demo.svelte │ └── App.svelte ├── babel.config.json ├── server.js ├── tailwind.config.js ├── package.json ├── rollup.config.js └── README.md ├── .vscode ├── extensions.json └── settings.json ├── .gitignore ├── types ├── index.d.ts ├── FlatToast.d.ts ├── BootstrapToast.d.ts ├── common.d.ts ├── ToastContainer.d.ts └── toasts.d.ts ├── src ├── index.js ├── toasts.js ├── ToastContainer.svelte ├── FlatToast.svelte └── BootstrapToast.svelte ├── LICENSE ├── rollup.config.js ├── package.json ├── COMPONENT_API.json ├── COMPONENT_INDEX.md ├── README.md └── yarn.lock /.npmrc: -------------------------------------------------------------------------------- 1 | # registry=http://localhost:4873 -------------------------------------------------------------------------------- /site/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /public/build/ 3 | 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["svelte.svelte-vscode"] 3 | } 4 | -------------------------------------------------------------------------------- /site/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mzohaibqc/svelte-toasts/HEAD/site/public/favicon.png -------------------------------------------------------------------------------- /site/public/images/flat-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mzohaibqc/svelte-toasts/HEAD/site/public/images/flat-dark.png -------------------------------------------------------------------------------- /site/postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /site/public/images/flat-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mzohaibqc/svelte-toasts/HEAD/site/public/images/flat-light.png -------------------------------------------------------------------------------- /site/public/images/bootstrap-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mzohaibqc/svelte-toasts/HEAD/site/public/images/bootstrap-dark.png -------------------------------------------------------------------------------- /site/public/images/dynamic-toast.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mzohaibqc/svelte-toasts/HEAD/site/public/images/dynamic-toast.gif -------------------------------------------------------------------------------- /site/public/images/bootstrap-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mzohaibqc/svelte-toasts/HEAD/site/public/images/bootstrap-light.png -------------------------------------------------------------------------------- /site/src/styles/vars.scss: -------------------------------------------------------------------------------- 1 | $st-success-color: #16a34a; 2 | $st-info-color: #0284c7; 3 | $st-warning-color: #ca8a04; 4 | $st-error-color: #e11d48; 5 | -------------------------------------------------------------------------------- /site/src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte'; 2 | 3 | const app = new App({ 4 | target: document.body, 5 | }); 6 | 7 | export default app; 8 | -------------------------------------------------------------------------------- /site/src/stores/isXs.js: -------------------------------------------------------------------------------- 1 | import { writable } from 'svelte/store'; 2 | 3 | export default writable(!window.matchMedia('(min-width: 640px)').matches); 4 | -------------------------------------------------------------------------------- /site/src/components/Tailwind.svelte: -------------------------------------------------------------------------------- 1 | 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | **/dist/** 3 | **/package/** 4 | **/node_modules/** 5 | **/public/bundle.* 6 | /storybook-static 7 | 8 | cypress/videos 9 | cypress/screenshots 10 | *.tgz -------------------------------------------------------------------------------- /types/index.d.ts: -------------------------------------------------------------------------------- 1 | export { default as toasts } from './toasts'; 2 | export { default as ToastContainer } from './ToastContainer'; 3 | export { default as BootstrapToast } from './BootstrapToast'; 4 | export { default as FlatToast } from './FlatToast'; 5 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | export { default as toasts } from './toasts'; 2 | export { default as ToastContainer } from './ToastContainer.svelte'; 3 | export { default as BootstrapToast } from './BootstrapToast.svelte'; 4 | export { default as FlatToast } from './FlatToast.svelte'; 5 | -------------------------------------------------------------------------------- /site/babel.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "@babel/preset-env", 5 | { 6 | "loose": true, 7 | "modules": false, 8 | "targets": { 9 | "esmodules": true 10 | } 11 | } 12 | ] 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "files.autoSave": "onFocusChange", 3 | "[svelte]": { 4 | "editor.defaultFormatter": "svelte.svelte-vscode" 5 | }, 6 | "editor.formatOnSave": true, 7 | "prettier.singleQuote": true, 8 | "svelte.language-server.runtime": "/usr/local/bin/node" 9 | } 10 | -------------------------------------------------------------------------------- /site/src/components/Code.svelte: -------------------------------------------------------------------------------- 1 | 8 | 9 |
10 | {@html html}
11 |
--------------------------------------------------------------------------------
/site/src/components/Link.svelte:
--------------------------------------------------------------------------------
1 |
8 |
9 | | 15 | {column.header} 16 | | 17 | {/each} 18 | 27 |
|---|
|
35 | {row[column.dataIndex]}
36 | |
37 | {/each}
38 |
16 |
24 | 27 | BootstrapToast component takes "data" prop which is a toast object as 28 | described here. You 29 | can use BootstrapToast like this. 30 |
31 |`}
36 | />
37 | {
41 | const toast = toasts.add({
42 | description: 'Message body',
43 | component: BootstrapToast, // this will override toast component provided by ToastContainer
44 | });
45 | };
46 | `}
47 | />
48 |
52 |
53 |
54 |
55 |
56 |
57 | `}
58 | />
59 |
60 |
61 | BootstrapToast accepts following optional slots:
62 |
63 |
67 |
68 |
69 | `}
70 | />
71 | Icon Slot
72 |
73 | You can provide your own custom icon or any element to be shown as toast
74 | icon instead of predefined icons.
75 |
76 |
77 |
81 |
82 |
85 |
86 |
87 | `}
88 | />
89 |
90 | Extra Slot
91 |
92 | You can provide some extra content to be shown below toast message,
93 | something like timestamp, some link to other page etc.
94 |
95 |
96 |
100 |
101 | 08:15:30 AM
102 |
103 |
104 | `}
105 | />
106 |
107 | Close Icon Slot
108 |
109 | By default, a cross icon is show inside close button but if you want to
110 | change this icon, you can provide your own icon or some text.
111 |
112 |
113 |
117 |
118 | Close
119 |
120 |
121 | `}
122 | />
123 | 23 | If FlatToast or 24 | BootstrapToast do not fullfil your needs even after overriding styles, you can create and 27 | use your own toast component. ToastContainer has default slot which acts as Toast 28 | Component template. You can write inline markup or create a stand alone component 29 | which takes a "data" prop which is actually a toast object. You read about toast 30 | object here 31 |
32 |`}
38 | />
39 | {
43 | const toast = toasts.add({
44 | title: 'Hello'
45 | description: 'Message body',
46 | });
47 | };
48 | `}
49 | />
50 |
54 |
55 |
56 |
57 |
58 |
59 | {data.title}
60 |
61 | {data.description}
62 |
63 | Some other content here.
64 |
65 |
66 |
67 | `}
68 | />
69 |
70 | Custom Toast Component
71 | `}
77 | />
78 |
79 |
83 |
84 |
85 |
86 | {data.title}
87 |
88 | {data.description}
89 |
90 | Some other content here.
91 |
92 |
93 | `}
94 | />
95 |
96 | And now you can use that component as toast template
97 |
98 | `}
103 | />
104 | {
110 | const toast = toasts.add({
111 | title: 'Hello'
112 | description: 'Message body',
113 | });
114 | };
115 | `}
116 | />
117 |
121 |
122 |
123 |
124 |
125 |
126 | `}
127 | />
128 |
31 |
35 | 38 | FlatToast component takes "data" prop which is a toast object as described here. You can use FlatToast like this. 42 |
43 |`}
48 | />
49 | {
53 | const toast = toasts.add({
54 | description: 'Message body',
55 | component: BootstrapToast, // this will override toast component provided by ToastContainer
56 | });
57 | };
58 | `}
59 | />
60 |
64 |
65 |
66 |
67 |
68 |
69 | `}
70 | />
71 |
72 | FlatToast accepts following optional slots:
73 |
77 |
78 |
79 | `}
80 | />
81 | Icon Slot
82 |
83 | You can provide your own custom icon or any element to be shown as toast
84 | icon instead of predefined icons.
85 |
86 |
87 |
91 |
92 |
95 |
96 |
97 | `}
98 | />
99 |
100 | Extra Slot
101 |
102 | You can provide some extra content to be shown below toast message,
103 | something like timestamp, some link to other page etc.
104 |
105 |
106 |
110 |
111 | 08:15:30 AM
112 |
113 |
114 | `}
115 | />
116 |
117 | Close Icon Slot
118 |
119 | By default, a cross icon is show inside close button but if you want to
120 | change this icon, you can provide your own icon or some text.
121 |
122 |
123 |
127 |
128 | Close
129 |
130 |
131 | `}
132 | />
133 | You can import toasts store like this.
95 | {
114 | toast.remove();
115 | // or
116 | // toasts.getById(toast.uid).remove();
117 | }, 3000);
118 |
119 | toasts.error('Something went wrong. Try again later.');
120 | `}
121 | />
122 |
123 |
124 | Since toasts is a store so you can use $ syntax and you
125 | will get an array or toasts which you can loop through and implement how you
126 | want to show your toasts but most common cases can be handled by just using ToastContainer component.
130 |
131 |
132 |
138 |
139 |
140 |
141 |
142 | `}
143 | />
144 |
145 |
146 | Read more about ToastContainer
147 | here.
148 |
149 | 84 | ToastContainer sets default options for toasts and handles toasts 85 | placement/position. There are 7 placements allowed i.e "bottom-right", 86 | "bottom-left", "top-right", "top-left", "top-center", 'bottom-center", 87 | "center-center". 88 |
89 | {
95 | const toast = toasts.add({
96 | title: 'Message title',
97 | description: 'Message body',
98 | duration: 10000, // 0 or negative to avoid auto-remove
99 | placement: 'bottom-right',
100 | type: 'info',
101 | theme: 'dark',
102 | placement: 'bottom-right',
103 | type: 'success',
104 | theme,
105 | onClick: () => {},
106 | onRemove: () => {},
107 | // component: BootstrapToast, // allows to override toast component/template per toast
108 | });
109 |
110 | };
111 |
112 |
113 |
114 | Svelte Toasts
115 |
116 |
117 |
118 |
119 |
120 | `}
121 | />
122 |
123 |
124 | There are some default options that will be added to every toast's data but
125 | we can override those default options for all toasts. e.g.
126 |
127 |
128 |
141 |
142 |
143 | `}
144 | />
145 |
146 |
147 | ToastContainer takes a default slot as a toast template. This must be a
148 | component which should accept "data" prop which contains all toast related
149 | data. "data" is object with following properties and other user specified
150 | extra properties.
151 |
152 |
153 | - title
154 | - description
155 | - remove
156 | - update
157 | - onClick
158 | - onRemove
159 | - component
160 | - placement
161 | - showProgress
162 | - theme
163 | - type
164 | - duration
165 |
166 |
167 |
168 | Read more about toast component props here.
172 |
173 | 116 | A toast is shown based on a toast object in toasts store. When you call 117 | toasts.add(options) then a toast object is added in toasts store which then 118 | is shown by ToastContainer. A toast object looks like this. 119 |
120 | { /* implementation */ },
132 | update: () => { /* implementation */ },
133 | onClick: () => { console.log("Toast clicked"); }
134 | onRemove: () => { console.log("Toast removed"); },
135 | // and whatever properties that you want to add when calling toasts.add(options)
136 | }
137 | `}
138 | />
139 | Below is a detail description of every property.
140 |
141 |
142 |
143 | There are two builtin toast components in this package.
144 |
145 |
146 | -
147 | FlatToast
148 |
149 | -
150 | BootstrapToast
153 |
154 |
155 |
156 | You can provide as default slot to ToastContainer to use that component for
157 | all toasts but if you want to use a different design/template for a specific
158 | toast, you can provide component property in toast options.
159 |
160 |
161 | `}
166 | />
167 | {
171 | const toast = toasts.add({
172 | description: 'Message body',
173 | component: BootstrapToast, // this will override toast component provided by ToastContainer
174 | });
175 | };
176 | `}
177 | />
178 |
182 |
183 |
184 |
185 |
186 |
187 | `}
188 | />
189 |
190 | {data.description}
117 || Name | Type | Description |
|---|---|---|
add | Function | This is key function to show toast. You can pass options and modify the generated toast. |
removeAll | Function | This function removes all toasts and clears store state to empty array |
removeLast | Function | This function removes one toast (if any) that was generated at the end |
getById | Function | This function returns toast data for given id. Every toast has a unique uid |
setDefaults | Function | This function sets default options so you don't need to pass those options again and again, e.g. theme, placement etc. |
success | Function | Show success/green toast. |
info | Function | Show info/blue toast. |
error | Function | Show error/red toast. |
warning | Function | Show warning/orange toast. |
let | No | [Theme](#theme) | 'light' | Default theme for all toasts |
36 | | data | let | No | [ToastProps](#ToastProps) | {} | Default theme for all toasts |
37 |
38 | ### Slots
39 |
40 | | Slot name | Default | Props | Fallback |
41 | | :--------- | :------ | :---- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
42 | | close-icon | No | -- | <svg
xmlns="http://www.w3.org/2000/svg"
class="bx--toast-notification\_\_close-icon"
width="20"
height="20"
viewBox="0 0 32 32"
aria-hidden="true"
>
<path
d="M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"
/>
</svg> |
43 | | extra | No | -- | -- |
44 | | icon | No | -- | Svg icons based on type |
45 |
46 | ### Events
47 |
48 | None.
49 |
50 | ## `FlatToast`
51 |
52 | ```javascript
53 | import { FlatToast } from 'svelte-toasts';
54 | ```
55 |
56 | ### Props
57 |
58 | | Prop name | Kind | Reactive | Type | Default value | Description |
59 | | :-------- | :--------------- | :------- | :--------------------------------------- | -------------------- | ---------------------------- |
60 | | theme | let | No | [Theme](#theme) | 'light' | Default theme for all toasts |
61 | | data | let | No | [ToastProps](#ToastProps) | {} | Default theme for all toasts |
62 |
63 | ### Slots
64 |
65 | | Slot name | Default | Props | Fallback |
66 | | :--------- | :------ | :---- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
67 | | close-icon | No | -- | <svg
xmlns="http://www.w3.org/2000/svg"
class="bx--toast-notification\_\_close-icon"
width="20"
height="20"
viewBox="0 0 32 32"
aria-hidden="true"
>
<path
d="M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"
/>
</svg> |
68 | | extra | No | -- | -- |
69 | | icon | No | -- | Svg icons based on type |
70 |
71 | ### Events
72 |
73 | None.
74 |
75 | ## `ToastContainer`
76 |
77 | ```javascript
78 | import { ToastContainer } from 'svelte-toasts';
79 | ```
80 |
81 | ### Props
82 |
83 | | Prop name | Kind | Reactive | Type | Default value | Description |
84 | | :----------- | :--------------- | :------- | :------------------------------------- | --------------------------- | ---------------------------------------------------------------------- |
85 | | theme | let | No | [Theme](#Theme) | 'dark' | Default theme for all toasts |
86 | | placement | let | No | [Placement](#Placement) | 'bottom-right' | Default placement for all toasts |
87 | | type | let | No | [ToastType](#ToastType) | 'info' | Default type of all toasts |
88 | | showProgress | let | No | boolean | false | Show progress if showProgress is true and duration is greater then 0 |
89 | | duration | let | No | number | 3000 | Default duration for all toasts to auto close. 0 to disable auto close |
90 | | width | let | No | 'string' | '320px' | Width of all toasts |
91 |
92 | ### Slots
93 |
94 | | Slot name | Default | Props | Fallback |
95 | | :-------- | :------ | :------------------------------------------------ | :------- |
96 | | -- | Yes | { data: [ToastProps](#ToastProps) } | -- |
97 |
98 | ### Events
99 |
100 | None.
101 |
102 | ## Types
103 |
104 | #### `Theme`
105 |
106 | ```ts
107 | export type Theme = 'dark' | 'light';
108 | ```
109 |
110 | #### `ToastType`
111 |
112 | ```ts
113 | export type ToastType = 'success' | 'info' | 'error' | 'warning';
114 | ```
115 |
116 | #### `Placement`
117 |
118 | ```ts
119 | export type Placement =
120 | | 'bottom-right'
121 | | 'bottom-left'
122 | | 'top-right'
123 | | 'top-left'
124 | | 'top-center'
125 | | 'bottom-center'
126 | | 'center-center';
127 | ```
128 |
129 | #### `ToastProps`
130 |
131 | ```ts
132 | export interface ToastProps {
133 | uid: number;
134 | title?: string;
135 | description: string;
136 | duration: number;
137 | type: ToastType;
138 | theme?: Theme;
139 | placement: Placement;
140 | showProgress?: boolean;
141 | remove?: Function;
142 | update?: Function;
143 | onRemove?: Function;
144 | onClick?: Function;
145 | }
146 | ```
147 |
148 | #### `ToastStore`
149 |
150 | ```ts
151 | export interface ToastStore extends Writable {
152 | add(options: Partial): ToastProps;
153 | success(options: Partial): ToastProps;
154 | success(description: string): ToastProps;
155 | success(description: string, options: Partial): ToastProps;
156 | success(
157 | title: string,
158 | description: string,
159 | options?: Partial
160 | ): ToastProps;
161 |
162 | info(options: Partial): ToastProps;
163 | info(description: string): ToastProps;
164 | info(description: string, options: Partial): ToastProps;
165 | info(
166 | title: string,
167 | description: string,
168 | options?: Partial
169 | ): ToastProps;
170 |
171 | error(options: Partial): ToastProps;
172 | error(description: string): ToastProps;
173 | error(description: string, options: Partial): ToastProps;
174 | error(
175 | title: string,
176 | description: string,
177 | options?: Partial
178 | ): ToastProps;
179 |
180 | warning(options: Partial): ToastProps;
181 | warning(description: string): ToastProps;
182 | warning(description: string, options: Partial): ToastProps;
183 | warning(
184 | title: string,
185 | description: string,
186 | options?: Partial
187 | ): ToastProps;
188 |
189 | getById(uid: number): ToastProps;
190 | clearAll(): void;
191 | clearLast(): void;
192 | setDefaults(options: Partial): void;
193 | }
194 | ```
195 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | # Svelte-Toasts
4 |
5 | A highly configurable toast/notification component with individual toast state management capabilities.
6 |
7 | ## Demo & Docs
8 |
9 | https://mzohaibqc.github.io/svelte-toasts/
10 |
11 | REPL: https://svelte.dev/repl/ff34bad88213493ab878c71497c01152?version=3.35.0
12 |
13 | ##
14 |
15 | #### Flat Toast
16 |
17 |
18 |
19 |
20 |
21 |
22 | #### Bootstrap Toast
23 |
24 |
25 |
26 |
27 |
28 |
29 | ## Install
30 |
31 | > npm i svelte-toasts
32 |
33 | or if you are using yarn
34 |
35 | > yarn add svelte-toasts
36 |
37 | ## Getting Started
38 |
39 | ```javascript
40 |
63 |
64 |
65 | Svelte Toasts
66 |
67 |
68 |
69 |
70 |
71 | ```
72 |
73 | Every `toast` object has following structure:
74 |
75 | ```javascript
76 | {
77 | title: "Welcome",
78 | description: "Thanks for trying svelte-toasts!",
79 | uid: 1615153277482,
80 | placement: "bottom-right",
81 | type: "success",
82 | theme: "dark",
83 | duration: 0,
84 | remove: () => { /* implementation */ },
85 | update: () => { /* implementation */ },
86 | onClick: () => { console.log("Toast clicked"); }
87 | onRemove: () => { console.log("Toast removed"); },
88 | // and whatever properties that you want to add when calling toasts.add(options)
89 | }
90 | ```
91 |
92 | Below is a detail description of every property.
93 |
94 | Prop Type Default Description title string - Title of toast description string - Description/body of toast remove Function - Invoking remove method will remove the respective toast object from store/UI. e.g. toast1.remove() update Function - Invoke update method to update a specific toast values like title, description or duration etc. toast.update({ title; "Progress: 80%" }) onClick Function () => {} You can provide onClick callback which will be invoked when toast will be clicked (except toast close icon/button) onRemove Function () => {} You can provide onRemove callback which will be invoked when toast will be auto removed or removed by clicking on cross icon/button. component Svelte Component - You can provide your own toast component to render toast for a specific toast object placement string - Set placement of current toast, it will override default placement set by ToastContainer showProgress boolean - If set to "true" and duration is greater than 0 then a timeout progress bar will be shown at the bottom of current toast. It will override default value set by ToastContainer. theme string - "dark" and "light" themes are implemented for builtin Toast components but in case of your own Toast component, you can implement or leave this feature. This will override default value set by ToastContainer if you are using builtin Toast components. type string - Four types of toasts are available i.e. success, info, error and warning. It will override toast type set by ToastContainer. duration number - Duration in milliseconds after which toast will be auto removed. If duration will be 0 or negative, toast will not be auto removed but user can click on cross icon to remove it. It will override duration specified by ToastContainer.
95 |
96 | ### Helper Methods
97 |
98 | You can use helper functions to create toast with just message argument.
99 |
100 | > toasts.success('Message body here'); // just 1 argument
101 |
102 | > toasts.success('Message Title', 'Message body here'); // 2 arguments, title, description
103 |
104 | > toasts.success('Message Title', 'Message body here', { duration: 5000 }); // 3 arguments, title, description and all other options object
105 |
106 | Similarly,
107 | toasts.info(), toasts.warning() and toasts.error()
108 |
109 | ## Docs
110 |
111 | ## Store
112 |
113 | - [`ToastStore`](#ToastStore)
114 |
115 | ## Components
116 |
117 | - [`BootstrapToast`](#bootstraptoast)
118 | - [`FlatToast`](#flattoast)
119 | - [`ToastContainer`](#toastcontainer)
120 |
121 | ---
122 |
123 | ## `ToastStore`
124 |
125 | ```javascript
126 | import { toasts } from 'svelte-toasts';
127 | ```
128 |
129 | Store `toasts` contains an array of toasts objects. It has following methods:
130 |
131 | Name Type Description add Function This is key function to show toast. You can pass options and modify the generated toast. It will return toast object which you can use to modify or remove that specific toast programmatically, e.g. toast1.update({ title: 'New Title'}) removeAll Function This function removes all toasts and clears store state to empty array removeLast Function This function removes one toast (if any) that was generated at the end getById Function This function returns toast data for given id. Every toast has a unique uid setDefaults Function This function sets default options so you don't need to pass those options again and again, e.g. theme, placement etc. success Function Show success/green toast. info Function Show info/blue toast. error Function Show error/red toast. warning Function Show warning/orange toast.
132 |
133 | ## `BootstrapToast`
134 |
135 | ```javascript
136 | import { BootstrapToast } from 'svelte-toasts';
137 | ```
138 |
139 | ### Props
140 |
141 | | Prop name | Kind | Reactive | Type | Default value | Description |
142 | | :-------- | :--------------- | :------- | :-------------------------------------- | -------------------- | ---------------------------- |
143 | | theme | let | No | [Theme](#theme) | 'light' | Default theme for all toasts |
144 | | data | let | No | [ToastProps](#ToastProps) | {} | Default theme for all toasts |
145 |
146 | ### Slots
147 |
148 | | Slot name | Default | Props | Fallback |
149 | | :--------- | :------ | :---- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
150 | | close-icon | No | -- | <svg
xmlns="http://www.w3.org/2000/svg"
class="bx--toast-notification\_\_close-icon"
width="20"
height="20"
viewBox="0 0 32 32"
aria-hidden="true"
>
<path
d="M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"
/>
</svg> |
151 | | extra | No | -- | -- |
152 | | icon | No | -- | Svg icons based on type |
153 |
154 | ### Events
155 |
156 | None.
157 |
158 | ## `FlatToast`
159 |
160 | ```javascript
161 | import { FlatToast } from 'svelte-toasts';
162 | ```
163 |
164 | ### Props
165 |
166 | | Prop name | Kind | Reactive | Type | Default value | Description |
167 | | :-------- | :--------------- | :------- | :--------------------------------------- | -------------------- | ---------------------------- |
168 | | theme | let | No | [Theme](#theme) | 'light' | Default theme for all toasts |
169 | | data | let | No | [ToastProps](#ToastProps) | {} | Default theme for all toasts |
170 |
171 | ### Slots
172 |
173 | | Slot name | Default | Props | Fallback |
174 | | :--------- | :------ | :---- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
175 | | close-icon | No | -- | <svg
xmlns="http://www.w3.org/2000/svg"
class="bx--toast-notification\_\_close-icon"
width="20"
height="20"
viewBox="0 0 32 32"
aria-hidden="true"
>
<path
d="M24 9.4L22.6 8 16 14.6 9.4 8 8 9.4 14.6 16 8 22.6 9.4 24 16 17.4 22.6 24 24 22.6 17.4 16 24 9.4z"
/>
</svg> |
176 | | extra | No | -- | -- |
177 | | icon | No | -- | Svg icons based on type |
178 |
179 | ### Events
180 |
181 | None.
182 |
183 | ## `ToastContainer`
184 |
185 | ```javascript
186 | import { ToastContainer } from 'svelte-toasts';
187 | ```
188 |
189 | ### Props
190 |
191 | | Prop name | Kind | Reactive | Type | Default value | Description |
192 | | :----------- | :--------------- | :------- | :------------------------------------- | --------------------------- | ---------------------------------------------------------------------- |
193 | | theme | let | No | [Theme](#Theme) | 'dark' | Default theme for all toasts |
194 | | placement | let | No | [Placement](#Placement) | 'bottom-right' | Default placement for all toasts |
195 | | type | let | No | [ToastType](#ToastType) | 'info' | Default type of all toasts |
196 | | showProgress | let | No | boolean | false | Show progress if showProgress is true and duration is greater then 0 |
197 | | duration | let | No | number | 3000 | Default duration for all toasts to auto close. 0 to disable auto close |
198 | | width | let | No | 'string' | '320px' | Width of all toasts |
199 |
200 | ### Slots
201 |
202 | | Slot name | Default | Props | Fallback |
203 | | :-------- | :------ | :------------------------------------------------ | :------- |
204 | | -- | Yes | { data: [ToastProps](#ToastProps) } | -- |
205 |
206 | ### Events
207 |
208 | None.
209 |
210 | ## Types
211 |
212 | #### `Theme`
213 |
214 | ```ts
215 | export type Theme = 'dark' | 'light';
216 | ```
217 |
218 | #### `ToastType`
219 |
220 | ```ts
221 | export type ToastType = 'success' | 'info' | 'error' | 'warning';
222 | ```
223 |
224 | #### `Placement`
225 |
226 | ```ts
227 | export type Placement =
228 | | 'bottom-right'
229 | | 'bottom-left'
230 | | 'top-right'
231 | | 'top-left'
232 | | 'top-center'
233 | | 'bottom-center'
234 | | 'center-center';
235 | ```
236 |
237 | #### `ToastProps`
238 |
239 | ```ts
240 | export interface ToastProps {
241 | uid: number;
242 | title?: string;
243 | description: string;
244 | duration: number;
245 | type: ToastType;
246 | theme?: Theme;
247 | placement: Placement;
248 | showProgress?: boolean;
249 | remove?: Function;
250 | update?: Function;
251 | onRemove?: Function;
252 | onClick?: Function;
253 | }
254 | ```
255 |
256 | #### `ToastStore`
257 |
258 | ```ts
259 | export interface ToastStore extends Writable {
260 | add(options: Partial): ToastProps;
261 | success(options: Partial): ToastProps;
262 | success(description: string): ToastProps;
263 | success(description: string, options: Partial): ToastProps;
264 | success(
265 | title: string,
266 | description: string,
267 | options?: Partial
268 | ): ToastProps;
269 |
270 | info(options: Partial): ToastProps;
271 | info(description: string): ToastProps;
272 | info(description: string, options: Partial): ToastProps;
273 | info(
274 | title: string,
275 | description: string,
276 | options?: Partial
277 | ): ToastProps;
278 |
279 | error(options: Partial): ToastProps;
280 | error(description: string): ToastProps;
281 | error(description: string, options: Partial): ToastProps;
282 | error(
283 | title: string,
284 | description: string,
285 | options?: Partial
286 | ): ToastProps;
287 |
288 | warning(options: Partial): ToastProps;
289 | warning(description: string): ToastProps;
290 | warning(description: string, options: Partial): ToastProps;
291 | warning(
292 | title: string,
293 | description: string,
294 | options?: Partial
295 | ): ToastProps;
296 |
297 | getById(uid: number): ToastProps;
298 | clearAll(): void;
299 | clearLast(): void;
300 | setDefaults(options: Partial): void;
301 | }
302 | ```
303 |
--------------------------------------------------------------------------------
/yarn.lock:
--------------------------------------------------------------------------------
1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2 | # yarn lockfile v1
3 |
4 |
5 | "@babel/code-frame@^7.10.4":
6 | version "7.12.13"
7 | resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.13.tgz#dcfc826beef65e75c50e21d3837d7d95798dd658"
8 | integrity sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==
9 | dependencies:
10 | "@babel/highlight" "^7.12.13"
11 |
12 | "@babel/helper-validator-identifier@^7.12.11":
13 | version "7.12.11"
14 | resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz#c9a1f021917dcb5ccf0d4e453e399022981fc9ed"
15 | integrity sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==
16 |
17 | "@babel/highlight@^7.12.13":
18 | version "7.13.10"
19 | resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.13.10.tgz#a8b2a66148f5b27d666b15d81774347a731d52d1"
20 | integrity sha512-5aPpe5XQPzflQrFwL1/QoeHkP2MsA4JCntcXHRhEsdsfPVkvPi2w7Qix4iV7t5S/oC9OodGrggd8aco1g3SZFg==
21 | dependencies:
22 | "@babel/helper-validator-identifier" "^7.12.11"
23 | chalk "^2.0.0"
24 | js-tokens "^4.0.0"
25 |
26 | "@nodelib/fs.scandir@2.1.4":
27 | version "2.1.4"
28 | resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz#d4b3549a5db5de2683e0c1071ab4f140904bbf69"
29 | integrity sha512-33g3pMJk3bg5nXbL/+CY6I2eJDzZAni49PfJnL5fghPTggPvBd/pFNSgJsdAgWptuFu7qq/ERvOYFlhvsLTCKA==
30 | dependencies:
31 | "@nodelib/fs.stat" "2.0.4"
32 | run-parallel "^1.1.9"
33 |
34 | "@nodelib/fs.stat@2.0.4", "@nodelib/fs.stat@^2.0.2":
35 | version "2.0.4"
36 | resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.4.tgz#a3f2dd61bab43b8db8fa108a121cfffe4c676655"
37 | integrity sha512-IYlHJA0clt2+Vg7bccq+TzRdJvv19c2INqBSsoOLp1je7xjtr7J26+WXR72MCdvU9q1qTzIWDfhMf+DRvQJK4Q==
38 |
39 | "@nodelib/fs.walk@^1.2.3":
40 | version "1.2.6"
41 | resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.6.tgz#cce9396b30aa5afe9e3756608f5831adcb53d063"
42 | integrity sha512-8Broas6vTtW4GIXTAHDoE32hnN2M5ykgCpWGbuXHQ15vEMqr23pB76e/GZcYsZCHALv50ktd24qhEyKr6wBtow==
43 | dependencies:
44 | "@nodelib/fs.scandir" "2.1.4"
45 | fastq "^1.6.0"
46 |
47 | "@rollup/plugin-commonjs@^17.1.0":
48 | version "17.1.0"
49 | resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-17.1.0.tgz#757ec88737dffa8aa913eb392fade2e45aef2a2d"
50 | integrity sha512-PoMdXCw0ZyvjpCMT5aV4nkL0QywxP29sODQsSGeDpr/oI49Qq9tRtAsb/LbYbDzFlOydVEqHmmZWFtXJEAX9ew==
51 | dependencies:
52 | "@rollup/pluginutils" "^3.1.0"
53 | commondir "^1.0.1"
54 | estree-walker "^2.0.1"
55 | glob "^7.1.6"
56 | is-reference "^1.2.1"
57 | magic-string "^0.25.7"
58 | resolve "^1.17.0"
59 |
60 | "@rollup/plugin-node-resolve@^11.0.1":
61 | version "11.2.0"
62 | resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-11.2.0.tgz#a5ab88c35bb7622d115f44984dee305112b6f714"
63 | integrity sha512-qHjNIKYt5pCcn+5RUBQxK8krhRvf1HnyVgUCcFFcweDS7fhkOLZeYh0mhHK6Ery8/bb9tvN/ubPzmfF0qjDCTA==
64 | dependencies:
65 | "@rollup/pluginutils" "^3.1.0"
66 | "@types/resolve" "1.17.1"
67 | builtin-modules "^3.1.0"
68 | deepmerge "^4.2.2"
69 | is-module "^1.0.0"
70 | resolve "^1.19.0"
71 |
72 | "@rollup/plugin-node-resolve@^9.0.0":
73 | version "9.0.0"
74 | resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-9.0.0.tgz#39bd0034ce9126b39c1699695f440b4b7d2b62e6"
75 | integrity sha512-gPz+utFHLRrd41WMP13Jq5mqqzHL3OXrfj3/MkSyB6UBIcuNt9j60GCbarzMzdf1VHFpOxfQh/ez7wyadLMqkg==
76 | dependencies:
77 | "@rollup/pluginutils" "^3.1.0"
78 | "@types/resolve" "1.17.1"
79 | builtin-modules "^3.1.0"
80 | deepmerge "^4.2.2"
81 | is-module "^1.0.0"
82 | resolve "^1.17.0"
83 |
84 | "@rollup/pluginutils@^3.1.0":
85 | version "3.1.0"
86 | resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.1.0.tgz#706b4524ee6dc8b103b3c995533e5ad680c02b9b"
87 | integrity sha512-GksZ6pr6TpIjHm8h9lSQ8pi8BE9VeubNT0OMJ3B5uZJ8pz73NPiqOtCog/x2/QzM1ENChPKxMDhiQuRHsqc+lg==
88 | dependencies:
89 | "@types/estree" "0.0.39"
90 | estree-walker "^1.0.1"
91 | picomatch "^2.2.2"
92 |
93 | "@types/estree@*":
94 | version "0.0.46"
95 | resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.46.tgz#0fb6bfbbeabd7a30880504993369c4bf1deab1fe"
96 | integrity sha512-laIjwTQaD+5DukBZaygQ79K1Z0jb1bPEMRrkXSLjtCcZm+abyp5YbrqpSLzD42FwWW6gK/aS4NYpJ804nG2brg==
97 |
98 | "@types/estree@0.0.39":
99 | version "0.0.39"
100 | resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f"
101 | integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw==
102 |
103 | "@types/fs-extra@^9.0.4":
104 | version "9.0.8"
105 | resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-9.0.8.tgz#32c3c07ddf8caa5020f84b5f65a48470519f78ba"
106 | integrity sha512-bnlTVTwq03Na7DpWxFJ1dvnORob+Otb8xHyUqUWhqvz/Ksg8+JXPlR52oeMSZ37YEOa5PyccbgUNutiQdi13TA==
107 | dependencies:
108 | "@types/node" "*"
109 |
110 | "@types/glob@^7.1.3":
111 | version "7.1.3"
112 | resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.3.tgz#e6ba80f36b7daad2c685acd9266382e68985c183"
113 | integrity sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w==
114 | dependencies:
115 | "@types/minimatch" "*"
116 | "@types/node" "*"
117 |
118 | "@types/minimatch@*":
119 | version "3.0.3"
120 | resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
121 | integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
122 |
123 | "@types/node@*":
124 | version "14.14.33"
125 | resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.33.tgz#9e4f8c64345522e4e8ce77b334a8aaa64e2b6c78"
126 | integrity sha512-oJqcTrgPUF29oUP8AsUqbXGJNuPutsetaa9kTQAQce5Lx5dTYWV02ScBiT/k1BX/Z7pKeqedmvp39Wu4zR7N7g==
127 |
128 | "@types/node@^14.14.10":
129 | version "14.14.34"
130 | resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.34.tgz#07935194fc049069a1c56c0c274265abeddf88da"
131 | integrity sha512-dBPaxocOK6UVyvhbnpFIj2W+S+1cBTkHQbFQfeeJhoKFbzYcVUGHvddeWPSucKATb3F0+pgDq0i6ghEaZjsugA==
132 |
133 | "@types/resolve@1.17.1":
134 | version "1.17.1"
135 | resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6"
136 | integrity sha512-yy7HuzQhj0dhGpD8RLXSZWEkLsV9ibvxvi6EiJ3bkqLAO1RGo0WbkWQiwpRlSFymTJRz0d3k5LM3kkx8ArDbLw==
137 | dependencies:
138 | "@types/node" "*"
139 |
140 | acorn@^8.0.4:
141 | version "8.1.0"
142 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.1.0.tgz#52311fd7037ae119cbb134309e901aa46295b3fe"
143 | integrity sha512-LWCF/Wn0nfHOmJ9rzQApGnxnvgfROzGilS8936rqN/lfcYkY9MYZzdMqN+2NJ4SlTc+m5HiSa+kNfDtI64dwUA==
144 |
145 | ansi-styles@^3.2.1:
146 | version "3.2.1"
147 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d"
148 | integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==
149 | dependencies:
150 | color-convert "^1.9.0"
151 |
152 | at-least-node@^1.0.0:
153 | version "1.0.0"
154 | resolved "https://registry.yarnpkg.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2"
155 | integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==
156 |
157 | balanced-match@^1.0.0:
158 | version "1.0.0"
159 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767"
160 | integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c=
161 |
162 | brace-expansion@^1.1.7:
163 | version "1.1.11"
164 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"
165 | integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==
166 | dependencies:
167 | balanced-match "^1.0.0"
168 | concat-map "0.0.1"
169 |
170 | braces@^3.0.1:
171 | version "3.0.2"
172 | resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
173 | integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
174 | dependencies:
175 | fill-range "^7.0.1"
176 |
177 | buffer-from@^1.0.0:
178 | version "1.1.1"
179 | resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.1.tgz#32713bc028f75c02fdb710d7c7bcec1f2c6070ef"
180 | integrity sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==
181 |
182 | builtin-modules@^3.1.0:
183 | version "3.2.0"
184 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.2.0.tgz#45d5db99e7ee5e6bc4f362e008bf917ab5049887"
185 | integrity sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==
186 |
187 | chalk@^2.0.0:
188 | version "2.4.2"
189 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
190 | integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
191 | dependencies:
192 | ansi-styles "^3.2.1"
193 | escape-string-regexp "^1.0.5"
194 | supports-color "^5.3.0"
195 |
196 | color-convert@^1.9.0:
197 | version "1.9.3"
198 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
199 | integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==
200 | dependencies:
201 | color-name "1.1.3"
202 |
203 | color-name@1.1.3:
204 | version "1.1.3"
205 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
206 | integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
207 |
208 | commander@^2.20.0:
209 | version "2.20.3"
210 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
211 | integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
212 |
213 | comment-parser@^0.7.6:
214 | version "0.7.6"
215 | resolved "https://registry.yarnpkg.com/comment-parser/-/comment-parser-0.7.6.tgz#0e743a53c8e646c899a1323db31f6cd337b10f12"
216 | integrity sha512-GKNxVA7/iuTnAqGADlTWX4tkhzxZKXp5fLJqKTlQLHkE65XDUKutZ3BHaJC5IGcper2tT3QRD1xr4o3jNpgXXg==
217 |
218 | commondir@^1.0.1:
219 | version "1.0.1"
220 | resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
221 | integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=
222 |
223 | concat-map@0.0.1:
224 | version "0.0.1"
225 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
226 | integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=
227 |
228 | dedent-js@^1.0.1:
229 | version "1.0.1"
230 | resolved "https://registry.yarnpkg.com/dedent-js/-/dedent-js-1.0.1.tgz#bee5fb7c9e727d85dffa24590d10ec1ab1255305"
231 | integrity sha1-vuX7fJ5yfYXf+iRZDRDsGrElUwU=
232 |
233 | deepmerge@^4.2.2:
234 | version "4.2.2"
235 | resolved "https://registry.yarnpkg.com/deepmerge/-/deepmerge-4.2.2.tgz#44d2ea3679b8f4d4ffba33f03d865fc1e7bf4955"
236 | integrity sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==
237 |
238 | escape-string-regexp@^1.0.5:
239 | version "1.0.5"
240 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4"
241 | integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=
242 |
243 | estree-walker@^0.6.1:
244 | version "0.6.1"
245 | resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362"
246 | integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w==
247 |
248 | estree-walker@^1.0.1:
249 | version "1.0.1"
250 | resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700"
251 | integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg==
252 |
253 | estree-walker@^2.0.1:
254 | version "2.0.2"
255 | resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-2.0.2.tgz#52f010178c2a4c117a7757cfe942adb7d2da4cac"
256 | integrity sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==
257 |
258 | fast-glob@^3.2.5:
259 | version "3.2.5"
260 | resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.5.tgz#7939af2a656de79a4f1901903ee8adcaa7cb9661"
261 | integrity sha512-2DtFcgT68wiTTiwZ2hNdJfcHNke9XOfnwmBRWXhmeKM8rF0TGwmC/Qto3S7RoZKp5cilZbxzO5iTNTQsJ+EeDg==
262 | dependencies:
263 | "@nodelib/fs.stat" "^2.0.2"
264 | "@nodelib/fs.walk" "^1.2.3"
265 | glob-parent "^5.1.0"
266 | merge2 "^1.3.0"
267 | micromatch "^4.0.2"
268 | picomatch "^2.2.1"
269 |
270 | fastq@^1.6.0:
271 | version "1.11.0"
272 | resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.11.0.tgz#bb9fb955a07130a918eb63c1f5161cc32a5d0858"
273 | integrity sha512-7Eczs8gIPDrVzT+EksYBcupqMyxSHXXrHOLRRxU2/DicV8789MRBRR8+Hc2uWzUupOs4YS4JzBmBxjjCVBxD/g==
274 | dependencies:
275 | reusify "^1.0.4"
276 |
277 | fill-range@^7.0.1:
278 | version "7.0.1"
279 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
280 | integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==
281 | dependencies:
282 | to-regex-range "^5.0.1"
283 |
284 | fs-extra@^9.0.1:
285 | version "9.1.0"
286 | resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d"
287 | integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==
288 | dependencies:
289 | at-least-node "^1.0.0"
290 | graceful-fs "^4.2.0"
291 | jsonfile "^6.0.1"
292 | universalify "^2.0.0"
293 |
294 | fs.realpath@^1.0.0:
295 | version "1.0.0"
296 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
297 | integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=
298 |
299 | fsevents@~2.3.1:
300 | version "2.3.2"
301 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"
302 | integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
303 |
304 | function-bind@^1.1.1:
305 | version "1.1.1"
306 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d"
307 | integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
308 |
309 | glob-parent@^5.1.0:
310 | version "5.1.2"
311 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
312 | integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
313 | dependencies:
314 | is-glob "^4.0.1"
315 |
316 | glob@^7.1.6:
317 | version "7.1.6"
318 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
319 | integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
320 | dependencies:
321 | fs.realpath "^1.0.0"
322 | inflight "^1.0.4"
323 | inherits "2"
324 | minimatch "^3.0.4"
325 | once "^1.3.0"
326 | path-is-absolute "^1.0.0"
327 |
328 | graceful-fs@^4.1.6, graceful-fs@^4.2.0:
329 | version "4.2.6"
330 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.6.tgz#ff040b2b0853b23c3d31027523706f1885d76bee"
331 | integrity sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==
332 |
333 | has-flag@^3.0.0:
334 | version "3.0.0"
335 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd"
336 | integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0=
337 |
338 | has-flag@^4.0.0:
339 | version "4.0.0"
340 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
341 | integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
342 |
343 | has@^1.0.3:
344 | version "1.0.3"
345 | resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796"
346 | integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==
347 | dependencies:
348 | function-bind "^1.1.1"
349 |
350 | inflight@^1.0.4:
351 | version "1.0.6"
352 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9"
353 | integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=
354 | dependencies:
355 | once "^1.3.0"
356 | wrappy "1"
357 |
358 | inherits@2:
359 | version "2.0.4"
360 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
361 | integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
362 |
363 | is-core-module@^2.2.0:
364 | version "2.2.0"
365 | resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.2.0.tgz#97037ef3d52224d85163f5597b2b63d9afed981a"
366 | integrity sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==
367 | dependencies:
368 | has "^1.0.3"
369 |
370 | is-extglob@^2.1.1:
371 | version "2.1.1"
372 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
373 | integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=
374 |
375 | is-glob@^4.0.1:
376 | version "4.0.1"
377 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc"
378 | integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==
379 | dependencies:
380 | is-extglob "^2.1.1"
381 |
382 | is-module@^1.0.0:
383 | version "1.0.0"
384 | resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591"
385 | integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE=
386 |
387 | is-number@^7.0.0:
388 | version "7.0.0"
389 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b"
390 | integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==
391 |
392 | is-reference@^1.2.1:
393 | version "1.2.1"
394 | resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.2.1.tgz#8b2dac0b371f4bc994fdeaba9eb542d03002d0b7"
395 | integrity sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==
396 | dependencies:
397 | "@types/estree" "*"
398 |
399 | jest-worker@^26.2.1:
400 | version "26.6.2"
401 | resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-26.6.2.tgz#7f72cbc4d643c365e27b9fd775f9d0eaa9c7a8ed"
402 | integrity sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==
403 | dependencies:
404 | "@types/node" "*"
405 | merge-stream "^2.0.0"
406 | supports-color "^7.0.0"
407 |
408 | js-tokens@^4.0.0:
409 | version "4.0.0"
410 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
411 | integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
412 |
413 | jsonfile@^6.0.1:
414 | version "6.1.0"
415 | resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae"
416 | integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==
417 | dependencies:
418 | universalify "^2.0.0"
419 | optionalDependencies:
420 | graceful-fs "^4.1.6"
421 |
422 | lower-case@^2.0.2:
423 | version "2.0.2"
424 | resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28"
425 | integrity sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==
426 | dependencies:
427 | tslib "^2.0.3"
428 |
429 | magic-string@^0.25.7:
430 | version "0.25.7"
431 | resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.7.tgz#3f497d6fd34c669c6798dcb821f2ef31f5445051"
432 | integrity sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==
433 | dependencies:
434 | sourcemap-codec "^1.4.4"
435 |
436 | merge-stream@^2.0.0:
437 | version "2.0.0"
438 | resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60"
439 | integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==
440 |
441 | merge2@^1.3.0:
442 | version "1.4.1"
443 | resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
444 | integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==
445 |
446 | micromatch@^4.0.2:
447 | version "4.0.2"
448 | resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.2.tgz#4fcb0999bf9fbc2fcbdd212f6d629b9a56c39259"
449 | integrity sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==
450 | dependencies:
451 | braces "^3.0.1"
452 | picomatch "^2.0.5"
453 |
454 | minimatch@^3.0.4:
455 | version "3.0.4"
456 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
457 | integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
458 | dependencies:
459 | brace-expansion "^1.1.7"
460 |
461 | no-case@^3.0.4:
462 | version "3.0.4"
463 | resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d"
464 | integrity sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==
465 | dependencies:
466 | lower-case "^2.0.2"
467 | tslib "^2.0.3"
468 |
469 | once@^1.3.0:
470 | version "1.4.0"
471 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
472 | integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E=
473 | dependencies:
474 | wrappy "1"
475 |
476 | pascal-case@^3.1.1:
477 | version "3.1.2"
478 | resolved "https://registry.yarnpkg.com/pascal-case/-/pascal-case-3.1.2.tgz#b48e0ef2b98e205e7c1dae747d0b1508237660eb"
479 | integrity sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==
480 | dependencies:
481 | no-case "^3.0.4"
482 | tslib "^2.0.3"
483 |
484 | path-is-absolute@^1.0.0:
485 | version "1.0.1"
486 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
487 | integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18=
488 |
489 | path-parse@^1.0.6:
490 | version "1.0.6"
491 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c"
492 | integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==
493 |
494 | picomatch@^2.0.5, picomatch@^2.2.1, picomatch@^2.2.2:
495 | version "2.2.2"
496 | resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad"
497 | integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==
498 |
499 | prettier@^2.2.1:
500 | version "2.2.1"
501 | resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.2.1.tgz#795a1a78dd52f073da0cd42b21f9c91381923ff5"
502 | integrity sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==
503 |
504 | queue-microtask@^1.2.2:
505 | version "1.2.2"
506 | resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.2.tgz#abf64491e6ecf0f38a6502403d4cda04f372dfd3"
507 | integrity sha512-dB15eXv3p2jDlbOiNLyMabYg1/sXvppd8DP2J3EOCQ0AkuSXCW2tP7mnVouVLJKgUMY6yP0kcQDVpLCN13h4Xg==
508 |
509 | randombytes@^2.1.0:
510 | version "2.1.0"
511 | resolved "https://registry.yarnpkg.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a"
512 | integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==
513 | dependencies:
514 | safe-buffer "^5.1.0"
515 |
516 | require-relative@^0.8.7:
517 | version "0.8.7"
518 | resolved "https://registry.yarnpkg.com/require-relative/-/require-relative-0.8.7.tgz#7999539fc9e047a37928fa196f8e1563dabd36de"
519 | integrity sha1-eZlTn8ngR6N5KPoZb44VY9q9Nt4=
520 |
521 | resolve@^1.17.0, resolve@^1.19.0:
522 | version "1.20.0"
523 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975"
524 | integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==
525 | dependencies:
526 | is-core-module "^2.2.0"
527 | path-parse "^1.0.6"
528 |
529 | reusify@^1.0.4:
530 | version "1.0.4"
531 | resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76"
532 | integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==
533 |
534 | rollup-plugin-svelte@^6.0.0:
535 | version "6.1.1"
536 | resolved "https://registry.yarnpkg.com/rollup-plugin-svelte/-/rollup-plugin-svelte-6.1.1.tgz#66362cf0500fb7a848283ebcf19d289a60ef0871"
537 | integrity sha512-ijnm0pH1ScrY4uxwaNXBpNVejVzpL2769hIEbAlnqNUWZrffLspu5/k9/l/Wsj3NrEHLQ6wCKGagVJonyfN7ow==
538 | dependencies:
539 | require-relative "^0.8.7"
540 | rollup-pluginutils "^2.8.2"
541 | sourcemap-codec "^1.4.8"
542 |
543 | rollup-plugin-svelte@^7.0.0:
544 | version "7.1.0"
545 | resolved "https://registry.yarnpkg.com/rollup-plugin-svelte/-/rollup-plugin-svelte-7.1.0.tgz#d45f2b92b1014be4eb46b55aa033fb9a9c65f04d"
546 | integrity sha512-vopCUq3G+25sKjwF5VilIbiY6KCuMNHP1PFvx2Vr3REBNMDllKHFZN2B9jwwC+MqNc3UPKkjXnceLPEjTjXGXg==
547 | dependencies:
548 | require-relative "^0.8.7"
549 | rollup-pluginutils "^2.8.2"
550 |
551 | rollup-plugin-terser@^7.0.2:
552 | version "7.0.2"
553 | resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz#e8fbba4869981b2dc35ae7e8a502d5c6c04d324d"
554 | integrity sha512-w3iIaU4OxcF52UUXiZNsNeuXIMDvFrr+ZXK6bFZ0Q60qyVfq4uLptoS4bbq3paG3x216eQllFZX7zt6TIImguQ==
555 | dependencies:
556 | "@babel/code-frame" "^7.10.4"
557 | jest-worker "^26.2.1"
558 | serialize-javascript "^4.0.0"
559 | terser "^5.0.0"
560 |
561 | rollup-pluginutils@^2.8.2:
562 | version "2.8.2"
563 | resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e"
564 | integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==
565 | dependencies:
566 | estree-walker "^0.6.1"
567 |
568 | rollup@^2.0.0, rollup@^2.36.0:
569 | version "2.41.1"
570 | resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.41.1.tgz#c7c7ada42b13be505facd516f13fb697c24c1116"
571 | integrity sha512-nepLFAW5W71/MWpS2Yr7r31eS7HRfYg2RXnxb6ehqN9zY42yACxKtEfb4xq8SmNfUohAzGMcyl6jkwdLOAiUbg==
572 | optionalDependencies:
573 | fsevents "~2.3.1"
574 |
575 | run-parallel@^1.1.9:
576 | version "1.2.0"
577 | resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee"
578 | integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==
579 | dependencies:
580 | queue-microtask "^1.2.2"
581 |
582 | safe-buffer@^5.1.0:
583 | version "5.2.1"
584 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6"
585 | integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==
586 |
587 | serialize-javascript@^4.0.0:
588 | version "4.0.0"
589 | resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-4.0.0.tgz#b525e1238489a5ecfc42afacc3fe99e666f4b1aa"
590 | integrity sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==
591 | dependencies:
592 | randombytes "^2.1.0"
593 |
594 | source-map-support@~0.5.19:
595 | version "0.5.19"
596 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.19.tgz#a98b62f86dcaf4f67399648c085291ab9e8fed61"
597 | integrity sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==
598 | dependencies:
599 | buffer-from "^1.0.0"
600 | source-map "^0.6.0"
601 |
602 | source-map@^0.6.0:
603 | version "0.6.1"
604 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263"
605 | integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==
606 |
607 | source-map@~0.7.2:
608 | version "0.7.3"
609 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
610 | integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==
611 |
612 | sourcemap-codec@^1.4.4, sourcemap-codec@^1.4.8:
613 | version "1.4.8"
614 | resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4"
615 | integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==
616 |
617 | supports-color@^5.3.0:
618 | version "5.5.0"
619 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f"
620 | integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==
621 | dependencies:
622 | has-flag "^3.0.0"
623 |
624 | supports-color@^7.0.0:
625 | version "7.2.0"
626 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da"
627 | integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==
628 | dependencies:
629 | has-flag "^4.0.0"
630 |
631 | sveld@^0.7.1:
632 | version "0.7.1"
633 | resolved "https://registry.yarnpkg.com/sveld/-/sveld-0.7.1.tgz#9c9e7cf4e2dff0f02627578a4a8f17e1a51ea648"
634 | integrity sha512-hbrjmC3fMvWE/IIhEB5jUXCAhAFeq6nlwXBq7oI3sjeJ4JJ3oacg7jyYk00eHkWPmoUYblJHz7e7La0W0F/dow==
635 | dependencies:
636 | "@rollup/plugin-node-resolve" "^11.0.1"
637 | acorn "^8.0.4"
638 | comment-parser "^0.7.6"
639 | fast-glob "^3.2.5"
640 | fs-extra "^9.0.1"
641 | prettier "^2.2.1"
642 | rollup "^2.36.0"
643 | rollup-plugin-svelte "^7.0.0"
644 | svelte "^3.31.2"
645 |
646 | svelte-types-writer@^1.2.0:
647 | version "1.2.0"
648 | resolved "https://registry.yarnpkg.com/svelte-types-writer/-/svelte-types-writer-1.2.0.tgz#d0ce40c673349a6a22911882f4b0d48c1f943d93"
649 | integrity sha512-x3Lh3OH3OxSEzu4sQKSmzJC3sQxUqjqlW5QqDn/cocBJcN69AjKqZk2CUAIK1V1eXYRvlHnZ9KMoj0yneCkrmQ==
650 | dependencies:
651 | "@types/fs-extra" "^9.0.4"
652 | "@types/glob" "^7.1.3"
653 | "@types/node" "^14.14.10"
654 | fs-extra "^9.0.1"
655 | glob "^7.1.6"
656 | magic-string "^0.25.7"
657 | svelte "^3.31.0"
658 | svelte2tsx "^0.1.151"
659 | typescript "^3.9.7"
660 |
661 | svelte2tsx@^0.1.151:
662 | version "0.1.181"
663 | resolved "https://registry.yarnpkg.com/svelte2tsx/-/svelte2tsx-0.1.181.tgz#c1cfe2896f64c5933fcd41a896398b2df72e7a64"
664 | integrity sha512-S68R8GYxzdw9Eu19+WRrirClj7lq/nbzhu8tgRkqg8BVtI3zZF9PlLXtpXwnlcWK9UjDM5DPF2H/8kTnIZqJYg==
665 | dependencies:
666 | dedent-js "^1.0.1"
667 | pascal-case "^3.1.1"
668 |
669 | svelte@^3.31.0, svelte@^3.31.2, svelte@^3.35.0:
670 | version "3.35.0"
671 | resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.35.0.tgz#e0d0ba60c4852181c2b4fd851194be6fda493e65"
672 | integrity sha512-gknlZkR2sXheu/X+B7dDImwANVvK1R0QGQLd8CNIfxxGPeXBmePnxfzb6fWwTQRsYQG7lYkZXvpXJvxvpsoB7g==
673 |
674 | terser@^5.0.0:
675 | version "5.6.0"
676 | resolved "https://registry.yarnpkg.com/terser/-/terser-5.6.0.tgz#138cdf21c5e3100b1b3ddfddf720962f88badcd2"
677 | integrity sha512-vyqLMoqadC1uR0vywqOZzriDYzgEkNJFK4q9GeyOBHIbiECHiWLKcWfbQWAUaPfxkjDhapSlZB9f7fkMrvkVjA==
678 | dependencies:
679 | commander "^2.20.0"
680 | source-map "~0.7.2"
681 | source-map-support "~0.5.19"
682 |
683 | to-regex-range@^5.0.1:
684 | version "5.0.1"
685 | resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4"
686 | integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==
687 | dependencies:
688 | is-number "^7.0.0"
689 |
690 | tslib@^2.0.3:
691 | version "2.1.0"
692 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.1.0.tgz#da60860f1c2ecaa5703ab7d39bc05b6bf988b97a"
693 | integrity sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A==
694 |
695 | typescript@^3.9.7:
696 | version "3.9.9"
697 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.9.tgz#e69905c54bc0681d0518bd4d587cc6f2d0b1a674"
698 | integrity sha512-kdMjTiekY+z/ubJCATUPlRDl39vXYiMV9iyeMuEuXZh2we6zz80uovNN2WlAxmmdE/Z/YQe+EbOEXB5RHEED3w==
699 |
700 | universalify@^2.0.0:
701 | version "2.0.0"
702 | resolved "https://registry.yarnpkg.com/universalify/-/universalify-2.0.0.tgz#75a4984efedc4b08975c5aeb73f530d02df25717"
703 | integrity sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==
704 |
705 | wrappy@1:
706 | version "1.0.2"
707 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
708 | integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
709 |
--------------------------------------------------------------------------------