diff --git a/src/main/style/atom/chip/chip.mixin.pug b/src/main/style/atom/chip/chip.mixin.pug index c365deea245..85425f9b7f3 100644 --- a/src/main/style/atom/chip/chip.mixin.pug +++ b/src/main/style/atom/chip/chip.mixin.pug @@ -1,6 +1,6 @@ mixin jhlite-chip(options) - const { selectableHighlighted: isSelectableHighlighted, notSelectableHighlighted: isNotSelectableHighlighted, compacted: isCompacted, extended: isExtended, selected: isSelected, applied: isApplied, hasLeftAnchorPoint, hasRightAnchorPoint } = options || {}; - - const selectabledHighlightedClass = isSelectableHighlighted ? '-selectable-highlighted' : null; + - const selectableHighlightedClass = isSelectableHighlighted ? '-selectable-highlighted' : null; - const notSelectableHighlightedClass = isNotSelectableHighlighted ? '-not-selectable-highlighted' : null; - const compactedClass = isCompacted ? '-compacted' : null; - const extendedClass = isExtended ? '-extended' : null; @@ -9,7 +9,7 @@ mixin jhlite-chip(options) - const leftAnchorPointClass = hasLeftAnchorPoint ? '-left-anchor-point' : null; - const rightAnchorPointClass = hasRightAnchorPoint ? '-right-anchor-point' : null; .jhlite-chip( - class=[selectabledHighlightedClass, notSelectableHighlightedClass, selectedClass, extendedClass, leftAnchorPointClass, rightAnchorPointClass] + class=[selectableHighlightedClass, notSelectableHighlightedClass, selectedClass, extendedClass, leftAnchorPointClass, rightAnchorPointClass] ) .jhlite-chip--title(class=appliedClass) Chip title .jhlite-chip--description(class=compactedClass) Chip description