@youversion/platform-react-ui 1.7.0 → 1.8.1
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/components/bible-version-picker.d.ts +1 -0
- package/dist/components/bible-version-picker.d.ts.map +1 -1
- package/dist/components/verse.d.ts.map +1 -1
- package/dist/index.cjs +303 -149
- package/dist/index.js +307 -152
- package/dist/lib/verse-html-utils.d.ts +28 -0
- package/dist/lib/verse-html-utils.d.ts.map +1 -0
- package/dist/tailwind.css +1 -1
- package/package.json +5 -5
- package/dist/components/YouVersionAuthButton.stories.d.ts +0 -91
- package/dist/components/YouVersionAuthButton.stories.d.ts.map +0 -1
- package/dist/components/bible-chapter-picker.stories.d.ts +0 -47
- package/dist/components/bible-chapter-picker.stories.d.ts.map +0 -1
- package/dist/components/bible-reader.stories.d.ts +0 -26
- package/dist/components/bible-reader.stories.d.ts.map +0 -1
- package/dist/components/bible-version-picker.stories.d.ts +0 -37
- package/dist/components/bible-version-picker.stories.d.ts.map +0 -1
- package/dist/components/bible-widget-view.stories.d.ts +0 -31
- package/dist/components/bible-widget-view.stories.d.ts.map +0 -1
- package/dist/components/verse-of-the-day.stories.d.ts +0 -50
- package/dist/components/verse-of-the-day.stories.d.ts.map +0 -1
- package/dist/components/verse.stories.d.ts +0 -51
- package/dist/components/verse.stories.d.ts.map +0 -1
- package/dist/components/verse.test.d.ts +0 -2
- package/dist/components/verse.test.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bible-version-picker.stories.d.ts","sourceRoot":"","sources":["../../src/components/bible-version-picker.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAsB,KAAK,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAsB5E,QAAA,MAAM,IAAI;;2DAV8D,SAAS;;;;yBANtD,KAAK,CAAC,aAAa;;;;;;;;;;;;;;;;;;CAwCR,CAAC;AAEvC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAM7B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAM5B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAmB/B,CAAC;AAEF,eAAO,MAAM,4BAA4B,EAAE,KAqC1C,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KA4BtC,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { BibleWidgetView } from './bible-widget-view';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof BibleWidgetView;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
tags: string[];
|
|
10
|
-
argTypes: {
|
|
11
|
-
reference: {
|
|
12
|
-
control: "text";
|
|
13
|
-
description: string;
|
|
14
|
-
};
|
|
15
|
-
versionId: {
|
|
16
|
-
control: "number";
|
|
17
|
-
description: string;
|
|
18
|
-
};
|
|
19
|
-
showVersionPicker: {
|
|
20
|
-
control: "boolean";
|
|
21
|
-
description: string;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
export default meta;
|
|
26
|
-
type Story = StoryObj<typeof meta>;
|
|
27
|
-
export declare const Default: Story;
|
|
28
|
-
export declare const DarkMode: Story;
|
|
29
|
-
export declare const WithVersionPicker: Story;
|
|
30
|
-
export declare const RealAPI: Story;
|
|
31
|
-
//# sourceMappingURL=bible-widget-view.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bible-widget-view.stories.d.ts","sourceRoot":"","sources":["../../src/components/bible-widget-view.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAGtD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;CAqB8B,CAAC;AAEzC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AACF,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAqD/B,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import { VerseOfTheDay } from './verse-of-the-day';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof VerseOfTheDay;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
tags: string[];
|
|
10
|
-
argTypes: {
|
|
11
|
-
background: {
|
|
12
|
-
control: {
|
|
13
|
-
type: "select";
|
|
14
|
-
};
|
|
15
|
-
options: string[];
|
|
16
|
-
};
|
|
17
|
-
versionId: {
|
|
18
|
-
table: {
|
|
19
|
-
disable: true;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
dayOfYear: {
|
|
23
|
-
table: {
|
|
24
|
-
disable: true;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
showSunIcon: {
|
|
28
|
-
control: "boolean";
|
|
29
|
-
};
|
|
30
|
-
showBibleAppAttribution: {
|
|
31
|
-
control: "boolean";
|
|
32
|
-
};
|
|
33
|
-
showShareButton: {
|
|
34
|
-
control: "boolean";
|
|
35
|
-
};
|
|
36
|
-
size: {
|
|
37
|
-
control: {
|
|
38
|
-
type: "select";
|
|
39
|
-
};
|
|
40
|
-
options: string[];
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
export default meta;
|
|
45
|
-
type Story = StoryObj<typeof meta>;
|
|
46
|
-
export declare const Default: Story;
|
|
47
|
-
export declare const Large: Story;
|
|
48
|
-
export declare const Minimal: Story;
|
|
49
|
-
export declare const RealAPI: Story;
|
|
50
|
-
//# sourceMappingURL=verse-of-the-day.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"verse-of-the-day.stories.d.ts","sourceRoot":"","sources":["../../src/components/verse-of-the-day.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoC4B,CAAC;AAEvC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAoCrB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAC"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import type { StoryObj } from '@storybook/react-vite';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
declare const meta: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: ({ reference, fontFamily, fontSize, lineHeight, versionId, showVerseNumbers, renderNotes, theme, }: import("./verse").BibleTextViewProps) => React.ReactElement;
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: string;
|
|
8
|
-
};
|
|
9
|
-
tags: string[];
|
|
10
|
-
argTypes: {
|
|
11
|
-
theme: {
|
|
12
|
-
table: {
|
|
13
|
-
disable: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
reference: {
|
|
17
|
-
control: "text";
|
|
18
|
-
description: string;
|
|
19
|
-
};
|
|
20
|
-
versionId: {
|
|
21
|
-
control: "number";
|
|
22
|
-
description: string;
|
|
23
|
-
};
|
|
24
|
-
fontFamily: {
|
|
25
|
-
control: "text";
|
|
26
|
-
description: string;
|
|
27
|
-
};
|
|
28
|
-
fontSize: {
|
|
29
|
-
control: "number";
|
|
30
|
-
description: string;
|
|
31
|
-
};
|
|
32
|
-
lineHeight: {
|
|
33
|
-
control: "number";
|
|
34
|
-
description: string;
|
|
35
|
-
};
|
|
36
|
-
renderNotes: {
|
|
37
|
-
control: "boolean";
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
export default meta;
|
|
42
|
-
type Story = StoryObj<typeof meta>;
|
|
43
|
-
export declare const SingleVerse: Story;
|
|
44
|
-
export declare const VerseRange: Story;
|
|
45
|
-
export declare const FullChapter: Story;
|
|
46
|
-
export declare const RealAPI: Story;
|
|
47
|
-
export declare const FootnoteInteraction: Story;
|
|
48
|
-
export declare const DarkMode: Story;
|
|
49
|
-
export declare const FootnotePopoverThemeLight: Story;
|
|
50
|
-
export declare const FootnotePopoverThemeDark: Story;
|
|
51
|
-
//# sourceMappingURL=verse.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"verse.stories.d.ts","sourceRoot":"","sources":["../../src/components/verse.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAE5D,OAAO,KAAK,MAAM,OAAO,CAAC;AAuG1B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqC4B,CAAC;AAEvC,eAAe,IAAI,CAAC;AAEpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,WAAW,EAAE,KAkBzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAMxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAMzB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAarB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAiCjC,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KA4BtB,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KAqCvC,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KA0CtC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"verse.test.d.ts","sourceRoot":"","sources":["../../src/components/verse.test.tsx"],"names":[],"mappings":""}
|