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

zendeskgarden / react-components / f3d00f1e-ceae-4d36-ba47-a3042f45e7eb

01 Apr 2024 11:34AM UTC coverage: 96.194%. Remained the same
f3d00f1e-ceae-4d36-ba47-a3042f45e7eb

push

circleci

web-flow
chore(deps): update typescript-eslint monorepo to v7

3321 of 3659 branches covered (90.76%)

Branch coverage included in aggregate %.

10076 of 10268 relevant lines covered (98.13%)

215.9 hits per line

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

62.5
/packages/accordions/src/styled/timeline/StyledSeparator.ts
1
/**
2
 * Copyright Zendesk, Inc.
3
 *
4
 * Use of this source code is governed under the Apache License, Version 2.0
5
 * found at http://www.apache.org/licenses/LICENSE-2.0.
6
 */
7

8
import styled from 'styled-components';
15✔
9
import { getColorV8, retrieveComponentStyles, DEFAULT_THEME } from '@zendeskgarden/react-theming';
15✔
10

11
const COMPONENT_ID = 'timeline.content.separator';
15✔
12

13
export const StyledSeparator = styled.div.attrs({
15✔
14
  'data-garden-id': COMPONENT_ID,
15
  'data-garden-version': PACKAGE_VERSION
16
})`
17
  display: flex;
18
  position: relative;
19
  justify-content: center;
20
  padding: ${props => `${props.theme.space.base * 5}px ${props.theme.space.base}px`};
×
21

22
  &::after {
23
    position: absolute;
24
    border-left: ${props =>
25
      `${props.theme.borders.sm} ${getColorV8('neutralHue', 600, props.theme)}`};
×
26
    height: 100%;
27
    content: '';
28
  }
29

30
  ${props => retrieveComponentStyles(COMPONENT_ID, props)};
×
31
`;
32

33
StyledSeparator.defaultProps = {
15✔
34
  theme: DEFAULT_THEME
35
};
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