@cloud-ru/ds-tabs 1.0.2-preview-61ab169d.0 → 1.0.2-preview-13225cc1.0
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.
- package/README.md +2 -6
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -77,9 +77,9 @@ export function Uncontrolled() {
|
|
|
77
77
|
|------|------|---------|-------------|
|
|
78
78
|
| `children` | `string \| number \| boolean \| ReactElement<any, string \| JSXElementConstructor<any>> \| Iterable<ReactNode> \| ReactPortal \| null \| undefined` | — | |
|
|
79
79
|
| `className` | `string` | — | Дополнительный класс на корневой контейнер |
|
|
80
|
-
| `defaultValue` | `
|
|
80
|
+
| `defaultValue` | `string` | — | Выбранная вкладка по умолчанию |
|
|
81
81
|
| `onChange` | `((id: T) => void)` | — | Колбек выбора вкладки |
|
|
82
|
-
| `value` | `
|
|
82
|
+
| `value` | `string` | — | Текущая вкладка |
|
|
83
83
|
|
|
84
84
|
## Tab
|
|
85
85
|
|
|
@@ -150,10 +150,6 @@ export function Disabled() {
|
|
|
150
150
|
| `onClick` | `((event: MouseEvent<HTMLButtonElement, MouseEvent>) => void)` | — | Колбек клика по кнопке переключения |
|
|
151
151
|
| `value` | `string` | — | Value вкладки |
|
|
152
152
|
|
|
153
|
-
##### Related types
|
|
154
|
-
|
|
155
|
-
- `Size` = `"l"` \| `"m"`
|
|
156
|
-
|
|
157
153
|
## TabBar
|
|
158
154
|
|
|
159
155
|
Панель табов — задаёт размер, ориентацию, позицию маркера и слот справа (slotActionButton) для дополнительных действий.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-ru/ds-tabs",
|
|
3
|
-
"version": "1.0.2-preview-
|
|
3
|
+
"version": "1.0.2-preview-13225cc1.0",
|
|
4
4
|
"description": "Пакет табов — compound-компонент Tabs c субкомпонентами TabBar, Tab и TabContent для горизонтальной и вертикальной навигации.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"react-indiana-drag-scroll": "^2.2.1",
|
|
38
38
|
"@cloud-ru/ds-button": "1.0.1",
|
|
39
39
|
"@cloud-ru/ds-counter": "1.0.1",
|
|
40
|
+
"@cloud-ru/ds-icons": "1.0.2-preview-13225cc1.0",
|
|
40
41
|
"@cloud-ru/ds-divider": "1.0.1",
|
|
41
|
-
"@cloud-ru/ds-
|
|
42
|
-
"@cloud-ru/ds-typography": "1.0.0"
|
|
43
|
-
"@cloud-ru/ds-utils": "1.1.0"
|
|
42
|
+
"@cloud-ru/ds-utils": "1.1.0",
|
|
43
|
+
"@cloud-ru/ds-typography": "1.0.0"
|
|
44
44
|
},
|
|
45
45
|
"publishConfig": {
|
|
46
46
|
"access": "public"
|