Skip to content

Commit 403ae24

Browse files
authored
Merge pull request #319 from codex-team/fix/prod
fix @codexteam/ui rename
2 parents 46ea66b + 3fdc806 commit 403ae24

File tree

23 files changed

+25
-30
lines changed

23 files changed

+25
-30
lines changed

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"eslint.workingDirectories": ["./", "./codex-ui"],
2+
"eslint.workingDirectories": ["./", "./@codexteam/ui"],
33

44
// Enable the ESlint flat config support
55
"eslint.experimental.useFlatConfig": true,

@codexteam/ui/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The Design System forged in the fires of open-source development
99
## Access Vue components
1010

1111
```ts
12-
import { Button, Input, Heading } from 'codex-ui/vue';
12+
import { Button, Input, Heading } from '@codexteam/ui/vue';
1313
```
1414

1515
```vue
@@ -28,23 +28,23 @@ Add the following "path" to the "tsconfig.json"
2828
{
2929
"compilerOptions": {
3030
"paths": {
31-
"codex-ui/vue": ["../codex-ui/dist/types/vue/index.d.ts"],
31+
"@codexteam/ui/vue": ["../@codexteam/ui/dist/types/vue/index.d.ts"],
3232
}
3333
},
3434
}
3535
3636
```
3737

3838
## Build Design System
39-
Build the design system to be able to use the codex-ui/styles import
39+
Build the design system to be able to use the @codexteam/ui/styles import
4040

4141
```
4242
yarn build
4343
```
4444

4545
## Access CSS variables
4646

47-
1. Import `codex-ui/styles` somewhere in App
47+
1. Import `@codexteam/ui/styles` somewhere in App
4848
2. Use variable in CSS, e.g `var(--ui-color)`
4949

5050
## Using Typography

@codexteam/ui/dev/pages/components/Editor.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
placeholder="Write something or press / to select a tool"
4141
first-block-placeholder="Untitled"
4242
autofocus
43-
:inline-toolbar="true"
43+
:inlineToolbar="true"
4444
/>
4545
</template>
4646

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<script lang="ts" setup>
99
import AppNavbar from '@/presentation/components/app-navbar/AppNavbar.vue';
1010
import { onErrorCaptured } from 'vue';
11-
import { useTheme, Popover, Popup } from 'codex-ui/vue';
11+
import { useTheme, Popover, Popup } from '@codexteam/ui/vue';
1212
import useAuthRequired from '@/application/services/useAuthRequired';
1313
1414
/**

src/presentation/components/app-navbar/AppNavbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
<script lang="ts" setup>
2929
import { IconPlus } from '@codexteam/icons';
30-
import { Tabbar, TabParams, Navbar } from 'codex-ui/vue';
30+
import { Tabbar, TabParams, Navbar } from '@codexteam/ui/vue';
3131
import Button from '@/presentation/components/button/Button.vue';
3232
import { Logo } from '@/presentation/components/pictures';
3333
import { useAppState } from '@/application/services/useAppState';

src/presentation/components/marketplace/EditorToolElement.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ import { EditorToolWithUserBinding } from '@/domain/entities/EditorTool';
3232
import { useUserSettings } from '@/application/services/useUserSettings';
3333
import { useI18n } from 'vue-i18n';
3434
import { computed, ref } from 'vue';
35-
import { Button, Card } from 'codex-ui/vue';
35+
import { Button, Card } from '@codexteam/ui/vue';
3636
3737
const { addTool, removeTool } = useUserSettings();
3838

src/presentation/components/note-list/NoteList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import type { Note } from '@/domain/entities/Note';
4444
import { getTimeFromNow } from '@/infrastructure/utils/date';
4545
import { getTitle } from '@/infrastructure/utils/note';
4646
import { useI18n } from 'vue-i18n';
47-
import { Card, CardSkeleton, Button } from 'codex-ui/vue';
47+
import { Card, CardSkeleton, Button } from '@codexteam/ui/vue';
4848
4949
const {
5050
noteList,

src/presentation/components/noteSettings/InviteLink.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import { computed, defineProps, ref } from 'vue';
3434
import useNoteSettings from '@/application/services/useNoteSettings';
3535
import type { NoteId } from '@/domain/entities/Note';
3636
import { useI18n } from 'vue-i18n';
37-
import { Button, Row, Section } from 'codex-ui/vue';
37+
import { Button, Row, Section } from '@codexteam/ui/vue';
3838
3939
const { t } = useI18n();
4040

src/presentation/components/pageHeading/PageHeading.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</template>
1616

1717
<script setup lang="ts">
18-
import { Heading } from 'codex-ui/vue';
18+
import { Heading } from '@codexteam/ui/vue';
1919
</script>
2020

2121
<style scoped lang="postcss">

src/presentation/components/team/RoleSelect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { Note, NoteId } from '@/domain/entities/Note.ts';
1515
import { computed, ref, watch } from 'vue';
1616
import useNoteSettings from '@/application/services/useNoteSettings.ts';
1717
import { useAppState } from '@/application/services/useAppState';
18-
import { ContextMenuItem, DefaultItem, Select } from 'codex-ui/vue';
18+
import { ContextMenuItem, DefaultItem, Select } from '@codexteam/ui/vue';
1919
import useNote from '@/application/services/useNote.ts';
2020
2121
/**

0 commit comments

Comments
 (0)