@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
65 lines • 2.44 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.STEPPER_PROGRESS_STYLES = void 0;
const colors_1 = require("../../foundations/colors");
const spacings_1 = require("../../foundations/spacings");
const typography_1 = require("../../foundations/typography");
const variants_1 = require("../text/variants");
const variants_2 = require("./variants");
const commonProps = {
container: {
display: 'flex',
flex_direction: 'column',
width: 'auto',
},
progress: {
width: '100%',
height: spacings_1.SPACINGS.spacing_100,
border_style: 'none',
webkitProgressBar: {
background_color: colors_1.COLORS.NEUTRAL.color_neutral_border_200,
border_style: 'none',
},
webkitProgressValue: {
background_color: colors_1.COLORS.ACCENT.color_accent_default_bg_100,
border_style: 'none',
},
mozProgressBar: {
background_color: colors_1.COLORS.ACCENT.color_accent_default_bg_100,
border_style: 'none',
},
},
helpTextContainer: {
width: 'fit-content',
margin_top: spacings_1.SPACINGS.spacing_150,
},
};
exports.STEPPER_PROGRESS_STYLES = {
[variants_2.StepperProgressVariants.DEFAULT]: {
...commonProps,
currentStep: {
font_variant: variants_1.TextVariantType.PARAGRAPH_SMALL_EXTENDED,
font_weight: typography_1.FONT_WEIGHT.font_weight_600,
color: colors_1.COLORS.NEUTRAL.color_neutral_font_50,
},
maxStep: {
font_variant: variants_1.TextVariantType.PARAGRAPH_SMALL_EXTENDED,
font_weight: typography_1.FONT_WEIGHT.font_weight_400,
color: colors_1.COLORS.NEUTRAL.color_neutral_font_50,
},
},
[variants_2.StepperProgressVariants.ALTERNATIVE]: {
...commonProps,
currentStep: {
font_variant: variants_1.TextVariantType.PARAGRAPH_SMALL_EXTENDED,
font_weight: typography_1.FONT_WEIGHT.font_weight_600,
color: colors_1.COLORS.NEUTRAL.color_neutral_font_250,
},
maxStep: {
font_variant: variants_1.TextVariantType.PARAGRAPH_SMALL_EXTENDED,
font_weight: typography_1.FONT_WEIGHT.font_weight_400,
color: colors_1.COLORS.NEUTRAL.color_neutral_font_250,
},
},
};
//# sourceMappingURL=styles.js.map