@central-design-system/components 4.0.0-alpha.6 → 4.0.0-alpha.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/CHANGELOG.md +2 -0
  2. package/MIGRATION.md +27 -0
  3. package/dist/browser/entry.js +629 -625
  4. package/dist/cds.d.ts +8 -0
  5. package/dist/cjs/entry.js +9 -9
  6. package/dist/es/entry.js +1 -1
  7. package/dist/es/src/cds.js +5 -5
  8. package/dist/es/src/components/CdsApp/CdsApp.vue_vue_type_script_setup_true_lang.js +1 -1
  9. package/dist/es/src/components/CdsApp/api/CdsApp.props.js +1 -1
  10. package/dist/es/src/components/CdsAvatar/CdsAvatar.vue_vue_type_script_setup_true_lang.js +1 -1
  11. package/dist/es/src/components/CdsAvatar/api/CdsAvatar.props.js +1 -1
  12. package/dist/es/src/components/CdsBadge/CdsBadge.vue_vue_type_script_setup_true_lang.js +1 -1
  13. package/dist/es/src/components/CdsBadge/api/CdsBadge.props.js +1 -1
  14. package/dist/es/src/components/CdsButton/CdsButton.vue_vue_type_script_setup_true_lang.js +1 -1
  15. package/dist/es/src/components/CdsButton/api/CdsButton.props.js +1 -1
  16. package/dist/es/src/components/CdsButtonGroup/CdsButtonGroup.vue_vue_type_script_setup_true_lang.js +1 -1
  17. package/dist/es/src/components/CdsButtonGroup/api/CdsButtonGroup.props.js +1 -1
  18. package/dist/es/src/components/CdsCard/CdsCard.vue_vue_type_script_setup_true_lang.js +1 -1
  19. package/dist/es/src/components/CdsCard/CdsCardGroup.vue_vue_type_script_setup_true_lang.js +1 -1
  20. package/dist/es/src/components/CdsCard/api/CdsCard.props.js +1 -1
  21. package/dist/es/src/components/CdsDatePicker/CdsDatePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  22. package/dist/es/src/components/CdsDatePicker/api/CdsDatePicker.props.js +1 -1
  23. package/dist/es/src/components/CdsDivider/CdsDivider.vue_vue_type_script_setup_true_lang.js +1 -1
  24. package/dist/es/src/components/CdsDrawer/CdsDrawer.vue_vue_type_script_setup_true_lang.js +2 -2
  25. package/dist/es/src/components/CdsDrawer/api/CdsDrawer.props.js +1 -1
  26. package/dist/es/src/components/CdsEmptyState/CdsEmptyState.vue_vue_type_script_setup_true_lang.js +2 -2
  27. package/dist/es/src/components/CdsEmptyState/api/CdsEmptyState.props.js +1 -1
  28. package/dist/es/src/components/CdsExpandablePanel/CdsExpandablePanels.vue_vue_type_script_setup_true_lang.js +1 -1
  29. package/dist/es/src/components/CdsExpandablePanel/api/CdsExpandablePanel.props.js +1 -1
  30. package/dist/es/src/components/CdsField/CdsField.vue_vue_type_script_setup_true_lang.js +1 -1
  31. package/dist/es/src/components/CdsField/api/CdsField.props.js +1 -1
  32. package/dist/es/src/components/CdsFooter/CdsFooter.vue_vue_type_script_setup_true_lang.js +2 -2
  33. package/dist/es/src/components/CdsFooter/api/CdsFooter.props.js +1 -1
  34. package/dist/es/src/components/CdsFunctionalButton/api/CdsFunctionalButton.props.js +1 -1
  35. package/dist/es/src/components/CdsGrid/CdsCol.vue_vue_type_script_setup_true_lang.js +1 -1
  36. package/dist/es/src/components/CdsHeader/CdsHeader.vue_vue_type_script_setup_true_lang.js +1 -1
  37. package/dist/es/src/components/CdsHeader/api/CdsHeader.props.js +1 -1
  38. package/dist/es/src/components/CdsIcon/CdsIcon.vue_vue_type_script_setup_true_lang.js +1 -1
  39. package/dist/es/src/components/CdsIcon/api/CdsIcon.props.js +1 -1
  40. package/dist/es/src/components/CdsImage/CdsImage.vue_vue_type_script_setup_true_lang.js +1 -1
  41. package/dist/es/src/components/CdsImage/api/CdsImage.props.js +1 -1
  42. package/dist/es/src/components/CdsInput/CdsInput.vue_vue_type_script_setup_true_lang.js +1 -1
  43. package/dist/es/src/components/CdsInput/api/CdsInput.props.js +1 -1
  44. package/dist/es/src/components/CdsLayout/CdsLayout.vue_vue_type_script_setup_true_lang.js +2 -2
  45. package/dist/es/src/components/CdsLayout/api/CdsLayout.props.js +1 -1
  46. package/dist/es/src/components/CdsLink/CdsLink.vue_vue_type_script_setup_true_lang.js +1 -1
  47. package/dist/es/src/components/CdsLink/api/CdsLink.props.js +1 -1
  48. package/dist/es/src/components/CdsList/CdsList.vue_vue_type_script_setup_true_lang.js +1 -1
  49. package/dist/es/src/components/CdsList/CdsListItem.vue_vue_type_script_setup_true_lang.js +1 -1
  50. package/dist/es/src/components/CdsList/api/CdsList.props.js +1 -1
  51. package/dist/es/src/components/CdsLoader/CdsLoader.vue_vue_type_script_setup_true_lang.js +1 -1
  52. package/dist/es/src/components/CdsNotification/CdsNotification.vue_vue_type_script_setup_true_lang.js +1 -1
  53. package/dist/es/src/components/CdsNotification/api/CdsNotification.props.js +1 -1
  54. package/dist/es/src/components/CdsOtpInput/CdsOtpInput.vue_vue_type_script_setup_true_lang.js +1 -1
  55. package/dist/es/src/components/CdsOtpInput/api/CdsOtpInput.props.js +1 -1
  56. package/dist/es/src/components/CdsOverlay/CdsOverlay.vue_vue_type_script_setup_true_lang.js +1 -1
  57. package/dist/es/src/components/CdsOverlay/api/CdsOverlay.props.js +1 -1
  58. package/dist/es/src/components/CdsPage/CdsPage.vue_vue_type_script_setup_true_lang.js +1 -1
  59. package/dist/es/src/components/CdsPagination/CdsPagination.vue_vue_type_script_setup_true_lang.js +2 -2
  60. package/dist/es/src/components/CdsPagination/api/CdsPagination.props.js +1 -1
  61. package/dist/es/src/components/CdsProgressBar/CdsProgressBar.vue_vue_type_script_setup_true_lang.js +1 -1
  62. package/dist/es/src/components/CdsProgressBar/api/CdsProgressBar.props.js +1 -1
  63. package/dist/es/src/components/CdsProgressCircle/CdsProgressCircle.vue_vue_type_script_setup_true_lang.js +1 -1
  64. package/dist/es/src/components/CdsProgressCircle/api/CdsProgressCircle.props.js +1 -1
  65. package/dist/es/src/components/CdsSkeletonLoader/CdsSkeletonLoader.vue_vue_type_script_setup_true_lang.js +1 -1
  66. package/dist/es/src/components/CdsSkeletonLoader/api/CdsSkeletonLoader.props.js +1 -1
  67. package/dist/es/src/components/CdsSlideGroup/CdsSlideGroup.vue_vue_type_script_setup_true_lang.js +1 -1
  68. package/dist/es/src/components/CdsSlideGroup/api/CdsSlideGroup.props.js +1 -1
  69. package/dist/es/src/components/CdsSlideView/api/CdsSlideView.props.js +1 -1
  70. package/dist/es/src/components/CdsStages/CdsStages.vue_vue_type_script_setup_true_lang.js +6 -2
  71. package/dist/es/src/components/CdsStages/api/CdsStages.props.js +1 -1
  72. package/dist/es/src/components/CdsStatus/CdsStatus.vue_vue_type_script_setup_true_lang.js +1 -1
  73. package/dist/es/src/components/CdsStatus/api/CdsStatus.props.js +1 -1
  74. package/dist/es/src/components/CdsSteps/api/CdsSteps.props.js +1 -1
  75. package/dist/es/src/components/CdsSurface/CdsSurface.vue_vue_type_script_setup_true_lang.js +1 -1
  76. package/dist/es/src/components/CdsSurface/api/CdsSurface.props.js +1 -1
  77. package/dist/es/src/components/CdsTable/api/CdsTable.props.js +1 -1
  78. package/dist/es/src/components/CdsTable/components/TableProvider.js +2 -2
  79. package/dist/es/src/components/CdsTag/CdsTag.vue_vue_type_script_setup_true_lang.js +1 -1
  80. package/dist/es/src/components/CdsTagGroup/CdsTagGroup.vue_vue_type_script_setup_true_lang.js +1 -1
  81. package/dist/es/src/components/CdsTagGroup/api/CdsTagGroup.props.js +1 -1
  82. package/dist/es/src/components/CdsTextArea/CdsTextArea.css +3 -0
  83. package/dist/es/src/components/CdsTextArea/CdsTextArea.vue_vue_type_script_setup_true_lang.js +2 -1
  84. package/dist/es/src/components/CdsTimePicker/CdsTimePicker.vue_vue_type_script_setup_true_lang.js +1 -1
  85. package/dist/es/src/components/CdsTimePicker/api/CdsTimePicker.props.js +1 -1
  86. package/dist/es/src/components/CdsToast/CdsToast.vue_vue_type_script_setup_true_lang.js +1 -1
  87. package/dist/es/src/components/CdsToolbar/CdsToolbar.vue_vue_type_script_setup_true_lang.js +1 -1
  88. package/dist/es/src/components/CdsToolbar/api/CdsToolbar.props.js +1 -1
  89. package/dist/es/src/components/CdsTree/CdsTree.vue_vue_type_script_setup_true_lang.js +1 -1
  90. package/dist/es/src/components/CdsTree/api/CdsTree.props.js +1 -1
  91. package/dist/es/src/components/CdsUploader/CdsUploader.vue_vue_type_script_setup_true_lang.js +1 -1
  92. package/dist/es/src/composables/useHydration/useHydration.js +1 -1
  93. package/dist/es/src/composables/useLayout/useLayout.js +1 -1
  94. package/dist/es/src/composables/useLoader/index.js +1 -1
  95. package/dist/es/src/composables/useLocation/index.js +1 -1
  96. package/dist/es/src/composables/useReadonly/index.js +1 -1
  97. package/dist/es/src/composables/useRouter/index.js +1 -1
  98. package/dist/es/src/composables/useVirtual/useVirtual.js +1 -1
  99. package/dist/esm-node/entry.mjs +1 -1
  100. package/dist/esm-node/src/cds.mjs +1 -1
  101. package/dist/esm-node/src/components/CdsList/CdsList.vue_vue_type_script_setup_true_lang.mjs +1 -1
  102. package/dist/esm-node/src/components/CdsList/CdsListGroup.vue_vue_type_script_setup_true_lang.mjs +1 -1
  103. package/dist/esm-node/src/components/CdsList/CdsListItem.vue_vue_type_script_setup_true_lang.mjs +1 -1
  104. package/dist/esm-node/src/components/CdsList/CdsListSubheader.vue_vue_type_script_setup_true_lang.mjs +1 -1
  105. package/dist/esm-node/src/components/CdsList/api/CdsList.constants.mjs +4 -4
  106. package/dist/esm-node/src/components/CdsList/api/CdsList.props.mjs +2 -2
  107. package/dist/esm-node/src/components/CdsList/index.mjs +1 -1
  108. package/dist/esm-node/src/components/CdsStages/CdsStages.vue_vue_type_script_setup_true_lang.mjs +5 -1
  109. package/dist/esm-node/src/components/CdsTextArea/CdsTextArea.css +3 -0
  110. package/dist/esm-node/src/components/CdsTextArea/CdsTextArea.vue_vue_type_script_setup_true_lang.mjs +2 -1
  111. package/dist/esm-node/src/composables/useLocation/index.mjs +1 -1
  112. package/dist/iife/entry.js +8 -8
  113. package/dist/styles.css +2 -2
  114. package/dist/types/components/CdsStages/index.d.ts +8 -0
  115. package/llms/llms-components.txt +4 -4
  116. package/llms/llms-full.txt +31 -4
  117. package/llms/llms-guides.txt +1 -1
  118. package/llms/llms-migration.txt +28 -1
  119. package/llms/llms-tokens.txt +1 -1
  120. package/llms/llms.txt +1 -1
  121. package/package.json +9 -8
  122. package/src/components/CdsTextArea/CdsTextArea.scss +4 -0
