@inriver/inri 1.39.0 → 1.41.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.
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@inriver/inri": minor
3
+ ---
4
+
5
+ updated ConfirmDialogProps interface and parse html string for confirm dialog
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@inriver/inri": minor
3
+ ---
4
+
5
+ Add slot for hint in CSelect
package/CHANGELOG.md CHANGED
@@ -1,5 +1,62 @@
1
1
  # @inriver/inri
2
2
 
3
+ ## 1.41.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Add notBlank validator
8
+ - Added support for supplying a string function to determine option label name in CSelect
9
+ - Update documentation
10
+ - updated ConfirmDialogProps interface and parse html string for confirm dialog
11
+ - Add correct class to the c-btn component
12
+ - Wallop font is now included in the package
13
+ - Add slot for hint in CSelect
14
+ - Add back button slot
15
+ - Updating README and exporting tailwing config
16
+ - Add option to opt-out of the global error handler when using initInriFramework
17
+ - Add support for placing CDialog action buttons to the right
18
+
19
+ ### Patch Changes
20
+
21
+ - Provide global app configs
22
+ - Fix CSelect placeholder color. Modularize Sass imports. Include inri typings when bundling
23
+ - Fix Sass warnings and errors by removing usage of @apply and updating Quasar + sass dependencies
24
+ - Add support for showing tooltips when hovering over CSelect and options. Add disable support and styling. Fix required validation to work with empty arrays.
25
+ - Fix broken imports due to faulty declaration file
26
+ - Add support for hiding the sidebars in CLayoutWithSidebars. Add support for entering a custom title in CLayoutWithSidebars
27
+ - Add support for showing placeholder ()in CSelect eoutside of use-input mode
28
+ - Fix faulty import path in globalAppConfig
29
+ - Add error slot in CSelect
30
+ - Fix error when CSelect is passed object options with falsy values
31
+
32
+ ## 1.40.0
33
+
34
+ ### Minor Changes
35
+
36
+ - Add notBlank validator
37
+ - Added support for supplying a string function to determine option label name in CSelect
38
+ - Update documentation
39
+ - Add correct class to the c-btn component
40
+ - Wallop font is now included in the package
41
+ - Add slot for hint in CSelect
42
+ - Add back button slot
43
+ - Updating README and exporting tailwing config
44
+ - Add option to opt-out of the global error handler when using initInriFramework
45
+ - Add support for placing CDialog action buttons to the right
46
+
47
+ ### Patch Changes
48
+
49
+ - Provide global app configs
50
+ - Fix CSelect placeholder color. Modularize Sass imports. Include inri typings when bundling
51
+ - Fix Sass warnings and errors by removing usage of @apply and updating Quasar + sass dependencies
52
+ - Add support for showing tooltips when hovering over CSelect and options. Add disable support and styling. Fix required validation to work with empty arrays.
53
+ - Fix broken imports due to faulty declaration file
54
+ - Add support for hiding the sidebars in CLayoutWithSidebars. Add support for entering a custom title in CLayoutWithSidebars
55
+ - Add support for showing placeholder ()in CSelect eoutside of use-input mode
56
+ - Fix faulty import path in globalAppConfig
57
+ - Add error slot in CSelect
58
+ - Fix error when CSelect is passed object options with falsy values
59
+
3
60
  ## 1.39.0
4
61
 
5
62
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inriver/inri",
3
- "version": "1.39.0",
3
+ "version": "1.41.0",
4
4
  "main": "index.ts",
5
5
  "peerDependencies": {
6
6
  "quasar": "2.14.2",
@@ -104,6 +104,10 @@
104
104
  </q-item>
105
105
  </template>
106
106
 
107
+ <template #hint>
108
+ <slot name="hint" />
109
+ </template>
110
+
107
111
  <template #error>
108
112
  <slot name="error" />
109
113
  </template>
@@ -16,9 +16,13 @@
16
16
  {{ title }}
17
17
  </h3>
18
18
  <div
19
+ v-if="html"
19
20
  data-id="confirm-dialog-description"
20
21
  class="mt-2px"
22
+ v-html="text"
21
23
  >
24
+ </div>
25
+ <div v-else data-id="confirm-dialog-description" class="mt-2px">
22
26
  {{ text }}
23
27
  </div>
24
28
  </q-card-section>
@@ -69,6 +73,10 @@ defineProps({
69
73
  type: String,
70
74
  default: 'primary',
71
75
  },
76
+ html: {
77
+ type: Boolean,
78
+ default: false,
79
+ },
72
80
  hideCancelButton: Boolean,
73
81
  })
74
82
 
@@ -10,6 +10,8 @@ interface ConfirmDialogProps {
10
10
  confirmButtonText?: string,
11
11
  cancelButtonText?: string,
12
12
  confirmButtonColor?: string,
13
+ html?: boolean,
14
+ persistent?: boolean,
13
15
  }
14
16
 
15
17
  export default {