@youversion/design-system-components 0.33.0 → 0.33.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/CHANGELOG.md +6 -0
- package/dist/index.es.js +204 -191
- package/dist/index.umd.js +2 -2
- package/dist/src/Popover/Popover.stories.d.ts.map +1 -1
- package/dist/src/PopoverBody/PopoverBody.d.ts +3 -1
- package/dist/src/PopoverBody/PopoverBody.d.ts.map +1 -1
- package/dist/src/PopoverBody/PopoverBodyContents.d.ts +4 -1
- package/dist/src/PopoverBody/PopoverBodyContents.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.stories.d.ts","sourceRoot":"","sources":["../../../src/Popover/Popover.stories.tsx"],"names":[],"mappings":";AAKA,wBAsC0B;AAG1B,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Popover.stories.d.ts","sourceRoot":"","sources":["../../../src/Popover/Popover.stories.tsx"],"names":[],"mappings":";AAKA,wBAsC0B;AAG1B,eAAO,MAAM,KAAK,4BAqDjB,CAAC"}
|
|
@@ -9,6 +9,8 @@ export interface PopoverBodyProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
9
9
|
autoFocus?: boolean;
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
closeOnClickInside?: boolean;
|
|
12
|
+
/** This is a boolean that allows full screen displays on mobile. */
|
|
13
|
+
fullScreenMobile?: boolean;
|
|
12
14
|
/** Allows the Popover to be closed by clicking outside of it or pressing Esc key. Defaults to `false`. */
|
|
13
15
|
isDismissible?: boolean;
|
|
14
16
|
isOpen: boolean;
|
|
@@ -44,5 +46,5 @@ export interface PopoverBodyProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
44
46
|
* }
|
|
45
47
|
* ```
|
|
46
48
|
*/
|
|
47
|
-
export declare const PopoverBody: ({ align, autoFocus, children, className, closeOnClickInside, isDismissible, isOpen, onClose, ...rest }: PopoverBodyProps) => JSX.Element;
|
|
49
|
+
export declare const PopoverBody: ({ align, autoFocus, children, className, closeOnClickInside, fullScreenMobile, isDismissible, isOpen, onClose, ...rest }: PopoverBodyProps) => JSX.Element;
|
|
48
50
|
//# sourceMappingURL=PopoverBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverBody.d.ts","sourceRoot":"","sources":["../../../src/PopoverBody/PopoverBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAU,MAAM,OAAO,CAAC;AAOtD,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACvC,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtE,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,qEAAqE;IACrE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,0GAA0G;IAC1G,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"PopoverBody.d.ts","sourceRoot":"","sources":["../../../src/PopoverBody/PopoverBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAU,MAAM,OAAO,CAAC;AAOtD,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;IACvC,QAAQ,EAAE,KAAK,GAAG,QAAQ,CAAC;CAC5B;AAED,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtE,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,qEAAqE;IACrE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,oEAAoE;IACpE,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,0GAA0G;IAC1G,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,eAAO,MAAM,WAAW,6HAWrB,gBAAgB,gBAmClB,CAAC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { PopoverAlign, PopoverBodyProps } from './PopoverBody';
|
|
2
2
|
export interface PopoverBodyContentsProps extends Omit<PopoverBodyProps, 'autoFocus' | 'isOpen'> {
|
|
3
3
|
align: PopoverAlign;
|
|
4
|
+
/** This is a boolean that allows full screen displays on mobile. */
|
|
5
|
+
fullScreenMobile?: boolean;
|
|
4
6
|
}
|
|
5
7
|
/**
|
|
6
8
|
* The **PopoverBodyContents** component is an internal only component that is used to handle internal contents of
|
|
@@ -14,6 +16,7 @@ export interface PopoverBodyContentsProps extends Omit<PopoverBodyProps, 'autoFo
|
|
|
14
16
|
* <FocusTrap autoFocus={autoFocus}>
|
|
15
17
|
* <PopoverBodyContents
|
|
16
18
|
* align={align}
|
|
19
|
+
* fullScreenMobile={true}
|
|
17
20
|
* className={className}
|
|
18
21
|
* {...rest}
|
|
19
22
|
* >
|
|
@@ -23,5 +26,5 @@ export interface PopoverBodyContentsProps extends Omit<PopoverBodyProps, 'autoFo
|
|
|
23
26
|
* </PopoverBodyWrapper>
|
|
24
27
|
* ```
|
|
25
28
|
*/
|
|
26
|
-
export declare const PopoverBodyContents: ({ align, children, className, ...rest }: PopoverBodyContentsProps) => JSX.Element;
|
|
29
|
+
export declare const PopoverBodyContents: ({ align, children, className, fullScreenMobile, ...rest }: PopoverBodyContentsProps) => JSX.Element;
|
|
27
30
|
//# sourceMappingURL=PopoverBodyContents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverBodyContents.d.ts","sourceRoot":"","sources":["../../../src/PopoverBody/PopoverBodyContents.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAE/D,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,WAAW,GAAG,QAAQ,CAAC;IAC9F,KAAK,EAAE,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"PopoverBodyContents.d.ts","sourceRoot":"","sources":["../../../src/PopoverBody/PopoverBodyContents.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAE/D,MAAM,WAAW,wBAAyB,SAAQ,IAAI,CAAC,gBAAgB,EAAE,WAAW,GAAG,QAAQ,CAAC;IAC9F,KAAK,EAAE,YAAY,CAAC;IACpB,oEAAoE;IACpE,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,mBAAmB,8DAM7B,wBAAwB,gBAqC1B,CAAC"}
|