• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

atomicpages / pretty-checkbox-react / 11913957799

19 Nov 2024 01:21PM UTC coverage: 100.0%. Remained the same
11913957799

Pull #1202

github

web-flow
build(deps-dev): bump @commitlint/config-conventional

Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional) from 17.0.2 to 19.6.0.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases)
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md)
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.6.0/@commitlint/config-conventional)

---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #1202: build(deps-dev): bump @commitlint/config-conventional from 17.0.2 to 19.6.0

67 of 67 branches covered (100.0%)

Branch coverage included in aggregate %.

172 of 172 relevant lines covered (100.0%)

9.99 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

100.0
/src/components/state/State.tsx
1
import * as React from 'react';
4✔
2
import clsx from 'clsx';
4✔
3
import { PCRCheckboxRadioProps } from '../../typings/PCRCheckboxRadioProps';
4

5
type StateProps = React.HTMLAttributes<HTMLDivElement> & {
6
  color?: PCRCheckboxRadioProps['color'];
7
  icon?: React.ReactNode;
8
};
9

10
/**
11
 * A tiny component to abstract away pretty-checkbox "state" div.
12
 * Shared by all components.
13
 */
14
export const State: React.FC<StateProps> = ({
4✔
15
  color,
16
  icon,
17
  id,
18
  children,
19
  ...rest
20
}) => {
21
  return (
35✔
22
    <div className={clsx('state', color && `p-${color}`)} {...rest}>
36✔
23
      {icon}
24
      <label htmlFor={id}>{children}</label>
25
    </div>
26
  );
27
};
28

29
State.displayName = 'State';
4✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc