Skip to content

Commit

Permalink
Fix build docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ductinhkx97 committed Sep 21, 2024
1 parent 207f9ca commit 18a0ffa
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 1,543 deletions.
1,540 changes: 1 addition & 1,539 deletions docs/yarn.lock

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion lib/components/Scroll/Scrollbars.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ const CustomScrollbars = forwardRef<HTMLElement, CustomScrollbarsProps>(function
overflowX ? undefined : (props) => <div {...props} className='track-horizontal' style={{ display: 'none' }} />
}
renderThumbVertical={({ style, ...props }) => <div {...props} style={{ ...style }} className={styles.Scroll} />}
ref={refSetter}>
ref={refSetter}
>
{children}
</Scrollbars>
);
Expand Down
3 changes: 2 additions & 1 deletion lib/components/Scroll/VirtuosoScrollbars.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const VirtuosoScrollbars = forwardRef(function VirtuosoScrollbars(
<CustomScrollbars
style={style}
ref={ref}
renderView={(viewProps) => <div {...viewProps} {...props} tabIndex={-1} />}>
renderView={(viewProps) => <div {...viewProps} {...props} tabIndex={-1} />}
>
{children}
</CustomScrollbars>
);
Expand Down
3 changes: 2 additions & 1 deletion lib/components/TreeItem/TreeItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ const TreeItemComponent = <T extends TreeItemType>(props: TreeItemProps<T>, ref:
'--spacing': `${indentationWidth * depth}px`,
} as CSSProperties
}
{...rest}>
{...rest}
>
<div className={styles.TreeItem} ref={ref} style={style}>
<Handle {...handleProps} />
{onCollapse && (
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
"husky": "^9.1.6",
"prettier": "^3.3.3",
"rc-scrollbars": "^1.1.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router-dom": "^6.26.2",
"react-virtuoso": "^4.10.4",
"rimraf": "^6.0.1",
Expand Down
31 changes: 30 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2305,7 +2305,7 @@ jotai@^2.6.2:
resolved "https://registry.yarnpkg.com/jotai/-/jotai-2.10.0.tgz#7483b81ab21ba28778f04b29368728f25efe4e89"
integrity sha512-8W4u0aRlOIwGlLQ0sqfl/c6+eExl5D8lZgAUolirZLktyaj4WnxO/8a0HEPmtriQAB6X5LMhXzZVmw02X0P0qQ==

js-tokens@^4.0.0:
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
Expand Down Expand Up @@ -2426,6 +2426,13 @@ longest-streak@^3.0.0:
resolved "https://registry.yarnpkg.com/longest-streak/-/longest-streak-3.1.0.tgz#62fa67cd958742a1574af9f39866364102d90cd4"
integrity sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==

loose-envify@^1.1.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==
dependencies:
js-tokens "^3.0.0 || ^4.0.0"

lower-case@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28"
Expand Down Expand Up @@ -3454,6 +3461,14 @@ rc@^1.0.1, rc@^1.1.6:
minimist "^1.2.0"
strip-json-comments "~2.0.1"

react-dom@^18.3.1:
version "18.3.1"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.3.1.tgz#c2265d79511b57d479b3dd3fdfa51536494c5cb4"
integrity sha512-5m4nQKp+rZRb09LNH59GM4BxTh9251/ylbKIbpe7TpGxfJ+9kv6BLkLBXIjjspbgbnIBNqlI23tRnTWT0snUIw==
dependencies:
loose-envify "^1.1.0"
scheduler "^0.23.2"

react-refresh@^0.14.2:
version "0.14.2"
resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.14.2.tgz#3833da01ce32da470f1f936b9d477da5c7028bf9"
Expand All @@ -3479,6 +3494,13 @@ react-virtuoso@^4.10.4:
resolved "https://registry.yarnpkg.com/react-virtuoso/-/react-virtuoso-4.10.4.tgz#856ed415d7071db0c666ce84809bab8bb834f45c"
integrity sha512-G/gprhTbK+lzMxoo/iStcZxVEGph/cIhc3WANEpt92RuMw+LiCZOmBfKoeoZOHlm/iyftTrDJhGaTCpxyucnkQ==

react@^18.3.1:
version "18.3.1"
resolved "https://registry.yarnpkg.com/react/-/react-18.3.1.tgz#49ab892009c53933625bd16b2533fc754cab2891"
integrity sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==
dependencies:
loose-envify "^1.1.0"

readdirp@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-4.0.1.tgz#b2fe35f8dca63183cd3b86883ecc8f720ea96ae6"
Expand Down Expand Up @@ -3699,6 +3721,13 @@ sass@^1.78.0:
immutable "^4.0.0"
source-map-js ">=0.6.2 <2.0.0"

scheduler@^0.23.2:
version "0.23.2"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.2.tgz#414ba64a3b282892e944cf2108ecc078d115cdc3"
integrity sha512-UOShsPwz7NrMUqhR6t0hWjFduvOzbtv7toDH1/hIrfRNIDBnnBWd0CwJTGvTpngVlmwGCdP9/Zl/tVrDqcuYzQ==
dependencies:
loose-envify "^1.1.0"

section-matter@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/section-matter/-/section-matter-1.0.0.tgz#e9041953506780ec01d59f292a19c7b850b84167"
Expand Down

0 comments on commit 18a0ffa

Please sign in to comment.