File tree Expand file tree Collapse file tree 11 files changed +10
-59
lines changed
packages/v1-components/storybook Expand file tree Collapse file tree 11 files changed +10
-59
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff line change @@ -21,18 +21,10 @@ import UiAlertContent from './UiAlert.content.example.vue'
2121
2222## Импорт
2323
24- ### Remote
25-
2624``` ts
2725import { 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
Original file line number Diff line number Diff line change @@ -38,18 +38,10 @@ const value = ref<Date | null>(new Date())
3838
3939## Импорт
4040
41- ### Если вы пишете remote-расширение
42-
4341``` ts
4442import { 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 ` :
Original file line number Diff line number Diff line change @@ -18,18 +18,10 @@ import UiCollapseDispose from './UiCollapse.dispose.example.vue'
1818
1919## Импорт
2020
21- ### Remote
22-
2321``` ts
2422import { 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
Original file line number Diff line number Diff line change @@ -19,18 +19,10 @@ import UiCollapseBoxIconSlot from './UiCollapseBox.icon-slot.example.vue'
1919
2020## Импорт
2121
22- ### Remote
23-
2422``` ts
2523import { 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
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 11import ToReact from ' ../ToReact.ts'
2- import UiDate from ' @/host/components/date/ UiDate.vue'
2+ import UiDate from ' ./ UiDate.example .vue'
33
44# UiDate
55
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ import {
6969
7070## Подсказка (` hint ` ) в белом tooltip
7171
72- Tooltip у ` UiField ` оформляется белым фоном в host- стилях и может быть переопределен через слоты/переменные при необходимости.
72+ Tooltip у ` UiField ` оформляется белым фоном в базовых стилях библиотеки и может быть переопределен через слоты/переменные при необходимости.
7373
7474## API
7575
Original file line number Diff line number Diff line change @@ -18,18 +18,10 @@ import UiSliderBounds from './UiSlider.bounds.example.vue'
1818
1919## Импорт
2020
21- ### Remote
22-
2321``` ts
2422import { 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
Original file line number Diff line number Diff line change @@ -18,18 +18,10 @@ import UiSwitchControlled from './UiSwitch.controlled.example.vue'
1818
1919## Импорт
2020
21- ### Remote
22-
2321``` ts
2422import { 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
You can’t perform that action at this time.
0 commit comments