ublo-lib 1.40.3 → 1.40.5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../../../src/common/components/collapsible/collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAaF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,aAAsB,EACtB,MAAY,EACZ,IAAI,EACJ,IAAI,EACJ,QAAQ,GACT,EAAE,KAAK,2CAyDP"}
1
+ {"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../../../src/common/components/collapsible/collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,KAAK,KAAK,GAAG;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAiBF,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,aAAsB,EACtB,MAAY,EACZ,IAAI,EACJ,IAAI,EACJ,QAAQ,GACT,EAAE,KAAK,2CAyDP"}
@@ -15,6 +15,10 @@ const messages = {
15
15
  open: "Open",
16
16
  close: "Close",
17
17
  },
18
+ es: {
19
+ open: "Abrir",
20
+ close: "Cerrar",
21
+ },
18
22
  };
19
23
  export default function Collapsible({ gradientColor = "#fff", height = 150, lang, path, children, }) {
20
24
  const [opened, setOpened] = React.useState(false);
@@ -1 +1 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/common/components/date-picker/messages.js"],"names":[],"mappings":"AAmHO,6CAIN"}
1
+ {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../../src/common/components/date-picker/messages.js"],"names":[],"mappings":"AAmHO,6CAGN"}
@@ -106,8 +106,7 @@ const locales = {
106
106
  },
107
107
  };
108
108
  export const get = (lang, id) => {
109
- const _lang = lang === "fr" ? "fr" : "en";
110
- if (!locales || !locales[_lang])
109
+ if (!locales || !locales[lang])
111
110
  return `??${id}??`;
112
- return locales[_lang][id] || locales.fr[id] || `??${id}??`;
111
+ return locales[lang][id] || locales.en[id] || `??${id}??`;
113
112
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.40.3",
3
+ "version": "1.40.5",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^3.10.8",
6
6
  "leaflet": "^1.9.1",