@clevertask/react-sortable-tree 0.0.2 → 0.0.3

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/dist/style.css CHANGED
@@ -1 +1 @@
1
- ._Wrapper_1ewsl_1{list-style:none;box-sizing:border-box;padding-left:var(--spacing);margin-bottom:-1px}._Wrapper_1ewsl_1._clone_1ewsl_8{display:inline-block;pointer-events:none;padding:5px 0 0 10px}._Wrapper_1ewsl_1._clone_1ewsl_8 ._TreeItem_1ewsl_16{--vertical-padding: 5px;padding-right:24px;border-radius:4px;box-shadow:0 15px 15px #2221511a}._Wrapper_1ewsl_1._ghost_1ewsl_23._indicator_1ewsl_23{opacity:1;position:relative;z-index:1;margin-bottom:-1px}._Wrapper_1ewsl_1._ghost_1ewsl_23._indicator_1ewsl_23 ._TreeItem_1ewsl_16{position:relative;padding:0;height:8px;border-color:#2389ff;background-color:#56a1f8}._Wrapper_1ewsl_1._ghost_1ewsl_23._indicator_1ewsl_23 ._TreeItem_1ewsl_16:before{position:absolute;left:-8px;top:-4px;display:block;content:"";width:12px;height:12px;border-radius:50%;border:1px solid #2389ff;background-color:#fff}._Wrapper_1ewsl_1._ghost_1ewsl_23._indicator_1ewsl_23 ._TreeItem_1ewsl_16>*{opacity:0;height:0}._Wrapper_1ewsl_1._ghost_1ewsl_23:not(._indicator_1ewsl_23){opacity:.5}._Wrapper_1ewsl_1._ghost_1ewsl_23 ._TreeItem_1ewsl_16>*{box-shadow:none;background-color:transparent}._TreeItem_1ewsl_16{--vertical-padding: 10px;position:relative;display:flex;align-items:center;padding:var(--vertical-padding) 10px;background-color:#fff;border:1px solid #dedede;color:#222;box-sizing:border-box}._Text_1ewsl_78{flex-grow:1;padding-left:.5rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;align-self:stretch;display:flex;align-items:center;cursor:pointer}._Count_1ewsl_90{position:absolute;top:-10px;right:-10px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background-color:#2389ff;font-size:.8rem;font-weight:600;color:#fff}._disableInteraction_1ewsl_106{pointer-events:none}._disableSelection_1ewsl_110 ._Text_1ewsl_78,._disableSelection_1ewsl_110 ._Count_1ewsl_90,._clone_1ewsl_8 ._Text_1ewsl_78,._clone_1ewsl_8 ._Count_1ewsl_90{user-select:none;-webkit-user-select:none}._Collapse_1ewsl_118 svg{transition:transform .25s ease}._Collapse_1ewsl_118._collapsed_1ewsl_122 svg{transform:rotate(-90deg)}._Action_1vzup_1{display:flex;width:12px;padding:15px;align-items:center;justify-content:center;flex:0 0 auto;touch-action:none;cursor:var(--cursor, pointer);border-radius:5px;border:none;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;-webkit-tap-highlight-color:transparent}@media (hover: hover){._Action_1vzup_1:hover{background-color:var(--action-background, rgba(0, 0, 0, .05))}._Action_1vzup_1:hover svg{fill:#6f7b88}}._Action_1vzup_1 svg{flex:0 0 auto;margin:auto;height:100%;overflow:visible;fill:#919eab}._Action_1vzup_1:active{background-color:var(--background, rgba(0, 0, 0, .05))}._Action_1vzup_1:active svg{fill:var(--fill, #788491)}._Action_1vzup_1:focus-visible{outline:none;box-shadow:0 0 0 2px #fff0,0 0 0 2px #4c9ffe}
1
+ ._Wrapper_wguit_1{list-style:none;box-sizing:border-box;padding-left:var(--spacing);margin-bottom:-1px}._Wrapper_wguit_1._clone_wguit_8{display:inline-block;pointer-events:none;padding:5px 0 0 10px}._Wrapper_wguit_1._clone_wguit_8 ._TreeItem_wguit_16{--vertical-padding: 5px;padding-right:24px;border-radius:4px;box-shadow:0 15px 15px #2221511a}._Wrapper_wguit_1._ghost_wguit_23._indicator_wguit_23{opacity:1;position:relative;z-index:1;margin-bottom:-1px}._Wrapper_wguit_1._ghost_wguit_23._indicator_wguit_23 ._TreeItem_wguit_16{position:relative;padding:0;height:8px;border-color:#2389ff;background-color:#56a1f8}._Wrapper_wguit_1._ghost_wguit_23._indicator_wguit_23 ._TreeItem_wguit_16:before{position:absolute;left:-8px;top:-4px;display:block;content:"";width:12px;height:12px;border-radius:50%;border:1px solid #2389ff;background-color:#fff}._Wrapper_wguit_1._ghost_wguit_23._indicator_wguit_23 ._TreeItem_wguit_16>*{opacity:0;height:0}._Wrapper_wguit_1._ghost_wguit_23:not(._indicator_wguit_23){opacity:.5}._Wrapper_wguit_1._ghost_wguit_23 ._TreeItem_wguit_16>*{box-shadow:none;background-color:transparent}._TreeItem_wguit_16{--vertical-padding: 10px;position:relative;display:flex;align-items:center;padding:var(--vertical-padding) 10px;background-color:#fff;border:1px solid #dedede;color:#222;box-sizing:border-box}._Text_wguit_78{flex-grow:1;padding-left:.5rem;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;align-self:stretch;display:flex;align-items:center;cursor:pointer}._Count_wguit_90{position:absolute;top:-10px;right:-10px;display:flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background-color:#2389ff;font-size:.8rem;font-weight:600;color:#fff}._disableInteraction_wguit_106{pointer-events:none}._disableSelection_wguit_110 ._Text_wguit_78,._disableSelection_wguit_110 ._Count_wguit_90,._clone_wguit_8 ._Text_wguit_78,._clone_wguit_8 ._Count_wguit_90{user-select:none;-webkit-user-select:none}._Collapse_wguit_118 svg{transition:transform .25s ease}._Collapse_wguit_118._collapsed_wguit_122 svg{transform:rotate(-90deg)}._Action_7i4a4_1{display:flex;width:12px;padding:15px;align-items:center;justify-content:center;flex:0 0 auto;touch-action:none;cursor:var(--cursor, pointer);border-radius:5px;border:none;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;-webkit-tap-highlight-color:transparent}@media (hover: hover){._Action_7i4a4_1:hover{background-color:var(--action-background, rgba(0, 0, 0, .05))}._Action_7i4a4_1:hover svg{fill:#6f7b88}}._Action_7i4a4_1 svg{flex:0 0 auto;margin:auto;height:100%;overflow:visible;fill:#919eab}._Action_7i4a4_1:active{background-color:var(--background, rgba(0, 0, 0, .05))}._Action_7i4a4_1:active svg{fill:var(--fill, #788491)}._Action_7i4a4_1:focus-visible{outline:none;box-shadow:0 0 0 2px #fff0,0 0 0 2px #4c9ffe}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clevertask/react-sortable-tree",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "author": "CleverTask",
@@ -13,6 +13,7 @@
13
13
  "dev": "vite",
14
14
  "build": "rm -rf dist && tsc -b && vite build",
15
15
  "lint": "eslint .",
16
+ "format": "prettier . --write",
16
17
  "preview": "vite preview",
17
18
  "prepublishOnly": "npm run build"
18
19
  },
@@ -32,6 +33,7 @@
32
33
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
33
34
  "eslint-plugin-react-refresh": "^0.4.12",
34
35
  "globals": "^15.11.0",
36
+ "prettier": "^3.3.3",
35
37
  "typescript": "^5.6.3",
36
38
  "typescript-eslint": "^8.10.0",
37
39
  "vite": "^5.4.9",