Skip to content

Commit

Permalink
core: rename primary component to index
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBa committed Feb 25, 2025
1 parent 69459c9 commit e9d354f
Show file tree
Hide file tree
Showing 250 changed files with 634 additions and 644 deletions.
2 changes: 1 addition & 1 deletion static/app/components/acl/comingSoon.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Alert} from 'sentry/components/core/alert/alert';
import {Alert} from 'sentry/components/core/alert';
import {t} from 'sentry/locale';

function ComingSoon() {
Expand Down
4 changes: 2 additions & 2 deletions static/app/components/acl/featureDisabled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import {Fragment, useState} from 'react';
import styled from '@emotion/styled';

import {Button, ButtonLabel} from 'sentry/components/button';
import type {AlertProps} from 'sentry/components/core/alert/alert';
import {Alert} from 'sentry/components/core/alert/alert';
import type {AlertProps} from 'sentry/components/core/alert';
import {Alert} from 'sentry/components/core/alert';
import ExternalLink from 'sentry/components/links/externalLink';
import {CONFIG_DOCS_URL} from 'sentry/constants';
import {IconChevron, IconCopy} from 'sentry/icons';
Expand Down
2 changes: 1 addition & 1 deletion static/app/components/alerts/onDemandMetricAlert.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type React from 'react';
import styled from '@emotion/styled';

import {Button} from 'sentry/components/button';
import {Alert} from 'sentry/components/core/alert/alert';
import {Alert} from 'sentry/components/core/alert';
import {Tooltip} from 'sentry/components/tooltip';
import {IconClose, IconWarning} from 'sentry/icons';
import {t} from 'sentry/locale';
Expand Down
2 changes: 1 addition & 1 deletion static/app/components/alerts/unsupportedAlert.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {Alert} from 'sentry/components/core/alert/alert';
import {Alert} from 'sentry/components/core/alert';
import {IconInfo} from 'sentry/icons';
import {t} from 'sentry/locale';

Expand Down
2 changes: 1 addition & 1 deletion static/app/components/badge/featureBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type {SeverityLevel} from '@sentry/core';
import {captureException, withScope} from '@sentry/react';

import CircleIndicator from 'sentry/components/circleIndicator';
import Badge, {type BadgeType} from 'sentry/components/core/badge/badge';
import Badge, {type BadgeType} from 'sentry/components/core/badge';
import type {TooltipProps} from 'sentry/components/tooltip';
import {Tooltip} from 'sentry/components/tooltip';
import {t} from 'sentry/locale';
Expand Down
2 changes: 1 addition & 1 deletion static/app/components/compactSelect/control.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import type {ListState} from '@react-stately/list';
import type {OverlayTriggerState} from '@react-stately/overlays';

import {Button} from 'sentry/components/button';
import Badge from 'sentry/components/core/badge/badge';
import Badge from 'sentry/components/core/badge';
import type {DropdownButtonProps} from 'sentry/components/dropdownButton';
import DropdownButton from 'sentry/components/dropdownButton';
import LoadingIndicator from 'sentry/components/loadingIndicator';
Expand Down
2 changes: 1 addition & 1 deletion static/app/components/confirmDelete.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Fragment} from 'react';

import Confirm from 'sentry/components/confirm';
import {Alert} from 'sentry/components/core/alert/alert';
import {Alert} from 'sentry/components/core/alert';
import FieldGroup from 'sentry/components/forms/fieldGroup';
import Input from 'sentry/components/input';
import {t} from 'sentry/locale';
Expand Down
304 changes: 0 additions & 304 deletions static/app/components/core/alert/alert.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion static/app/components/core/alert/alertLink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type React from 'react';
import {css, type Theme} from '@emotion/react';
import styled from '@emotion/styled';

import {Alert, type AlertProps} from 'sentry/components/core/alert/alert';
import {Alert, type AlertProps} from 'sentry/components/core/alert';
import ExternalLink from 'sentry/components/links/externalLink';
import Link from 'sentry/components/links/link';
import {IconChevron} from 'sentry/icons';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {css, type SerializedStyles} from '@emotion/react';

import type {AlertProps} from 'sentry/components/core/alert/alert';
import type {AlertProps} from 'sentry/components/core/alert';
import {chonkStyled, type useChonkTheme} from 'sentry/utils/theme/theme.chonk';
import type {ChonkPropMapping} from 'sentry/utils/theme/withChonk';
import {unreachable} from 'sentry/utils/unreachable';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Fragment, useState} from 'react';

import {Button} from 'sentry/components/button';
import {Alert, type AlertProps} from 'sentry/components/core/alert/alert';
import {Alert, type AlertProps} from 'sentry/components/core/alert';
import JSXNode from 'sentry/components/stories/jsxNode';
import JSXProperty from 'sentry/components/stories/jsxProperty';
import {IconClose, IconSentry, IconStar} from 'sentry/icons';
Expand Down
Loading

0 comments on commit e9d354f

Please sign in to comment.