@kubit-ui-web/react-components
Version:
Kubit React Components is a customizable, accessible library of React web components, designed to enhance your application's user experience
118 lines • 4.67 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ACCORDION_STYLES = void 0;
const breakpoints_1 = require("../../../../types/breakpoints/breakpoints");
const borders_1 = require("../../foundations/borders");
const colors_1 = require("../../foundations/colors");
const sizes_1 = require("../../foundations/sizes");
const spacings_1 = require("../../foundations/spacings");
const typography_1 = require("../../foundations/typography");
const zIndex_1 = require("../../foundations/zIndex");
const variants_1 = require("../variants");
const variants_2 = require("./variants");
exports.ACCORDION_STYLES = {
[variants_2.AccordionVariantType.DEFAULT]: {
container: {
background_color: colors_1.COLORS.NEUTRAL.color_neutral_bg_250,
display: 'flex',
flex_direction: 'column',
position: 'relative',
},
headerExternalContainer: {
display: 'flex',
justify_content: 'space-between',
},
headerInternalContainer: {
margin_bottom: spacings_1.SPACINGS.spacing_50,
align_items: 'flex-start',
display: 'flex',
flex_direction: 'column',
justify_content: 'center',
width: '100%',
},
headerMainContainer: {
width: '100%',
display: 'flex',
},
subHeader: {
margin_top: spacings_1.SPACINGS.spacing_150,
margin_left: spacings_1.SPACINGS.spacing_600,
margin_bottom: spacings_1.SPACINGS.spacing_100,
},
headerRightContentContainer: {
display: 'flex',
align_items: 'center',
width: '15rem',
},
decorative: {
background_color: colors_1.COLORS.SECONDARY.color_secondary_bg_100,
border_radius: borders_1.RADIUS.radius_00,
width: spacings_1.SPACINGS.spacing_500,
gap: spacings_1.SPACINGS.spacing_300,
top: spacings_1.SPACINGS.spacing_0,
bottom: spacings_1.SPACINGS.spacing_0,
position: 'absolute',
},
trigger: {
cursor: 'pointer',
display: 'flex',
justify_content: 'flex-start',
margin: spacings_1.SPACINGS.spacing_0,
padding: spacings_1.SPACINGS.spacing_0,
z_index: zIndex_1.Z_INDEX.INTERN_1,
align_items: 'center',
width: spacings_1.SPACINGS.spacing_100_percent,
},
link: {
cursor: 'pointer',
display: 'flex',
justify_content: 'flex-start',
margin: spacings_1.SPACINGS.spacing_0,
padding: spacings_1.SPACINGS.spacing_0,
z_index: zIndex_1.Z_INDEX.INTERN_1,
align_items: 'center',
width: spacings_1.SPACINGS.spacing_100_percent,
},
triggerIconContainer: {
align_items: 'center',
display: 'flex',
justify_content: 'center',
transform: 'rotate(0deg)',
transition: 'transform 0.15s ease-in-out',
padding: spacings_1.SPACINGS.spacing_100,
background_color: colors_1.COLORS.SECONDARY.color_secondary_bg_100,
},
triggerIcon: {
color: colors_1.COLORS.NEUTRAL.color_neutral_icon_50,
width: sizes_1.SIZES.size_300,
height: sizes_1.SIZES.size_300,
},
title: {
font_size: typography_1.HEADING.H3.DESKTOP.font_size,
font_weight: typography_1.FONT_WEIGHT.font_weight_500,
color: colors_1.COLORS.NEUTRAL.color_neutral_font_50,
text_align: typography_1.TEXT_ALIGN.left,
line_height: '0',
},
titleContainer: {
align_items: 'center',
display: 'flex',
justify_content: 'center',
height: spacings_1.SPACINGS.spacing_100_percent,
margin_left: spacings_1.SPACINGS.spacing_300,
gap: spacings_1.SPACINGS.spacing_300,
},
content: {
padding: `${spacings_1.SPACINGS.spacing_300} ${spacings_1.SPACINGS.spacing_600} ${spacings_1.SPACINGS.spacing_0} ${spacings_1.SPACINGS.spacing_600}`,
},
lineSeparatorContainer: {
variant: variants_1.LineSeparatorLineVariantType.LINE_INFORMATIVE,
margin_right: spacings_1.SPACINGS.spacing_400,
margin_bottom: spacings_1.SPACINGS.spacing_400,
[breakpoints_1.DeviceBreakpointsType.MOBILE]: {
width: '100%',
},
},
},
};
//# sourceMappingURL=styles.js.map