UNPKG

@inkline/inkline

Version:

Inkline is the Vue.js UI/UX Library built for creating your next design system

1,130 lines 55.6 kB
export const manifest = { name: 'card', slots: [ { description: 'Slot for default card content', name: 'default' }, { description: 'Slot for card header content', name: 'header' }, { description: 'Slot for card footer content', name: 'footer' }, { description: 'Slot for card image', name: 'image' } ], props: [ { name: 'color', type: [ 'primary', 'success', 'light', 'dark', 'info', 'success', 'warning', 'danger' ], default: 'light', description: 'The color variant of the card' }, { name: 'size', type: [ 'sm', 'md', 'lg' ], default: 'md', description: 'The size variant of the card' } ], css: { selector: '.card', defaults: { size: 'md', color: 'light' }, variables: [ { name: 'background', type: 'color', value: 'color(\'white\')', description: 'The background of the card component' }, { name: 'border-top-color', type: 'color', value: 'color(\'light\')', description: 'The border top color of the card component' }, { name: 'border-right-color', type: 'color', value: 'color(\'light\')', description: 'The border right color of the card component' }, { name: 'border-bottom-color', type: 'color', value: 'color(\'light\')', description: 'The border bottom color of the card component' }, { name: 'border-left-color', type: 'color', value: 'color(\'light\')', description: 'The border left color of the card 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 card component' }, { name: 'border-style', type: '', value: 'var(--border-style)', description: 'The border style of the card component' }, { name: 'border-top-width', type: '', value: 'var(--border-top-width)', description: 'The border top width of the card component' }, { name: 'border-right-width', type: '', value: 'var(--border-right-width)', description: 'The border right width of the card component' }, { name: 'border-bottom-width', type: '', value: 'var(--border-bottom-width)', description: 'The border bottom width of the card component' }, { name: 'border-left-width', type: '', value: 'var(--border-left-width)', description: 'The border left width of the card 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 card component' }, { name: 'border-top-left-radius', type: 'size', value: 'var(--border-top-left-radius)', description: 'The border top left radius of the card component' }, { name: 'border-top-right-radius', type: 'size', value: 'var(--border-top-right-radius)', description: 'The border top right radius of the card component' }, { name: 'border-bottom-right-radius', type: 'size', value: 'var(--border-bottom-right-radius)', description: 'The border bottom right radius of the card component' }, { name: 'border-bottom-left-radius', type: 'size', value: 'var(--border-bottom-left-radius)', description: 'The border bottom left radius of the card 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 card component' }, { name: 'box-shadow-offset-x', type: '', value: 'var(--box-shadow-offset-x)', description: 'The box shadow horizontal offset of the card component' }, { name: 'box-shadow-offset-y', type: '', value: 'var(--box-shadow-offset-y)', description: 'The box shadow vertical offset of the card component' }, { name: 'box-shadow-blur-radius', type: '', value: 'var(--box-shadow-blur-radius)', description: 'The box shadow blur radius of the card component' }, { name: 'box-shadow-spread-radius', type: '', value: 'var(--box-shadow-spread-radius)', description: 'The box shadow spread radius of the card component' }, { name: 'box-shadow-color', type: '', value: 'var(--box-shadow-color)', description: 'The box shadow spread radius of the card 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 card component' }, { name: 'color', type: 'color', value: 'contrast-color($color-light)', description: 'The color of the card component' }, { name: 'font-size', type: 'size', value: 'font-size()', description: 'The font size of the card component' }, { name: 'font-weight', type: '', value: 'font-weight(\'normal\')', description: 'The font weight of the card component' }, { name: 'line-height', type: '', value: 'var(--line-height)', description: 'The line height of the card component' }, { name: 'padding-top', type: 'size', value: 'var(--padding-top)', description: 'The padding top of the card component' }, { name: 'padding-right', type: 'size', value: 'var(--padding-right)', description: 'The padding right of the card component' }, { name: 'padding-bottom', type: 'size', value: 'var(--padding-bottom)', description: 'The padding bottom of the card component' }, { name: 'padding-left', type: 'size', value: 'var(--padding-left)', description: 'The padding left of the card component' }, { name: 'padding', type: '', value: 'var(----padding-top) var(----padding-right) var(----padding-bottom) var(----padding-left)', description: 'The padding of the card component' }, { name: 'header--background', type: 'color', value: 'color(\'light-25\')', description: 'The background of the modal component header' }, { name: 'header--border-color', type: '', value: 'var(----border-color)', description: 'The border color of the modal component header' }, { name: 'header--border-style', type: '', value: 'var(----border-style)', description: 'The border style of the modal component header' }, { name: 'header--border-top-width', type: '', value: 'var(----border-top-width)', description: 'The border top width of the modal component header' }, { name: 'header--border-right-width', type: '', value: 'var(----border-right-width)', description: 'The border right width of the modal component header' }, { name: 'header--border-bottom-width', type: '', value: 'var(----border-bottom-width)', description: 'The border bottom width of the modal component header' }, { name: 'header--border-left-width', type: '', value: 'var(----border-left-width)', description: 'The border left width of the modal component header' }, { name: 'header--border-width', type: '', value: 'var(----header--border-top-width) var(----header--border-right-width) var(----header--border-bottom-width) var(----header--border-left-width)', description: 'The border width of the modal component header' }, { name: 'header--color', type: '', value: 'var(----color)', description: 'The color of the modal component header' }, { name: 'header--padding-top', type: '', value: 'var(----padding-top)', description: 'The padding top of the modal component header' }, { name: 'header--padding-right', type: '', value: 'var(----padding-right)', description: 'The padding right of the modal component header' }, { name: 'header--padding-bottom', type: 'size', value: 'var(----padding-bottom)', description: 'The padding bottom of the modal component header' }, { name: 'header--padding-left', type: 'size', value: 'var(----padding-left)', description: 'The padding left of the modal component header' }, { name: 'header--padding', type: '', value: 'var(----header--padding-top) var(----header--padding-right) var(----header--padding-bottom) var(----header--padding-left)', description: 'The padding of the modal component header' }, { name: 'body--background', type: '', value: 'var(----background)', description: 'The background of the modal component body' }, { name: 'body--border-color', type: '', value: 'var(----border-color)', description: 'The border color of the modal component body' }, { name: 'body--border-style', type: '', value: 'var(----border-style)', description: 'The border style of the modal component body' }, { name: 'body--border-top-width', type: '', value: 'var(----border-top-width)', description: 'The border top width of the modal component body' }, { name: 'body--border-right-width', type: '', value: 'var(----border-right-width)', description: 'The border right width of the modal component body' }, { name: 'body--border-bottom-width', type: '', value: 'var(----border-bottom-width)', description: 'The border bottom width of the modal component body' }, { name: 'body--border-left-width', type: '', value: 'var(----border-left-width)', description: 'The border left width of the modal component body' }, { name: 'body--border-width', type: '', value: 'var(----body--border-top-width) var(----body--border-right-width) var(----body--border-bottom-width) var(----body--border-left-width)', description: 'The border width of the modal component body' }, { name: 'body--color', type: '', value: 'var(----color)', description: 'The color of the modal component body' }, { name: 'body--padding-top', type: '', value: 'var(----padding-top)', description: 'The padding top of the modal component body' }, { name: 'body--padding-right', type: '', value: 'var(----padding-right)', description: 'The padding right of the modal component body' }, { name: 'body--padding-bottom', type: 'size', value: 'var(----padding-bottom)', description: 'The padding bottom of the modal component body' }, { name: 'body--padding-left', type: 'size', value: 'var(----padding-left)', description: 'The padding left of the modal component body' }, { name: 'body--padding', type: '', value: 'var(----body--padding-top) var(----body--padding-right) var(----body--padding-bottom) var(----body--padding-left)', description: 'The padding of the modal component body' }, { name: 'footer--background', type: 'color', value: 'color(\'light-25\')', description: 'The background of the modal component footer' }, { name: 'footer--border-color', type: '', value: 'var(----border-color)', description: 'The border color of the modal component footer' }, { name: 'footer--border-style', type: '', value: 'var(----border-style)', description: 'The border style of the modal component footer' }, { name: 'footer--border-top-width', type: '', value: 'var(----border-top-width)', description: 'The border top width of the modal component footer' }, { name: 'footer--border-right-width', type: '', value: 'var(----border-right-width)', description: 'The border right width of the modal component footer' }, { name: 'footer--border-bottom-width', type: '', value: 'var(----border-bottom-width)', description: 'The border bottom width of the modal component footer' }, { name: 'footer--border-left-width', type: '', value: 'var(----border-left-width)', description: 'The border left width of the modal component footer' }, { name: 'footer--border-width', type: '', value: 'var(----footer--border-top-width) var(----footer--border-right-width) var(----footer--border-bottom-width) var(----footer--border-left-width)', description: 'The border width of the modal component footer' }, { name: 'footer--color', type: '', value: 'var(----color)', description: 'The color of the modal component footer' }, { name: 'footer--padding-top', type: '', value: 'var(----padding-top)', description: 'The padding top of the modal component footer' }, { name: 'footer--padding-right', type: '', value: 'var(----padding-right)', description: 'The padding right of the modal component footer' }, { name: 'footer--padding-bottom', type: 'size', value: 'var(----padding-bottom)', description: 'The padding bottom of the modal component footer' }, { name: 'footer--padding-left', type: 'size', value: 'var(----padding-left)', description: 'The padding left of the modal component footer' }, { name: 'footer--padding', type: '', value: 'var(----footer--padding-top) var(----footer--padding-right) var(----footer--padding-bottom) var(----footer--padding-left)', description: 'The padding of the modal component footer' } ], variants: [ { name: 'primary', type: 'variant', description: 'Variables for the primary color variant', variables: [ { name: 'background', type: '', value: 'color(\'primary\')', description: 'The background of the card component, for the primary color variant' }, { name: 'border-top-color', type: '', value: 'color(\'primary-60\')', description: 'The border top color of the card component, for the primary color variant' }, { name: 'border-right-color', type: '', value: 'color(\'primary-60\')', description: 'The border right color of the card component, for the primary color variant' }, { name: 'border-bottom-color', type: '', value: 'color(\'primary-60\')', description: 'The border bottom color of the card component, for the primary color variant' }, { name: 'border-left-color', type: '', value: 'color(\'primary-60\')', description: 'The border left color of the card component, for the primary color variant' }, { name: 'color', type: '', value: 'contrast-color($color-primary)', description: 'The color of the card component, for the primary color variant' }, { name: 'header--background', type: '', value: 'color(\'primary-55\')', description: 'The background of the modal component header, for the primary color variant' }, { name: 'footer--background', type: '', value: 'color(\'primary-55\')', description: 'The background of the modal component footer, for the primary color variant' } ] }, { name: 'secondary', type: 'variant', description: 'Variables for the secondary color variant', variables: [ { name: 'background', type: '', value: 'color(\'secondary\')', description: 'The background of the card component, for the secondary color variant' }, { name: 'border-top-color', type: '', value: 'color(\'secondary-60\')', description: 'The border top color of the card component, for the secondary color variant' }, { name: 'border-right-color', type: '', value: 'color(\'secondary-60\')', description: 'The border right color of the card component, for the secondary color variant' }, { name: 'border-bottom-color', type: '', value: 'color(\'secondary-60\')', description: 'The border bottom color of the card component, for the secondary color variant' }, { name: 'border-left-color', type: '', value: 'color(\'secondary-60\')', description: 'The border left color of the card component, for the secondary color variant' }, { name: 'color', type: '', value: 'contrast-color($color-secondary)', description: 'The color of the card component, for the secondary color variant' }, { name: 'header--background', type: '', value: 'color(\'secondary-55\')', description: 'The background of the modal component header, for the secondary color variant' }, { name: 'footer--background', type: '', value: 'color(\'secondary-55\')', description: 'The background of the modal component footer, for the secondary color variant' } ] }, { name: 'light', type: 'variant', description: 'Variables for the light color variant', variables: [ { name: 'background', type: '', value: 'color(\'white\')', description: 'The background of the card component, for the light color variant' }, { name: 'border-top-color', type: '', value: 'color(\'light\')', description: 'The border top color of the card component, for the light color variant' }, { name: 'border-right-color', type: '', value: 'color(\'light\')', description: 'The border right color of the card component, for the light color variant' }, { name: 'border-bottom-color', type: '', value: 'color(\'light\')', description: 'The border bottom color of the card component, for the light color variant' }, { name: 'border-left-color', type: '', value: 'color(\'light\')', description: 'The border left color of the card component, for the light color variant' }, { name: 'color', type: '', value: 'contrast-color($color-light)', description: 'The color of the card component, for the light color variant' }, { name: 'header--background', type: '', value: 'color(\'light-25\')', description: 'The background of the modal component header, for the light color variant' }, { name: 'footer--background', type: '', value: 'color(\'light-25\')', description: 'The background of the modal component footer, for the light color variant' } ] }, { name: 'dark', type: 'variant', description: 'Variables for the dark color variant', variables: [ { name: 'background', type: '', value: 'color(\'dark\')', description: 'The background of the card component, for the dark color variant' }, { name: 'border-top-color', type: '', value: 'color(\'dark-60\')', description: 'The border top color of the card component, for the dark color variant' }, { name: 'border-right-color', type: '', value: 'color(\'dark-60\')', description: 'The border right color of the card component, for the dark color variant' }, { name: 'border-bottom-color', type: '', value: 'color(\'dark-60\')', description: 'The border bottom color of the card component, for the dark color variant' }, { name: 'border-left-color', type: '', value: 'color(\'dark-60\')', description: 'The border left color of the card component, for the dark color variant' }, { name: 'color', type: '', value: 'contrast-color($color-dark)', description: 'The color of the card component, for the dark color variant' }, { name: 'header--background', type: '', value: 'color(\'dark-55\')', description: 'The background of the modal component header, for the dark color variant' }, { name: 'footer--background', type: '', value: 'color(\'dark-55\')', description: 'The background of the modal component footer, for the dark color variant' } ] }, { name: 'info', type: 'variant', description: 'Variables for the info color variant', variables: [ { name: 'background', type: '', value: 'color(\'info\')', description: 'The background of the card component, for the info color variant' }, { name: 'border-top-color', type: '', value: 'color(\'info-60\')', description: 'The border top color of the card component, for the info color variant' }, { name: 'border-right-color', type: '', value: 'color(\'info-60\')', description: 'The border right color of the card component, for the info color variant' }, { name: 'border-bottom-color', type: '', value: 'color(\'info-60\')', description: 'The border bottom color of the card component, for the info color variant' }, { name: 'border-left-color', type: '', value: 'color(\'info-60\')', description: 'The border left color of the card component, for the info color variant' }, { name: 'color', type: '', value: 'contrast-color($color-info)', description: 'The color of the card component, for the info color variant' }, { name: 'header--background', type: '', value: 'color(\'info-55\')', description: 'The background of the modal component header, for the info color variant' }, { name: 'footer--background', type: '', value: 'color(\'info-55\')', description: 'The background of the modal component footer, for the info color variant' } ] }, { name: 'success', type: 'variant', description: 'Variables for the success color variant', variables: [ { name: 'background', type: '', value: 'color(\'success\')', description: 'The background of the card component, for the success color variant' }, { name: 'border-top-color', type: '', value: 'color(\'success-60\')', description: 'The border top color of the card component, for the success color variant' }, { name: 'border-right-color', type: '', value: 'color(\'success-60\')', description: 'The border right color of the card component, for the success color variant' }, { name: 'border-bottom-color', type: '', value: 'color(\'success-60\')', description: 'The border bottom color of the card component, for the success color variant' }, { name: 'border-left-color', type: '', value: 'color(\'success-60\')', description: 'The border left color of the card component, for the success color variant' }, { name: 'color', type: '', value: 'contrast-color($color-success)', description: 'The color of the card component, for the success color variant' }, { name: 'header--background', type: '', value: 'color(\'success-55\')', description: 'The background of the modal component header, for the success color variant' }, { name: 'footer--background', type: '', value: 'color(\'success-55\')', description: 'The background of the modal component footer, for the success color variant' } ] }, { name: 'warning', type: 'variant', description: 'Variables for the warning color variant', variables: [ { name: 'background', type: '', value: 'color(\'warning\')', description: 'The background of the card component, for the warning color variant' }, { name: 'border-top-color', type: '', value: 'color(\'warning-60\')', description: 'The border top color of the card component, for the warning color variant' }, { name: 'border-right-color', type: '', value: 'color(\'warning-60\')', description: 'The border right color of the card component, for the warning color variant' }, { name: 'border-bottom-color', type: '', value: 'color(\'warning-60\')', description: 'The border bottom color of the card component, for the warning color variant' }, { name: 'border-left-color', type: '', value: 'color(\'warning-60\')', description: 'The border left color of the card component, for the warning color variant' }, { name: 'color', type: '', value: 'contrast-color($color-warning)', description: 'The color of the card component, for the warning color variant' }, { name: 'header--background', type: '', value: 'color(\'warning-55\')', description: 'The background of the modal component header, for the warning color variant' }, { name: 'footer--background', type: '', value: 'color(\'warning-55\')', description: 'The background of the modal component footer, for the warning color variant' } ] }, { name: 'danger', type: 'variant', description: 'Variables for the danger color variant', variables: [ { name: 'background', type: '', value: 'color(\'danger\')', description: 'The background of the card component, for the danger color variant' }, { name: 'border-top-color', type: '', value: 'color(\'danger-60\')', description: 'The border top color of the card component, for the danger color variant' }, { name: 'border-right-color', type: '', value: 'color(\'danger-60\')', description: 'The border right color of the card component, for the danger color variant' }, { name: 'border-bottom-color', type: '', value: 'color(\'danger-60\')', description: 'The border bottom color of the card component, for the danger color variant' }, { name: 'border-left-color', type: '', value: 'color(\'danger-60\')', description: 'The border left color of the card component, for the danger color variant' }, { name: 'color', type: '', value: 'contrast-color($color-danger)', description: 'The color of the card component, for the danger color variant' }, { name: 'header--background', type: '', value: 'color(\'danger-55\')', description: 'The background of the modal component header, for the danger color variant' }, { name: 'footer--background', type: '', value: 'color(\'danger-55\')', description: 'The background of the modal component footer, for the danger 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 card 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 card 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 card 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 card component, for the sm size variant' }, { name: 'font-size', type: '', value: 'calc(#{font-size()} * #{size-multiplier(\'sm\')})', description: 'The font size of the card component, for the sm size variant' }, { name: 'padding-top', type: '', value: 'calc(#{var(--padding-top)} * #{size-multiplier(\'sm\')})', description: 'The padding top of the card component, for the sm size variant' }, { name: 'padding-right', type: '', value: 'calc(#{var(--padding-right)} * #{size-multiplier(\'sm\')})', description: 'The padding right of the card component, for the sm size variant' }, { name: 'padding-bottom', type: '', value: 'calc(#{var(--padding-bottom)} * #{size-multiplier(\'sm\')})', description: 'The padding bottom of the card component, for the sm size variant' }, { name: 'padding-left', type: '', value: 'calc(#{var(--padding-left)} * #{size-multiplier(\'sm\')})', description: 'The padding left of the card component, for the sm size variant' }, { name: 'header--padding-bottom', type: '', value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'sm\')})', description: 'The padding bottom of the modal component header, for the sm size variant' }, { name: 'header--padding-left', type: '', value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'sm\')})', description: 'The padding left of the modal component header, for the sm size variant' }, { name: 'body--padding-bottom', type: '', value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'sm\')})', description: 'The padding bottom of the modal component body, for the sm size variant' }, { name: 'body--padding-left', type: '', value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'sm\')})', description: 'The padding left of the modal component body, for the sm size variant' }, { name: 'footer--padding-bottom', type: '', value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'sm\')})', description: 'The padding bottom of the modal component footer, for the sm size variant' }, { name: 'footer--padding-left', type: '', value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'sm\')})', description: 'The padding left of the modal component footer, 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 card 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 card 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 card 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 card component, for the md size variant' }, { name: 'font-size', type: '', value: 'calc(#{font-size()} * #{size-multiplier(\'md\')})', description: 'The font size of the card component, for the md size variant' }, { name: 'padding-top', type: '', value: 'calc(#{var(--padding-top)} * #{size-multiplier(\'md\')})', description: 'The padding top of the card component, for the md size variant' }, { name: 'padding-right', type: '', value: 'calc(#{var(--padding-right)} * #{size-multiplier(\'md\')})', description: 'The padding right of the card component, for the md size variant' }, { name: 'padding-bottom', type: '', value: 'calc(#{var(--padding-bottom)} * #{size-multiplier(\'md\')})', description: 'The padding bottom of the card component, for the md size variant' }, { name: 'padding-left', type: '', value: 'calc(#{var(--padding-left)} * #{size-multiplier(\'md\')})', description: 'The padding left of the card component, for the md size variant' }, { name: 'header--padding-bottom', type: '', value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'md\')})', description: 'The padding bottom of the modal component header, for the md size variant' }, { name: 'header--padding-left', type: '', value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'md\')})', description: 'The padding left of the modal component header, for the md size variant' }, { name: 'body--padding-bottom', type: '', value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'md\')})', description: 'The padding bottom of the modal component body, for the md size variant' }, { name: 'body--padding-left', type: '', value: 'calc(#{var(----padding-left)} * #{size-multiplier(\'md\')})', description: 'The padding left of the modal component body, for the md size variant' }, { name: 'footer--padding-bottom', type: '', value: 'calc(#{var(----padding-bottom)} * #{size-multiplier(\'md\')})', description: 'The padding bottom of the modal component footer, for the md size variant' }, { name: 'footer--padding-left', type: '', value: 'calc(#{