@inkline/inkline
Version:
Inkline is the Vue.js UI/UX Library built for creating your next design system
389 lines • 16.6 kB
JavaScript
export const manifest = {
name: 'progress',
slots: [
{
description: 'Slot for default progress content',
name: 'default'
}
],
props: [
{
name: 'color',
type: [
'light',
'dark'
],
default: 'light',
description: 'The color variant of the progress component'
},
{
name: 'min',
type: [
'Number'
],
default: '0',
description: 'The value to consider as the 0% starting point'
},
{
name: 'max',
type: [
'Number'
],
default: '100',
description: 'The value to consider as the 100% ending point'
},
{
name: 'size',
type: [
'sm',
'md',
'lg'
],
default: 'md',
description: 'The size variant of the progress component'
}
],
css: {
selector: '.progress',
defaults: {
size: 'md',
color: 'light'
},
variables: [
{
name: 'background',
type: 'color',
value: 'color(\'light\')',
description: 'The background of the progress component'
},
{
name: 'border-top-color',
type: 'color',
value: 'color(\'light-55\')',
description: 'The border top color of the progress component'
},
{
name: 'border-right-color',
type: 'color',
value: 'color(\'light-55\')',
description: 'The border right color of the progress component'
},
{
name: 'border-bottom-color',
type: 'color',
value: 'color(\'light-55\')',
description: 'The border bottom color of the progress component'
},
{
name: 'border-left-color',
type: 'color',
value: 'color(\'light-55\')',
description: 'The border left color of the progress component'
},
{
name: 'border-color',
type: '',
value: 'var(----border-top-color) var(----border-right-color) var(----border-bottom-color) var(----border-left-color)',
description: 'The border color of the progress component'
},
{
name: 'border-style',
type: '',
value: 'var(--border-style)',
description: 'The border style of the progress component'
},
{
name: 'border-top-width',
type: '',
value: 'var(--border-top-width)',
description: 'The border top width of the progress component'
},
{
name: 'border-right-width',
type: '',
value: 'var(--border-right-width)',
description: 'The border right width of the progress component'
},
{
name: 'border-bottom-width',
type: '',
value: 'var(--border-bottom-width)',
description: 'The border bottom width of the progress component'
},
{
name: 'border-left-width',
type: '',
value: 'var(--border-left-width)',
description: 'The border left width of the progress component'
},
{
name: 'border-width',
type: '',
value: 'var(----border-top-width) var(----border-right-width) var(----border-bottom-width) var(----border-left-width)',
description: 'The border width of the progress component'
},
{
name: 'border-top-left-radius',
type: 'size',
value: 'var(--border-top-left-radius)',
description: 'The border top left radius of the progress component'
},
{
name: 'border-top-right-radius',
type: 'size',
value: 'var(--border-top-right-radius)',
description: 'The border top right radius of the progress component'
},
{
name: 'border-bottom-right-radius',
type: 'size',
value: 'var(--border-bottom-right-radius)',
description: 'The border bottom right radius of the progress component'
},
{
name: 'border-bottom-left-radius',
type: 'size',
value: 'var(--border-bottom-left-radius)',
description: 'The border bottom left radius of the progress component'
},
{
name: 'border-radius',
type: '',
value: 'var(----border-top-left-radius) var(----border-top-right-radius) var(----border-bottom-right-radius) var(----border-bottom-left-radius)',
description: 'The border radius of the progress component'
},
{
name: 'box-shadow-offset-x',
type: '',
value: 'var(--box-shadow-offset-x)',
description: 'The box shadow horizontal offset of the progress component'
},
{
name: 'box-shadow-offset-y',
type: '',
value: 'var(--box-shadow-offset-y)',
description: 'The box shadow vertical offset of the progress component'
},
{
name: 'box-shadow-blur-radius',
type: '',
value: 'var(--box-shadow-blur-radius)',
description: 'The box shadow blur radius of the progress component'
},
{
name: 'box-shadow-spread-radius',
type: '',
value: 'var(--box-shadow-spread-radius)',
description: 'The box shadow spread radius of the progress component'
},
{
name: 'box-shadow-color',
type: '',
value: 'var(--box-shadow-color)',
description: 'The box shadow spread radius of the progress component'
},
{
name: 'box-shadow',
type: '',
value: 'var(----box-shadow-offset-x) var(----box-shadow-offset-y) var(----box-shadow-blur-radius) var(----box-shadow-spread-radius) var(----box-shadow-color)',
description: 'The box shadow of the progress component'
},
{
name: 'height',
type: 'size',
value: 'spacing(\'3/4\')',
description: 'The height of the progress component'
}
],
variants: [
{
name: 'light',
type: 'variant',
description: 'Variables for the light color variant',
variables: [
{
name: 'background',
type: '',
value: 'color(\'light\')',
description: 'The background of the progress component, for the light color variant'
},
{
name: 'border-top-color',
type: '',
value: 'color(\'light-55\')',
description: 'The border top color of the progress component, for the light color variant'
},
{
name: 'border-right-color',
type: '',
value: 'color(\'light-55\')',
description: 'The border right color of the progress component, for the light color variant'
},
{
name: 'border-bottom-color',
type: '',
value: 'color(\'light-55\')',
description: 'The border bottom color of the progress component, for the light color variant'
},
{
name: 'border-left-color',
type: '',
value: 'color(\'light-55\')',
description: 'The border left color of the progress component, for the light color variant'
}
]
},
{
name: 'dark',
type: 'variant',
description: 'Variables for the dark color variant',
variables: [
{
name: 'background',
type: '',
value: 'color(\'dark-60\')',
description: 'The background of the progress component, for the dark color variant'
},
{
name: 'border-top-color',
type: '',
value: 'color(\'dark-45\')',
description: 'The border top color of the progress component, for the dark color variant'
},
{
name: 'border-right-color',
type: '',
value: 'color(\'dark-45\')',
description: 'The border right color of the progress component, for the dark color variant'
},
{
name: 'border-bottom-color',
type: '',
value: 'color(\'dark-45\')',
description: 'The border bottom color of the progress component, for the dark color variant'
},
{
name: 'border-left-color',
type: '',
value: 'color(\'dark-45\')',
description: 'The border left color of the progress component, for the dark color variant'
}
]
},
{
name: 'sm',
type: 'variant',
description: 'Variables for the sm size variant',
variables: [
{
name: 'border-top-left-radius',
type: '',
value: 'calc(#{var(--border-top-left-radius)} * #{size-multiplier(\'sm\')})',
description: 'The border top left radius of the progress component, for the sm size variant'
},
{
name: 'border-top-right-radius',
type: '',
value: 'calc(#{var(--border-top-right-radius)} * #{size-multiplier(\'sm\')})',
description: 'The border top right radius of the progress component, for the sm size variant'
},
{
name: 'border-bottom-right-radius',
type: '',
value: 'calc(#{var(--border-bottom-right-radius)} * #{size-multiplier(\'sm\')})',
description: 'The border bottom right radius of the progress component, for the sm size variant'
},
{
name: 'border-bottom-left-radius',
type: '',
value: 'calc(#{var(--border-bottom-left-radius)} * #{size-multiplier(\'sm\')})',
description: 'The border bottom left radius of the progress component, for the sm size variant'
},
{
name: 'height',
type: '',
value: 'calc(#{spacing(\'3/4\')} * #{size-multiplier(\'sm\')})',
description: 'The height of the progress component, for the sm size variant'
}
]
},
{
name: 'md',
type: 'variant',
description: 'Variables for the md size variant',
variables: [
{
name: 'border-top-left-radius',
type: '',
value: 'calc(#{var(--border-top-left-radius)} * #{size-multiplier(\'md\')})',
description: 'The border top left radius of the progress component, for the md size variant'
},
{
name: 'border-top-right-radius',
type: '',
value: 'calc(#{var(--border-top-right-radius)} * #{size-multiplier(\'md\')})',
description: 'The border top right radius of the progress component, for the md size variant'
},
{
name: 'border-bottom-right-radius',
type: '',
value: 'calc(#{var(--border-bottom-right-radius)} * #{size-multiplier(\'md\')})',
description: 'The border bottom right radius of the progress component, for the md size variant'
},
{
name: 'border-bottom-left-radius',
type: '',
value: 'calc(#{var(--border-bottom-left-radius)} * #{size-multiplier(\'md\')})',
description: 'The border bottom left radius of the progress component, for the md size variant'
},
{
name: 'height',
type: '',
value: 'calc(#{spacing(\'3/4\')} * #{size-multiplier(\'md\')})',
description: 'The height of the progress component, for the md size variant'
}
]
},
{
name: 'lg',
type: 'variant',
description: 'Variables for the lg size variant',
variables: [
{
name: 'border-top-left-radius',
type: '',
value: 'calc(#{var(--border-top-left-radius)} * #{size-multiplier(\'lg\')})',
description: 'The border top left radius of the progress component, for the lg size variant'
},
{
name: 'border-top-right-radius',
type: '',
value: 'calc(#{var(--border-top-right-radius)} * #{size-multiplier(\'lg\')})',
description: 'The border top right radius of the progress component, for the lg size variant'
},
{
name: 'border-bottom-right-radius',
type: '',
value: 'calc(#{var(--border-bottom-right-radius)} * #{size-multiplier(\'lg\')})',
description: 'The border bottom right radius of the progress component, for the lg size variant'
},
{
name: 'border-bottom-left-radius',
type: '',
value: 'calc(#{var(--border-bottom-left-radius)} * #{size-multiplier(\'lg\')})',
description: 'The border bottom left radius of the progress component, for the lg size variant'
},
{
name: 'height',
type: '',
value: 'calc(#{spacing(\'3/4\')} * #{size-multiplier(\'lg\')})',
description: 'The height of the progress component, for the lg size variant'
}
]
}
]
},
events: []
};
export default manifest;
//# sourceMappingURL=manifest.mjs.map