@citizenplane/pimp 8.6.1 → 8.6.3
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/dist/pimp.es.js +1154 -1136
- package/dist/pimp.umd.js +2 -2
- package/package.json +11 -11
- package/src/components/date-pickers/CpCalendar.vue +1 -1
- package/src/components/date-pickers/CpDate/index.vue +1 -1
- package/src/components/index.js +1 -1
- package/src/components/lists-and-table/CpTable/index.vue +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citizenplane/pimp",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.3",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"dev": "vite --host",
|
|
6
6
|
"build": "vite build",
|
|
@@ -29,33 +29,33 @@
|
|
|
29
29
|
"animejs": "^3.2.2",
|
|
30
30
|
"feather-icons": "^4.29.2",
|
|
31
31
|
"luxon": "^3.4.4",
|
|
32
|
-
"maska": "^
|
|
32
|
+
"maska": "^3.0.0",
|
|
33
33
|
"modern-normalize": "^2.0.0",
|
|
34
|
-
"vue": "^3.4.
|
|
34
|
+
"vue": "^3.4.34",
|
|
35
35
|
"vue-bind-once": "^0.2.1"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@babel/core": "^7.24.
|
|
38
|
+
"@babel/core": "^7.24.9",
|
|
39
39
|
"@eslint/eslintrc": "^3.1.0",
|
|
40
|
-
"@eslint/js": "^9.
|
|
41
|
-
"@vitejs/plugin-vue": "^5.
|
|
40
|
+
"@eslint/js": "^9.8.0",
|
|
41
|
+
"@vitejs/plugin-vue": "^5.1.1",
|
|
42
42
|
"@vue/babel-preset-app": "^5.0.8",
|
|
43
43
|
"@vue/eslint-config-prettier": "^9.0.0",
|
|
44
44
|
"@vue/test-utils": "^2.4.6",
|
|
45
45
|
"babel-core": "^7.0.0-bridge.0",
|
|
46
|
-
"eslint": "^9.
|
|
47
|
-
"eslint-plugin-prettier": "^5.1
|
|
46
|
+
"eslint": "^9.8.0",
|
|
47
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
48
48
|
"eslint-plugin-vue": "^9.27.0",
|
|
49
49
|
"globals": "^15.8.0",
|
|
50
|
-
"husky": "^9.
|
|
50
|
+
"husky": "^9.1.3",
|
|
51
51
|
"jest": "~26.6.3",
|
|
52
52
|
"lint-staged": "^15.2.7",
|
|
53
53
|
"prettier": "^3.3.3",
|
|
54
54
|
"sass": "~1.77.8",
|
|
55
|
-
"sass-loader": "^
|
|
55
|
+
"sass-loader": "^16.0.0",
|
|
56
56
|
"stylus": "^0.63.0",
|
|
57
57
|
"stylus-loader": "^7.1.0",
|
|
58
|
-
"vite": "^5.3.
|
|
58
|
+
"vite": "^5.3.5",
|
|
59
59
|
"vue-jest": "^5.0.0-alpha.10"
|
|
60
60
|
}
|
|
61
61
|
}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
@closed="() => (isDisabled = false)"
|
|
31
31
|
>
|
|
32
32
|
<div v-if="!isInline" class="footer-container">
|
|
33
|
-
<transition-group name="fade"
|
|
33
|
+
<transition-group name="fade">
|
|
34
34
|
<div v-if="isDaysDisplayed" key="days" class="asd__recurency--container">
|
|
35
35
|
<div class="asd__recurency--days">
|
|
36
36
|
<ul class="asd__recurency--ul">
|
|
@@ -176,7 +176,7 @@ export default {
|
|
|
176
176
|
return this.day === '' && this.month === '' && this.year === ''
|
|
177
177
|
},
|
|
178
178
|
isDateValid() {
|
|
179
|
-
if (this.areInputsEmpty && !this.
|
|
179
|
+
if (this.areInputsEmpty && !this.required) return true
|
|
180
180
|
|
|
181
181
|
return (
|
|
182
182
|
!this.isInvalid &&
|
package/src/components/index.js
CHANGED
|
@@ -317,8 +317,9 @@ export default {
|
|
|
317
317
|
return `${this.pageFirstResultIndex} – ${this.pageLastResultIndex}`
|
|
318
318
|
},
|
|
319
319
|
paginationResultsDetails() {
|
|
320
|
+
const formattedNumberOfResults = new Intl.NumberFormat('en-US').format(this.numberOfResults)
|
|
320
321
|
const pluralizedCount = this.numberOfResults > 1 ? 'results' : 'result'
|
|
321
|
-
return `${
|
|
322
|
+
return `${formattedNumberOfResults} ${pluralizedCount}`
|
|
322
323
|
},
|
|
323
324
|
},
|
|
324
325
|
methods: {
|