sprintify-ui 0.0.201 → 0.0.203
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/README.md +4 -6
- package/dist/sprintify-ui.es.js +554 -552
- package/dist/types/src/components/index.d.ts +2 -1
- package/package.json +6 -2
- package/src/components/index.ts +2 -0
package/README.md
CHANGED
|
@@ -167,9 +167,8 @@ Components({
|
|
|
167
167
|
```
|
|
168
168
|
|
|
169
169
|
### Notifications and Dialogs
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
These components will observe the pinia store and render dialogs and notifications.
|
|
170
|
+
To use notifications and dialogs, your main layout must contain the `<BaseAppNotifications>` and `<BaseAppDialogs>` components.
|
|
171
|
+
These components will observe the Pinia store and render dialogs and notifications.
|
|
173
172
|
|
|
174
173
|
```vue
|
|
175
174
|
<template>
|
|
@@ -184,7 +183,7 @@ These components will observe the pinia store and render dialogs and notificatio
|
|
|
184
183
|
|
|
185
184
|
#### Custom notifications and dialogs
|
|
186
185
|
|
|
187
|
-
You may 100% customize the look and feel of dialogs and notifications by removing `<BaseApp>` and instead
|
|
186
|
+
You may 100% customize the look and feel of dialogs and notifications by removing `<BaseApp>` and instead creating your own render logic. Here's a simple example to render notifications:
|
|
188
187
|
|
|
189
188
|
```vue
|
|
190
189
|
<template>
|
|
@@ -236,8 +235,7 @@ app.use(SprintifyUI, {
|
|
|
236
235
|
```
|
|
237
236
|
|
|
238
237
|
### Using BaseAddressForm with Google Maps Autocomplete
|
|
239
|
-
|
|
240
|
-
Add this snipped to your HTML `<head>`. Replace `YOUR_API_KEY` with you API key.
|
|
238
|
+
Add this snippet to your HTML `<head>`. Replace `YOUR_API_KEY` with you API key.
|
|
241
239
|
|
|
242
240
|
```html
|
|
243
241
|
<script defer async src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=places"></script>
|