Skip to content

Commit

Permalink
[docs] replace search with extracted version of the component (expo#2…
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek authored Nov 13, 2023
1 parent ba8ae7b commit 1ff4886
Show file tree
Hide file tree
Showing 24 changed files with 121 additions and 1,157 deletions.
4 changes: 4 additions & 0 deletions docs/global-styles/extras.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,8 @@ export const globalExtras = css`
code {
font-variant-ligatures: none;
}
[cmdk-input] {
outline: none;
}
`;
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"@expo/styleguide": "^8.1.0",
"@expo/styleguide-base": "^1.0.1",
"@expo/styleguide-icons": "^1.0.3",
"@expo/styleguide-search-ui": "^1.0.0-alpha.5",
"@mdx-js/loader": "^2.2.1",
"@mdx-js/mdx": "^2.2.1",
"@mdx-js/react": "^2.2.1",
Expand Down
1 change: 1 addition & 0 deletions docs/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { markdownComponents } from '~/ui/components/Markdown';

import 'global-styles/global.css';
import '@expo/styleguide/dist/expo-theme.css';
import '@expo/styleguide-search-ui/dist/expo-search-ui.css';
import 'tippy.js/dist/tippy.css';

const isDev = process.env.NODE_ENV === 'development';
Expand Down
1 change: 1 addition & 0 deletions docs/tailwind.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ module.exports = {
'./ui/foundations/**/*.{js,ts,jsx,tsx}',
'./ui/components/**/*.{js,ts,jsx,tsx}',
'./node_modules/@expo/styleguide/dist/**/*.{js,ts,jsx,tsx}',
'./node_modules/@expo/styleguide-search-ui/dist/**/*.{js,ts,jsx,tsx}',
],
plugins: [],
...getExpoTheme(
Expand Down
26 changes: 0 additions & 26 deletions docs/ui/components/CommandMenu/BarLoader.tsx

This file was deleted.

63 changes: 0 additions & 63 deletions docs/ui/components/CommandMenu/CommandFooter.tsx

This file was deleted.

152 changes: 0 additions & 152 deletions docs/ui/components/CommandMenu/CommandMenu.tsx

This file was deleted.

73 changes: 0 additions & 73 deletions docs/ui/components/CommandMenu/CommandMenuTrigger.tsx

This file was deleted.

Loading

0 comments on commit 1ff4886

Please sign in to comment.