feat(cc-check-box): add optional required attribute