Skip to content

Commit 2892143

Browse files
committed
style
1 parent 7cbec62 commit 2892143

File tree

69 files changed

+153
-730
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+153
-730
lines changed

package-lock.json

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/compass-components/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"@leafygreen-ui/code": "^16.0.2",
4444
"@leafygreen-ui/combobox": "^11.0.2",
4545
"@leafygreen-ui/confirmation-modal": "^6.0.2",
46+
"@leafygreen-ui/descendants": "^2.1.0",
4647
"@leafygreen-ui/emotion": "^4.0.9",
4748
"@leafygreen-ui/guide-cue": "^7.0.2",
4849
"@leafygreen-ui/hooks": "^8.3.4",

packages/compass-components/src/components/drawer/Drawer/Drawer.spec.tsx

Lines changed: 0 additions & 122 deletions
This file was deleted.

packages/compass-components/src/components/drawer/Drawer/Drawer.styles.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { css, cx, keyframes } from '@leafygreen-ui/emotion';
2-
import { createUniqueClassName, Theme } from '@leafygreen-ui/lib';
2+
import { createUniqueClassName, type Theme } from '@leafygreen-ui/lib';
33
import {
44
addOverflowShadow,
55
color,
@@ -10,8 +10,8 @@ import {
1010

1111
import { PANEL_WIDTH } from '../constants';
1212

13-
import { HEADER_HEIGHT, MOBILE_BREAKPOINT } from './Drawer.constants';
14-
import { DisplayMode } from './Drawer.types';
13+
import { HEADER_HEIGHT, MOBILE_BREAKPOINT } from './drawer.constants';
14+
import { DisplayMode } from './drawer.types';
1515

1616
export const drawerTransitionDuration = transitionDuration.slower;
1717

packages/compass-components/src/components/drawer/Drawer/Drawer.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { usePolymorphic } from '@leafygreen-ui/polymorphic';
1414
import { BaseFontSize } from '@leafygreen-ui/tokens';
1515
import { Body } from '@leafygreen-ui/typography';
1616

17-
import { useDrawerStackContext } from '../DrawerStackContext';
17+
import { useDrawerStackContext } from '../drawer-stack-context';
1818
import { getLgIds } from '../utils';
1919

2020
import {
@@ -25,8 +25,8 @@ import {
2525
getHeaderStyles,
2626
getInnerContainerStyles,
2727
innerChildrenContainerStyles,
28-
} from './Drawer.styles';
29-
import { DisplayMode, DrawerProps } from './Drawer.types';
28+
} from './drawer.styles';
29+
import { DisplayMode, type DrawerProps } from './drawer.types';
3030
import { Icon } from '../../leafygreen';
3131

3232
export const Drawer = forwardRef<HTMLDivElement, DrawerProps>(

packages/compass-components/src/components/drawer/Drawer/Drawer.types.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1-
import React from 'react';
1+
import type React from 'react';
22

3-
import { DarkModeProps, HTMLElementProps, LgIdProps } from '@leafygreen-ui/lib';
3+
import type {
4+
DarkModeProps,
5+
HTMLElementProps,
6+
LgIdProps,
7+
} from '@leafygreen-ui/lib';
48

59
/**
610
* Options to control how the drawer element is displayed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export { Drawer } from './Drawer';
2-
export { MOBILE_BREAKPOINT } from './Drawer.constants';
3-
export { drawerClassName } from './Drawer.styles';
4-
export { DisplayMode, type DrawerProps } from './Drawer.types';
1+
export { Drawer } from './drawer';
2+
export { MOBILE_BREAKPOINT } from './drawer.constants';
3+
export { drawerClassName } from './drawer.styles';
4+
export { DisplayMode, type DrawerProps } from './drawer.types';

packages/compass-components/src/components/drawer/DrawerLayout/DrawerLayout.spec.tsx

Lines changed: 0 additions & 49 deletions
This file was deleted.

packages/compass-components/src/components/drawer/DrawerLayout/index.ts

Lines changed: 0 additions & 2 deletions
This file was deleted.

packages/compass-components/src/components/drawer/DrawerStackContext/DrawerStackContext.spec.tsx

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)