All files / molecule/collapsible/src settings.js

100% Statements 10/10
100% Branches 0/0
100% Functions 0/0
100% Lines 10/10

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 211x 1x 1x 1x 1x 1x 1x   1x   1x         1x          
export const BASE_CLASS = 'sui-MoleculeCollapsible'
export const CONTENT_CLASS = `${BASE_CLASS}-content`
export const CONTAINER_BUTTON_CLASS = `${BASE_CLASS}-container`
export const COLLAPSED_CLASS = 'is-collapsed'
export const BUTTON_CLASS = `${BASE_CLASS}-btn`
export const BUTTON_CONTENT_CLASS = `${BUTTON_CLASS}-content`
export const ICON_CLASS = `${BASE_CLASS}-icon`
 
export const MIN_HEIGHT = 100 // px
 
export const CONTENT_ALIGN = {
  CENTER: 'center',
  RIGHT: 'right'
}
 
export const BUTTON_TEXT_ALIGN = {
  CENTER: 'center',
  RIGHT: 'right',
  LEFT: 'left'
}