@@ -1,3 +1,11 @@
1
+ /**
2
+ * Шкала этапов бизнес-процесса.
3
+ *
4
+ * @deprecated Компонент устарел и будет удалён в CDS 5. Используйте `CdsSteps`
5
+ * без пропа `interactive` (или с `readonly`) — шапка степпера без `items`
6
+ * работает как трекер хода процесса.
7
+ * @en A stage bar of a business process.
8
+ */
1
9
  export declare const CdsStages: {
2
10
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
3
11
  theme: {
@@ -1,6 +1,6 @@
1
1
  # Central Design System (CDS 4) — components
2
2
 
3
- > Version: 4.0.0-alpha.6
3
+ > Version: 4.0.0-alpha.9
4
4
  > Documentation for all `@central-design-system/components` components: purpose, examples, and the full API contract.
5
5
  > Generated automatically (`bun run generate:meta` → `bun run generate:llms`). Do not edit manually.
6
6
 
@@ -25402,11 +25402,11 @@ const events = [
25402
25402
 
25403
25403
  # CdsStages
25404
25404
 
25405
- _Category: Feedback · since 4.0.0_
25405
+ _Category: Feedback · since 4.0.0 · status: deprecated_
25406
25406
 
25407
25407
  A stage bar shows the course of a business process: which stages are behind, which one is running now and where the process stopped because of an error. The component only displays the status — the stages are not clickable, so the bar fits cards, headers and lists where the state of the process has to be read at a glance.
25408
25408
 
25409
- **See also:** To walk the user through steps with content and "Back" / "Next" buttons take CdsSteps, and to switch between equally weighted sections — CdsTabs.
25409
+ **See also:** The component is deprecated: do not write new code with it. It keeps working across the whole 4.x line and prints a `[CDS UPGRADE]` warning in the dev console; it will be removed in 5.0. To show the course of a process without step navigation use CdsSteps — without the `interactive` prop the steps are not clickable, and the header without `items` works as a status tracker (see the "Request status" scenario). Mind that the look differs: `CdsStages` is an arrow bar, `CdsSteps` is a row of indicators with a progress line. To switch between equally weighted sections — CdsTabs.
25410
25410
 
25411
25411
  ## Anatomy
25412
25412
 
@@ -25925,7 +25925,7 @@ _Category: Navigation · since 4.0.0_
25925
25925
 
25926
25926
  The stepper walks the user through a multi-step process: it shows which steps are done, which one is active and how many are left. It can switch the content of the steps and renders the "Back" / "Next" buttons out of the box, while a header without content works as a status tracker.
25927
25927
 
25928
- **See also:** To show the progress of a business process without step navigation, use CdsStages; for sections of equal weight that are switched in any order, use CdsTabs.
25928
+ **See also:** The stepper shows the progress of a business process without step navigation on its own: without the `interactive` prop the steps are not clickable, and the header without `items` works as a status tracker — see the ["Request status"](#request-status) scenario. The CdsStages component, which used to solve the same task, is deprecated. For sections of equal weight that are switched in any order, use CdsTabs.
25929
25929
 
25930
25930
  ## Anatomy
25931
25931
 
@@ -1,6 +1,6 @@
1
1
  # Central Design System (CDS 4) — full documentation
2
2
 
3
- > Version: 4.0.0-alpha.6
3
+ > Version: 4.0.0-alpha.9
4
4
  > Everything at once: guides, tokens and themes, components with examples and the API contract, CDS 3 migration.
5
5
  > Generated automatically (`bun run generate:meta` → `bun run generate:llms`). Do not edit manually.
6
6
 
@@ -29661,11 +29661,11 @@ const events = [
29661
29661
 
29662
29662
  # CdsStages
29663
29663
 
29664
- _Category: Feedback · since 4.0.0_
29664
+ _Category: Feedback · since 4.0.0 · status: deprecated_
29665
29665
 
29666
29666
  A stage bar shows the course of a business process: which stages are behind, which one is running now and where the process stopped because of an error. The component only displays the status — the stages are not clickable, so the bar fits cards, headers and lists where the state of the process has to be read at a glance.
29667
29667
 
29668
- **See also:** To walk the user through steps with content and "Back" / "Next" buttons take CdsSteps, and to switch between equally weighted sections — CdsTabs.
29668
+ **See also:** The component is deprecated: do not write new code with it. It keeps working across the whole 4.x line and prints a `[CDS UPGRADE]` warning in the dev console; it will be removed in 5.0. To show the course of a process without step navigation use CdsSteps — without the `interactive` prop the steps are not clickable, and the header without `items` works as a status tracker (see the "Request status" scenario). Mind that the look differs: `CdsStages` is an arrow bar, `CdsSteps` is a row of indicators with a progress line. To switch between equally weighted sections — CdsTabs.
29669
29669
 
29670
29670
  ## Anatomy
29671
29671
 
@@ -30184,7 +30184,7 @@ _Category: Navigation · since 4.0.0_
30184
30184
 
30185
30185
  The stepper walks the user through a multi-step process: it shows which steps are done, which one is active and how many are left. It can switch the content of the steps and renders the "Back" / "Next" buttons out of the box, while a header without content works as a status tracker.
30186
30186
 
30187
- **See also:** To show the progress of a business process without step navigation, use CdsStages; for sections of equal weight that are switched in any order, use CdsTabs.
30187
+ **See also:** The stepper shows the progress of a business process without step navigation on its own: without the `interactive` prop the steps are not clickable, and the header without `items` works as a status tracker — see the ["Request status"](#request-status) scenario. The CdsStages component, which used to solve the same task, is deprecated. For sections of equal weight that are switched in any order, use CdsTabs.
30188
30188
 
30189
30189
  ## Anatomy
30190
30190
 
@@ -42090,6 +42090,7 @@ _Пока изменений нет. Записи будут добавлять
42090
42090
  | `CdsProgress` | 🔁 Переименован в `CdsProgressBar`; ✨ новые пропсы стилизации | [CdsProgress](#cdsprogress) |
42091
42091
  | `CdsSlideGroup` | 🔁 `prependIcon`/`appendIcon`→`prevIcon`/`nextIcon` (новая система иконок) | [CdsSlideGroup](#cdsslidegroup) |
42092
42092
  | `CdsSlideView` | ⚠️ дефолты иконок стрелок `chevron-left`/`chevron-right`→`prev`/`next` (новая система иконок) | [CdsSlideView](#cdsslideview) |
42093
+ | `CdsStages` | 🟠 Помечен deprecated → `CdsSteps` без `interactive`; будет удалён в 5.0 | [CdsStages](#cdsstages) |
42093
42094
  | `CdsStatus` | 🔁 значение `status="error"`→`"danger"`; ⚠️ булев `icon`→`variant="text"` | [CdsStatus](#cdsstatus) |
42094
42095
  | `CdsSteps` | ⚠️ дефолт `interactive` изменён `true`→`false`; ✨ проп `items`, контентная часть и кнопки навигации | [CdsSteps](#cdssteps) |
42095
42096
  | `CdsTabsV2` | 🔁 Переименован в `CdsTabs`; 🔁 `prependIcon`/`appendIcon`→`prevIcon`/`nextIcon`; ✨ новые пропсы | [CdsTabsV2](#cdstabsv2) |
@@ -43128,6 +43129,32 @@ const value = ref(35);
43128
43129
 
43129
43130
  <!-- entry-meta: id=cdsslideview-arrow-icons-iconvalue; severity=breaking; component=CdsSlideView -->
43130
43131
 
43132
+ ### CdsStages
43133
+
43134
+ #### Компонент `CdsStages` помечен deprecated — переходите на `CdsSteps`
43135
+
43136
+ > 🟠 **DEPRECATED** — публичный API компонента не изменился (`items`, `current`, `finished`, exposed `isCurrent` / `isFinished` работают как в CDS 3), но сценарий полностью закрывает `CdsSteps`, поэтому новый код на `CdsStages` писать не нужно. Компонент остаётся рабочим во всей ветке 4.x и будет удалён в 5.0.
43137
+
43138
+ **Было (CDS 3):**
43139
+
43140
+ ```html
43141
+ <!-- CDS 3 -->
43142
+ <CdsStages :items="stages" :current="current" :finished="finished" />
43143
+ ```
43144
+
43145
+ **Стало (CDS 4):**
43146
+
43147
+ ```html
43148
+ <!-- CDS 4 — шапка степпера без items работает как трекер статуса -->
43149
+ <CdsSteps :model-value="current">
43150
+ <CdsStepsItem v-for="stage in stages" :key="stage.value" :value="stage.value" :title="stage.title" :error="stage.error" />
43151
+ </CdsSteps>
43152
+ ```
43153
+
43154
+ **Действие:** `CdsStages` продолжает работать в 4.x, но в dev-консоли выводит `[CDS UPGRADE] 'CdsStages' is deprecated, use 'CdsSteps' instead.` (см. `deprecate()` в `src/utils/dom/console.ts`). Переходите на `CdsSteps`: без пропа `interactive` шаги некликабельны (дефолт `false`), `readonly` отключает переходы принудительно, а шапка без `items` рендерится без контентной части и кнопок навигации. Учтите, что вид отличается: `CdsStages` — стрелочная лента, `CdsSteps` — индикаторы с линией прогресса; для вертикального трекера есть проп `vertical`. Поиск: `grep -rnE "CdsStages|cds-stages" src/`.
43155
+
43156
+ <!-- entry-meta: id=cdsstages-deprecated-use-cdssteps; severity=deprecation; component=CdsStages -->
43157
+
43131
43158
  ### CdsStatus
43132
43159
 
43133
43160
  #### Значение `status="error"` переименовано в `status="danger"`
@@ -1,6 +1,6 @@
1
1
  # Central Design System (CDS 4) — guides
2
2
 
3
- > Version: 4.0.0-alpha.6
3
+ > Version: 4.0.0-alpha.9
4
4
  > Setup, conventions, forms, theming, Tailwind CSS, tree-shaking, and responsiveness.
5
5
  > Generated automatically (`bun run generate:meta` → `bun run generate:llms`). Do not edit manually.
6
6
 
@@ -1,6 +1,6 @@
1
1
  # Central Design System — CDS 3 → CDS 4 migration
2
2
 
3
- > Version: 4.0.0-alpha.6
3
+ > Version: 4.0.0-alpha.9
4
4
  > The full migration guide (currently in Russian): breaking changes, renames, deprecations, and migration steps.
5
5
  > Generated automatically (`bun run generate:meta` → `bun run generate:llms`). Do not edit manually.
6
6
 
@@ -595,6 +595,7 @@ _Пока изменений нет. Записи будут добавлять
595
595
  | `CdsProgress` | 🔁 Переименован в `CdsProgressBar`; ✨ новые пропсы стилизации | [CdsProgress](#cdsprogress) |
596
596
  | `CdsSlideGroup` | 🔁 `prependIcon`/`appendIcon`→`prevIcon`/`nextIcon` (новая система иконок) | [CdsSlideGroup](#cdsslidegroup) |
597
597
  | `CdsSlideView` | ⚠️ дефолты иконок стрелок `chevron-left`/`chevron-right`→`prev`/`next` (новая система иконок) | [CdsSlideView](#cdsslideview) |
598
+ | `CdsStages` | 🟠 Помечен deprecated → `CdsSteps` без `interactive`; будет удалён в 5.0 | [CdsStages](#cdsstages) |
598
599
  | `CdsStatus` | 🔁 значение `status="error"`→`"danger"`; ⚠️ булев `icon`→`variant="text"` | [CdsStatus](#cdsstatus) |
599
600
  | `CdsSteps` | ⚠️ дефолт `interactive` изменён `true`→`false`; ✨ проп `items`, контентная часть и кнопки навигации | [CdsSteps](#cdssteps) |
600
601
  | `CdsTabsV2` | 🔁 Переименован в `CdsTabs`; 🔁 `prependIcon`/`appendIcon`→`prevIcon`/`nextIcon`; ✨ новые пропсы | [CdsTabsV2](#cdstabsv2) |
@@ -1633,6 +1634,32 @@ const value = ref(35);
1633
1634
 
1634
1635
  <!-- entry-meta: id=cdsslideview-arrow-icons-iconvalue; severity=breaking; component=CdsSlideView -->
1635
1636
 
1637
+ ### CdsStages
1638
+
1639
+ #### Компонент `CdsStages` помечен deprecated — переходите на `CdsSteps`
1640
+
1641
+ > 🟠 **DEPRECATED** — публичный API компонента не изменился (`items`, `current`, `finished`, exposed `isCurrent` / `isFinished` работают как в CDS 3), но сценарий полностью закрывает `CdsSteps`, поэтому новый код на `CdsStages` писать не нужно. Компонент остаётся рабочим во всей ветке 4.x и будет удалён в 5.0.
1642
+
1643
+ **Было (CDS 3):**
1644
+
1645
+ ```html
1646
+ <!-- CDS 3 -->
1647
+ <CdsStages :items="stages" :current="current" :finished="finished" />
1648
+ ```
1649
+
1650
+ **Стало (CDS 4):**
1651
+
1652
+ ```html
1653
+ <!-- CDS 4 — шапка степпера без items работает как трекер статуса -->
1654
+ <CdsSteps :model-value="current">
1655
+ <CdsStepsItem v-for="stage in stages" :key="stage.value" :value="stage.value" :title="stage.title" :error="stage.error" />
1656
+ </CdsSteps>
1657
+ ```
1658
+
1659
+ **Действие:** `CdsStages` продолжает работать в 4.x, но в dev-консоли выводит `[CDS UPGRADE] 'CdsStages' is deprecated, use 'CdsSteps' instead.` (см. `deprecate()` в `src/utils/dom/console.ts`). Переходите на `CdsSteps`: без пропа `interactive` шаги некликабельны (дефолт `false`), `readonly` отключает переходы принудительно, а шапка без `items` рендерится без контентной части и кнопок навигации. Учтите, что вид отличается: `CdsStages` — стрелочная лента, `CdsSteps` — индикаторы с линией прогресса; для вертикального трекера есть проп `vertical`. Поиск: `grep -rnE "CdsStages|cds-stages" src/`.
1660
+
1661
+ <!-- entry-meta: id=cdsstages-deprecated-use-cdssteps; severity=deprecation; component=CdsStages -->
1662
+
1636
1663
  ### CdsStatus
1637
1664
 
1638
1665
  #### Значение `status="error"` переименовано в `status="danger"`
@@ -1,6 +1,6 @@
1
1
  # Central Design System (CDS 4) — tokens and themes
2
2
 
3
- > Version: 4.0.0-alpha.6
3
+ > Version: 4.0.0-alpha.9
4
4
  > Three token levels: the primitive palette, theme color tokens (`--cds-color-*`), and local component variables.
5
5
  > Generated automatically (`bun run generate:meta` → `bun run generate:llms`). Do not edit manually.
6
6
 
package/llms/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # Central Design System (CDS 4)
2
2
 
3
- > Version: 4.0.0-alpha.6. A modular Vue 3 UI component library, `@central-design-system/components`.
3
+ > Version: 4.0.0-alpha.9. A modular Vue 3 UI component library, `@central-design-system/components`.
4
4
  > This file is an index for AI agents building product UI with CDS.
5
5
  > Generated automatically (`bun run generate:meta` → `bun run generate:llms`). Do not edit manually.
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@central-design-system/components",
3
- "version": "4.0.0-alpha.6",
3
+ "version": "4.0.0-alpha.9",
4
4
  "author": "magersoft",
5
5
  "description": "Luma Design System - Vue 3 UI Framework",
6
6
  "homepage": "https://cds.b2b-center.ru/",
@@ -114,7 +114,7 @@
114
114
  "node": "^20.19.0 || >=22.12.0"
115
115
  },
116
116
  "scripts": {
117
- "build": "npx tsx build/build.ts",
117
+ "build": "tsx build/build.ts",
118
118
  "build:types": "vue-tsc --project tsconfig.build.json",
119
119
  "build:cjs": "vite build --config ./build/configs/vite.cjs.ts",
120
120
  "build:es": "vite build --config ./build/configs/vite.es.ts",
@@ -123,12 +123,12 @@
123
123
  "build:browser": "vite build --config ./build/configs/vite.browser.ts",
124
124
  "build:wc": "vite build --config ./build/configs/vite.wc.ts",
125
125
  "build:styles": "vite build --config ./build/configs/vite.styles.ts",
126
- "generate:meta": "npx tsx build/plugins/generate-component-meta.ts",
127
- "generate:settings": "npx tsx build/plugins/generate-component-settings.ts",
128
- "generate:llms": "npx tsx build/plugins/generate-llms-txt.ts",
129
- "generate:skill": "npx tsx build/plugins/generate-skill/index.ts",
130
- "generate:mcp": "npx tsx build/plugins/generate-mcp-data.ts",
131
- "generate:changelog": "npx tsx build/plugins/generate-changelog.ts",
126
+ "generate:meta": "tsx build/plugins/generate-component-meta.ts",
127
+ "generate:settings": "tsx build/plugins/generate-component-settings.ts",
128
+ "generate:llms": "tsx build/plugins/generate-llms-txt.ts",
129
+ "generate:skill": "tsx build/plugins/generate-skill/index.ts",
130
+ "generate:mcp": "tsx build/plugins/generate-mcp-data.ts",
131
+ "generate:changelog": "tsx build/plugins/generate-changelog.ts",
132
132
  "generate:i18n-check": "bun run --cwd ../../apps/docs docs:i18n-check",
133
133
  "generate:all": "run-s generate:meta generate:settings generate:llms generate:skill generate:mcp generate:changelog generate:i18n-check",
134
134
  "test:unit": "vitest run",
@@ -169,6 +169,7 @@
169
169
  "rollup": "^4.61.1",
170
170
  "rollup-plugin-dts": "^6.2.3",
171
171
  "sass-embedded": "^1.97.3",
172
+ "tsx": "4.23.13",
172
173
  "unplugin-auto-import": "^21.0.0",
173
174
  "vite": "^5.4.21",
174
175
  "vite-plugin-banner": "^0.8.1",
@@ -72,6 +72,10 @@
72
72
  max-height: var(--cds-text-area-max-height, none);
73
73
  }
74
74
 
75
+ &.cds-input--size-md textarea.cds-field__input {
76
+ line-height: var(--cds-font-line-height-300);
77
+ }
78
+
75
79
  &--auto-grow {
76
80
  textarea {
77
81
  overflow: hidden;