@assemblyvoting/ui-library 2.1.19 → 2.2.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/README.md CHANGED
@@ -25,6 +25,8 @@ app.mount("#app");
25
25
 
26
26
  You can also provide a i18n instance from the parent application, if this is the case the library will ignore its internal i18n instance, so it is important that you provide translations for all of the components you will use.
27
27
 
28
+ In case you don't pass a i18n instance, you can pass the locale as a param to any component that needs to be translated.
29
+
28
30
  ```
29
31
  app.use(UILibrary.default, i18n);
30
32
  ```
@@ -32,11 +34,12 @@ app.use(UILibrary.default, i18n);
32
34
  The provided translations need to follow this format:
33
35
 
34
36
  ```
35
- components:
36
- AVComponentName:
37
- key_1: Translation1
38
- key_2: Translation2
39
- key_3: Translation3
37
+ js:
38
+ components:
39
+ AVComponentName:
40
+ key_1: Translation1
41
+ key_2: Translation2
42
+ key_3: Translation3
40
43
  ```
41
44
 
42
45
  ## Importing components individually
@@ -1,5 +1,5 @@
1
1
  export * from "/Users/alexis.toledo/Projects/devbox/git-repos/mambo-jambo/src/components/molecules/AVOption/AVOption.vue?vue&type=script&setup=true&lang.ts";
2
- import "./AVOption.css?vue&type=style&index=0&src=cdb70130&scoped=cdb70130&lang.css";
2
+ import "./AVOption.css?vue&type=style&index=0&src=84425bc6&scoped=84425bc6&lang.css";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=AVOption.vue.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export * from "/Users/alexis.toledo/Projects/devbox/git-repos/mambo-jambo/src/components/molecules/AVSearchBallot/AVSearchBallot.vue?vue&type=script&setup=true&lang.ts";
2
- import "./AVSearchBallot.css?vue&type=style&index=0&src=2a89a02a&scoped=2a89a02a&lang.css";
2
+ import "./AVSearchBallot.css?vue&type=style&index=0&src=42954ae1&scoped=42954ae1&lang.css";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=AVSearchBallot.vue.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export * from "/Users/alexis.toledo/Projects/devbox/git-repos/mambo-jambo/src/components/molecules/AVSubmissionHelper/AVSubmissionHelper.vue?vue&type=script&setup=true&lang.ts";
2
- import "./AVSubmissionHelper.css?vue&type=style&index=0&src=ef20f2cb&scoped=ef20f2cb&lang.css";
2
+ import "./AVSubmissionHelper.css?vue&type=style&index=0&src=fefc6948&scoped=fefc6948&lang.css";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=AVSubmissionHelper.vue.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export * from "/Users/alexis.toledo/Projects/devbox/git-repos/mambo-jambo/src/components/organisms/AVBallot/AVBallot.vue?vue&type=script&setup=true&lang.ts";
2
- import "./AVBallot.css?vue&type=style&index=0&src=9654e3b4&scoped=9654e3b4&lang.css";
2
+ import "./AVBallot.css?vue&type=style&index=0&src=b1a74174&scoped=b1a74174&lang.css";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=AVBallot.vue.d.ts.map
@@ -1,5 +1,5 @@
1
1
  export * from "/Users/alexis.toledo/Projects/devbox/git-repos/mambo-jambo/src/components/organisms/AVSplitHelper/AVSplitHelper.vue?vue&type=script&setup=true&lang.ts";
2
- import "./AVSplitHelper.css?vue&type=style&index=0&src=f957f7ba&scoped=f957f7ba&lang.css";
2
+ import "./AVSplitHelper.css?vue&type=style&index=0&src=091dcfdc&scoped=091dcfdc&lang.css";
3
3
  declare const _default: any;
4
4
  export default _default;
5
5
  //# sourceMappingURL=AVSplitHelper.vue.d.ts.map