@saooti/octopus-sdk 41.9.2 → 41.9.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/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 41.9.3 (10/04/2026)
4
+
5
+ **Features**
6
+
7
+ - Export de `useDayjs` pour un dayjs avec réactivité
8
+
9
+ **Fixes**
10
+
11
+ - Correction affichage compteur limite quand champ caché
12
+
3
13
  ## 41.9.2 (07/04/2026)
4
14
 
5
15
  **Features**
package/index.ts CHANGED
@@ -136,6 +136,7 @@ export { useOrgaComputed } from "./src/components/composable/useOrgaComputed.ts"
136
136
  export { useSeoTitleUrl } from "./src/components/composable/route/useSeoTitleUrl.ts";
137
137
  export { useSeasonsManagement } from "./src/components/composable/useSeasonsManagement.ts";
138
138
  export { useTranslation } from "./src/components/composable/useTranslation.ts";
139
+ export { useDayjs } from "./src/components/composable/useDayjs.ts";
139
140
 
140
141
  //helper
141
142
  import domHelper from "./src/helper/domHelper.ts";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "41.9.2",
3
+ "version": "41.9.3",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -10,6 +10,9 @@ import "dayjs/locale/sl";
10
10
  import duration from "dayjs/plugin/duration";
11
11
  dayjs.extend(duration);
12
12
 
13
+ import localizedFormat from "dayjs/plugin/localizedFormat";
14
+ dayjs.extend(localizedFormat);
15
+
13
16
  export const useDayjs = () => {
14
17
  const { locale } = useI18n();
15
18
 
@@ -116,7 +116,7 @@
116
116
  {{ errorText }}
117
117
  </div>
118
118
  <p
119
- v-if="0 !== maxLength"
119
+ v-if="0 !== maxLength && showField"
120
120
  class="counter-align-right"
121
121
  :class="{ 'text-danger': !valueLengthValid }"
122
122
  >