maru_design2 2.21.0 → 2.21.1
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 +8 -0
- package/dist/components/atoms/icon/iconmap.d.ts +1 -1
- package/dist/index.js +19 -15
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.21.1](https://github.com/42maru-ai/maru-design2/compare/v2.21.0...v2.21.1) (2025-02-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* :bento: Icon - delete folders 18, add 24 [#402](https://github.com/42maru-ai/maru-design2/issues/402) ([dd80df3](https://github.com/42maru-ai/maru-design2/commit/dd80df307cef1ade9dfe6cdae3629e0ac7e356b4))
|
|
9
|
+
* :bug: Table - add stopPropagation to action btns [#453](https://github.com/42maru-ai/maru-design2/issues/453) ([275ecfd](https://github.com/42maru-ai/maru-design2/commit/275ecfde6522090550f9f91ba72fedffb689327e))
|
|
10
|
+
|
|
3
11
|
## [2.21.0](https://github.com/42maru-ai/maru-design2/compare/v2.20.4...v2.21.0) (2025-02-03)
|
|
4
12
|
|
|
5
13
|
|
|
@@ -201,7 +201,7 @@ export declare const ICONS: {
|
|
|
201
201
|
readonly Folder_s2415: "Folder_s2415";
|
|
202
202
|
readonly Folder_s2420: "Folder_s2420";
|
|
203
203
|
readonly Folder_s2820: "Folder_s2820";
|
|
204
|
-
readonly
|
|
204
|
+
readonly Folders_s2415: "Folders_s2415";
|
|
205
205
|
readonly Globe01_s1615: "Globe01_s1615";
|
|
206
206
|
readonly GraduationHat01_s1615: "GraduationHat01_s1615";
|
|
207
207
|
readonly GraduationHat01_s2415: "GraduationHat01_s2415";
|
package/dist/index.js
CHANGED
|
@@ -3245,19 +3245,19 @@ var iconmap = {
|
|
|
3245
3245
|
"circles": [],
|
|
3246
3246
|
"rects": []
|
|
3247
3247
|
},
|
|
3248
|
-
"
|
|
3249
|
-
"width": "
|
|
3250
|
-
"height": "
|
|
3251
|
-
"viewBox": "0 0
|
|
3248
|
+
"Folders_s2415": {
|
|
3249
|
+
"width": "24",
|
|
3250
|
+
"height": "24",
|
|
3251
|
+
"viewBox": "0 0 24 24",
|
|
3252
3252
|
"fill": "none",
|
|
3253
3253
|
"paths": [{
|
|
3254
|
-
"d": "
|
|
3254
|
+
"d": "M9.33332 4H12L13.7778 5.77778H18.2222C18.6937 5.77778 19.1459 5.96508 19.4793 6.29848C19.8127 6.63187 20 7.08406 20 7.55556V13.7778C20 14.2493 19.8127 14.7015 19.4793 15.0349C19.1459 15.3683 18.6937 15.5556 18.2222 15.5556H9.33332C8.86182 15.5556 8.40964 15.3683 8.07624 15.0349C7.74284 14.7015 7.55554 14.2493 7.55554 13.7778V5.77778C7.55554 5.30628 7.74284 4.8541 8.07624 4.5207C8.40964 4.1873 8.86182 4 9.33332 4Z",
|
|
3255
3255
|
"stroke": "#5C5C5C",
|
|
3256
3256
|
"strokeWidth": "1.5",
|
|
3257
3257
|
"strokeLinecap": "round",
|
|
3258
3258
|
"strokeLinejoin": "round"
|
|
3259
3259
|
}, {
|
|
3260
|
-
"d": "
|
|
3260
|
+
"d": "M16.4444 15.5556V17.3333C16.4444 17.8048 16.2571 18.257 15.9237 18.5904C15.5903 18.9238 15.1382 19.1111 14.6667 19.1111H5.77778C5.30628 19.1111 4.8541 18.9238 4.5207 18.5904C4.1873 18.257 4 17.8048 4 17.3333V9.33334C4 8.86184 4.1873 8.40965 4.5207 8.07626C4.8541 7.74286 5.30628 7.55556 5.77778 7.55556H7.55556",
|
|
3261
3261
|
"stroke": "#5C5C5C",
|
|
3262
3262
|
"strokeWidth": "1.5",
|
|
3263
3263
|
"strokeLinecap": "round",
|
|
@@ -5551,7 +5551,7 @@ var ICONS = {
|
|
|
5551
5551
|
"Folder_s2415": "Folder_s2415",
|
|
5552
5552
|
"Folder_s2420": "Folder_s2420",
|
|
5553
5553
|
"Folder_s2820": "Folder_s2820",
|
|
5554
|
-
"
|
|
5554
|
+
"Folders_s2415": "Folders_s2415",
|
|
5555
5555
|
"Globe01_s1615": "Globe01_s1615",
|
|
5556
5556
|
"GraduationHat01_s1615": "GraduationHat01_s1615",
|
|
5557
5557
|
"GraduationHat01_s2415": "GraduationHat01_s2415",
|
|
@@ -26654,7 +26654,11 @@ function EmptyTr(_a) {
|
|
|
26654
26654
|
function BinButtonTd(_a) {
|
|
26655
26655
|
var rowId = _a.rowId,
|
|
26656
26656
|
hovered = _a.hovered,
|
|
26657
|
-
|
|
26657
|
+
onClick = _a.onClick;
|
|
26658
|
+
var handleClick = function handleClick(e) {
|
|
26659
|
+
e.stopPropagation();
|
|
26660
|
+
onClick(rowId);
|
|
26661
|
+
};
|
|
26658
26662
|
return jsx("td", __assign({
|
|
26659
26663
|
className: "maru-table-body-bin-button-td"
|
|
26660
26664
|
}, {
|
|
@@ -26667,9 +26671,7 @@ function BinButtonTd(_a) {
|
|
|
26667
26671
|
color: hovered ? 'danger' : '#8c8c8c'
|
|
26668
26672
|
},
|
|
26669
26673
|
color: "danger",
|
|
26670
|
-
onClick:
|
|
26671
|
-
return _onClick(rowId);
|
|
26672
|
-
}
|
|
26674
|
+
onClick: handleClick
|
|
26673
26675
|
})
|
|
26674
26676
|
}))
|
|
26675
26677
|
}));
|
|
@@ -26679,7 +26681,11 @@ function ChartButtonTd(_a) {
|
|
|
26679
26681
|
var rowId = _a.rowId,
|
|
26680
26682
|
hovered = _a.hovered,
|
|
26681
26683
|
selected = _a.selected,
|
|
26682
|
-
|
|
26684
|
+
onClick = _a.onClick;
|
|
26685
|
+
var handleClick = function handleClick(e) {
|
|
26686
|
+
e.stopPropagation();
|
|
26687
|
+
onClick(rowId);
|
|
26688
|
+
};
|
|
26683
26689
|
return jsx("td", __assign({
|
|
26684
26690
|
className: "maru-table-body-bin-button-td"
|
|
26685
26691
|
}, {
|
|
@@ -26692,9 +26698,7 @@ function ChartButtonTd(_a) {
|
|
|
26692
26698
|
color: selected ? 'primary' : hovered ? '#5c5c5c' : '#8c8c8c'
|
|
26693
26699
|
},
|
|
26694
26700
|
color: "#8c8c8c",
|
|
26695
|
-
onClick:
|
|
26696
|
-
return _onClick(rowId);
|
|
26697
|
-
}
|
|
26701
|
+
onClick: handleClick
|
|
26698
26702
|
})
|
|
26699
26703
|
}))
|
|
26700
26704
|
}));
|