Footer links
diff --git a/docs-ui/src/components/Roadmap/Roadmap.tsx b/docs-ui/src/components/Roadmap/Roadmap.tsx
deleted file mode 100644
index 52f96e0f76..0000000000
--- a/docs-ui/src/components/Roadmap/Roadmap.tsx
+++ /dev/null
@@ -1,37 +0,0 @@
-import { RoadmapItem } from './list';
-
-export const Roadmap = ({ list }: { list: RoadmapItem[] }) => {
- const orderList = ['inProgress', 'notStarted', 'completed'];
- return (
-
- {list
- .sort(
- (a, b) => orderList.indexOf(a.status) - orderList.indexOf(b.status),
- )
- .map(Item)}
-
- );
-};
-
-const Item = ({
- title,
- status = 'notStarted',
-}: {
- title: string;
- status: 'notStarted' | 'inProgress' | 'inReview' | 'completed';
-}) => {
- return (
-
-
-
- {status === 'notStarted' && 'Not Started'}
- {status === 'inProgress' && 'In Progress'}
- {status === 'inReview' && 'Ready for Review'}
- {status === 'completed' && 'Completed'}
-
-
- );
-};
diff --git a/docs-ui/src/components/Roadmap/index.ts b/docs-ui/src/components/Roadmap/index.ts
deleted file mode 100644
index c7006073d6..0000000000
--- a/docs-ui/src/components/Roadmap/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export { Roadmap } from './Roadmap';
diff --git a/docs-ui/src/components/Roadmap/list.ts b/docs-ui/src/components/Roadmap/list.ts
deleted file mode 100644
index 24b9197cf5..0000000000
--- a/docs-ui/src/components/Roadmap/list.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-export type RoadmapItem = {
- title: string;
- status: 'notStarted' | 'inProgress' | 'inReview' | 'completed';
-};
-
-export const list: RoadmapItem[] = [
- {
- title: 'Remove Vanilla Extract and use pure CSS instead',
- status: 'inProgress',
- },
- {
- title: 'Add collapsing across breakpoints for the Inline component',
- status: 'notStarted',
- },
- {
- title: 'Add reversing the order for the Inline component',
- status: 'notStarted',
- },
- {
- title: 'Set up Storybook',
- status: 'completed',
- },
- {
- title: 'Set up iconography',
- status: 'completed',
- },
- {
- title: 'Set up global tokens',
- status: 'inProgress',
- },
- {
- title: 'Set up theming system',
- status: 'inProgress',
- },
- {
- title: 'Create first pass at box component',
- status: 'completed',
- },
- {
- title: 'Create first pass at stack component',
- status: 'completed',
- },
- {
- title: 'Create first pass at inline component',
- status: 'completed',
- },
-];
diff --git a/docs-ui/src/components/Roadmap/styles.css b/docs-ui/src/components/Roadmap/styles.css
deleted file mode 100644
index 63f32312e7..0000000000
--- a/docs-ui/src/components/Roadmap/styles.css
+++ /dev/null
@@ -1,100 +0,0 @@
-.roadmap {
- display: flex;
- flex-direction: column;
-}
-
-.roadmap .roadmap-item {
- display: flex;
- align-items: center;
- justify-content: space-between;
- border-bottom: 1px solid #e0e0e0;
- padding: 8px 0px;
-}
-
-.roadmap .roadmap-item .left {
- display: flex;
- align-items: center;
- padding-left: 12px;
- gap: 12px;
-}
-
-.roadmap .roadmap-item .dot {
- width: 8px;
- height: 8px;
- border-radius: 50%;
- background-color: #e0e0e0;
-}
-
-.roadmap .roadmap-item.notStarted {
- color: #000;
-}
-
-.roadmap .roadmap-item.inProgress {
- color: #000;
-}
-
-.roadmap .roadmap-item.inReview {
- color: #000;
-}
-
-.roadmap .roadmap-item.completed .title {
- color: #a2a2a2;
- text-decoration: line-through;
-}
-
-.roadmap .roadmap-item.notStarted .dot {
- background-color: #d1d1d1;
-}
-
-.roadmap .roadmap-item.inProgress .dot {
- background-color: #ffd000;
-}
-
-.roadmap .roadmap-item.inReview .dot {
- background-color: #4ed14a;
-}
-
-.roadmap .roadmap-item.completed .dot {
- background-color: #4ed14a;
-}
-
-.roadmap .roadmap-item .title {
- font-size: 16px;
-}
-
-.roadmap .roadmap-item .pill {
- display: inline-flex;
- align-items: center;
- height: 24px;
- padding: 0px 8px;
- border-radius: 40px;
- font-size: 12px;
- font-weight: 600;
- margin-left: 8px;
- border-style: solid;
- border-width: 1px;
-}
-
-.roadmap .roadmap-item.notStarted .pill {
- background-color: #f2f2f2;
- border-color: #cdcdcd;
- color: #888888;
-}
-
-.roadmap .roadmap-item.inProgress .pill {
- background-color: #fff2b9;
- border-color: #ffd000;
- color: #d79927;
-}
-
-.roadmap .roadmap-item.inReview .pill {
- background-color: #d7f9d7;
- border-color: #4ed14a;
- color: #3a9837;
-}
-
-.roadmap .roadmap-item.completed .pill {
- background-color: #d7f9d7;
- border-color: #4ed14a;
- color: #3a9837;
-}
diff --git a/docs-ui/src/content/accordion.props.ts b/docs-ui/src/content/accordion.props.ts
deleted file mode 100644
index aac983b0c3..0000000000
--- a/docs-ui/src/content/accordion.props.ts
+++ /dev/null
@@ -1,119 +0,0 @@
-import {
- classNamePropDefs,
- stylePropDefs,
- type PropDef,
-} from '@/utils/propDefs';
-
-export const accordionPropDefs: Record = {
- children: {
- type: 'enum',
- values: ['ReactNode', '(state: { isExpanded: boolean }) => ReactNode'],
- },
- defaultExpanded: {
- type: 'boolean',
- default: 'false',
- },
- isExpanded: {
- type: 'boolean',
- },
- onExpandedChange: {
- type: 'enum',
- values: ['(isExpanded: boolean) => void'],
- },
- ...classNamePropDefs,
- ...stylePropDefs,
-};
-
-export const accordionTriggerPropDefs: Record = {
- level: {
- type: 'enum',
- values: ['1', '2', '3', '4', '5', '6'],
- default: '3',
- },
- title: {
- type: 'string',
- },
- subtitle: {
- type: 'string',
- },
- children: {
- type: 'enum',
- values: ['ReactNode'],
- },
- ...classNamePropDefs,
- ...stylePropDefs,
-};
-
-export const accordionPanelPropDefs: Record = {
- ...classNamePropDefs,
- ...stylePropDefs,
-};
-
-export const accordionGroupPropDefs: Record = {
- allowsMultiple: {
- type: 'boolean',
- default: 'false',
- },
- ...classNamePropDefs,
- ...stylePropDefs,
-};
-
-export const accordionUsageSnippet = `import { Accordion, AccordionTrigger, AccordionPanel } from '@backstage/ui';
-
-
-
- Your content
-`;
-
-export const accordionWithSubtitleSnippet = `
-
-
- Your content here
-
-`;
-
-export const accordionCustomTriggerSnippet = `
-
-
- Custom Multi-line Trigger
-
- Click to expand additional details
-
-
-
-
- Your content here
-
-`;
-
-export const accordionDefaultExpandedSnippet = `
-
-
- Your content here
-
-`;
-
-export const accordionGroupSingleOpenSnippet = `
-
-
- Content 1
-
-
-
- Content 2
-
-`;
-
-export const accordionGroupMultipleOpenSnippet = `
-
-
- Content 1
-
-
-
- Content 2
-
-`;
diff --git a/docs-ui/src/content/avatar.props.ts b/docs-ui/src/content/avatar.props.ts
deleted file mode 100644
index 80621cdb89..0000000000
--- a/docs-ui/src/content/avatar.props.ts
+++ /dev/null
@@ -1,89 +0,0 @@
-import { classNamePropDefs, stylePropDefs } from '@/utils/propDefs';
-import type { PropDef } from '@/utils/propDefs';
-
-export const avatarPropDefs: Record = {
- src: {
- type: 'string',
- },
- name: {
- type: 'string',
- },
- size: {
- type: 'enum',
- values: ['x-small', 'small', 'medium', 'large', 'x-large'],
- default: 'medium',
- responsive: true,
- },
- purpose: {
- type: 'enum',
- values: ['informative', 'decoration'],
- default: 'informative',
- },
- ...classNamePropDefs,
- ...stylePropDefs,
-};
-
-export const snippetUsage = `import { Avatar } from '@backstage/ui';
-
-`;
-
-export const snippetSizes = `
-
-
-
-
-
-`;
-
-export const snippetFallback = ``;
-
-export const snippetPurpose = `
-
- Informative (default)
-
- Use when avatar appears alone. Announced as "Charles de Dreuille" to screen readers:
-
-
-
-
-
-
- Decoration
-
- Use when name appears adjacent to avatar. Hidden from screen readers to avoid redundancy:
-
-
-
- Charles de Dreuille
-
-
-`;
diff --git a/docs-ui/src/content/button-icon.props.ts b/docs-ui/src/content/button-icon.props.ts
deleted file mode 100644
index b063484d27..0000000000
--- a/docs-ui/src/content/button-icon.props.ts
+++ /dev/null
@@ -1,62 +0,0 @@
-import {
- classNamePropDefs,
- stylePropDefs,
- type PropDef,
-} from '@/utils/propDefs';
-
-export const buttonIconPropDefs: Record = {
- variant: {
- type: 'enum',
- values: ['primary', 'secondary'],
- default: 'primary',
- responsive: true,
- },
- size: {
- type: 'enum',
- values: ['small', 'medium'],
- default: 'medium',
- responsive: true,
- },
- icon: { type: 'enum', values: ['ReactNode'], responsive: false },
- isDisabled: { type: 'boolean', default: 'false', responsive: false },
- loading: { type: 'boolean', default: 'false', responsive: false },
- type: {
- type: 'enum',
- values: ['button', 'submit', 'reset'],
- default: 'button',
- responsive: false,
- },
- ...classNamePropDefs,
- ...stylePropDefs,
-};
-
-export const buttonIconUsageSnippet = `import { ButtonIcon } from '@backstage/ui';
-
-`;
-
-export const buttonIconDefaultSnippet = `
- } variant="primary" />
- } variant="secondary" />
-`;
-
-export const buttonIconVariantsSnippet = `
- } variant="primary" />
- } variant="secondary" />
-`;
-
-export const buttonIconSizesSnippet = `
- } size="small" />
- } size="medium" />
-`;
-
-export const buttonIconDisabledSnippet = `} isDisabled />`;
-
-export const buttonIconLoadingSnippet = `} variant="primary" loading={isLoading} onPress={handleClick} />`;
-
-export const buttonIconResponsiveSnippet = `} variant={{ initial: 'primary', lg: 'secondary' }} />`;
-
-export const buttonIconAsLinkSnippet = `import { ButtonLink } from '@backstage/ui';
-
-
- Button
-`;
diff --git a/docs-ui/src/content/button-link.mdx b/docs-ui/src/content/button-link.mdx
deleted file mode 100644
index 4f3f376aee..0000000000
--- a/docs-ui/src/content/button-link.mdx
+++ /dev/null
@@ -1,97 +0,0 @@
-import { PropsTable } from '@/components/PropsTable';
-import { Snippet } from '@/components/Snippet';
-import { CodeBlock } from '@/components/CodeBlock';
-import { ButtonLinkSnippet } from '@/snippets/stories-snippets';
-import {
- buttonLinkPropDefs,
- buttonLinkSnippetUsage,
- buttonLinkVariantsSnippet,
- buttonLinkSizesSnippet,
- buttonLinkIconsSnippet,
- buttonLinkDisabledSnippet,
- buttonLinkResponsiveSnippet,
-} from './button-link.props';
-import { PageTitle } from '@/components/PageTitle';
-import { Theming } from '@/components/Theming';
-import { ButtonLinkDefinition } from '../utils/definitions';
-import { ChangelogComponent } from '@/components/ChangelogComponent';
-
-
-
-}
- code={buttonLinkVariantsSnippet}
-/>
-
-## Usage
-
-
-
-## API reference
-
-
-
-## Examples
-
-### Variants
-
-Here's a view when buttons have different variants.
-
-}
- code={buttonLinkVariantsSnippet}
-/>
-
-### Sizes
-
-Here's a view when buttons have different sizes.
-
-}
- code={buttonLinkSizesSnippet}
-/>
-
-### With Icons
-
-Here's a view when buttons have icons.
-
-}
- code={buttonLinkIconsSnippet}
-/>
-
-### Disabled
-
-Here's a view when buttons are disabled.
-
-}
- code={buttonLinkDisabledSnippet}
-/>
-
-### Responsive
-
-Here's a view when buttons are responsive.
-
-
-
-
-
-
diff --git a/docs-ui/src/content/button-link.props.ts b/docs-ui/src/content/button-link.props.ts
deleted file mode 100644
index 2bd4e2196a..0000000000
--- a/docs-ui/src/content/button-link.props.ts
+++ /dev/null
@@ -1,73 +0,0 @@
-import { classNamePropDefs, stylePropDefs } from '@/utils/propDefs';
-import type { PropDef } from '@/utils/propDefs';
-
-export const buttonLinkPropDefs: Record = {
- variant: {
- type: 'enum',
- values: ['primary', 'secondary'],
- default: 'primary',
- responsive: true,
- },
- size: {
- type: 'enum',
- values: ['small', 'medium'],
- default: 'medium',
- responsive: true,
- },
- iconStart: { type: 'enum', values: ['ReactNode'], responsive: false },
- iconEnd: { type: 'enum', values: ['ReactNode'], responsive: false },
- isDisabled: { type: 'boolean', default: 'false', responsive: false },
- href: { type: 'string', responsive: false },
- hrefLang: { type: 'string', responsive: false },
- target: {
- type: 'enum',
- values: ['HTMLAttributeAnchorTarget'],
- default: '_self',
- responsive: false,
- },
- rel: { type: 'string', responsive: false },
- children: { type: 'enum', values: ['ReactNode'], responsive: false },
- ...classNamePropDefs,
- ...stylePropDefs,
-};
-
-export const buttonLinkSnippetUsage = `import { ButtonLink } from '@backstage/ui';
-
-`;
-
-export const buttonLinkVariantsSnippet = `
- } variant="primary">
- Button
-
- } variant="secondary">
- Button
-
-`;
-
-export const buttonLinkSizesSnippet = `
- Small
- Medium
-`;
-
-export const buttonLinkIconsSnippet = `
- }>Button
- }>Button
- }
- iconEnd={}>
- Button
-
-`;
-
-export const buttonLinkDisabledSnippet = `
-
- Primary
-
-
- Secondary
-
-`;
-
-export const buttonLinkResponsiveSnippet = `
- Responsive Button
-`;
diff --git a/docs-ui/src/content/button.props.ts b/docs-ui/src/content/button.props.ts
deleted file mode 100644
index e650a9f2e9..0000000000
--- a/docs-ui/src/content/button.props.ts
+++ /dev/null
@@ -1,77 +0,0 @@
-import { classNamePropDefs, stylePropDefs } from '@/utils/propDefs';
-import type { PropDef } from '@/utils/propDefs';
-
-export const buttonPropDefs: Record = {
- variant: {
- type: 'enum',
- values: ['primary', 'secondary'],
- default: 'primary',
- responsive: true,
- },
- size: {
- type: 'enum',
- values: ['small', 'medium'],
- default: 'medium',
- responsive: true,
- },
- iconStart: { type: 'enum', values: ['ReactNode'], responsive: false },
- iconEnd: { type: 'enum', values: ['ReactNode'], responsive: false },
- isDisabled: { type: 'boolean', default: 'false', responsive: false },
- loading: { type: 'boolean', default: 'false', responsive: false },
- children: { type: 'enum', values: ['ReactNode'], responsive: false },
- type: {
- type: 'enum',
- values: ['button', 'submit', 'reset'],
- default: 'button',
- responsive: false,
- },
- ...classNamePropDefs,
- ...stylePropDefs,
-};
-
-export const buttonSnippetUsage = `import { Button } from '@backstage/ui';
-
-`;
-
-export const buttonVariantsSnippet = `
-
-
-`;
-
-export const buttonSizesSnippet = `
-
-
-`;
-
-export const buttonIconsSnippet = `
- }>Button