@inriver/inri 1.35.0 → 1.37.0
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/.changeset/slow-dodos-whisper.md +5 -0
- package/.changeset/twenty-bags-switch.md +5 -0
- package/CHANGELOG.md +52 -0
- package/README.md +1 -1
- package/azure/pipelines/templates/deployFramework.yml +2 -2
- package/package.json +1 -1
- package/src/components/CDialog.vue +28 -19
- package/src/layouts/layout-fragments/CPageTitle.vue +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,57 @@
|
|
|
1
1
|
# @inriver/inri
|
|
2
2
|
|
|
3
|
+
## 1.37.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Add support for placing CDialog action buttons to the right
|
|
8
|
+
- Add notBlank validator
|
|
9
|
+
- Update documentation
|
|
10
|
+
- Add correct class to the c-btn component
|
|
11
|
+
- Wallop font is now included in the package
|
|
12
|
+
- Add back button slot
|
|
13
|
+
- Updating README and exporting tailwing config
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Provide global app configs
|
|
18
|
+
- Fix CSelect placeholder color. Modularize Sass imports. Include inri typings when bundling
|
|
19
|
+
- Fix Sass warnings and errors by removing usage of @apply and updating Quasar + sass dependencies
|
|
20
|
+
- Add support for showing tooltips when hovering over CSelect and options. Add disable support and styling. Fix required validation to work with empty arrays.
|
|
21
|
+
- Fix broken imports due to faulty declaration file
|
|
22
|
+
- Add support for hiding the sidebars in CLayoutWithSidebars. Add support for entering a custom title in CLayoutWithSidebars
|
|
23
|
+
- Add support for showing placeholder ()in CSelect eoutside of use-input mode
|
|
24
|
+
- Fix faulty import path in globalAppConfig
|
|
25
|
+
- Add error slot in CSelect
|
|
26
|
+
- Fix error when CSelect is passed object options with falsy values
|
|
27
|
+
|
|
28
|
+
## 1.36.0
|
|
29
|
+
|
|
30
|
+
## Minor changes
|
|
31
|
+
|
|
32
|
+
- Add back button slot
|
|
33
|
+
|
|
34
|
+
### Minor Changes
|
|
35
|
+
|
|
36
|
+
- Add notBlank validator
|
|
37
|
+
- Update documentation
|
|
38
|
+
- Add correct class to the c-btn component
|
|
39
|
+
- Wallop font is now included in the package
|
|
40
|
+
- Updating README and exporting tailwing config
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- Provide global app configs
|
|
45
|
+
- Fix CSelect placeholder color. Modularize Sass imports. Include inri typings when bundling
|
|
46
|
+
- Fix Sass warnings and errors by removing usage of @apply and updating Quasar + sass dependencies
|
|
47
|
+
- Add support for showing tooltips when hovering over CSelect and options. Add disable support and styling. Fix required validation to work with empty arrays.
|
|
48
|
+
- Fix broken imports due to faulty declaration file
|
|
49
|
+
- Add support for hiding the sidebars in CLayoutWithSidebars. Add support for entering a custom title in CLayoutWithSidebars
|
|
50
|
+
- Add support for showing placeholder ()in CSelect eoutside of use-input mode
|
|
51
|
+
- Fix faulty import path in globalAppConfig
|
|
52
|
+
- Add error slot in CSelect
|
|
53
|
+
- Fix error when CSelect is passed object options with falsy values
|
|
54
|
+
|
|
3
55
|
## 1.35.0
|
|
4
56
|
|
|
5
57
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ In order to use the *inri* package properly, you need to have certain peer depen
|
|
|
6
6
|
|
|
7
7
|
Before installing and using *inri*, please make sure you have the following peer dependencies installed in your project:
|
|
8
8
|
|
|
9
|
-
* quasar version 2.
|
|
9
|
+
* quasar version 2.14.2 or compatible
|
|
10
10
|
* vue version 3.x.x or any compatible version starting with 3
|
|
11
11
|
* vue-i18n version 9.1.7 or any compatible version starting with 9.1
|
|
12
12
|
* vue-router version 4.0.12 or any compatible version starting with 4
|
|
@@ -14,7 +14,7 @@ stages:
|
|
|
14
14
|
|
|
15
15
|
- script: |
|
|
16
16
|
corepack enable
|
|
17
|
-
corepack prepare pnpm@
|
|
17
|
+
corepack prepare pnpm@8 --activate
|
|
18
18
|
displayName: 'Setup pnpm'
|
|
19
19
|
|
|
20
20
|
- script: pnpm config set store-dir $(Pipeline.Workspace)/.pnpm-store
|
|
@@ -26,7 +26,7 @@ stages:
|
|
|
26
26
|
displayName: Install Node.js
|
|
27
27
|
|
|
28
28
|
- script: |
|
|
29
|
-
npm install -g pnpm
|
|
29
|
+
npm install -g pnpm@8
|
|
30
30
|
pnpm install --frozen-lockfile
|
|
31
31
|
displayName: Install dependencies
|
|
32
32
|
|
package/package.json
CHANGED
|
@@ -52,25 +52,30 @@
|
|
|
52
52
|
<slot />
|
|
53
53
|
</q-card-section>
|
|
54
54
|
|
|
55
|
-
<div
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
55
|
+
<div
|
|
56
|
+
class="dialog-card-action-buttons px-5 pt-2 pb-10"
|
|
57
|
+
:class="actionButtonsPosition === 'right' ? 'ml-auto' : ''"
|
|
58
|
+
>
|
|
59
|
+
<slot name="action-buttons">
|
|
60
|
+
<c-btn
|
|
61
|
+
v-if="!hideConfirmButton"
|
|
62
|
+
data-id="dialog-confirm-button"
|
|
63
|
+
:label="confirmButtonText || $t('inri.common.confirm')"
|
|
64
|
+
:disabled="confirmIsDisabled"
|
|
65
|
+
@click="confirm"
|
|
66
|
+
>
|
|
67
|
+
<q-tooltip v-if="confirmIsDisabled">
|
|
68
|
+
{{ disabledConfirmTooltip || $t('inri.dialog.confirm_tooltip_invalid_fields') }}
|
|
69
|
+
</q-tooltip>
|
|
70
|
+
</c-btn>
|
|
71
|
+
<c-btn
|
|
72
|
+
v-if="!hideCancelButton"
|
|
73
|
+
data-id="dialog-cancel-button"
|
|
74
|
+
:label="cancelButtonText || $t('inri.common.cancel')"
|
|
75
|
+
color="surface"
|
|
76
|
+
@click="cancel"
|
|
77
|
+
/>
|
|
78
|
+
</slot>
|
|
74
79
|
</div>
|
|
75
80
|
</q-form>
|
|
76
81
|
|
|
@@ -140,6 +145,10 @@ const props = defineProps({
|
|
|
140
145
|
type: String as PropType<'top' | 'standard' | 'right' | 'bottom' | 'left' | undefined>,
|
|
141
146
|
default: 'top',
|
|
142
147
|
},
|
|
148
|
+
actionButtonsPosition: {
|
|
149
|
+
type: String as PropType<'left' | 'right'>,
|
|
150
|
+
default: 'left',
|
|
151
|
+
},
|
|
143
152
|
})
|
|
144
153
|
|
|
145
154
|
const emit = defineEmits([
|