@neo4j-ndl/react 2.4.1 → 2.6.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.
Files changed (64) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/lib/LICENSES.txt +1 -1
  3. package/lib/NOTICE.txt +3 -1
  4. package/lib/cjs/icons/generated/custom/Neo4JIconBlack.js +27 -0
  5. package/lib/cjs/icons/generated/custom/Neo4JIconBlack.js.map +1 -0
  6. package/lib/cjs/icons/generated/custom/Neo4JIconColor.js +27 -0
  7. package/lib/cjs/icons/generated/custom/Neo4JIconColor.js.map +1 -0
  8. package/lib/cjs/icons/generated/custom/Neo4JIconWhite.js +27 -0
  9. package/lib/cjs/icons/generated/custom/Neo4JIconWhite.js.map +1 -0
  10. package/lib/cjs/icons/generated/custom/Neo4JLogoBlack.js +27 -0
  11. package/lib/cjs/icons/generated/custom/Neo4JLogoBlack.js.map +1 -0
  12. package/lib/cjs/icons/generated/custom/Neo4JLogoColor.js +27 -0
  13. package/lib/cjs/icons/generated/custom/Neo4JLogoColor.js.map +1 -0
  14. package/lib/cjs/icons/generated/custom/Neo4JLogoWhite.js +27 -0
  15. package/lib/cjs/icons/generated/custom/Neo4JLogoWhite.js.map +1 -0
  16. package/lib/cjs/icons/generated/custom/index.js +13 -1
  17. package/lib/cjs/icons/generated/custom/index.js.map +1 -1
  18. package/lib/cjs/index.js +1 -0
  19. package/lib/cjs/index.js.map +1 -1
  20. package/lib/cjs/logo/Logo.js +77 -0
  21. package/lib/cjs/logo/Logo.js.map +1 -0
  22. package/lib/cjs/logo/index.js +38 -0
  23. package/lib/cjs/logo/index.js.map +1 -0
  24. package/lib/cjs/slider/Slider.js +134 -0
  25. package/lib/cjs/slider/Slider.js.map +1 -0
  26. package/lib/cjs/slider/index.js +38 -0
  27. package/lib/cjs/slider/index.js.map +1 -0
  28. package/lib/esm/icons/generated/custom/Neo4JIconBlack.js +25 -0
  29. package/lib/esm/icons/generated/custom/Neo4JIconBlack.js.map +1 -0
  30. package/lib/esm/icons/generated/custom/Neo4JIconColor.js +25 -0
  31. package/lib/esm/icons/generated/custom/Neo4JIconColor.js.map +1 -0
  32. package/lib/esm/icons/generated/custom/Neo4JIconWhite.js +25 -0
  33. package/lib/esm/icons/generated/custom/Neo4JIconWhite.js.map +1 -0
  34. package/lib/esm/icons/generated/custom/Neo4JLogoBlack.js +25 -0
  35. package/lib/esm/icons/generated/custom/Neo4JLogoBlack.js.map +1 -0
  36. package/lib/esm/icons/generated/custom/Neo4JLogoColor.js +25 -0
  37. package/lib/esm/icons/generated/custom/Neo4JLogoColor.js.map +1 -0
  38. package/lib/esm/icons/generated/custom/Neo4JLogoWhite.js +25 -0
  39. package/lib/esm/icons/generated/custom/Neo4JLogoWhite.js.map +1 -0
  40. package/lib/esm/icons/generated/custom/index.js +6 -0
  41. package/lib/esm/icons/generated/custom/index.js.map +1 -1
  42. package/lib/esm/index.js +1 -0
  43. package/lib/esm/index.js.map +1 -1
  44. package/lib/esm/logo/Logo.js +71 -0
  45. package/lib/esm/logo/Logo.js.map +1 -0
  46. package/lib/esm/logo/index.js +22 -0
  47. package/lib/esm/logo/index.js.map +1 -0
  48. package/lib/esm/slider/Slider.js +128 -0
  49. package/lib/esm/slider/Slider.js.map +1 -0
  50. package/lib/esm/slider/index.js +22 -0
  51. package/lib/esm/slider/index.js.map +1 -0
  52. package/lib/types/icons/generated/custom/Neo4JIconBlack.d.ts +23 -0
  53. package/lib/types/icons/generated/custom/Neo4JIconColor.d.ts +23 -0
  54. package/lib/types/icons/generated/custom/Neo4JIconWhite.d.ts +23 -0
  55. package/lib/types/icons/generated/custom/Neo4JLogoBlack.d.ts +23 -0
  56. package/lib/types/icons/generated/custom/Neo4JLogoColor.d.ts +23 -0
  57. package/lib/types/icons/generated/custom/Neo4JLogoWhite.d.ts +23 -0
  58. package/lib/types/icons/generated/custom/index.d.ts +6 -0
  59. package/lib/types/index.d.ts +1 -0
  60. package/lib/types/logo/Logo.d.ts +34 -0
  61. package/lib/types/logo/index.d.ts +21 -0
  62. package/lib/types/slider/Slider.d.ts +77 -0
  63. package/lib/types/slider/index.d.ts +21 -0
  64. package/package.json +4 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # Change Log
2
2
 
