Skip to content

Commit 7e21049

Browse files
committed
docs(v1-components): Host import mentions in Storybook MDX were removed
1 parent 75e59c8 commit 7e21049

File tree

11 files changed

+10
-59
lines changed

11 files changed

+10
-59
lines changed

packages/v1-components/storybook/Intro.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ import { UiButton } from '@retailcrm/embed-ui-v1-components/remote'
4545

4646
* [@retailcrm/embed-ui](https://github.com/retailcrm/embed-ui)
4747
* [Документация по разработке JS-модулей](https://docs.retailcrm.ru/Developers/modules/PublishingModuleMarketplace/JsModules)
48-
* Примеры JS-модулей [@retailcrm/core-ui-extensions-examples](https://github.com/retailcrm/core-ui-extensions-examples)
48+
* Примеры JS-модулей [@retailcrm/core-ui-extensions-examples](https://github.com/retailcrm/core-ui-extensions-examples)

packages/v1-components/storybook/stories/UiAlert.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,10 @@ import UiAlertContent from './UiAlert.content.example.vue'
2121

2222
## Импорт
2323

24-
### Remote
25-
2624
```ts
2725
import { UiAlert } from '@retailcrm/embed-ui-v1-components/remote'
2826
```
2927

30-
### Host
31-
32-
```ts
33-
import { UiAlert } from '@retailcrm/embed-ui-v1-components/host'
34-
```
35-
3628
## Базовое использование
3729

3830
```vue

packages/v1-components/storybook/stories/UiCalendar.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,10 @@ const value = ref<Date | null>(new Date())
3838

3939
## Импорт
4040

41-
### Если вы пишете remote-расширение
42-
4341
```ts
4442
import { UiCalendar } from '@retailcrm/embed-ui-v1-components/remote'
4543
```
4644

47-
### Если используете host-слой библиотеки напрямую
48-
49-
```ts
50-
import { UiCalendar } from '@retailcrm/embed-ui-v1-components/host'
51-
```
52-
5345
## Модель данных (`value`)
5446

5547
Значение зависит от `type`:

packages/v1-components/storybook/stories/UiCollapse.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,10 @@ import UiCollapseDispose from './UiCollapse.dispose.example.vue'
1818

1919
## Импорт
2020

21-
### Remote
22-
2321
```ts
2422
import { UiCollapse } from '@retailcrm/embed-ui-v1-components/remote'
2523
```
2624

27-
### Host
28-
29-
```ts
30-
import { UiCollapse } from '@retailcrm/embed-ui-v1-components/host'
31-
```
32-
3325
## Быстрый старт
3426

3527
```vue

packages/v1-components/storybook/stories/UiCollapseBox.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,10 @@ import UiCollapseBoxIconSlot from './UiCollapseBox.icon-slot.example.vue'
1919

2020
## Импорт
2121

22-
### Remote
23-
2422
```ts
2523
import { UiCollapseBox, UiCollapseGroup } from '@retailcrm/embed-ui-v1-components/remote'
2624
```
2725

28-
### Host
29-
30-
```ts
31-
import { UiCollapseBox, UiCollapseGroup } from '@retailcrm/embed-ui-v1-components/host'
32-
```
33-
3426
## Базовый пример
3527

3628
```vue
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<script setup lang="ts">
2+
import UiDate from '@/host/components/date/UiDate.vue'
3+
</script>
4+
5+
<template>
6+
<UiDate v-bind="$attrs" />
7+
</template>

packages/v1-components/storybook/stories/UiDate.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import ToReact from '../ToReact.ts'
2-
import UiDate from '@/host/components/date/UiDate.vue'
2+
import UiDate from './UiDate.example.vue'
33

44
# UiDate
55

packages/v1-components/storybook/stories/UiField.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ import {
6969

7070
## Подсказка (`hint`) в белом tooltip
7171

72-
Tooltip у `UiField` оформляется белым фоном в host-стилях и может быть переопределен через слоты/переменные при необходимости.
72+
Tooltip у `UiField` оформляется белым фоном в базовых стилях библиотеки и может быть переопределен через слоты/переменные при необходимости.
7373

7474
## API
7575

packages/v1-components/storybook/stories/UiSlider.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,10 @@ import UiSliderBounds from './UiSlider.bounds.example.vue'
1818

1919
## Импорт
2020

21-
### Remote
22-
2321
```ts
2422
import { UiSlider } from '@retailcrm/embed-ui-v1-components/remote'
2523
```
2624

27-
### Host
28-
29-
```ts
30-
import { UiSlider } from '@retailcrm/embed-ui-v1-components/host'
31-
```
32-
3325
## Базовое использование
3426

3527
```vue

packages/v1-components/storybook/stories/UiSwitch.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,10 @@ import UiSwitchControlled from './UiSwitch.controlled.example.vue'
1818

1919
## Импорт
2020

21-
### Remote
22-
2321
```ts
2422
import { UiSwitch } from '@retailcrm/embed-ui-v1-components/remote'
2523
```
2624

27-
### Host
28-
29-
```ts
30-
import { UiSwitch } from '@retailcrm/embed-ui-v1-components/host'
31-
```
32-
3325
## Базовое использование
3426

3527
```vue

0 commit comments

Comments
 (0)