sprintify-ui 0.0.200 → 0.0.202
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/package.json +6 -2
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>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sprintify-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.202",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "rimraf dist && vue-tsc && vite build",
|
|
6
6
|
"build-fast": "rimraf dist && vite build",
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"storybook": "start-storybook -p 6006",
|
|
11
11
|
"build-storybook": "build-storybook",
|
|
12
12
|
"prepack": "npm run build",
|
|
13
|
+
"prepare": "husky install",
|
|
13
14
|
"release": "standard-version",
|
|
14
15
|
"commit": "cz"
|
|
15
16
|
},
|
|
@@ -42,6 +43,8 @@
|
|
|
42
43
|
},
|
|
43
44
|
"devDependencies": {
|
|
44
45
|
"@babel/core": "^7.20.12",
|
|
46
|
+
"@commitlint/cli": "^17.4.4",
|
|
47
|
+
"@commitlint/config-conventional": "^17.4.4",
|
|
45
48
|
"@iconify/vue": "^4.1.0",
|
|
46
49
|
"@storybook/addon-actions": "^6.5.16",
|
|
47
50
|
"@storybook/addon-essentials": "^6.5.16",
|
|
@@ -80,6 +83,7 @@
|
|
|
80
83
|
"eslint-plugin-vue-scoped-css": "^2.4.0",
|
|
81
84
|
"flatpickr": "^4.6.13",
|
|
82
85
|
"humanize-duration": "^3.28.0",
|
|
86
|
+
"husky": "^8.0.3",
|
|
83
87
|
"lodash": "^4.17.21",
|
|
84
88
|
"luxon": "^3.2.1",
|
|
85
89
|
"maska": "^2.1.6",
|
|
@@ -125,7 +129,7 @@
|
|
|
125
129
|
},
|
|
126
130
|
"config": {
|
|
127
131
|
"commitizen": {
|
|
128
|
-
"path": "
|
|
132
|
+
"path": "cz-conventional-changelog"
|
|
129
133
|
}
|
|
130
134
|
}
|
|
131
135
|
}
|