period-ui 0.1.74 → 0.1.76
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.
|
@@ -5,6 +5,6 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const components_1 = require("../../../../components");
|
|
6
6
|
const tailwind_utils_1 = require("../../../../utils/tailwind-utils");
|
|
7
7
|
function FooterContentView({ children, className, primaryButton, secondaryButton, visible = true, insideFooter = false, }) {
|
|
8
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: (0, tailwind_utils_1.tailwind)('flex flex-col', !visible && 'hidden', 'justify-end mt-10', 'space-x-0 space-y-4', 'md:flex-row md:space-x-4 md:space-y-0 md:mt-12', className), children: children ? (children) : ((0, jsx_runtime_1.jsxs)("div", { className: (0, tailwind_utils_1.tailwind)('flex flex-col justify-end space-y-4 w-full', 'md:flex-row md:space-x-4 md:space-y-0'
|
|
8
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: (0, tailwind_utils_1.tailwind)('flex flex-col', !visible && 'hidden', 'justify-end mt-10', 'space-x-0 space-y-4', 'md:flex-row md:space-x-4 md:space-y-0 md:mt-12', { 'sticky bottom-0 w-full bg-white py-1 -my-1': insideFooter }, className), children: children ? (children) : ((0, jsx_runtime_1.jsxs)("div", { className: (0, tailwind_utils_1.tailwind)('flex flex-col justify-end space-y-4 w-full', 'md:flex-row md:space-x-4 md:space-y-0'), children: [secondaryButton && ((0, jsx_runtime_1.jsx)(components_1.Button, { variant: components_1.ButtonVariant.SECONDARY, ...secondaryButton, children: secondaryButton.children })), primaryButton && ((0, jsx_runtime_1.jsx)(components_1.Button, { variant: components_1.ButtonVariant.PRIMARY, ...primaryButton, children: primaryButton.children }))] })) }));
|
|
9
9
|
}
|
|
10
10
|
//# sourceMappingURL=footer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer.js","sourceRoot":"","sources":["../../../../../src/components/molecules/modal/components/footer.tsx"],"names":[],"mappings":";;AAcA,8CA2CC;;AAxDD,uDAA4E;AAC5E,qEAA4D;AAY5D,SAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,SAAS,EACT,aAAa,EACb,eAAe,EACf,OAAO,GAAG,IAAI,EACd,YAAY,GAAG,KAAK,GACd;IACN,OAAO,CACL,gCACE,SAAS,EAAE,IAAA,yBAAQ,EACjB,eAAe,EACf,CAAC,OAAO,IAAI,QAAQ,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,gDAAgD,EAChD,SAAS,CACV,YAEA,QAAQ,CAAC,CAAC,CAAC,CACV,QAAQ,CACT,CAAC,CAAC,CAAC,CACF,iCACE,SAAS,EAAE,IAAA,yBAAQ,EACjB,4CAA4C,EAC5C,uCAAuC,
|
|
1
|
+
{"version":3,"file":"footer.js","sourceRoot":"","sources":["../../../../../src/components/molecules/modal/components/footer.tsx"],"names":[],"mappings":";;AAcA,8CA2CC;;AAxDD,uDAA4E;AAC5E,qEAA4D;AAY5D,SAAgB,iBAAiB,CAAC,EAChC,QAAQ,EACR,SAAS,EACT,aAAa,EACb,eAAe,EACf,OAAO,GAAG,IAAI,EACd,YAAY,GAAG,KAAK,GACd;IACN,OAAO,CACL,gCACE,SAAS,EAAE,IAAA,yBAAQ,EACjB,eAAe,EACf,CAAC,OAAO,IAAI,QAAQ,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,gDAAgD,EAChD,EAAE,4CAA4C,EAAE,YAAY,EAAE,EAC9D,SAAS,CACV,YAEA,QAAQ,CAAC,CAAC,CAAC,CACV,QAAQ,CACT,CAAC,CAAC,CAAC,CACF,iCACE,SAAS,EAAE,IAAA,yBAAQ,EACjB,4CAA4C,EAC5C,uCAAuC,CACxC,aAEA,eAAe,IAAI,CAClB,uBAAC,mBAAM,IAAC,OAAO,EAAE,0BAAa,CAAC,SAAS,KAAM,eAAe,YAC1D,eAAe,CAAC,QAAQ,GAClB,CACV,EACA,aAAa,IAAI,CAChB,uBAAC,mBAAM,IAAC,OAAO,EAAE,0BAAa,CAAC,OAAO,KAAM,aAAa,YACtD,aAAa,CAAC,QAAQ,GAChB,CACV,IACG,CACP,GACG,CACP,CAAC;AACJ,CAAC"}
|