@venite/components 0.16.18 → 0.16.22-s

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.
Files changed (28) hide show
  1. package/dist/cjs/ion-button_13.cjs.entry.js +23 -3
  2. package/dist/cjs/ldf-day-name_5.cjs.entry.js +31 -15
  3. package/dist/cjs/ldf.cjs.js +1 -1
  4. package/dist/cjs/loader.cjs.js +1 -1
  5. package/dist/collection/components/prayers-and-thanksgivings/dist/prayers-and-thanksgivings.js +22 -6
  6. package/dist/collection/components/prayers-and-thanksgivings/prayers-and-thanksgivings.i18n.es.json +3 -0
  7. package/dist/collection/components/prayers-and-thanksgivings/prayers-and-thanksgivings.js +21 -5
  8. package/dist/collection/components/text/dist/text.js +43 -16
  9. package/dist/collection/components/text/text.css +14 -1
  10. package/dist/collection/components/text/text.i18n.en.json +2 -1
  11. package/dist/collection/components/text/text.i18n.es.json +3 -1
  12. package/dist/collection/components/text/text.js +71 -19
  13. package/dist/collection/i18n/prayers-and-thanksgivings.i18n.es.json +3 -0
  14. package/dist/collection/i18n/text.i18n.en.json +2 -1
  15. package/dist/collection/i18n/text.i18n.es.json +3 -1
  16. package/dist/esm/ion-button_13.entry.js +23 -3
  17. package/dist/esm/ldf-day-name_5.entry.js +31 -15
  18. package/dist/esm/ldf.js +1 -1
  19. package/dist/esm/loader.js +1 -1
  20. package/dist/ldf/i18n/prayers-and-thanksgivings.i18n.es.json +3 -0
  21. package/dist/ldf/i18n/text.i18n.en.json +2 -1
  22. package/dist/ldf/i18n/text.i18n.es.json +3 -1
  23. package/dist/ldf/ldf.esm.js +1 -1
  24. package/dist/ldf/{p-e4f0cd91.entry.js → p-7a9ab85c.entry.js} +1 -1
  25. package/dist/ldf/{p-f184d804.entry.js → p-e301606a.entry.js} +1 -1
  26. package/dist/types/components/text/text.d.ts +4 -0
  27. package/dist/types/components.d.ts +5 -0
  28. package/package.json +1 -1
@@ -6,6 +6,8 @@ export declare class TextComponent {
6
6
  localeStrings: {
7
7
  [x: string]: string;
8
8
  };
9
+ intentions: string[];
10
+ setPrayerList(intentions: string[]): Promise<void>;
9
11
  /**
10
12
  * An LDF Text object.
11
13
  */
@@ -21,6 +23,8 @@ export declare class TextComponent {
21
23
  editable: boolean;
22
24
  /** Used to add Prayers and Thanksgivings */
23
25
  ldfDocShouldChange: EventEmitter<Change>;
26
+ /** Request prayer list for Prayers and Thanksgivings */
27
+ ldfAskForPrayerList: EventEmitter<boolean>;
24
28
  componentWillLoad(): Promise<void>;
25
29
  loadLocaleStrings(): Promise<void>;
26
30
  truncate(s: string, last?: boolean, words?: number): string;
@@ -636,6 +636,7 @@ export namespace Components {
636
636
  * A JSON Pointer that points to the Text being edited
637
637
  */
638
638
  "path": string;
639
+ "setPrayerList": (intentions: string[]) => Promise<void>;
639
640
  }
640
641
  }
641
642
  declare global {
@@ -1557,6 +1558,10 @@ declare namespace LocalJSX {
1557
1558
  * Whether the object is editable
1558
1559
  */
1559
1560
  "editable"?: boolean;
1561
+ /**
1562
+ * Request prayer list for Prayers and Thanksgivings
1563
+ */
1564
+ "onLdfAskForPrayerList"?: (event: CustomEvent<boolean>) => void;
1560
1565
  /**
1561
1566
  * Used to add Prayers and Thanksgivings
1562
1567
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@venite/components",
3
- "version": "0.16.18",
3
+ "version": "0.16.22s",
4
4
  "description": "Rendering components for the Venite.app Liturgical Document Format (LDF)",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",