3
+ ## 2.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#733](https://github.com/neo4j/needle/pull/733) [`6f374de548bbdb0f4fd32a76e49ec85c8118b351`](https://github.com/neo4j/needle/commit/6f374de548bbdb0f4fd32a76e49ec85c8118b351) Thanks [@konsalex](https://github.com/konsalex)! - add new slider component
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [[`6f374de548bbdb0f4fd32a76e49ec85c8118b351`](https://github.com/neo4j/needle/commit/6f374de548bbdb0f4fd32a76e49ec85c8118b351)]:
12
+ - @neo4j-ndl/base@2.6.0
13
+
14
+ ## 2.5.0
15
+
16
+ ### Minor Changes
17
+
18
+ - [#731](https://github.com/neo4j/needle/pull/731) [`c43c28560d74965535b3c084d4d757c77c5e2d8d`](https://github.com/neo4j/needle/commit/c43c28560d74965535b3c084d4d757c77c5e2d8d) Thanks [@konsalex](https://github.com/konsalex)! - add new Neo4j logo as a component and individual icons
19
+
20
+ ### Patch Changes
21
+
22
+ - Updated dependencies [[`c43c28560d74965535b3c084d4d757c77c5e2d8d`](https://github.com/neo4j/needle/commit/c43c28560d74965535b3c084d4d757c77c5e2d8d)]:
23
+ - @neo4j-ndl/base@2.5.0
24
+
3
25
  ## 2.4.1
4
26
 
5
27
  ### Patch Changes
package/lib/LICENSES.txt CHANGED
@@ -17001,7 +17001,7 @@ SOFTWARE.
17001
17001
 
17002
17002
  -----
17003
17003
 
17004
- The following software may be included in this product: react-aria. A copy of the source code may be downloaded from https://github.com/adobe/react-spectrum. This software contains the following license and notice below:
17004
+ The following software may be included in this product: react-aria, react-stately. A copy of the source code may be downloaded from https://github.com/adobe/react-spectrum (react-aria), https://github.com/adobe/react-spectrum (react-stately). This software contains the following license and notice below:
17005
17005
 
17006
17006
  Apache License
17007
17007
  Version 2.0, January 2004
package/lib/NOTICE.txt CHANGED
@@ -333,7 +333,9 @@ Third-party licenses
333
333
  │ │ ├─ URL: https://github.com/krisk/Fuse.git
334
334
  │ │ ├─ VendorName: Kiro Risk
335
335
  │ │ └─ VendorUrl: http://fusejs.io
336
- │ ├─ react-aria@npm:3.31.1 [a2e03] (via npm:^3.25.0 [a2e03])
336
+ │ ├─ react-aria@npm:3.31.0 [a2e03] (via npm:3.31.0 [a2e03])
337
+ │ │ └─ URL: https://github.com/adobe/react-spectrum
338
+ │ ├─ react-stately@npm:3.29.1 [a2e03] (via npm:3.29.1 [a2e03])
337
339
  │ │ └─ URL: https://github.com/adobe/react-spectrum
338
340
  │ ├─ style-dictionary@npm:3.9.2 (via npm:^3.0.3)
339
341
  │ │ ├─ URL: git://github.com/amzn/style-dictionary.git
@@ -0,0 +1,27 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+
22
+ "use strict";
23
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ const jsx_runtime_1 = require("react/jsx-runtime");
25
+ const SvgNeo4JIconBlack = (props) => ((0, jsx_runtime_1.jsxs)("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 86 79", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M57.3779 0C40.5967 0 29.3328 9.8948 29.3328 28.9973V42.5747C30.9412 41.7692 32.7812 41.3085 34.7344 41.3085C36.6877 41.3085 38.5277 41.7692 40.2519 42.5747V28.8815C40.2519 16.4545 47.0328 10.1264 57.3779 10.1264C67.7231 10.1264 74.504 16.4545 74.504 28.8815V58.6843H85.423V28.8815C85.5388 9.6658 74.1592 0 57.3779 0Z", fill: "#1A1B1D" }), (0, jsx_runtime_1.jsx)("path", { d: "M4.73608 32.7957C3.35676 33.4854 2.09321 34.6358 1.17192 36.1335C0.253212 37.6287 -0.0916182 39.2395 0.0216118 40.8505C0.137412 43.7276 1.7458 46.373 4.38868 47.8682C6.80258 49.2475 9.56128 48.9028 12.2042 48.3288C15.4235 47.5233 18.1822 47.1785 21.0542 48.9053H21.17C26.1135 51.7824 26.1135 59.0317 21.17 61.9062H21.0542C18.1797 63.6327 15.421 63.2877 12.2042 62.4827C9.67448 61.793 6.91578 61.4481 4.38868 62.9436C1.7458 64.4386 0.250642 67.1996 0.0216118 69.9606C-0.0941982 71.5716 0.250642 73.1827 1.17192 74.6777C2.09063 76.1736 3.24095 77.3236 4.73608 78.0156C7.26578 79.2816 10.3693 79.2817 13.0122 77.7867C15.4261 76.4076 16.5764 73.7596 17.2661 71.2266C18.1848 68.0056 19.2193 65.4726 22.2096 63.8616C25.0841 62.1352 27.8428 62.4827 31.0596 63.2877C33.5893 63.9776 36.348 64.3227 38.8751 62.8277C41.518 61.3324 43.0131 58.571 43.2422 55.8097V54.6594C43.1264 51.7823 41.518 49.1369 38.8751 47.6417C36.4612 46.2598 33.7025 46.6073 31.0596 47.1812C27.8403 47.9867 25.0816 48.3315 22.2096 46.6047C19.3351 44.878 18.1874 42.4614 17.2661 39.2395C16.5764 36.7073 15.4261 34.1776 13.0122 32.6799C10.3693 31.5296 7.26578 31.5296 4.73608 32.7957Z", fill: "#1A1B1D" })] })));
26
+ exports.default = SvgNeo4JIconBlack;
27
+ //# sourceMappingURL=Neo4JIconBlack.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Neo4JIconBlack.js","sourceRoot":"","sources":["../../../../../src/icons/generated/custom/Neo4JIconBlack.tsx"],"names":[],"mappings":";;;AAwBA,MAAM,iBAAiB,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CAC5D,+CACE,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,IAC9B,KAAK,eAET,iCACE,CAAC,EAAC,8TAA8T,EAChU,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,2nCAA2nC,EAC7nC,IAAI,EAAC,SAAS,GACd,KACE,CACP,CAAC;AACF,kBAAe,iBAAiB,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+
22
+ "use strict";
23
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ const jsx_runtime_1 = require("react/jsx-runtime");
25
+ const SvgNeo4JIconColor = (props) => ((0, jsx_runtime_1.jsxs)("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 86 79", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M57.3779 0C40.5967 0 29.3328 9.8948 29.3328 28.9973V42.5747C30.9412 41.7692 32.7812 41.3085 34.7344 41.3085C36.6877 41.3085 38.5277 41.7692 40.2519 42.5747V28.8815C40.2519 16.4545 47.0328 10.1264 57.3779 10.1264C67.7231 10.1264 74.504 16.4545 74.504 28.8815V58.6843H85.423V28.8815C85.5388 9.6658 74.1592 0 57.3779 0Z", fill: "#1A1B1D" }), (0, jsx_runtime_1.jsx)("path", { d: "M4.73608 32.7957C3.35676 33.4854 2.09321 34.6358 1.17192 36.1335C0.253212 37.6287 -0.0916182 39.2395 0.0216118 40.8505C0.137412 43.7276 1.7458 46.373 4.38868 47.8682C6.80258 49.2475 9.56128 48.9028 12.2042 48.3288C15.4235 47.5233 18.1822 47.1785 21.0542 48.9053H21.17C26.1135 51.7824 26.1135 59.0317 21.17 61.9062H21.0542C18.1797 63.6327 15.421 63.2877 12.2042 62.4827C9.67448 61.793 6.91578 61.4481 4.38868 62.9436C1.7458 64.4386 0.250642 67.1996 0.0216118 69.9606C-0.0941982 71.5716 0.250642 73.1827 1.17192 74.6777C2.09063 76.1736 3.24095 77.3236 4.73608 78.0156C7.26578 79.2816 10.3693 79.2817 13.0122 77.7867C15.4261 76.4076 16.5764 73.7596 17.2661 71.2266C18.1848 68.0056 19.2193 65.4726 22.2096 63.8616C25.0841 62.1352 27.8428 62.4827 31.0596 63.2877C33.5893 63.9776 36.348 64.3227 38.8751 62.8277C41.518 61.3324 43.0131 58.571 43.2422 55.8097V54.6594C43.1264 51.7823 41.518 49.1369 38.8751 47.6417C36.4612 46.2598 33.7025 46.6073 31.0596 47.1812C27.8403 47.9867 25.0816 48.3315 22.2096 46.6047C19.3351 44.878 18.1874 42.4614 17.2661 39.2395C16.5764 36.7073 15.4261 34.1776 13.0122 32.6799C10.3693 31.5296 7.26578 31.5296 4.73608 32.7957Z", fill: "#014063" })] })));
26
+ exports.default = SvgNeo4JIconColor;
27
+ //# sourceMappingURL=Neo4JIconColor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Neo4JIconColor.js","sourceRoot":"","sources":["../../../../../src/icons/generated/custom/Neo4JIconColor.tsx"],"names":[],"mappings":";;;AAwBA,MAAM,iBAAiB,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CAC5D,+CACE,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,IAC9B,KAAK,eAET,iCACE,CAAC,EAAC,8TAA8T,EAChU,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,2nCAA2nC,EAC7nC,IAAI,EAAC,SAAS,GACd,KACE,CACP,CAAC;AACF,kBAAe,iBAAiB,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+
22
+ "use strict";
23
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ const jsx_runtime_1 = require("react/jsx-runtime");
25
+ const SvgNeo4JIconWhite = (props) => ((0, jsx_runtime_1.jsxs)("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 86 79", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M57.3779 0C40.5967 0 29.3328 9.8948 29.3328 28.9973V42.5747C30.9412 41.7692 32.7812 41.3085 34.7344 41.3085C36.6877 41.3085 38.5277 41.7692 40.2519 42.5747V28.8815C40.2519 16.4545 47.0328 10.1264 57.3779 10.1264C67.7231 10.1264 74.504 16.4545 74.504 28.8815V58.6843H85.423V28.8815C85.5388 9.6658 74.1592 0 57.3779 0Z", fill: "white" }), (0, jsx_runtime_1.jsx)("path", { d: "M4.73608 32.7957C3.35676 33.4854 2.09321 34.6358 1.17192 36.1335C0.253212 37.6287 -0.0916182 39.2395 0.0216118 40.8505C0.137412 43.7276 1.7458 46.373 4.38868 47.8682C6.80258 49.2475 9.56128 48.9028 12.2042 48.3288C15.4235 47.5233 18.1822 47.1785 21.0542 48.9053H21.17C26.1135 51.7824 26.1135 59.0317 21.17 61.9062H21.0542C18.1797 63.6327 15.421 63.2877 12.2042 62.4827C9.67448 61.793 6.91578 61.4481 4.38868 62.9436C1.7458 64.4386 0.250642 67.1996 0.0216118 69.9606C-0.0941982 71.5716 0.250642 73.1827 1.17192 74.6777C2.09063 76.1736 3.24095 77.3236 4.73608 78.0156C7.26578 79.2816 10.3693 79.2817 13.0122 77.7867C15.4261 76.4076 16.5764 73.7596 17.2661 71.2266C18.1848 68.0056 19.2193 65.4726 22.2096 63.8616C25.0841 62.1352 27.8428 62.4827 31.0596 63.2877C33.5893 63.9776 36.348 64.3227 38.8751 62.8277C41.518 61.3324 43.0131 58.571 43.2422 55.8097V54.6594C43.1264 51.7823 41.518 49.1369 38.8751 47.6417C36.4612 46.2598 33.7025 46.6073 31.0596 47.1812C27.8403 47.9867 25.0816 48.3315 22.2096 46.6047C19.3351 44.878 18.1874 42.4614 17.2661 39.2395C16.5764 36.7073 15.4261 34.1776 13.0122 32.6799C10.3693 31.5296 7.26578 31.5296 4.73608 32.7957Z", fill: "white" })] })));
26
+ exports.default = SvgNeo4JIconWhite;
27
+ //# sourceMappingURL=Neo4JIconWhite.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Neo4JIconWhite.js","sourceRoot":"","sources":["../../../../../src/icons/generated/custom/Neo4JIconWhite.tsx"],"names":[],"mappings":";;;AAwBA,MAAM,iBAAiB,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CAC5D,+CACE,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,IAC9B,KAAK,eAET,iCACE,CAAC,EAAC,8TAA8T,EAChU,IAAI,EAAC,OAAO,GACZ,EACF,iCACE,CAAC,EAAC,2nCAA2nC,EAC7nC,IAAI,EAAC,OAAO,GACZ,KACE,CACP,CAAC;AACF,kBAAe,iBAAiB,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+
22
+ "use strict";
23
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ const jsx_runtime_1 = require("react/jsx-runtime");
25
+ const SvgNeo4JLogoBlack = (props) => ((0, jsx_runtime_1.jsxs)("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 308 102", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M57.3779 21.5162C40.5967 21.5162 29.3328 31.411 29.3328 50.5135V64.0909C30.9412 63.2854 32.7812 62.8247 34.7344 62.8247C36.6877 62.8247 38.5277 63.2854 40.2519 64.0909V50.3977C40.2519 37.9707 47.0328 31.6426 57.3779 31.6426C67.7231 31.6426 74.504 37.9707 74.504 50.3977V80.2005H85.423V50.3977C85.5388 31.182 74.1592 21.5162 57.3779 21.5162Z", fill: "#1A1B1D" }), (0, jsx_runtime_1.jsx)("path", { d: "M91.4011 51.5481C91.4011 34.1724 104.044 21.4006 121.976 21.4006C139.908 21.4006 152.322 34.1724 152.322 51.5481V55.5755H103.01C104.618 65.8152 112.205 71.4535 122.089 71.4535C129.447 71.4535 134.619 69.1529 137.952 64.2042H150.021C145.654 74.9045 135.309 81.6931 122.089 81.6931C104.158 81.6931 91.3985 68.9213 91.3985 51.5456L91.4011 51.5481ZM140.942 45.794C138.757 36.5889 131.287 31.6402 122.092 31.6402C112.897 31.6402 105.54 36.7021 103.357 45.794H140.945H140.942Z", fill: "#1A1B1D" }), (0, jsx_runtime_1.jsx)("path", { d: "M158.3 51.5481C158.3 34.1724 170.943 21.4006 188.875 21.4006C206.806 21.4006 219.449 34.1724 219.449 51.5481C219.449 68.9238 206.806 81.6957 188.875 81.6957C170.943 81.6957 158.3 68.9238 158.3 51.5481ZM208.53 51.5481C208.53 39.9266 200.715 31.6427 188.99 31.6427C177.266 31.6427 169.45 39.9266 169.45 51.5481C169.45 63.1697 177.266 71.4535 188.99 71.4535C200.715 71.4535 208.53 63.1697 208.53 51.5481Z", fill: "#1A1B1D" }), (0, jsx_runtime_1.jsx)("path", { d: "M281.978 91.5929H283.242C290.254 91.5929 292.897 88.4869 292.897 80.3164V23.3589H303.816V79.6267C303.816 93.7809 298.299 101.03 284.276 101.03H281.978V91.5959V91.5929Z", fill: "#1A1B1D" }), (0, jsx_runtime_1.jsx)("path", { d: "M276.577 85.7229H265.655V72.1458H237.955C232.437 72.1458 227.61 69.3845 225.425 65.0122C223.356 60.869 223.93 56.0362 226.92 52.0088L251.862 19.2157C255.426 14.3828 261.517 12.427 267.15 14.267C272.897 16.107 276.577 21.2847 276.577 27.3837V62.4774H284.85V72.259H276.577V85.7209V85.7229ZM236.002 57.992C235.657 58.4526 235.541 59.0265 235.541 59.6029C235.541 61.0981 236.804 62.3642 238.3 62.3642H265.655V27.0389C265.655 25.1989 264.276 24.5067 263.702 24.3934C263.473 24.2776 263.128 24.2776 262.667 24.2776C261.978 24.2776 261.172 24.5067 260.483 25.4279L236.002 57.992Z", fill: "#1A1B1D" }), (0, jsx_runtime_1.jsx)("path", { d: "M298.404 0C293.232 0 289.094 4.2564 289.094 9.4367C289.094 14.617 293.348 18.8709 298.404 18.8709C303.461 18.8709 307.715 14.6144 307.715 9.4367C307.715 4.259 303.461 0 298.404 0Z", fill: "#1A1B1D" }), (0, jsx_runtime_1.jsx)("path", { d: "M4.73608 54.312C3.35676 55.0017 2.09321 56.152 1.17192 57.6497C0.253212 59.1449 -0.0916182 60.7558 0.0216118 62.3668C0.137412 65.2439 1.7458 67.8893 4.38868 69.3845C6.80258 70.7638 9.56128 70.419 12.2042 69.8451C15.4235 69.0396 18.1822 68.6948 21.0542 70.4216H21.17C26.1135 73.2986 26.1135 80.548 21.17 83.4225H21.0542C18.1797 85.1489 15.421 84.8039 12.2042 83.9989C9.67448 83.3092 6.91578 82.9644 4.38868 84.4599C1.7458 85.9549 0.250642 88.7159 0.0216118 91.4769C-0.0941982 93.0879 0.250642 94.6989 1.17192 96.1939C2.09063 97.6899 3.24095 98.8399 4.73608 99.5319C7.26578 100.798 10.3693 100.798 13.0122 99.3029C15.4261 97.9239 16.5764 95.2759 17.2661 92.7429C18.1848 89.5219 19.2193 86.9889 22.2096 85.3779C25.0841 83.6515 27.8428 83.9989 31.0596 84.8039C33.5893 85.4939 36.348 85.8389 38.8751 84.3439C41.518 82.8486 43.0131 80.0873 43.2422 77.326V76.1757C43.1264 73.2986 41.518 70.6532 38.8751 69.158C36.4612 67.7761 33.7025 68.1235 31.0596 68.6974C27.8403 69.5029 25.0816 69.8477 22.2096 68.1209C19.3351 66.3942 18.1874 63.9777 17.2661 60.7558C16.5764 58.2236 15.4261 55.6939 13.0122 54.1962C10.3693 53.0459 7.26578 53.0459 4.73608 54.312Z", fill: "#1A1B1D" })] })));
26
+ exports.default = SvgNeo4JLogoBlack;
27
+ //# sourceMappingURL=Neo4JLogoBlack.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Neo4JLogoBlack.js","sourceRoot":"","sources":["../../../../../src/icons/generated/custom/Neo4JLogoBlack.tsx"],"names":[],"mappings":";;;AAwBA,MAAM,iBAAiB,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CAC5D,+CACE,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,aAAa,EACrB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,IAC9B,KAAK,eAET,iCACE,CAAC,EAAC,sVAAsV,EACxV,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,wdAAwd,EAC1d,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,mZAAmZ,EACrZ,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,yKAAyK,EAC3K,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,8jBAA8jB,EAChkB,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,qLAAqL,EACvL,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,wnCAAwnC,EAC1nC,IAAI,EAAC,SAAS,GACd,KACE,CACP,CAAC;AACF,kBAAe,iBAAiB,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+
22
+ "use strict";
23
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ const jsx_runtime_1 = require("react/jsx-runtime");
25
+ const SvgNeo4JLogoColor = (props) => ((0, jsx_runtime_1.jsxs)("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 308 102", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M57.3779 21.5162C40.5967 21.5162 29.3328 31.411 29.3328 50.5135V64.0909C30.9412 63.2854 32.7812 62.8247 34.7344 62.8247C36.6877 62.8247 38.5277 63.2854 40.2519 64.0909V50.3977C40.2519 37.9707 47.0328 31.6426 57.3779 31.6426C67.7231 31.6426 74.504 37.9707 74.504 50.3977V80.2005H85.423V50.3977C85.5388 31.182 74.1592 21.5162 57.3779 21.5162Z", fill: "#1A1B1D" }), (0, jsx_runtime_1.jsx)("path", { d: "M91.4011 51.5481C91.4011 34.1724 104.044 21.4006 121.976 21.4006C139.908 21.4006 152.322 34.1724 152.322 51.5481V55.5755H103.01C104.618 65.8152 112.205 71.4535 122.089 71.4535C129.447 71.4535 134.619 69.1529 137.952 64.2042H150.021C145.654 74.9045 135.309 81.6931 122.089 81.6931C104.158 81.6931 91.3985 68.9213 91.3985 51.5456L91.4011 51.5481ZM140.942 45.794C138.757 36.5889 131.287 31.6402 122.092 31.6402C112.897 31.6402 105.54 36.7021 103.357 45.794H140.945H140.942Z", fill: "#1A1B1D" }), (0, jsx_runtime_1.jsx)("path", { d: "M158.3 51.5481C158.3 34.1724 170.943 21.4006 188.875 21.4006C206.806 21.4006 219.449 34.1724 219.449 51.5481C219.449 68.9238 206.806 81.6957 188.875 81.6957C170.943 81.6957 158.3 68.9238 158.3 51.5481ZM208.53 51.5481C208.53 39.9266 200.715 31.6427 188.99 31.6427C177.266 31.6427 169.45 39.9266 169.45 51.5481C169.45 63.1697 177.266 71.4535 188.99 71.4535C200.715 71.4535 208.53 63.1697 208.53 51.5481Z", fill: "#1A1B1D" }), (0, jsx_runtime_1.jsx)("path", { d: "M281.978 91.5929H283.242C290.254 91.5929 292.897 88.4869 292.897 80.3164V23.3589H303.816V79.6267C303.816 93.7809 298.299 101.03 284.276 101.03H281.978V91.5959V91.5929Z", fill: "#1A1B1D" }), (0, jsx_runtime_1.jsx)("path", { d: "M276.577 85.7229H265.655V72.1458H237.955C232.437 72.1458 227.61 69.3845 225.425 65.0122C223.356 60.869 223.93 56.0362 226.92 52.0088L251.862 19.2157C255.426 14.3828 261.517 12.427 267.15 14.267C272.897 16.107 276.577 21.2847 276.577 27.3837V62.4774H284.85V72.259H276.577V85.7209V85.7229ZM236.002 57.992C235.657 58.4526 235.541 59.0265 235.541 59.6029C235.541 61.0981 236.804 62.3642 238.3 62.3642H265.655V27.0389C265.655 25.1989 264.276 24.5067 263.702 24.3934C263.473 24.2776 263.128 24.2776 262.667 24.2776C261.978 24.2776 261.172 24.5067 260.483 25.4279L236.002 57.992Z", fill: "#1A1B1D" }), (0, jsx_runtime_1.jsx)("path", { d: "M298.404 0C293.232 0 289.094 4.2564 289.094 9.4367C289.094 14.617 293.348 18.8709 298.404 18.8709C303.461 18.8709 307.715 14.6144 307.715 9.4367C307.715 4.259 303.461 0 298.404 0Z", fill: "#014063" }), (0, jsx_runtime_1.jsx)("path", { d: "M4.73608 54.312C3.35676 55.0017 2.09321 56.152 1.17192 57.6497C0.253212 59.1449 -0.0916182 60.7558 0.0216118 62.3668C0.137412 65.2439 1.7458 67.8893 4.38868 69.3845C6.80258 70.7638 9.56128 70.419 12.2042 69.8451C15.4235 69.0396 18.1822 68.6948 21.0542 70.4216H21.17C26.1135 73.2986 26.1135 80.548 21.17 83.4225H21.0542C18.1797 85.1489 15.421 84.8039 12.2042 83.9989C9.67448 83.3092 6.91578 82.9644 4.38868 84.4599C1.7458 85.9549 0.250642 88.7159 0.0216118 91.4769C-0.0941982 93.0879 0.250642 94.6989 1.17192 96.1939C2.09063 97.6899 3.24095 98.8399 4.73608 99.5319C7.26578 100.798 10.3693 100.798 13.0122 99.3029C15.4261 97.9239 16.5764 95.2759 17.2661 92.7429C18.1848 89.5219 19.2193 86.9889 22.2096 85.3779C25.0841 83.6515 27.8428 83.9989 31.0596 84.8039C33.5893 85.4939 36.348 85.8389 38.8751 84.3439C41.518 82.8486 43.0131 80.0873 43.2422 77.326V76.1757C43.1264 73.2986 41.518 70.6532 38.8751 69.158C36.4612 67.7761 33.7025 68.1235 31.0596 68.6974C27.8403 69.5029 25.0816 69.8477 22.2096 68.1209C19.3351 66.3942 18.1874 63.9777 17.2661 60.7558C16.5764 58.2236 15.4261 55.6939 13.0122 54.1962C10.3693 53.0459 7.26578 53.0459 4.73608 54.312Z", fill: "#014063" })] })));
26
+ exports.default = SvgNeo4JLogoColor;
27
+ //# sourceMappingURL=Neo4JLogoColor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Neo4JLogoColor.js","sourceRoot":"","sources":["../../../../../src/icons/generated/custom/Neo4JLogoColor.tsx"],"names":[],"mappings":";;;AAwBA,MAAM,iBAAiB,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CAC5D,+CACE,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,aAAa,EACrB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,IAC9B,KAAK,eAET,iCACE,CAAC,EAAC,sVAAsV,EACxV,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,wdAAwd,EAC1d,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,mZAAmZ,EACrZ,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,yKAAyK,EAC3K,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,8jBAA8jB,EAChkB,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,qLAAqL,EACvL,IAAI,EAAC,SAAS,GACd,EACF,iCACE,CAAC,EAAC,wnCAAwnC,EAC1nC,IAAI,EAAC,SAAS,GACd,KACE,CACP,CAAC;AACF,kBAAe,iBAAiB,CAAC"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+
22
+ "use strict";
23
+ Object.defineProperty(exports, "__esModule", { value: true });
24
+ const jsx_runtime_1 = require("react/jsx-runtime");
25
+ const SvgNeo4JLogoWhite = (props) => ((0, jsx_runtime_1.jsxs)("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 308 102", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [(0, jsx_runtime_1.jsx)("path", { d: "M57.3779 21.5162C40.5967 21.5162 29.3328 31.411 29.3328 50.5135V64.0909C30.9412 63.2854 32.7812 62.8247 34.7344 62.8247C36.6877 62.8247 38.5277 63.2854 40.2519 64.0909V50.3977C40.2519 37.9707 47.0328 31.6426 57.3779 31.6426C67.7231 31.6426 74.504 37.9707 74.504 50.3977V80.2005H85.423V50.3977C85.5388 31.182 74.1592 21.5162 57.3779 21.5162Z", fill: "white" }), (0, jsx_runtime_1.jsx)("path", { d: "M91.4011 51.5481C91.4011 34.1724 104.044 21.4006 121.976 21.4006C139.908 21.4006 152.322 34.1724 152.322 51.5481V55.5755H103.01C104.618 65.8152 112.205 71.4535 122.089 71.4535C129.447 71.4535 134.619 69.1529 137.952 64.2042H150.021C145.654 74.9045 135.309 81.6931 122.089 81.6931C104.158 81.6931 91.3985 68.9213 91.3985 51.5456L91.4011 51.5481ZM140.942 45.794C138.757 36.5889 131.287 31.6402 122.092 31.6402C112.897 31.6402 105.54 36.7021 103.357 45.794H140.945H140.942Z", fill: "white" }), (0, jsx_runtime_1.jsx)("path", { d: "M158.3 51.5481C158.3 34.1724 170.943 21.4006 188.875 21.4006C206.806 21.4006 219.449 34.1724 219.449 51.5481C219.449 68.9238 206.806 81.6957 188.875 81.6957C170.943 81.6957 158.3 68.9238 158.3 51.5481ZM208.53 51.5481C208.53 39.9266 200.715 31.6427 188.99 31.6427C177.266 31.6427 169.45 39.9266 169.45 51.5481C169.45 63.1697 177.266 71.4535 188.99 71.4535C200.715 71.4535 208.53 63.1697 208.53 51.5481Z", fill: "white" }), (0, jsx_runtime_1.jsx)("path", { d: "M281.978 91.5929H283.242C290.254 91.5929 292.897 88.4869 292.897 80.3164V23.3589H303.816V79.6267C303.816 93.7809 298.299 101.03 284.276 101.03H281.978V91.5959V91.5929Z", fill: "white" }), (0, jsx_runtime_1.jsx)("path", { d: "M276.577 85.7229H265.655V72.1458H237.955C232.437 72.1458 227.61 69.3845 225.425 65.0122C223.356 60.869 223.93 56.0362 226.92 52.0088L251.862 19.2157C255.426 14.3828 261.517 12.427 267.15 14.267C272.897 16.107 276.577 21.2847 276.577 27.3837V62.4774H284.85V72.259H276.577V85.7209V85.7229ZM236.002 57.992C235.657 58.4526 235.541 59.0265 235.541 59.6029C235.541 61.0981 236.804 62.3642 238.3 62.3642H265.655V27.0389C265.655 25.1989 264.276 24.5067 263.702 24.3934C263.473 24.2776 263.128 24.2776 262.667 24.2776C261.978 24.2776 261.172 24.5067 260.483 25.4279L236.002 57.992Z", fill: "white" }), (0, jsx_runtime_1.jsx)("path", { d: "M298.404 0C293.232 0 289.094 4.2564 289.094 9.4367C289.094 14.617 293.348 18.8709 298.404 18.8709C303.461 18.8709 307.715 14.6144 307.715 9.4367C307.715 4.259 303.461 0 298.404 0Z", fill: "white" }), (0, jsx_runtime_1.jsx)("path", { d: "M4.73608 54.312C3.35676 55.0017 2.09321 56.152 1.17192 57.6497C0.253212 59.1449 -0.0916182 60.7558 0.0216118 62.3668C0.137412 65.2439 1.7458 67.8893 4.38868 69.3845C6.80258 70.7638 9.56128 70.419 12.2042 69.8451C15.4235 69.0396 18.1822 68.6948 21.0542 70.4216H21.17C26.1135 73.2986 26.1135 80.548 21.17 83.4225H21.0542C18.1797 85.1489 15.421 84.8039 12.2042 83.9989C9.67448 83.3092 6.91578 82.9644 4.38868 84.4599C1.7458 85.9549 0.250642 88.7159 0.0216118 91.4769C-0.0941982 93.0879 0.250642 94.6989 1.17192 96.1939C2.09063 97.6899 3.24095 98.8399 4.73608 99.5319C7.26578 100.798 10.3693 100.798 13.0122 99.3029C15.4261 97.9239 16.5764 95.2759 17.2661 92.7429C18.1848 89.5219 19.2193 86.9889 22.2096 85.3779C25.0841 83.6515 27.8428 83.9989 31.0596 84.8039C33.5893 85.4939 36.348 85.8389 38.8751 84.3439C41.518 82.8486 43.0131 80.0873 43.2422 77.326V76.1757C43.1264 73.2986 41.518 70.6532 38.8751 69.158C36.4612 67.7761 33.7025 68.1235 31.0596 68.6974C27.8403 69.5029 25.0816 69.8477 22.2096 68.1209C19.3351 66.3942 18.1874 63.9777 17.2661 60.7558C16.5764 58.2236 15.4261 55.6939 13.0122 54.1962C10.3693 53.0459 7.26578 53.0459 4.73608 54.312Z", fill: "white" })] })));
26
+ exports.default = SvgNeo4JLogoWhite;
27
+ //# sourceMappingURL=Neo4JLogoWhite.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Neo4JLogoWhite.js","sourceRoot":"","sources":["../../../../../src/icons/generated/custom/Neo4JLogoWhite.tsx"],"names":[],"mappings":";;;AAwBA,MAAM,iBAAiB,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CAC5D,+CACE,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,aAAa,EACrB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,IAC9B,KAAK,eAET,iCACE,CAAC,EAAC,sVAAsV,EACxV,IAAI,EAAC,OAAO,GACZ,EACF,iCACE,CAAC,EAAC,wdAAwd,EAC1d,IAAI,EAAC,OAAO,GACZ,EACF,iCACE,CAAC,EAAC,mZAAmZ,EACrZ,IAAI,EAAC,OAAO,GACZ,EACF,iCACE,CAAC,EAAC,yKAAyK,EAC3K,IAAI,EAAC,OAAO,GACZ,EACF,iCACE,CAAC,EAAC,8jBAA8jB,EAChkB,IAAI,EAAC,OAAO,GACZ,EACF,iCACE,CAAC,EAAC,qLAAqL,EACvL,IAAI,EAAC,OAAO,GACZ,EACF,iCACE,CAAC,EAAC,wnCAAwnC,EAC1nC,IAAI,EAAC,OAAO,GACZ,KACE,CACP,CAAC;AACF,kBAAe,iBAAiB,CAAC"}
@@ -23,7 +23,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
23
23
  return (mod && mod.__esModule) ? mod : { "default": mod };
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.VisualizeBloomIcon = exports.UnderlineIcon = exports.TriangleIcon = exports.TextIcon = exports.StatusIcon = exports.SquareIcon = exports.SidebarLineRightIcon = exports.SidebarLineLeftIcon = exports.ShrinkIcon = exports.ScienceMoleculeIcon = exports.RhombusIcon = exports.ResizeCornerIcon = exports.QueryBrowserIcon = exports.PresentationIcon = exports.PlanViewIcon = exports.PinIcon = exports.NomLevelIcon = exports.ItalicIcon = exports.Hierarchy2Icon = exports.Hierarchy1Icon = exports.Heirarchy2Icon = exports.FolderBookmarkIcon = exports.FitToScreenIcon = exports.ExternalLinkIcon = exports.ExpandIcon = exports.DragIcon = exports.DbmsIcon = exports.DatabaseAddCircleIcon = exports.ConfigureIcon = exports.CollapseExpandIcon = exports.CollapseExpandRightIcon = exports.CollapseExpandLeftIcon = exports.CircleIcon = exports.BoldIcon = exports.AlignTopIcon = exports.AlignCenterIcon = exports.AlignBottomIcon = exports.AddNodeIcon = void 0;
26
+ exports.VisualizeBloomIcon = exports.UnderlineIcon = exports.TriangleIcon = exports.TextIcon = exports.StatusIcon = exports.SquareIcon = exports.SidebarLineRightIcon = exports.SidebarLineLeftIcon = exports.ShrinkIcon = exports.ScienceMoleculeIcon = exports.RhombusIcon = exports.ResizeCornerIcon = exports.QueryBrowserIcon = exports.PresentationIcon = exports.PlanViewIcon = exports.PinIcon = exports.NomLevelIcon = exports.Neo4JLogoWhiteIcon = exports.Neo4JLogoColorIcon = exports.Neo4JLogoBlackIcon = exports.Neo4JIconWhiteIcon = exports.Neo4JIconColorIcon = exports.Neo4JIconBlackIcon = exports.ItalicIcon = exports.Hierarchy2Icon = exports.Hierarchy1Icon = exports.Heirarchy2Icon = exports.FolderBookmarkIcon = exports.FitToScreenIcon = exports.ExternalLinkIcon = exports.ExpandIcon = exports.DragIcon = exports.DbmsIcon = exports.DatabaseAddCircleIcon = exports.ConfigureIcon = exports.CollapseExpandIcon = exports.CollapseExpandRightIcon = exports.CollapseExpandLeftIcon = exports.CircleIcon = exports.BoldIcon = exports.AlignTopIcon = exports.AlignCenterIcon = exports.AlignBottomIcon = exports.AddNodeIcon = void 0;
27
27
  // THIS FILE IS GENERATED BY BUILD TOOL
28
28
  // DO NOT EDIT IT MANUAL
29
29
  var AddNode_1 = require("./AddNode");
@@ -68,6 +68,18 @@ var Hierarchy2_1 = require("./Hierarchy2");
68
68
  Object.defineProperty(exports, "Hierarchy2Icon", { enumerable: true, get: function () { return __importDefault(Hierarchy2_1).default; } });
69
69
  var Italic_1 = require("./Italic");
70
70
  Object.defineProperty(exports, "ItalicIcon", { enumerable: true, get: function () { return __importDefault(Italic_1).default; } });
71
+ var Neo4JIconBlack_1 = require("./Neo4JIconBlack");
72
+ Object.defineProperty(exports, "Neo4JIconBlackIcon", { enumerable: true, get: function () { return __importDefault(Neo4JIconBlack_1).default; } });
73
+ var Neo4JIconColor_1 = require("./Neo4JIconColor");
74
+ Object.defineProperty(exports, "Neo4JIconColorIcon", { enumerable: true, get: function () { return __importDefault(Neo4JIconColor_1).default; } });
75
+ var Neo4JIconWhite_1 = require("./Neo4JIconWhite");
76
+ Object.defineProperty(exports, "Neo4JIconWhiteIcon", { enumerable: true, get: function () { return __importDefault(Neo4JIconWhite_1).default; } });
77
+ var Neo4JLogoBlack_1 = require("./Neo4JLogoBlack");
78
+ Object.defineProperty(exports, "Neo4JLogoBlackIcon", { enumerable: true, get: function () { return __importDefault(Neo4JLogoBlack_1).default; } });
79
+ var Neo4JLogoColor_1 = require("./Neo4JLogoColor");
80
+ Object.defineProperty(exports, "Neo4JLogoColorIcon", { enumerable: true, get: function () { return __importDefault(Neo4JLogoColor_1).default; } });
81
+ var Neo4JLogoWhite_1 = require("./Neo4JLogoWhite");
82
+ Object.defineProperty(exports, "Neo4JLogoWhiteIcon", { enumerable: true, get: function () { return __importDefault(Neo4JLogoWhite_1).default; } });
71
83
  var NomLevel_1 = require("./NomLevel");
72
84
  Object.defineProperty(exports, "NomLevelIcon", { enumerable: true, get: function () { return __importDefault(NomLevel_1).default; } });
73
85
  var Pin_1 = require("./Pin");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/icons/generated/custom/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;AAEH,uCAAuC;AACvC,wBAAwB;AACxB,qCAAmD;AAA1C,uHAAA,OAAO,OAAe;AAC/B,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,uC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AxC,qHAAA,OAAO,OAAc;AAC9B,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB;AACtC,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB;AACtC,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB;AACtC,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB;AACtC,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB;AACtC,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB;AACtC,uCAAqD;AAA5C,yHAAA,OAAO,OAAgB;AAChC,6BAA2C;AAAlC,+GAAA,OAAO,OAAW;AAC3B,uCAAqD;AAA5C,yHAAA,OAAO,OAAgB;AAChC,+CAA6D;AAApD,iIAAA,OAAO,OAAoB;AACpC,+CAA6D;AAApD,iIAAA,OAAO,OAAoB;AACpC,+CAA6D;AAApD,iIAAA,OAAO,OAAoB;AACpC,qCAAmD;AAA1C,uHAAA,OAAO,OAAe;AAC/B,qDAAmE;AAA1D,uIAAA,OAAO,OAAuB;AACvC,mCAAiD;AAAxC,qHAAA,OAAO,OAAc;AAC9B,qDAAmE;AAA1D,uIAAA,OAAO,OAAuB;AACvC,uDAAqE;AAA5D,yIAAA,OAAO,OAAwB;AACxC,mCAAiD;AAAxC,qHAAA,OAAO,OAAc;AAC9B,mCAAiD;AAAxC,qHAAA,OAAO,OAAc;AAC9B,+BAA6C;AAApC,iHAAA,OAAO,OAAY;AAC5B,uCAAqD;AAA5C,yHAAA,OAAO,OAAgB;AAChC,yCAAuD;AAA9C,2HAAA,OAAO,OAAiB;AACjC,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB"}
package/lib/cjs/index.js CHANGED
@@ -73,4 +73,5 @@ __exportStar(require("./breadcrumbs"), exports);
73
73
  __exportStar(require("./hooks"), exports);
74
74
  __exportStar(require("./layout"), exports);
75
75
  __exportStar(require("./avatar"), exports);
76
+ __exportStar(require("./logo"), exports);
76
77
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;AAEH,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,wCAAsB;AACtB,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB;AACxB,iDAA+B;AAC/B,gDAA8B;AAC9B,2CAAyB;AACzB,0CAAwB;AACxB,oDAAkC;AAClC,yCAAuB;AACvB,sDAAoC;AACpC,4CAA0B;AAC1B,iDAA+B;AAC/B,0CAAwB;AACxB,6CAA2B;AAC3B,8CAA4B;AAC5B,+CAA6B;AAC7B,6CAA2B;AAC3B,8CAA4B;AAC5B,6CAA2B;AAC3B,wCAAsB;AACtB,0CAAwB;AACxB,2CAAyB;AACzB,2CAAyB;AACzB,gDAA8B;AAC9B,+CAA6B;AAC7B,sDAAoC;AACpC,qDAAmC;AACnC,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,gDAA8B;AAC9B,0CAAwB;AACxB,2CAAyB;AACzB,2CAAyB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;AAEH,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,wCAAsB;AACtB,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB;AACxB,iDAA+B;AAC/B,gDAA8B;AAC9B,2CAAyB;AACzB,0CAAwB;AACxB,oDAAkC;AAClC,yCAAuB;AACvB,sDAAoC;AACpC,4CAA0B;AAC1B,iDAA+B;AAC/B,0CAAwB;AACxB,6CAA2B;AAC3B,8CAA4B;AAC5B,+CAA6B;AAC7B,6CAA2B;AAC3B,8CAA4B;AAC5B,6CAA2B;AAC3B,wCAAsB;AACtB,0CAAwB;AACxB,2CAAyB;AACzB,2CAAyB;AACzB,gDAA8B;AAC9B,+CAA6B;AAC7B,sDAAoC;AACpC,qDAAmC;AACnC,oDAAkC;AAClC,+CAA6B;AAC7B,2CAAyB;AACzB,gDAA8B;AAC9B,0CAAwB;AACxB,2CAAyB;AACzB,2CAAyB;AACzB,yCAAuB"}
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.Logo = void 0;
18
+ const jsx_runtime_1 = require("react/jsx-runtime");
19
+ /**
20
+ *
21
+ * Copyright (c) "Neo4j"
22
+ * Neo4j Sweden AB [http://neo4j.com]
23
+ *
24
+ * This file is part of Neo4j.
25
+ *
26
+ * Neo4j is free software: you can redistribute it and/or modify
27
+ * it under the terms of the GNU General Public License as published by
28
+ * the Free Software Foundation, either version 3 of the License, or
29
+ * (at your option) any later version.
30
+ *
31
+ * This program is distributed in the hope that it will be useful,
32
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
33
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34
+ * GNU General Public License for more details.
35
+ *
36
+ * You should have received a copy of the GNU General Public License
37
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
38
+ */
39
+ const react_1 = __importDefault(require("react"));
40
+ const theme_1 = require("../theme");
41
+ const Neo4JIconBlack_1 = __importDefault(require("../icons/generated/custom/Neo4JIconBlack"));
42
+ const Neo4JIconColor_1 = __importDefault(require("../icons/generated/custom/Neo4JIconColor"));
43
+ const Neo4JIconWhite_1 = __importDefault(require("../icons/generated/custom/Neo4JIconWhite"));
44
+ const Neo4JLogoBlack_1 = __importDefault(require("../icons/generated/custom/Neo4JLogoBlack"));
45
+ const Neo4JLogoColor_1 = __importDefault(require("../icons/generated/custom/Neo4JLogoColor"));
46
+ const Neo4JLogoWhite_1 = __importDefault(require("../icons/generated/custom/Neo4JLogoWhite"));
47
+ const iconMap = {
48
+ icon: {
49
+ black: Neo4JIconBlack_1.default,
50
+ white: Neo4JIconWhite_1.default,
51
+ color: Neo4JIconColor_1.default,
52
+ },
53
+ full: {
54
+ black: Neo4JLogoBlack_1.default,
55
+ white: Neo4JLogoWhite_1.default,
56
+ color: Neo4JLogoColor_1.default,
57
+ },
58
+ };
59
+ /**
60
+ * By default, Logo will be theme aware, unless `color` is explicitly provided.
61
+ *
62
+ * On light theme it will be colored and on dark theme it will be white.
63
+ */
64
+ exports.Logo = react_1.default.forwardRef(function Neo4jIcon(_a, ref) {
65
+ var { color, type = 'full' } = _a, restProps = __rest(_a, ["color", "type"]);
66
+ const theme = (0, theme_1.useNeedleTheme)();
67
+ // use themed logo if color is not explicitly provided
68
+ const iconColor = color
69
+ ? color
70
+ : theme.theme === 'light'
71
+ ? 'color'
72
+ : 'white';
73
+ const Icon = iconMap[type][iconColor];
74
+ return (0, jsx_runtime_1.jsx)(Icon, Object.assign({}, restProps, { ref: ref }));
75
+ });
76
+ exports.default = exports.Logo;
77
+ //# sourceMappingURL=Logo.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Logo.js","sourceRoot":"","sources":["../../../src/logo/Logo.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,kDAA0B;AAC1B,oCAA0C;AAC1C,8FAA0E;AAC1E,8FAA0E;AAC1E,8FAA0E;AAC1E,8FAA0E;AAC1E,8FAA0E;AAC1E,8FAA0E;AAU1E,MAAM,OAAO,GAAG;IACd,IAAI,EAAE;QACJ,KAAK,EAAE,wBAAkB;QACzB,KAAK,EAAE,wBAAkB;QACzB,KAAK,EAAE,wBAAkB;KAC1B;IACD,IAAI,EAAE;QACJ,KAAK,EAAE,wBAAkB;QACzB,KAAK,EAAE,wBAAkB;QACzB,KAAK,EAAE,wBAAkB;KAC1B;CACF,CAAC;AAEF;;;;GAIG;AACU,QAAA,IAAI,GAAG,eAAK,CAAC,UAAU,CAAC,SAAS,SAAS,CACrD,EAAiD,EACjD,GAAsC;QADtC,EAAE,KAAK,EAAE,IAAI,GAAG,MAAM,OAA2B,EAAtB,SAAS,cAApC,iBAAsC,CAAF;IAGpC,MAAM,KAAK,GAAG,IAAA,sBAAc,GAAE,CAAC;IAE/B,sDAAsD;IACtD,MAAM,SAAS,GAAc,KAAK;QAChC,CAAC,CAAC,KAAK;QACP,CAAC,CAAC,KAAK,CAAC,KAAK,KAAK,OAAO;YACvB,CAAC,CAAC,OAAO;YACT,CAAC,CAAC,OAAO,CAAC;IAEd,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC;IAEtC,OAAO,uBAAC,IAAI,oBAAK,SAAS,IAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAC3C,CAAC,CAAC,CAAC;AAEH,kBAAe,YAAI,CAAC"}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ /**
3
+ *
4
+ * Copyright (c) "Neo4j"
5
+ * Neo4j Sweden AB [http://neo4j.com]
6
+ *
7
+ * This file is part of Neo4j.
8
+ *
9
+ * Neo4j is free software: you can redistribute it and/or modify
10
+ * it under the terms of the GNU General Public License as published by
11
+ * the Free Software Foundation, either version 3 of the License, or
12
+ * (at your option) any later version.
13
+ *
14
+ * This program is distributed in the hope that it will be useful,
15
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
+ * GNU General Public License for more details.
18
+ *
19
+ * You should have received a copy of the GNU General Public License
20
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
21
+ */
22
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ var desc = Object.getOwnPropertyDescriptor(m, k);
25
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
26
+ desc = { enumerable: true, get: function() { return m[k]; } };
27
+ }
28
+ Object.defineProperty(o, k2, desc);
29
+ }) : (function(o, m, k, k2) {
30
+ if (k2 === undefined) k2 = k;
31
+ o[k2] = m[k];
32
+ }));
33
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
34
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ __exportStar(require("./Logo"), exports);
38
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/logo/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;AAEH,yCAAuB"}
@@ -0,0 +1,134 @@
1
+ "use strict";
2
+ var __rest = (this && this.__rest) || function (s, e) {
3
+ var t = {};
4
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
+ t[p] = s[p];
6
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
+ t[p[i]] = s[p[i]];
10
+ }
11
+ return t;
12
+ };
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.Slider = void 0;
18
+ const jsx_runtime_1 = require("react/jsx-runtime");
19
+ /**
20
+ *
21
+ * Copyright (c) "Neo4j"
22
+ * Neo4j Sweden AB [http://neo4j.com]
23
+ *
24
+ * This file is part of Neo4j.
25
+ *
26
+ * Neo4j is free software: you can redistribute it and/or modify
27
+ * it under the terms of the GNU General Public License as published by
28
+ * the Free Software Foundation, either version 3 of the License, or
29
+ * (at your option) any later version.
30
+ *
31
+ * This program is distributed in the hope that it will be useful,
32
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
33
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34
+ * GNU General Public License for more details.
35
+ *
36
+ * You should have received a copy of the GNU General Public License
37
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
38
+ */
39
+ const defaultImports_1 = require("../_common/defaultImports");
40
+ const react_1 = __importDefault(require("react"));
41
+ const helpers_1 = require("../helpers");
42
+ const tip_1 = require("../tip");
43
+ const react_stately_1 = require("react-stately");
44
+ const react_aria_1 = require("react-aria");
45
+ exports.Slider = (0, helpers_1.forwardRef)(function SliderComponent(_a, ref) {
46
+ var { rootProps = {}, inputProps = {}, minValue = 0, maxValue = 100, isDisabled = false, showSteps = false, showValues = false, step = 1, type = 'single', onChange } = _a, restProps = __rest(_a, ["rootProps", "inputProps", "minValue", "maxValue", "isDisabled", "showSteps", "showValues", "step", "type", "onChange"]);
47
+ const trackRef = react_1.default.useRef(null);
48
+ const castedValue = type === 'range'
49
+ ? restProps.values
50
+ : restProps.value;
51
+ const castedOnChange = type === 'range'
52
+ ? onChange
53
+ : onChange;
54
+ const state = (0, react_stately_1.useSliderState)({
55
+ isDisabled,
56
+ minValue,
57
+ maxValue,
58
+ step,
59
+ defaultValue: castedValue,
60
+ numberFormatter: new Intl.NumberFormat('en-US'),
61
+ onChange: castedOnChange, // eslint-disable-line @typescript-eslint/no-explicit-any
62
+ });
63
+ const { groupProps, trackProps } = (0, react_aria_1.useSlider)({ 'aria-label': 'slider' }, state, trackRef);
64
+ const mergedProps = (0, react_aria_1.mergeProps)(groupProps, rootProps);
65
+ return ((0, jsx_runtime_1.jsx)("div", Object.assign({}, mergedProps, { className: (0, defaultImports_1.classNames)('ndl-slider', rootProps.className), role: "presentation", ref: ref, children: (0, jsx_runtime_1.jsxs)("div", Object.assign({}, trackProps, { ref: trackRef, className: (0, defaultImports_1.classNames)('ndl-track', {
66
+ 'ndl-is-disabled': state.isDisabled,
67
+ }), children: [showSteps && ((0, jsx_runtime_1.jsx)(TrackMarks, { state: state, min: minValue, max: maxValue })), (0, jsx_runtime_1.jsx)(FilledTrack, { state: state }), (0, jsx_runtime_1.jsx)(Thumb, { index: 0, state: state, trackRef: trackRef, showValues: showValues, inputForwardedProps: inputProps }), type === 'range' && ((0, jsx_runtime_1.jsx)(Thumb, { index: 1, state: state, trackRef: trackRef, showValues: showValues, inputForwardedProps: inputProps }))] })) })));
68
+ });
69
+ function FilledTrack({ state }) {
70
+ let width;
71
+ let left;
72
+ if (state.values.length === 1) {
73
+ width = state.getValuePercent(state.values[0]) * 100;
74
+ left = 0;
75
+ }
76
+ else {
77
+ width =
78
+ state.getValuePercent(state.values[1]) * 100 -
79
+ state.getValuePercent(state.values[0]) * 100;
80
+ left = state.getValuePercent(state.values[0]) * 100;
81
+ }
82
+ return ((0, jsx_runtime_1.jsx)("div", { className: "ndl-filled-track", style: {
83
+ left: `${left}%`,
84
+ width: `${width}%`,
85
+ } }));
86
+ }
87
+ function TrackMarks({ state, max, min, }) {
88
+ const markNo = Math.round((max - min) / state.step);
89
+ return ((0, jsx_runtime_1.jsx)("div", { role: "presentation", className: "ndl-track-marks", children: Array.from({ length: markNo }).map((_, index) => {
90
+ const percent = (index / markNo) * 100;
91
+ let isFilled;
92
+ if (state.values.length === 1) {
93
+ isFilled = state.getValuePercent(state.values[0]) * 100 > percent;
94
+ }
95
+ else {
96
+ isFilled =
97
+ state.getValuePercent(state.values[0]) * 100 < percent &&
98
+ state.getValuePercent(state.values[1]) * 100 > percent;
99
+ }
100
+ return ((0, jsx_runtime_1.jsx)("div", { className: (0, defaultImports_1.classNames)('ndl-track-mark', {
101
+ 'ndl-on-active-track': isFilled,
102
+ }), style: {
103
+ left: `${(index / markNo) * 100}%`,
104
+ } }, `track-mark-${index}`));
105
+ }) }));
106
+ }
107
+ function Thumb(props) {
108
+ const { state, trackRef, index, inputForwardedProps } = props;
109
+ const inputRef = react_1.default.useRef(null);
110
+ const { thumbProps, inputProps, isDragging } = (0, react_aria_1.useSliderThumb)({
111
+ index,
112
+ trackRef,
113
+ inputRef,
114
+ name: 'slider-thumb',
115
+ }, state);
116
+ const { focusProps, isFocusVisible } = (0, react_aria_1.useFocusRing)();
117
+ /**
118
+ * Solve issue with:
119
+ * Warning: Received NaN for the `value` attribute. If this is expected, cast the value to a string.
120
+ * Receiving NaN for other attributes also, like `max`. Waiting for a fix in react-aria.
121
+ * @see https://github.com/adobe/react-spectrum/issues/5859
122
+ * @see https://github.com/adobe/react-spectrum/pull/5861
123
+ */
124
+ const mergedProps = (0, react_aria_1.mergeProps)(inputProps, focusProps,
125
+ // Omitting aria-valuetext double announcements, unless explicitly provided
126
+ { 'aria-valuetext': '' }, inputForwardedProps);
127
+ const value = mergedProps.value || mergedProps.value === 0 ? mergedProps.value : '';
128
+ return ((0, jsx_runtime_1.jsxs)(tip_1.Tip, { isDisabled: props.showValues !== true, isOpen: isDragging || undefined, allowedPlacements: ['top'], children: [(0, jsx_runtime_1.jsx)(tip_1.Tip.Trigger, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({}, thumbProps, { className: (0, defaultImports_1.classNames)('ndl-thumb', {
129
+ 'ndl-is-dragging': isDragging,
130
+ 'ndl-focus': isFocusVisible,
131
+ }), children: (0, jsx_runtime_1.jsx)(react_aria_1.VisuallyHidden, { children: (0, jsx_runtime_1.jsx)("input", Object.assign({ ref: inputRef }, mergedProps)) }) })) }), (0, jsx_runtime_1.jsx)(tip_1.Tip.Content, { children: (0, jsx_runtime_1.jsx)(tip_1.Tip.Body, { children: value }) })] }));
132
+ }
133
+ exports.default = exports.Slider;
134
+ //# sourceMappingURL=Slider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Slider.js","sourceRoot":"","sources":["../../../src/slider/Slider.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,8DAAuD;AACvD,kDAA0B;AAC1B,wCAA4E;AAC5E,gCAA6B;AAC7B,iDAAiE;AAEjE,2CAMoB;AA0DP,QAAA,MAAM,GAAG,IAAA,oBAAU,EAAC,SAAS,eAAe,CACvD,EAYc,EACd,GAAuC;QAbvC,EACE,SAAS,GAAG,EAAE,EACd,UAAU,GAAG,EAAE,EACf,QAAQ,GAAG,CAAC,EACZ,QAAQ,GAAG,GAAG,EACd,UAAU,GAAG,KAAK,EAClB,SAAS,GAAG,KAAK,EACjB,UAAU,GAAG,KAAK,EAClB,IAAI,GAAG,CAAC,EACR,IAAI,GAAG,QAAQ,EACf,QAAQ,OAEI,EADT,SAAS,cAXd,wHAYC,CADa;IAId,MAAM,QAAQ,GAAG,eAAK,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAEpC,MAAM,WAAW,GACf,IAAI,KAAK,OAAO;QACd,CAAC,CAAE,SAAyB,CAAC,MAAM;QACnC,CAAC,CAAE,SAA0B,CAAC,KAAK,CAAC;IAExC,MAAM,cAAc,GAClB,IAAI,KAAK,OAAO;QACd,CAAC,CAAE,QAAoC;QACvC,CAAC,CAAE,QAAqC,CAAC;IAE7C,MAAM,KAAK,GAAG,IAAA,8BAAc,EAAqB;QAC/C,UAAU;QACV,QAAQ;QACR,QAAQ;QACR,IAAI;QACJ,YAAY,EAAE,WAAW;QACzB,eAAe,EAAE,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,CAAC;QAC/C,QAAQ,EAAE,cAAqB,EAAE,yDAAyD;KAC3F,CAAC,CAAC;IAEH,MAAM,EAAE,UAAU,EAAE,UAAU,EAA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