-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Use barrel files consistently in Lemon UI (#17368)
Update lemon-ui exports for @posthog/lemon-ui barrel file
- Loading branch information
Showing
20 changed files
with
67 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,42 @@ | ||
import '../../../src/styles/global.scss' | ||
export * from 'lib/lemon-ui/LemonBadge/LemonBadge' | ||
export * from 'lib/lemon-ui/LemonButton/LemonButton' | ||
export * from 'lib/lemon-ui/LemonSegmentedButton' | ||
export * from 'lib/lemon-ui/LemonCheckbox/LemonCheckbox' | ||
|
||
export * from 'lib/lemon-ui/hooks' | ||
export * from 'lib/lemon-ui/lemonToast' | ||
|
||
export * from 'lib/lemon-ui/LemonActionableTooltip' | ||
export * from 'lib/lemon-ui/LemonBadge' | ||
export * from 'lib/lemon-ui/LemonBanner' | ||
export * from 'lib/lemon-ui/LemonButton' | ||
export * from 'lib/lemon-ui/LemonCalendar' | ||
export * from 'lib/lemon-ui/LemonCalendarRange' | ||
export * from 'lib/lemon-ui/LemonCard' | ||
export * from 'lib/lemon-ui/LemonCheckbox' | ||
export * from 'lib/lemon-ui/LemonCollapse' | ||
export * from 'lib/lemon-ui/LemonDivider/LemonDivider' | ||
export * from 'lib/lemon-ui/LemonInput/LemonInput' | ||
export * from 'lib/lemon-ui/LemonLabel/LemonLabel' | ||
export * from 'lib/lemon-ui/LemonModal/LemonModal' | ||
export * from 'lib/lemon-ui/LemonRow/LemonRow' | ||
export * from 'lib/lemon-ui/LemonDialog' | ||
export * from 'lib/lemon-ui/LemonDivider' | ||
export * from 'lib/lemon-ui/LemonDropdown' | ||
export * from 'lib/lemon-ui/LemonFileInput' | ||
export * from 'lib/lemon-ui/LemonInput' | ||
export * from 'lib/lemon-ui/LemonLabel' | ||
export * from 'lib/lemon-ui/LemonMenu' | ||
export * from 'lib/lemon-ui/LemonModal' | ||
export * from 'lib/lemon-ui/LemonRow' | ||
export * from 'lib/lemon-ui/LemonSegmentedButton' | ||
export * from 'lib/lemon-ui/LemonSelect' | ||
export * from 'lib/lemon-ui/LemonSnack/LemonSnack' | ||
export * from 'lib/lemon-ui/LemonSwitch/LemonSwitch' | ||
export * from 'lib/lemon-ui/LemonTable/LemonTable' | ||
export * from 'lib/lemon-ui/LemonTag/LemonTag' | ||
export * from 'lib/lemon-ui/LemonTextArea/LemonTextArea' | ||
export * from 'lib/lemon-ui/lemonToast' | ||
export * from 'lib/lemon-ui/LemonSelectMultiple' | ||
export * from 'lib/lemon-ui/LemonSkeleton' | ||
export * from 'lib/lemon-ui/LemonSnack' | ||
export * from 'lib/lemon-ui/LemonSwitch' | ||
export * from 'lib/lemon-ui/LemonTable' | ||
export * from 'lib/lemon-ui/LemonTabs' | ||
export * from 'lib/lemon-ui/LemonTag' | ||
export * from 'lib/lemon-ui/LemonTextArea' | ||
export * from 'lib/lemon-ui/LemonWidget' | ||
export * from 'lib/lemon-ui/Lettermark' | ||
export * from 'lib/lemon-ui/Link' | ||
export * from 'lib/lemon-ui/PaginationControl' | ||
export * from 'lib/lemon-ui/Popover' | ||
export * from 'lib/lemon-ui/ProfilePicture' | ||
export * from 'lib/lemon-ui/Spinner' | ||
export * from 'lib/lemon-ui/Splotch' | ||
export * from 'lib/lemon-ui/Tooltip' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { LemonActionableTooltip } from './LemonActionableTooltip' | ||
export type { LemonActionableTooltipProps } from './LemonActionableTooltip' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './LemonCalendar' | ||
export * from './LemonCalendarSelect' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export * from './LemonCalendarRange' | ||
export * from './LemonCalendarRangeInline' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { LemonCard } from './LemonCard' | ||
export type { LemonCardProps } from './LemonCard' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
export { LemonCheckbox } from './LemonCheckbox' | ||
export type { LemonCheckboxProps } from './LemonCheckbox' |
2 changes: 1 addition & 1 deletion
2
frontend/src/lib/lemon-ui/LemonDropdown.tsx → .../lemon-ui/LemonDropdown/LemonDropdown.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { LemonDropdown } from './LemonDropdown' | ||
export type { LemonDropdownProps } from './LemonDropdown' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { LemonFileInput } from './LemonFileInput' | ||
export type { LemonFileInputProps } from './LemonFileInput' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { LemonInput } from './LemonInput' | ||
export type { LemonInputProps, LemonInputPropsNumber, LemonInputPropsText } from './LemonInput' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { LemonLabel } from './LemonLabel' | ||
export type { LemonLabelProps } from './LemonLabel' |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { LemonSnack } from './LemonSnack' | ||
export type { LemonSnackProps } from './LemonSnack' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { LemonSwitch } from './LemonSwitch' | ||
export { LemonSwitchProps } from './LemonSwitch' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { LemonTag } from './LemonTag' | ||
export type { LemonTagProps, LemonTagType } from './LemonTag' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { LemonTextArea, LemonTextAreaMarkdown } from './LemonTextArea' | ||
export type { LemonTextAreaProps } from './LemonTextArea' |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
export { Tooltip } from './Tooltip' | ||
export type { TooltipProps } from './Tooltip' |