@cloud-ru/uikit-product-toggles-predefined 0.8.17 → 1.0.1-preview-b95fca4e.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/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 0.8.18 (2026-01-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **RAG-1030:** truncate prop in toggle-card ([5e78074](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/5e78074cbfdb5f37874d109df552a81184afdc34))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## 0.8.17 (2025-12-17)
|
|
7
18
|
|
|
8
19
|
### Only dependencies have been changed
|
|
@@ -272,7 +283,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
272
283
|
|
|
273
284
|
### Features
|
|
274
285
|
|
|
275
|
-
* **
|
|
286
|
+
* **FF-5836:** support cjs syntax ([d44abd0](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/d44abd0ddbbea0cd2bf0e1b99442cdb83b87df48))
|
|
276
287
|
|
|
277
288
|
|
|
278
289
|
|
|
@@ -292,7 +303,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
292
303
|
|
|
293
304
|
### Features
|
|
294
305
|
|
|
295
|
-
* **
|
|
306
|
+
* **FF-5782:** dart v3 use/forward approach ([eb0c4b3](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/eb0c4b30a008aa82ad7555ecc9d8420c21b1c7a4))
|
|
296
307
|
|
|
297
308
|
|
|
298
309
|
|
|
@@ -303,7 +314,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
303
314
|
|
|
304
315
|
### Dependencies
|
|
305
316
|
|
|
306
|
-
* **
|
|
317
|
+
* **PDS-611:** up deps ([c30ac4c](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/c30ac4c2adb7c00e84fbe557d85314add6b6977a))
|
|
307
318
|
|
|
308
319
|
|
|
309
320
|
|
|
@@ -323,7 +334,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
323
334
|
|
|
324
335
|
### Bug Fixes
|
|
325
336
|
|
|
326
|
-
* **
|
|
337
|
+
* **FF-5383:** update snack packages versions ([3fc6a2f](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/3fc6a2f940db810e5c514c7fb3d30350b291c61b))
|
|
327
338
|
|
|
328
339
|
|
|
329
340
|
|
|
@@ -361,12 +372,12 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
361
372
|
|
|
362
373
|
### Bug Fixes
|
|
363
374
|
|
|
364
|
-
* **
|
|
375
|
+
* **SVP-11371:** change metadata to description ([2c6206c](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/2c6206cb99bc899015ea9c742fb72c284b58f077))
|
|
365
376
|
|
|
366
377
|
|
|
367
378
|
### Features
|
|
368
379
|
|
|
369
|
-
* **
|
|
380
|
+
* **SVP-11371:** re-export useToggleGroup hook ([ab62b13](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/ab62b133ce92c8e46f82140967cd172576f6fa31))
|
|
370
381
|
|
|
371
382
|
|
|
372
383
|
|
|
@@ -377,7 +388,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
377
388
|
|
|
378
389
|
### Dependencies
|
|
379
390
|
|
|
380
|
-
* **
|
|
391
|
+
* **PDS-83:** update deps ([491b47d](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/491b47d42acd8cb179b0d66c616033d61fe95d7e))
|
|
381
392
|
|
|
382
393
|
|
|
383
394
|
|
|
@@ -388,7 +399,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
388
399
|
|
|
389
400
|
### Features
|
|
390
401
|
|
|
391
|
-
* **
|
|
402
|
+
* **SVP-12821:** toggle card promoBadge prop ([725abe8](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/725abe8d64ffb333e9dbd6005d9f37ed6c951b42))
|
|
392
403
|
|
|
393
404
|
|
|
394
405
|
|
|
@@ -400,7 +411,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
400
411
|
### BREAKING CHANGES
|
|
401
412
|
|
|
402
413
|
|
|
403
|
-
* **
|
|
414
|
+
* **PDS-28:** remove SwitchRow ([4a754c2](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/4a754c20f8b6a1fd54e885434433d003b1790ed6))
|
|
404
415
|
|
|
405
416
|
|
|
406
417
|
|
|
@@ -410,7 +421,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
410
421
|
|
|
411
422
|
### Features
|
|
412
423
|
|
|
413
|
-
* **
|
|
424
|
+
* **FF-4183:** add truncate propery ([dd465c5](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/dd465c5eedc08c375239cb1e6e4aefaf82feb0d6))
|
|
414
425
|
|
|
415
426
|
|
|
416
427
|
|
|
@@ -421,7 +432,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
421
432
|
|
|
422
433
|
### Features
|
|
423
434
|
|
|
424
|
-
* **
|
|
435
|
+
* **FF-3643:** add toggles ([0020648](https://gitverse.ru/cloud-ru-tech/uikit-product/commits/00206481d1149012773ab3a754804664f3cd95c4))
|
|
425
436
|
|
|
426
437
|
|
|
427
438
|
|
|
@@ -19,5 +19,5 @@ const toggles_1 = require("@snack-uikit/toggles");
|
|
|
19
19
|
function ToggleCard(_a) {
|
|
20
20
|
var { title, emblem, description, className, disabled, size, value, promoBadge, truncate, name } = _a, rest = __rest(_a, ["title", "emblem", "description", "className", "disabled", "size", "value", "promoBadge", "truncate", "name"]);
|
|
21
21
|
const { isChecked, handleClick } = (0, toggles_1.useToggleGroup)({ value });
|
|
22
|
-
return ((0, jsx_runtime_1.jsx)(card_1.Card, Object.assign({ checked: isChecked, onClick: !disabled ? handleClick : undefined, disabled: disabled, size: size, outline: true, promoBadge: promoBadge, name: name, header: (0, jsx_runtime_1.jsx)(card_1.Card.Header, { title: title, description: description, emblem: emblem, className: className, truncate: truncate
|
|
22
|
+
return ((0, jsx_runtime_1.jsx)(card_1.Card, Object.assign({ checked: isChecked, onClick: !disabled ? handleClick : undefined, disabled: disabled, size: size, outline: true, promoBadge: promoBadge, name: name, header: (0, jsx_runtime_1.jsx)(card_1.Card.Header, { title: title, description: description, emblem: emblem, className: className, truncate: truncate }) }, (0, uikit_product_utils_1.extractSupportProps)(rest)), title));
|
|
23
23
|
}
|
|
@@ -16,5 +16,5 @@ import { useToggleGroup } from '@snack-uikit/toggles';
|
|
|
16
16
|
export function ToggleCard(_a) {
|
|
17
17
|
var { title, emblem, description, className, disabled, size, value, promoBadge, truncate, name } = _a, rest = __rest(_a, ["title", "emblem", "description", "className", "disabled", "size", "value", "promoBadge", "truncate", "name"]);
|
|
18
18
|
const { isChecked, handleClick } = useToggleGroup({ value });
|
|
19
|
-
return (_jsx(Card, Object.assign({ checked: isChecked, onClick: !disabled ? handleClick : undefined, disabled: disabled, size: size, outline: true, promoBadge: promoBadge, name: name, header: _jsx(Card.Header, { title: title, description: description, emblem: emblem, className: className, truncate: truncate
|
|
19
|
+
return (_jsx(Card, Object.assign({ checked: isChecked, onClick: !disabled ? handleClick : undefined, disabled: disabled, size: size, outline: true, promoBadge: promoBadge, name: name, header: _jsx(Card.Header, { title: title, description: description, emblem: emblem, className: className, truncate: truncate }) }, extractSupportProps(rest)), title));
|
|
20
20
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloud-ru/uikit-product-toggles-predefined",
|
|
3
3
|
"title": "Toggles Predefined",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "1.0.1-preview-b95fca4e.0",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.css",
|
|
7
7
|
"*.woff",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
},
|
|
37
37
|
"scripts": {},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@cloud-ru/uikit-product-utils": "8.1.0",
|
|
39
|
+
"@cloud-ru/uikit-product-utils": "8.1.1-preview-b95fca4e.0",
|
|
40
40
|
"@snack-uikit/card": "0.19.0",
|
|
41
41
|
"@snack-uikit/toggles": "0.13.14",
|
|
42
42
|
"classnames": "2.5.1"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "5e59d6341e92ce7320739df54ab7e6f6d0a7aa26"
|
|
45
45
|
}
|
|
@@ -46,7 +46,7 @@ export function ToggleCard({
|
|
|
46
46
|
description={description}
|
|
47
47
|
emblem={emblem}
|
|
48
48
|
className={className}
|
|
49
|
-
truncate={truncate
|
|
49
|
+
truncate={truncate}
|
|
50
50
|
/>
|
|
51
51
|
}
|
|
52
52
|
{...extractSupportProps(rest)}
|