////
///
/// Text Wrap Mixins
/// ===========================================================================
///
/// Text wrapping and word break utility mixins.
///
/// @group Mixins.Utilities
/// @author Scape Press
/// @link https://scape.style
/// @since 0.1.0 initial release
/// @access public
///
////

// ============================================================================
// Text Wrapping Mixins
// ============================================================================

/// Normal text wrapping
@mixin text--wrap {
    white-space: normal !important;
}

/// Prevent text wrapping
@mixin text--nowrap {
    white-space: nowrap !important;
}

/// Break long words
@mixin text--break {
    word-wrap: break-word !important;
    word-break: break-word !important;
}

// ============================================================================
// Word Break Mixins
// ============================================================================

/// Normal word break
@mixin word-break--normal {
    word-break: normal !important;
}

/// Break all words
@mixin word-break--break-all {
    word-break: break-all !important;
}

/// Keep words together (CJK)
@mixin word-break--keep-all {
    word-break: keep-all !important;
}
