@bookjane2/bookjane-design-library 7.3.37 → 7.3.38
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/lib/components/BKJDialogChildren/BKJDialogChildren.d.ts.map +1 -1
- package/lib/components/BKJDialogChildren/BKJDialogChildren.js +2 -4
- package/lib/components/BKJDialogChildren/BKJDialogChildren.js.map +1 -1
- package/lib/components/BKJDialogChildren/BKJDialogChildren.styled.d.ts +0 -1
- package/lib/components/BKJDialogChildren/BKJDialogChildren.styled.d.ts.map +1 -1
- package/lib/components/BKJDialogChildren/BKJDialogChildren.styled.js +0 -6
- package/lib/components/BKJDialogChildren/BKJDialogChildren.styled.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJDialogChildren.d.ts","sourceRoot":"","sources":["../../../src/components/BKJDialogChildren/BKJDialogChildren.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAsC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"BKJDialogChildren.d.ts","sourceRoot":"","sources":["../../../src/components/BKJDialogChildren/BKJDialogChildren.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAsC,MAAM,OAAO,CAAC;AAW/D,OAAO,EAA6B,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAY/F,eAAO,MAAM,iBAAiB,EAAE,EAAE,CAAC,uBAAuB,CAsDzD,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef, useCallback, useEffect } from 'react';
|
|
3
3
|
import { BKJButton } from '../BKJButton/index.js';
|
|
4
|
-
import { BKJDialogWrapper, Title,
|
|
4
|
+
import { BKJDialogWrapper, Title, CloseIcon, ButtonGroup, TextWrapper, CloseIconWrapper, } from './BKJDialogChildren.styled.js';
|
|
5
5
|
const CancelVariantMap = {
|
|
6
6
|
Danger: 'PurpleOutlined',
|
|
7
7
|
Default: 'PurpleOutlined',
|
|
@@ -23,9 +23,7 @@ export const BKJDialogChildren = forwardRef(({ variant, title, cancelLabel, acti
|
|
|
23
23
|
};
|
|
24
24
|
}, [handleKeyUp]);
|
|
25
25
|
return (_jsxs(BKJDialogWrapper, Object.assign({}, rest, { variant: variant, ref: ref }, { children: [_jsx(CloseIconWrapper, Object.assign({ onClick: onClose, role: "button", tabIndex: 0 }, { children: _jsx(CloseIcon, { iconName: "CloseBold" }, void 0) }), void 0),
|
|
26
|
-
|
|
27
|
-
_jsx(Text, { children: children }, void 0)] }, void 0),
|
|
28
|
-
_jsxs(ButtonGroup, { children: [_jsx(BKJButton, Object.assign({ variant: CancelVariantMap[variant], onClick: onCancel }, { children: cancelLabel }), void 0),
|
|
26
|
+
_jsx(TextWrapper, { children: _jsx(Title, { children: title }, void 0) }, void 0), children, _jsxs(ButtonGroup, { children: [_jsx(BKJButton, Object.assign({ variant: CancelVariantMap[variant], onClick: onCancel }, { children: cancelLabel }), void 0),
|
|
29
27
|
_jsx(BKJButton, Object.assign({ variant: ActionVariantMap[variant], onClick: onAction }, { children: actionLabel }), void 0)] }, void 0)] }), void 0));
|
|
30
28
|
});
|
|
31
29
|
//# sourceMappingURL=BKJDialogChildren.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJDialogChildren.js","sourceRoot":"","sources":["../../../src/components/BKJDialogChildren/BKJDialogChildren.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAM,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAC/D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,OAAO,EACL,gBAAgB,EAChB,KAAK,EACL,
|
|
1
|
+
{"version":3,"file":"BKJDialogChildren.js","sourceRoot":"","sources":["../../../src/components/BKJDialogChildren/BKJDialogChildren.tsx"],"names":[],"mappings":";AAAA,OAAO,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D,KAAC,SAAS,IAAC,QAAQ,EAAC,WAAW,WAAG,YACjB;YAEnB,KAAC,WAAW,cACV,KAAC,KAAK,cAAE,KAAK,WAAS,WACV,EACb,QAAQ,EACT,MAAC,WAAW,eACV,KAAC,SAAS,kBAAC,OAAO,EAAE,gBAAgB,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,QAAQ,gBAC7D,WAAW,YACF;oBAEZ,KAAC,SAAS,kBAAC,OAAO,EAAE,gBAAgB,CAAC,OAAO,CAAC,EAAE,OAAO,EAAE,QAAQ,gBAC7D,WAAW,YACF,YACA,aACG,CACpB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -4,6 +4,5 @@ export declare const CloseIconWrapper: import("styled-components").StyledCompone
|
|
|
4
4
|
export declare const CloseIcon: import("styled-components").StyledComponent<import("react").FC<import("../BKJIcon/BKJIcon.types.js").IBKJIconProps>, import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
export declare const TextWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
6
|
export declare const Title: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
|
-
export declare const Text: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
7
|
export declare const ButtonGroup: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
8
|
//# sourceMappingURL=BKJDialogChildren.styled.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJDialogChildren.styled.d.ts","sourceRoot":"","sources":["../../../src/components/BKJDialogChildren/BKJDialogChildren.styled.tsx"],"names":[],"mappings":";AASA,eAAO,MAAM,gBAAgB,0GAc5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,yGAa5B,CAAC;AAEF,eAAO,MAAM,SAAS,wKAAoB,CAAC;AAE3C,eAAO,MAAM,WAAW,yGAUvB,CAAC;AAEF,eAAO,MAAM,KAAK,yGAKjB,CAAC;AAEF,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"BKJDialogChildren.styled.d.ts","sourceRoot":"","sources":["../../../src/components/BKJDialogChildren/BKJDialogChildren.styled.tsx"],"names":[],"mappings":";AASA,eAAO,MAAM,gBAAgB,0GAc5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,yGAa5B,CAAC;AAEF,eAAO,MAAM,SAAS,wKAAoB,CAAC;AAE3C,eAAO,MAAM,WAAW,yGAUvB,CAAC;AAEF,eAAO,MAAM,KAAK,yGAKjB,CAAC;AAEF,eAAO,MAAM,WAAW,yGAUvB,CAAC"}
|
|
@@ -47,12 +47,6 @@ export const Title = styled.div `
|
|
|
47
47
|
line-height: 34px;
|
|
48
48
|
text-align: center;
|
|
49
49
|
`;
|
|
50
|
-
export const Text = styled.div `
|
|
51
|
-
${({ theme }) => theme.fonts.PoppinsText};
|
|
52
|
-
font-size: 14px;
|
|
53
|
-
line-height: 22px;
|
|
54
|
-
text-align: center;
|
|
55
|
-
`;
|
|
56
50
|
export const ButtonGroup = styled.div `
|
|
57
51
|
display: flex;
|
|
58
52
|
justify-content: center;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BKJDialogChildren.styled.js","sourceRoot":"","sources":["../../../src/components/BKJDialogChildren/BKJDialogChildren.styled.tsx"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAQrC,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAwB;;;;;;;;;;;;;IAa9D,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC;CAChD,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAA;;;;;;;;;;qBAUrB,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,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