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 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 Folders_s1815: "Folders_s1815";
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
- "Folders_s1815": {
3249
- "width": "18",
3250
- "height": "17",
3251
- "viewBox": "0 0 18 17",
3248
+ "Folders_s2415": {
3249
+ "width": "24",
3250
+ "height": "24",
3251
+ "viewBox": "0 0 24 24",
3252
3252
  "fill": "none",
3253
3253
  "paths": [{
3254
- "d": "M6.33332 1H8.99999L10.7778 2.77778H15.2222C15.6937 2.77778 16.1459 2.96508 16.4793 3.29848C16.8127 3.63187 17 4.08406 17 4.55556V10.7778C17 11.2493 16.8127 11.7015 16.4793 12.0349C16.1459 12.3683 15.6937 12.5556 15.2222 12.5556H6.33332C5.86182 12.5556 5.40964 12.3683 5.07624 12.0349C4.74284 11.7015 4.55554 11.2493 4.55554 10.7778V2.77778C4.55554 2.30628 4.74284 1.8541 5.07624 1.5207C5.40964 1.1873 5.86182 1 6.33332 1Z",
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": "M13.4444 12.5556V14.3333C13.4444 14.8048 13.2571 15.257 12.9237 15.5904C12.5903 15.9238 12.1382 16.1111 11.6667 16.1111H2.77778C2.30628 16.1111 1.8541 15.9238 1.5207 15.5904C1.1873 15.257 1 14.8048 1 14.3333V6.33334C1 5.86184 1.1873 5.40965 1.5207 5.07626C1.8541 4.74286 2.30628 4.55556 2.77778 4.55556H4.55556",
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
- "Folders_s1815": "Folders_s1815",
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
- _onClick = _a.onClick;
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: function 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
- _onClick = _a.onClick;
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: function onClick() {
26696
- return _onClick(rowId);
26697
- }
26701
+ onClick: handleClick
26698
26702
  })
26699
26703
  }))
26700
26704
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maru_design2",
3
- "version": "2.21.0",
3
+ "version": "2.21.1",
4
4
  "main": "./dist/index.js",
5
5
  "author": "zena-42maru",
6
6
  "license": "MIT",