@neo4j-ndl/react 5.6.0 → 5.6.2

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 (32) hide show
  1. package/lib/cjs/clipboard-button/ClipboardButton.js +7 -5
  2. package/lib/cjs/clipboard-button/ClipboardButton.js.map +1 -1
  3. package/lib/cjs/dropzone/Dropzone.js +11 -12
  4. package/lib/cjs/dropzone/Dropzone.js.map +1 -1
  5. package/lib/cjs/icons/generated/custom/DocumentArrowUpSolid.js +43 -0
  6. package/lib/cjs/icons/generated/custom/DocumentArrowUpSolid.js.map +1 -0
  7. package/lib/cjs/icons/generated/custom/Neo4JAiNeutralOutline.js +1 -1
  8. package/lib/cjs/icons/generated/custom/Neo4JAiNeutralOutline.js.map +1 -1
  9. package/lib/cjs/icons/generated/custom/index.js +2 -0
  10. package/lib/cjs/icons/generated/custom/index.js.map +1 -1
  11. package/lib/cjs/icons/index.js +10 -8
  12. package/lib/esm/clipboard-button/ClipboardButton.mjs +7 -5
  13. package/lib/esm/clipboard-button/ClipboardButton.mjs.map +1 -1
  14. package/lib/esm/dropzone/Dropzone.mjs +11 -12
  15. package/lib/esm/dropzone/Dropzone.mjs.map +1 -1
  16. package/lib/esm/icons/generated/custom/DocumentArrowUpSolid.mjs +38 -0
  17. package/lib/esm/icons/generated/custom/DocumentArrowUpSolid.mjs.map +1 -0
  18. package/lib/esm/icons/generated/custom/Neo4JAiNeutralOutline.mjs +1 -1
  19. package/lib/esm/icons/generated/custom/Neo4JAiNeutralOutline.mjs.map +1 -1
  20. package/lib/esm/icons/generated/custom/index.mjs +2 -1
  21. package/lib/esm/icons/generated/custom/index.mjs.map +1 -1
  22. package/lib/esm/icons/index.mjs +10 -9
  23. package/lib/types/clipboard-button/ClipboardButton.d.ts.map +1 -1
  24. package/lib/types/dropzone/Dropzone.d.ts +3 -1
  25. package/lib/types/dropzone/Dropzone.d.ts.map +1 -1
  26. package/lib/types/icons/generated/custom/DocumentArrowUpSolid.d.ts +29 -0
  27. package/lib/types/icons/generated/custom/DocumentArrowUpSolid.d.ts.map +1 -0
  28. package/lib/types/icons/generated/custom/index.d.ts +1 -0
  29. package/lib/types/icons/generated/custom/index.d.ts.map +1 -1
  30. package/package.json +2 -2
  31. package/skills/ndl-react/SKILL.md +3 -3
  32. package/skills/ndl-react/components/dropzone.md +11 -0
@@ -6,7 +6,8 @@ Object.defineProperties(exports, {
6
6
  const require_runtime = require("../_virtual/_rolldown/runtime.js");
7
7
  const require_clean_icon_button_CleanIconButton = require("../clean-icon-button/CleanIconButton.js");
8
8
  const require_icon_button_IconButton = require("../icon-button/IconButton.js");
9
- const require_icons_generated_heroIcons_Square2StackIconOutline = require("../icons/generated/heroIcons/Square2StackIconOutline.js");
9
+ const require_icons_generated_custom_CheckOutline = require("../icons/generated/custom/CheckOutline.js");
10
+ const require_icons_generated_custom_CopyOutline = require("../icons/generated/custom/CopyOutline.js");
10
11
  const require_kbd_Kbd = require("../kbd/Kbd.js");
11
12
  const require_outlined_button_OutlinedButton = require("../outlined-button/OutlinedButton.js");
12
13
  const require_tooltip_Tooltip = require("../tooltip/Tooltip.js");
@@ -66,6 +67,7 @@ const ConfirmationButton = (_ref) => {
66
67
  setIsOpen(true);
67
68
  };
68
69
  const content = timeoutId === null ? description : actionFeedbackText;
70
+ const currentIcon = timeoutId === null ? icon : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_icons_generated_custom_CheckOutline.default, { className: "ndl-icon-svg" });
69
71
  if (type === "clean-icon-button") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_clean_icon_button_CleanIconButton.CleanIconButton, require_objectSpread2.default(require_objectSpread2.default({}, restProps.cleanIconButtonProps), {}, {
70
72
  description: content,
71
73
  descriptionKbdProps,
@@ -84,7 +86,7 @@ const ConfirmationButton = (_ref) => {
84
86
  },
85
87
  className: restProps.className,
86
88
  htmlAttributes,
87
- children: icon
89
+ children: currentIcon
88
90
  }));
89
91
  else if (type === "icon-button") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_icon_button_IconButton.IconButton, require_objectSpread2.default(require_objectSpread2.default({}, restProps.iconButtonProps), {}, {
90
92
  description: content,
@@ -103,7 +105,7 @@ const ConfirmationButton = (_ref) => {
103
105
  },
104
106
  className: restProps.className,
105
107
  htmlAttributes,
106
- children: icon
108
+ children: currentIcon
107
109
  }));
108
110
  else if (type === "outlined-button") return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_tooltip_Tooltip.Tooltip, require_objectSpread2.default(require_objectSpread2.default({
109
111
  type: "simple",
@@ -129,7 +131,7 @@ const ConfirmationButton = (_ref) => {
129
131
  if (onClick) onClick(event);
130
132
  handleClick();
131
133
  },
132
- leadingVisual: icon,
134
+ leadingVisual: currentIcon,
133
135
  className: restProps.className,
134
136
  htmlAttributes,
135
137
  children
@@ -166,7 +168,7 @@ const ClipboardButton = ({ textToCopy, descriptionKbdProps, isDisabled, size, to
166
168
  type: "clean-icon-button"
167
169
  }), {}, {
168
170
  tooltipProps,
169
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_icons_generated_heroIcons_Square2StackIconOutline.Square2StackIconOutline, { className: "ndl-icon-svg" }),
171
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_icons_generated_custom_CopyOutline.default, { className: "ndl-icon-svg" }),
170
172
  htmlAttributes: require_objectSpread2.default({ "aria-live": "polite" }, htmlAttributes),
171
173
  children: type === "outlined-button" && "Copy"
172
174
  }));
@@ -1 +1 @@
1
- {"version":3,"file":"ClipboardButton.js","names":["React","CleanIconButton","IconButton","Tooltip","OutlinedButton","Kbd","useCopyToClipboard","Square2StackIconOutline"],"sources":["../../../src/clipboard-button/ClipboardButton.tsx"],"sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport React from 'react';\n\nimport { type ButtonSizes } from '../button';\nimport { CleanIconButton } from '../clean-icon-button';\nimport { useCopyToClipboard } from '../hooks';\nimport { IconButton } from '../icon-button';\nimport { Square2StackIconOutline } from '../icons/generated/heroIcons/Square2StackIconOutline';\nimport { Kbd } from '../kbd';\nimport { OutlinedButton } from '../outlined-button';\nimport { Tooltip } from '../tooltip';\n\ntype ConfirmationButtonProps = {\n description: string;\n descriptionKbdProps?: React.ComponentProps<typeof Kbd>;\n actionFeedbackText: string;\n tooltipProps?: Omit<React.ComponentProps<typeof Tooltip>, 'children'>;\n onClick?: React.ComponentPropsWithoutRef<'button'>['onClick'];\n children: React.ReactNode;\n className?: string;\n icon: React.ReactNode;\n htmlAttributes?: React.ComponentPropsWithoutRef<'button'>;\n} & (\n | {\n type: 'clean-icon-button';\n cleanIconButtonProps?: Omit<\n React.ComponentProps<typeof CleanIconButton>,\n 'children' | 'onClick' | 'tooltip'\n >;\n }\n | {\n type: 'icon-button';\n iconButtonProps?: Omit<\n React.ComponentProps<typeof IconButton>,\n 'children' | 'onClick' | 'tooltip'\n >;\n }\n | {\n type: 'outlined-button';\n outlinedButtonProps?: Omit<\n React.ComponentProps<typeof OutlinedButton>,\n 'children' | 'onClick' | 'tooltip'\n >;\n }\n);\n\nconst ConfirmationButton = ({\n descriptionKbdProps,\n description,\n actionFeedbackText,\n icon,\n children,\n onClick,\n htmlAttributes,\n tooltipProps,\n type = 'clean-icon-button',\n ...restProps\n}: ConfirmationButtonProps) => {\n const [timeoutId, setTimeoutId] = React.useState<number | null>(null);\n const [isOpen, setIsOpen] = React.useState(false);\n\n const handleClick = () => {\n if (timeoutId !== null) {\n clearTimeout(timeoutId);\n }\n\n const newTimeoutId = window.setTimeout(() => {\n setTimeoutId(null);\n }, 2000);\n\n setTimeoutId(newTimeoutId);\n };\n\n const handleCloseTooltip = () => {\n setIsOpen(false);\n };\n\n const handleOpenTooltip = () => {\n setIsOpen(true);\n };\n\n const content = timeoutId === null ? description : actionFeedbackText;\n /* Controlling the tip to make it disappear in a timely manner */\n\n if (type === 'clean-icon-button') {\n return (\n <CleanIconButton\n {...(\n restProps as {\n cleanIconButtonProps: React.ComponentProps<typeof CleanIconButton>;\n }\n ).cleanIconButtonProps}\n description={content}\n descriptionKbdProps={descriptionKbdProps}\n tooltipProps={{\n root: {\n ...tooltipProps,\n isOpen: isOpen || timeoutId !== null,\n },\n trigger: {\n htmlAttributes: {\n onBlur: handleCloseTooltip,\n onFocus: handleOpenTooltip,\n onMouseEnter: handleOpenTooltip,\n onMouseLeave: handleCloseTooltip,\n },\n },\n }}\n onClick={(event) => {\n if (onClick) {\n onClick(event);\n }\n handleClick();\n }}\n className={restProps.className}\n htmlAttributes={htmlAttributes}\n >\n {icon}\n </CleanIconButton>\n );\n } else if (type === 'icon-button') {\n return (\n <IconButton\n {...(\n restProps as {\n iconButtonProps: React.ComponentProps<typeof IconButton>;\n }\n ).iconButtonProps}\n description={content}\n tooltipProps={{\n root: {\n ...tooltipProps,\n isOpen: isOpen || timeoutId !== null,\n },\n trigger: {\n htmlAttributes: {\n onBlur: handleCloseTooltip,\n onFocus: handleOpenTooltip,\n onMouseEnter: handleOpenTooltip,\n onMouseLeave: handleCloseTooltip,\n },\n },\n }}\n onClick={(event) => {\n if (onClick) {\n onClick(event);\n }\n handleClick();\n }}\n className={restProps.className}\n htmlAttributes={htmlAttributes}\n >\n {icon}\n </IconButton>\n );\n } else if (type === 'outlined-button') {\n return (\n <Tooltip\n type=\"simple\"\n isOpen={isOpen || timeoutId !== null}\n {...tooltipProps}\n onOpenChange={(open) => {\n if (open) {\n handleOpenTooltip();\n } else {\n handleCloseTooltip();\n }\n tooltipProps?.onOpenChange?.(open);\n }}\n >\n <Tooltip.Trigger\n hasButtonWrapper\n htmlAttributes={{\n 'aria-label': content,\n onBlur: handleCloseTooltip,\n onFocus: handleOpenTooltip,\n onMouseEnter: handleOpenTooltip,\n onMouseLeave: handleCloseTooltip,\n }}\n >\n <OutlinedButton\n variant=\"neutral\"\n {...(\n restProps as {\n outlinedButtonProps: React.ComponentProps<\n typeof OutlinedButton\n >;\n }\n ).outlinedButtonProps}\n onClick={(event) => {\n if (onClick) {\n onClick(event);\n }\n handleClick();\n }}\n leadingVisual={icon}\n className={restProps.className}\n htmlAttributes={htmlAttributes}\n >\n {children}\n </OutlinedButton>\n </Tooltip.Trigger>\n <Tooltip.Content>\n {content}\n {descriptionKbdProps && <Kbd {...descriptionKbdProps} />}\n </Tooltip.Content>\n </Tooltip>\n );\n }\n};\n\n/**\n * @remarks\n * For more information of the `TooltipProps` type, see the Tooltip component documentation.\n */\ninterface ClipboardButtonProps {\n /** The text that should be set to users clipboard */\n textToCopy: string;\n descriptionKbdProps?: React.ComponentProps<typeof Kbd>;\n tooltipProps?: Omit<React.ComponentProps<typeof Tooltip>, 'children'>;\n isDisabled?: boolean;\n size?: ButtonSizes;\n htmlAttributes?: React.ComponentPropsWithoutRef<'button'>;\n type?: 'outlined-button' | 'clean-icon-button' | 'icon-button';\n}\n\nexport const ClipboardButton = ({\n textToCopy,\n descriptionKbdProps,\n isDisabled,\n size,\n tooltipProps,\n htmlAttributes,\n type,\n}: ClipboardButtonProps) => {\n const [, copyFunction] = useCopyToClipboard();\n\n const isOutlinedButton = type === 'outlined-button';\n const isIconButton = type === 'icon-button';\n\n const props = isOutlinedButton\n ? {\n outlinedButtonProps: {\n isDisabled,\n size,\n },\n type: 'outlined-button' as const,\n }\n : isIconButton\n ? {\n iconButtonProps: {\n description: 'Copy to clipboard',\n isDisabled,\n size,\n },\n type: 'icon-button' as const,\n }\n : {\n cleanIconButtonProps: {\n description: 'Copy to clipboard',\n isDisabled,\n size,\n },\n type: 'clean-icon-button' as const,\n };\n\n return (\n <ConfirmationButton\n onClick={() => copyFunction(textToCopy)}\n description=\"Copy to clipboard\"\n actionFeedbackText=\"Copied\"\n descriptionKbdProps={descriptionKbdProps}\n {...props}\n tooltipProps={tooltipProps}\n icon={<Square2StackIconOutline className=\"ndl-icon-svg\" />}\n htmlAttributes={{\n 'aria-live': 'polite',\n ...htmlAttributes,\n }}\n >\n {type === 'outlined-button' && 'Copy'}\n </ConfirmationButton>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkEE;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;AATF,MAAM,sBAAsB,SAWG;CAXH,IAAA,EAC1B,qBACA,aACA,oBACA,MACA,UACA,SACA,gBACA,cACA,OAAO,wBAAA,MACJ,YAAA,gCAAA,QAAA,MAAA,SAAA;CAEH,MAAM,CAAC,WAAW,gBAAgBA,MAAAA,QAAM,SAAwB,IAAI;CACpE,MAAM,CAAC,QAAQ,aAAaA,MAAAA,QAAM,SAAS,KAAK;CAEhD,MAAM,oBAAoB;EACxB,IAAI,cAAc,MAChB,aAAa,SAAS;EAGxB,MAAM,eAAe,OAAO,iBAAiB;GAC3C,aAAa,IAAI;EACnB,GAAG,GAAI;EAEP,aAAa,YAAY;CAC3B;CAEA,MAAM,2BAA2B;EAC/B,UAAU,KAAK;CACjB;CAEA,MAAM,0BAA0B;EAC9B,UAAU,IAAI;CAChB;CAEA,MAAM,UAAU,cAAc,OAAO,cAAc;CAGnD,IAAI,SAAS,qBACX,OACE,iBAAA,GAAA,kBAAA,IAAA,CAACC,0CAAAA,iBAAAA,sBAAAA,QAAAA,sBAAAA,QAAAA,CAAAA,GAEG,UAGA,oBAAA,GAAA,CAAA,GAAA;EACF,aAAa;EACQ;EACrB,cAAc;GACZ,MAAA,sBAAA,QAAA,sBAAA,QAAA,CAAA,GACK,YAAA,GAAA,CAAA,GAAA,EACH,QA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A,iBAAA,GAAA,kBAAA,IAAA,CAACC,uCAAAA,gBAAAA,sBAAAA,QAAAA,sBAAAA,QAAAA,EACC,SAAQ,UAAA,GAEN,UAKA,mBAAA,GAAA,CAAA,GAAA;IACF,UAAU,UAAU;KAClB,IAAI,SACF,QAAQ,KAAK;KAEf,YAAY;IACd;IACA,eAAe;IACf,WAAW,UAAU;IACL;IAEf;GACa,CAAA,CAAA;EACD,CAAA,GACjB,iBAAA,GAAA,kBAAA,KAAA,CAACD,wBAAAA,QAAQ,SAAT,EAAA,UAAA,CACG,SACA,uBAAuB,iBAAA,GAAA,kBAAA,IAAA,CAACE,gBAAAA,KAAAA,sBAAAA,QAAAA,CAAAA,GAAQ,mBAAsB,CAAA,CACxC,EAAA,CAAA,CACV;;AAGf;AAiBA,MAAa,mBAAmB,EAC9B,YACA,qBACA,YACA,MACA,cACA,gBACA,WAC0B;CAC1B,MAAM,GAAG,iBAAA,GAAgBC,YAAAA,mBAAAA,CAAmB;CA+B5C,OACE,iBAAA,GAAA,kBAAA,IAAA,CAAC,oBAAA,sBAAA,QAAA,sBAAA,QAAA;EACC,eAAe,aAAa,UAAU;EACtC,aAAY;EACZ,oBAAmB;EACE;CAlCA,GAAA,SAAS,oBAI9B;EACE,qBAAqB;GACnB;GACA;EACF;EACA,MAAM;CACR,IATiB,SAAS,gBAWxB;EACE,iBAAiB;GACf,aAAa;GACb;GACA;EACF;EACA,MAAM;CACR,IACA;EACE,sBAAsB;GACpB,aAAa;GACb;GACA;EACF;EACA,MAAM;CACR,CAAA,GAAA,CAAA,GAAA;EASY;EACd,MAAM,iBAAA,GAAA,kBAAA,IAAA,CAACC,0DAAAA,yBAAD,EAAyB,WAAU,eAAgB,CAAA;EACzD,gBAAA,sBAAA,QAAA,EACE,aAAa,SAAA,GACV,cACL;EAEC,UAAA,SAAS,qBAAqB;CACb,CAAA,CAAA;AAExB"}
1
+ {"version":3,"file":"ClipboardButton.js","names":["React","CheckOutlineIcon","CleanIconButton","IconButton","Tooltip","OutlinedButton","Kbd","useCopyToClipboard","CopyOutlineIcon"],"sources":["../../../src/clipboard-button/ClipboardButton.tsx"],"sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport React from 'react';\n\nimport { type ButtonSizes } from '../button';\nimport { CleanIconButton } from '../clean-icon-button';\nimport { useCopyToClipboard } from '../hooks';\nimport { IconButton } from '../icon-button';\nimport CheckOutlineIcon from '../icons/generated/custom/CheckOutline';\nimport CopyOutlineIcon from '../icons/generated/custom/CopyOutline';\nimport { Kbd } from '../kbd';\nimport { OutlinedButton } from '../outlined-button';\nimport { Tooltip } from '../tooltip';\n\ntype ConfirmationButtonProps = {\n description: string;\n descriptionKbdProps?: React.ComponentProps<typeof Kbd>;\n actionFeedbackText: string;\n tooltipProps?: Omit<React.ComponentProps<typeof Tooltip>, 'children'>;\n onClick?: React.ComponentPropsWithoutRef<'button'>['onClick'];\n children: React.ReactNode;\n className?: string;\n icon: React.ReactNode;\n htmlAttributes?: React.ComponentPropsWithoutRef<'button'>;\n} & (\n | {\n type: 'clean-icon-button';\n cleanIconButtonProps?: Omit<\n React.ComponentProps<typeof CleanIconButton>,\n 'children' | 'onClick' | 'tooltip'\n >;\n }\n | {\n type: 'icon-button';\n iconButtonProps?: Omit<\n React.ComponentProps<typeof IconButton>,\n 'children' | 'onClick' | 'tooltip'\n >;\n }\n | {\n type: 'outlined-button';\n outlinedButtonProps?: Omit<\n React.ComponentProps<typeof OutlinedButton>,\n 'children' | 'onClick' | 'tooltip'\n >;\n }\n);\n\nconst ConfirmationButton = ({\n descriptionKbdProps,\n description,\n actionFeedbackText,\n icon,\n children,\n onClick,\n htmlAttributes,\n tooltipProps,\n type = 'clean-icon-button',\n ...restProps\n}: ConfirmationButtonProps) => {\n const [timeoutId, setTimeoutId] = React.useState<number | null>(null);\n const [isOpen, setIsOpen] = React.useState(false);\n\n const handleClick = () => {\n if (timeoutId !== null) {\n clearTimeout(timeoutId);\n }\n\n const newTimeoutId = window.setTimeout(() => {\n setTimeoutId(null);\n }, 2000);\n\n setTimeoutId(newTimeoutId);\n };\n\n const handleCloseTooltip = () => {\n setIsOpen(false);\n };\n\n const handleOpenTooltip = () => {\n setIsOpen(true);\n };\n\n const content = timeoutId === null ? description : actionFeedbackText;\n const currentIcon =\n timeoutId === null ? icon : <CheckOutlineIcon className=\"ndl-icon-svg\" />;\n /* Controlling the tip to make it disappear in a timely manner */\n\n if (type === 'clean-icon-button') {\n return (\n <CleanIconButton\n {...(\n restProps as {\n cleanIconButtonProps: React.ComponentProps<typeof CleanIconButton>;\n }\n ).cleanIconButtonProps}\n description={content}\n descriptionKbdProps={descriptionKbdProps}\n tooltipProps={{\n root: {\n ...tooltipProps,\n isOpen: isOpen || timeoutId !== null,\n },\n trigger: {\n htmlAttributes: {\n onBlur: handleCloseTooltip,\n onFocus: handleOpenTooltip,\n onMouseEnter: handleOpenTooltip,\n onMouseLeave: handleCloseTooltip,\n },\n },\n }}\n onClick={(event) => {\n if (onClick) {\n onClick(event);\n }\n handleClick();\n }}\n className={restProps.className}\n htmlAttributes={htmlAttributes}\n >\n {currentIcon}\n </CleanIconButton>\n );\n } else if (type === 'icon-button') {\n return (\n <IconButton\n {...(\n restProps as {\n iconButtonProps: React.ComponentProps<typeof IconButton>;\n }\n ).iconButtonProps}\n description={content}\n tooltipProps={{\n root: {\n ...tooltipProps,\n isOpen: isOpen || timeoutId !== null,\n },\n trigger: {\n htmlAttributes: {\n onBlur: handleCloseTooltip,\n onFocus: handleOpenTooltip,\n onMouseEnter: handleOpenTooltip,\n onMouseLeave: handleCloseTooltip,\n },\n },\n }}\n onClick={(event) => {\n if (onClick) {\n onClick(event);\n }\n handleClick();\n }}\n className={restProps.className}\n htmlAttributes={htmlAttributes}\n >\n {currentIcon}\n </IconButton>\n );\n } else if (type === 'outlined-button') {\n return (\n <Tooltip\n type=\"simple\"\n isOpen={isOpen || timeoutId !== null}\n {...tooltipProps}\n onOpenChange={(open) => {\n if (open) {\n handleOpenTooltip();\n } else {\n handleCloseTooltip();\n }\n tooltipProps?.onOpenChange?.(open);\n }}\n >\n <Tooltip.Trigger\n hasButtonWrapper\n htmlAttributes={{\n 'aria-label': content,\n onBlur: handleCloseTooltip,\n onFocus: handleOpenTooltip,\n onMouseEnter: handleOpenTooltip,\n onMouseLeave: handleCloseTooltip,\n }}\n >\n <OutlinedButton\n variant=\"neutral\"\n {...(\n restProps as {\n outlinedButtonProps: React.ComponentProps<\n typeof OutlinedButton\n >;\n }\n ).outlinedButtonProps}\n onClick={(event) => {\n if (onClick) {\n onClick(event);\n }\n handleClick();\n }}\n leadingVisual={currentIcon}\n className={restProps.className}\n htmlAttributes={htmlAttributes}\n >\n {children}\n </OutlinedButton>\n </Tooltip.Trigger>\n <Tooltip.Content>\n {content}\n {descriptionKbdProps && <Kbd {...descriptionKbdProps} />}\n </Tooltip.Content>\n </Tooltip>\n );\n }\n};\n\n/**\n * @remarks\n * For more information of the `TooltipProps` type, see the Tooltip component documentation.\n */\ninterface ClipboardButtonProps {\n /** The text that should be set to users clipboard */\n textToCopy: string;\n descriptionKbdProps?: React.ComponentProps<typeof Kbd>;\n tooltipProps?: Omit<React.ComponentProps<typeof Tooltip>, 'children'>;\n isDisabled?: boolean;\n size?: ButtonSizes;\n htmlAttributes?: React.ComponentPropsWithoutRef<'button'>;\n type?: 'outlined-button' | 'clean-icon-button' | 'icon-button';\n}\n\nexport const ClipboardButton = ({\n textToCopy,\n descriptionKbdProps,\n isDisabled,\n size,\n tooltipProps,\n htmlAttributes,\n type,\n}: ClipboardButtonProps) => {\n const [, copyFunction] = useCopyToClipboard();\n\n const isOutlinedButton = type === 'outlined-button';\n const isIconButton = type === 'icon-button';\n\n const props = isOutlinedButton\n ? {\n outlinedButtonProps: {\n isDisabled,\n size,\n },\n type: 'outlined-button' as const,\n }\n : isIconButton\n ? {\n iconButtonProps: {\n description: 'Copy to clipboard',\n isDisabled,\n size,\n },\n type: 'icon-button' as const,\n }\n : {\n cleanIconButtonProps: {\n description: 'Copy to clipboard',\n isDisabled,\n size,\n },\n type: 'clean-icon-button' as const,\n };\n\n return (\n <ConfirmationButton\n onClick={() => copyFunction(textToCopy)}\n description=\"Copy to clipboard\"\n actionFeedbackText=\"Copied\"\n descriptionKbdProps={descriptionKbdProps}\n {...props}\n tooltipProps={tooltipProps}\n icon={<CopyOutlineIcon className=\"ndl-icon-svg\" />}\n htmlAttributes={{\n 'aria-live': 'polite',\n ...htmlAttributes,\n }}\n >\n {type === 'outlined-button' && 'Copy'}\n </ConfirmationButton>\n );\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmEE;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;AATF,MAAM,sBAAsB,SAWG;CAXH,IAAA,EAC1B,qBACA,aACA,oBACA,MACA,UACA,SACA,gBACA,cACA,OAAO,wBAAA,MACJ,YAAA,gCAAA,QAAA,MAAA,SAAA;CAEH,MAAM,CAAC,WAAW,gBAAgBA,MAAAA,QAAM,SAAwB,IAAI;CACpE,MAAM,CAAC,QAAQ,aAAaA,MAAAA,QAAM,SAAS,KAAK;CAEhD,MAAM,oBAAoB;EACxB,IAAI,cAAc,MAChB,aAAa,SAAS;EAGxB,MAAM,eAAe,OAAO,iBAAiB;GAC3C,aAAa,IAAI;EACnB,GAAG,GAAI;EAEP,aAAa,YAAY;CAC3B;CAEA,MAAM,2BAA2B;EAC/B,UAAU,KAAK;CACjB;C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qB;GACnB;GACA;EACF;EACA,MAAM;CACR,IATiB,SAAS,gBAWxB;EACE,iBAAiB;GACf,aAAa;GACb;GACA;EACF;EACA,MAAM;CACR,IACA;EACE,sBAAsB;GACpB,aAAa;GACb;GACA;EACF;EACA,MAAM;CACR,CAAA,GAAA,CAAA,GAAA;EASY;EACd,MAAM,iBAAA,GAAA,kBAAA,IAAA,CAACC,2CAAAA,SAAD,EAAiB,WAAU,eAAgB,CAAA;EACjD,gBAAA,sBAAA,QAAA,EACE,aAAa,SAAA,GACV,cACL;EAEC,UAAA,SAAS,qBAAqB;CACb,CAAA,CAAA;AAExB"}
@@ -5,9 +5,9 @@ Object.defineProperties(exports, {
5
5
  });
6
6
  const require_runtime = require("../_virtual/_rolldown/runtime.js");
7
7
  const require_banner_Banner = require("../banner/Banner.js");
8
- const require_icons_generated_heroIcons_DocumentArrowUpIconOutline = require("../icons/generated/heroIcons/DocumentArrowUpIconOutline.js");
9
- const require_icons_generated_heroIcons_DocumentArrowUpIconSolid = require("../icons/generated/heroIcons/DocumentArrowUpIconSolid.js");
10
- const require_icons_generated_heroIcons_XCircleIconSolid = require("../icons/generated/heroIcons/XCircleIconSolid.js");
8
+ const require_icons_generated_custom_DocumentArrowUpOutline = require("../icons/generated/custom/DocumentArrowUpOutline.js");
9
+ const require_icons_generated_custom_DocumentArrowUpSolid = require("../icons/generated/custom/DocumentArrowUpSolid.js");
10
+ const require_icons_generated_custom_XCircleSolid = require("../icons/generated/custom/XCircleSolid.js");
11
11
  const require_progress_bar_ProgressBar = require("../progress-bar/ProgressBar.js");
12
12
  const require_typography_Typography = require("../typography/Typography.js");
13
13
  const require_objectWithoutProperties = require("../_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/objectWithoutProperties.js");
@@ -17,7 +17,6 @@ classnames = require_runtime.__toESM(classnames);
17
17
  let react = require("react");
18
18
  let react_jsx_runtime = require("react/jsx-runtime");
19
19
  let _floating_ui_react = require("@floating-ui/react");
20
- let detect_browser = require("detect-browser");
21
20
  let react_dropzone = require("react-dropzone");
22
21
  let usehooks_ts = require("usehooks-ts");
23
22
  // src/dropzone/Dropzone.tsx
@@ -48,6 +47,7 @@ const _excluded = [
48
47
  "heading",
49
48
  "rejectedText",
50
49
  "acceptedFileExtensions",
50
+ "hasBorder",
51
51
  "htmlAttributes",
52
52
  "style",
53
53
  "className",
@@ -68,10 +68,8 @@ const _excluded2 = [
68
68
  *
69
69
  *
70
70
  */
71
- const browser = (0, detect_browser.detect)();
72
- const isSafari = (browser === null || browser === void 0 ? void 0 : browser.name) === "safari";
73
71
  const DropzoneComponent = (_ref) => {
74
- let { dropZoneOptions, supportedFilesDescription, loadingElement, heading, rejectedText, acceptedFileExtensions, htmlAttributes, style, className, ref } = _ref, restProps = require_objectWithoutProperties.default(_ref, _excluded);
72
+ let { dropZoneOptions, supportedFilesDescription, loadingElement, heading, rejectedText, acceptedFileExtensions, hasBorder = true, htmlAttributes, style, className, ref } = _ref, restProps = require_objectWithoutProperties.default(_ref, _excluded);
75
73
  /**
76
74
  * We intercept the onDrop function in order to enforce
77
75
  * custom file extensions. Before calling the onDrop props we check
@@ -101,11 +99,12 @@ const DropzoneComponent = (_ref) => {
101
99
  }));
102
100
  const { width } = (0, usehooks_ts.useResizeObserver)({ ref: dropZoneRef });
103
101
  const isUploading = Boolean(loadingElement);
104
- const titleText = isDragActive && isDragReject ? "Format not supported" : isDragActive && !isDragReject ? "Drop file" : null;
105
- const computedFileImage = isDragActive && isDragAccept || isUploading ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_icons_generated_heroIcons_DocumentArrowUpIconSolid.DocumentArrowUpIconSolid, { className: "ndl-dropzone-drag-icon ndl-accepted" }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_icons_generated_heroIcons_XCircleIconSolid.XCircleIconSolid, { className: "ndl-dropzone-drag-icon ndl-rejected" });
102
+ const titleText = isDragActive && isDragReject ? "Format not supported" : isDragActive && !isDragReject ? "Drop files" : null;
103
+ const activeDragIcon = isDragReject ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_icons_generated_custom_XCircleSolid.default, { className: "ndl-dropzone-drag-icon ndl-rejected" }) : isDragAccept ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_icons_generated_custom_DocumentArrowUpSolid.default, { className: "ndl-dropzone-drag-icon ndl-accepted" }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_icons_generated_custom_DocumentArrowUpOutline.default, { className: "ndl-dropzone-upload-icon" });
106
104
  const wrapperClasses = (0, classnames.default)("ndl-dropzone", className, {
107
105
  "ndl-drag-active": isDragActive,
108
106
  "ndl-drag-disabled": dropZoneOptions === null || dropZoneOptions === void 0 ? void 0 : dropZoneOptions.disabled,
107
+ "ndl-dropzone-borderless": !hasBorder,
109
108
  "ndl-file-invalid": isDragActive && isDragReject
110
109
  });
111
110
  (0, react.useMemo)(() => {
@@ -122,7 +121,7 @@ const DropzoneComponent = (_ref) => {
122
121
  }, restProps), htmlAttributes), {}, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", require_objectSpread2.default(require_objectSpread2.default({ className: "ndl-dropzone-inner-wrapper" }, getRootProps()), {}, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("input", require_objectSpread2.default({ "aria-label": "Drag and drop area" }, getInputProps())), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
123
122
  className: "ndl-dropzone-inner",
124
123
  children: [
125
- width !== void 0 && width > 230 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: isDragActive && !isSafari ? computedFileImage : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_icons_generated_heroIcons_DocumentArrowUpIconOutline.DocumentArrowUpIconOutline, { className: "ndl-dropzone-upload-icon" }) }),
124
+ width !== void 0 && width > 230 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: isDragActive ? activeDragIcon : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_icons_generated_custom_DocumentArrowUpOutline.default, { className: "ndl-dropzone-upload-icon" }) }),
126
125
  !isUploading && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
127
126
  className: "ndl-dnd-title-container",
128
127
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_typography_Typography.Typography, {
@@ -136,7 +135,7 @@ const DropzoneComponent = (_ref) => {
136
135
  " ",
137
136
  "Drop"
138
137
  ] }))
139
- }), !isDragReject && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
138
+ }), !isDragActive && !isDragReject && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
140
139
  className: "ndl-dnd-subtitle",
141
140
  children: [
142
141
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_typography_Typography.Typography, {
@@ -156,7 +155,7 @@ const DropzoneComponent = (_ref) => {
156
155
  }),
157
156
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
158
157
  className: "ndl-dropzone-footer",
159
- children: [isUploading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: loadingElement }), !isUploading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
158
+ children: [isUploading && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(react_jsx_runtime.Fragment, { children: loadingElement }), !isUploading && !isDragActive && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
160
159
  className: "ndl-file-support-text",
161
160
  children: supportedFilesDescription
162
161
  })]
@@ -1 +1 @@
1
- {"version":3,"file":"Dropzone.js","names":["detect","useState","useRef","useMergeRefs","useDropzone","useResizeObserver","DocumentArrowUpIconSolid","XCircleIconSolid","classNames","Banner","DocumentArrowUpIconOutline","Typography","ProgressBar"],"sources":["../../../src/dropzone/Dropzone.tsx"],"sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport { useMergeRefs } from '@floating-ui/react';\nimport classNames from 'classnames';\nimport { detect } from 'detect-browser';\nimport { type RefObject, useMemo, useRef, useState } from 'react';\nimport {\n type DropEvent,\n type DropzoneOptions,\n type FileRejection,\n useDropzone,\n} from 'react-dropzone';\nimport { useResizeObserver } from 'usehooks-ts';\n\nimport { type CommonProps } from '../_common/types';\nimport { Banner } from '../banner';\nimport { DocumentArrowUpIconOutline } from '../icons/generated/heroIcons/DocumentArrowUpIconOutline';\nimport { DocumentArrowUpIconSolid } from '../icons/generated/heroIcons/DocumentArrowUpIconSolid';\nimport { XCircleIconSolid } from '../icons/generated/heroIcons/XCircleIconSolid';\nimport { ProgressBar } from '../progress-bar';\nimport { Typography } from '../typography';\n\n/**\n *\n *\n * Types\n *\n *\n */\n/**\n * @remarks\n * Where `DropzoneOptions` is the props for the `react-dropzone` library. For more information, see the [react-dropzone documentation](https://react-dropzone.js.org/#src).\n */\ntype DropzoneProps = {\n /** Props for the underlying `react-dropzone` component. Don't use `accept`. If using custom file extensions as this option is broken. Instead use the `acceptedFileExtensions` property. */\n dropZoneOptions: DropzoneOptions;\n\n /** Informational text that highlights the supported file types, will be displayed in the footer. */\n supportedFilesDescription?: React.ReactNode;\n\n /** Element to display when uploading the file. */\n loadingElement?: React.ReactNode;\n\n /** Use when wanting a custom heading. */\n heading?: React.ReactNode;\n\n /** Message shown when a file is rejected. Defaults to \"File extension not supported.\" when omitted. */\n rejectedText?: React.ReactNode;\n\n /** The accepted file extensions for the Drag-and-Drop. */\n acceptedFileExtensions?: string[];\n};\n\ntype DropzoneLoadingProgressBarProps = {\n /** The percentage of the progress bar. */\n progressBarPrecentage: number;\n\n /** The time in minute left to upload the file. */\n progressBarMinute?: number;\n};\n\n/**\n *\n *\n * Helpers\n *\n *\n */\n\nconst browser = detect();\n\nconst isSafari = browser?.name === 'safari';\n\nconst DropzoneComponent = ({\n dropZoneOptions,\n supportedFilesDescription,\n loadingElement,\n heading,\n rejectedText,\n acceptedFileExtensions,\n htmlAttributes,\n style,\n className,\n ref,\n ...restProps\n}: CommonProps<'div', DropzoneProps>) => {\n /**\n * We intercept the onDrop function in order to enforce\n * custom file extensions. Before calling the onDrop props we check\n * if the custom file extensions is acceptable. If the extension\n * conforms to acceptedFileExtensions, we call onDrop. Otherwise, we\n * present an error message.\n */\n function onDropInterceptor<T extends File>(\n acceptedFiles: T[],\n fileRejections: FileRejection[],\n event: DropEvent,\n ) {\n if (acceptedFileExtensions && acceptedFileExtensions.length > 0) {\n for (const file of acceptedFiles) {\n const isAccepted = acceptedFileExtensions.some((extension) =>\n file.name.endsWith(extension),\n );\n if (!isAccepted) {\n setIsRejected(true);\n return;\n }\n }\n }\n setIsRejected(false);\n dropZoneOptions.onDrop?.(acceptedFiles, fileRejections, event);\n }\n\n const [isRejected, setIsRejected] = useState(false);\n const dropZoneRef = useRef<HTMLDivElement>(null);\n const mergedRef = useMergeRefs([dropZoneRef, ref]);\n const isDisabled = dropZoneOptions?.disabled || Boolean(loadingElement);\n\n const {\n getRootProps,\n getInputProps,\n isDragActive,\n isDragAccept,\n isDragReject,\n open,\n } = useDropzone({\n ...dropZoneOptions,\n disabled: isDisabled,\n noClick: true,\n onDrop: onDropInterceptor,\n });\n\n const { width } = useResizeObserver({\n ref: dropZoneRef as RefObject<HTMLElement>,\n });\n\n const isUploading = Boolean(loadingElement);\n\n const titleText =\n isDragActive && isDragReject\n ? 'Format not supported'\n : isDragActive && !isDragReject\n ? 'Drop file'\n : null;\n\n const computedFileImage =\n (isDragActive && isDragAccept) || isUploading ? (\n <DocumentArrowUpIconSolid className=\"ndl-dropzone-drag-icon ndl-accepted\" />\n ) : (\n <XCircleIconSolid className=\"ndl-dropzone-drag-icon ndl-rejected\" />\n );\n\n const wrapperClasses = classNames('ndl-dropzone', className, {\n 'ndl-drag-active': isDragActive,\n 'ndl-drag-disabled': dropZoneOptions?.disabled,\n 'ndl-file-invalid': isDragActive && isDragReject,\n });\n\n useMemo(() => {\n if (isDragActive && isRejected) {\n setIsRejected(false);\n }\n }, [isDragActive, isRejected]);\n\n return (\n <>\n {isRejected && (\n <Banner className=\"ndl-dropzone-error-alert\" variant=\"danger\">\n <Banner.Header>Error</Banner.Header>\n <Banner.Description>\n {rejectedText ?? 'File extension not supported.'}\n </Banner.Description>\n </Banner>\n )}\n <div\n ref={mergedRef}\n className={wrapperClasses}\n style={style}\n {...restProps}\n {...htmlAttributes}\n >\n <div className=\"ndl-dropzone-inner-wrapper\" {...getRootProps()}>\n <input aria-label=\"Drag and drop area\" {...getInputProps()} />\n <div className=\"ndl-dropzone-inner\">\n {/* Illustration should be visible only after arbitrary width */}\n {width !== undefined && width > 230 && (\n <>\n {isDragActive && !isSafari ? (\n computedFileImage\n ) : (\n <DocumentArrowUpIconOutline className=\"ndl-dropzone-upload-icon\" />\n )}\n </>\n )}\n {!isUploading && (\n <div className=\"ndl-dnd-title-container\">\n <Typography variant=\"subheading-medium\">\n {titleText ||\n (heading ?? (\n <>\n Drag <span className=\"ndl-dnd-title-ampersand\">&</span>{' '}\n Drop\n </>\n ))}\n </Typography>\n {!isDragReject && (\n <div className=\"ndl-dnd-subtitle\">\n <Typography variant=\"body-medium\">or</Typography>{' '}\n <button\n className=\"ndl-dnd-browse-link\"\n onClick={() => open()}\n disabled={isDisabled}\n type=\"button\"\n >\n Browse\n </button>\n </div>\n )}\n </div>\n )}\n <div className=\"ndl-dropzone-footer\">\n {isUploading && <>{loadingElement}</>}\n {!isUploading && (\n <div className=\"ndl-file-support-text\">\n {supportedFilesDescription}\n </div>\n )}\n </div>\n </div>\n </div>\n </div>\n </>\n );\n};\n\nconst DropzoneLoadingProgressBarComponent = ({\n progressBarPrecentage,\n progressBarMinute,\n htmlAttributes,\n className,\n style,\n ref,\n ...restProps\n}: CommonProps<'div', DropzoneLoadingProgressBarProps>) => {\n return (\n <div className=\"ndl-dropzone-loading-progress-bar-wrapper\">\n <div className=\"ndl-dropzone-loading-progress-bar-indicators\">\n <Typography\n className=\"ndl-dropzone-loading-progress-bar-precentage\"\n variant=\"subheading-small\"\n >\n {`${progressBarPrecentage}%`}\n </Typography>\n {Boolean(progressBarMinute) && (\n <Typography\n className=\"ndl-dropzone-loading-progress-bar-minute\"\n variant=\"body-medium\"\n >{`(${progressBarMinute} minutes left)`}</Typography>\n )}\n </div>\n <ProgressBar\n className={classNames('ndl-dropzone-loading-progress-bar', className)}\n value={progressBarPrecentage}\n size=\"large\"\n htmlAttributes={htmlAttributes}\n ref={ref}\n style={style}\n {...restProps}\n />\n </div>\n );\n};\n\nconst Dropzone = Object.assign(DropzoneComponent, {\n LoadingProgressBar: DropzoneLoadingProgressBarComponent,\n});\n\nexport { Dropzone };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4FE;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;CAyJA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;AA5KF,MAAM,WAAA,GAAUA,eAAAA,OAAAA,CAAO;AAEvB,MAAM,YAAA,YAAA,QAAA,YAAA,KAAA,IAAA,KAAA,IAAW,QAAS,UAAS;AAEnC,MAAM,qBAAqB,SAYc;CAZd,IAAA,EACzB,iBACA,2BACA,gBACA,SACA,cACA,wBACA,gBACA,OACA,WACA,QAAA,MACG,YAAA,gCAAA,QAAA,MAAA,SAAA;;;;;;;;CASH,SAAS,kBACP,eACA,gBACA,OACA;;EACA,IAAI,0BAA0B,uBAAuB,SAAS,GACvD;QAAA,MAAM,QAAQ,eAIjB,IAAI,CAHe,uBAAuB,MAAM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A,CACE,iBAAA,GAAA,kBAAA,IAAA,CAACA,8BAAAA,YAAD;IACE,WAAU;IACV,SAAQ;IAEP,UAAA,GAAG,sBAAsB;GAChB,CAAA,GACX,QAAQ,iBAAiB,KACxB,iBAAA,GAAA,kBAAA,IAAA,CAACA,8BAAAA,YAAD;IACE,WAAU;IACV,SAAQ;IACR,UAAA,IAAI,kBAAkB;GAA4B,CAAA,CAEnD;EACL,CAAA,GAAA,iBAAA,GAAA,kBAAA,IAAA,CAACC,iCAAAA,aAAAA,sBAAAA,QAAAA;GACC,YAAA,GAAWJ,WAAAA,QAAAA,CAAW,qCAAqC,SAAS;GACpE,OAAO;GACP,MAAK;GACW;GACX;GACE;EACH,GAAA,SACL,CAAA,CACE;;AAET;AAEA,MAAM,WAAW,OAAO,OAAO,mBAAmB,EAChD,oBAAoB,oCACtB,CAAC"}
1
+ {"version":3,"file":"Dropzone.js","names":["useState","useRef","useMergeRefs","useDropzone","useResizeObserver","XCircleSolidIcon","DocumentArrowUpSolidIcon","DocumentArrowUpOutlineIcon","classNames","Banner","Typography","ProgressBar"],"sources":["../../../src/dropzone/Dropzone.tsx"],"sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport { useMergeRefs } from '@floating-ui/react';\nimport classNames from 'classnames';\nimport { type RefObject, useMemo, useRef, useState } from 'react';\nimport {\n type DropEvent,\n type DropzoneOptions,\n type FileRejection,\n useDropzone,\n} from 'react-dropzone';\nimport { useResizeObserver } from 'usehooks-ts';\n\nimport { type CommonProps } from '../_common/types';\nimport { Banner } from '../banner';\nimport DocumentArrowUpOutlineIcon from '../icons/generated/custom/DocumentArrowUpOutline';\nimport DocumentArrowUpSolidIcon from '../icons/generated/custom/DocumentArrowUpSolid';\nimport XCircleSolidIcon from '../icons/generated/custom/XCircleSolid';\nimport { ProgressBar } from '../progress-bar';\nimport { Typography } from '../typography';\n\n/**\n *\n *\n * Types\n *\n *\n */\n/**\n * @remarks\n * Where `DropzoneOptions` is the props for the `react-dropzone` library. For more information, see the [react-dropzone documentation](https://react-dropzone.js.org/#src).\n */\ntype DropzoneProps = {\n /** Props for the underlying `react-dropzone` component. Don't use `accept`. If using custom file extensions as this option is broken. Instead use the `acceptedFileExtensions` property. */\n dropZoneOptions: DropzoneOptions;\n\n /** Informational text that highlights the supported file types, will be displayed in the footer. */\n supportedFilesDescription?: React.ReactNode;\n\n /** Element to display when uploading the file. */\n loadingElement?: React.ReactNode;\n\n /** Use when wanting a custom heading. */\n heading?: React.ReactNode;\n\n /** Message shown when a file is rejected. Defaults to \"File extension not supported.\" when omitted. */\n rejectedText?: React.ReactNode;\n\n /** The accepted file extensions for the Drag-and-Drop. */\n acceptedFileExtensions?: string[];\n\n /** Whether to display the dashed border around the dropzone. */\n hasBorder?: boolean;\n};\n\ntype DropzoneLoadingProgressBarProps = {\n /** The percentage of the progress bar. */\n progressBarPrecentage: number;\n\n /** The time in minute left to upload the file. */\n progressBarMinute?: number;\n};\n\n/**\n *\n *\n * Helpers\n *\n *\n */\n\nconst DropzoneComponent = ({\n dropZoneOptions,\n supportedFilesDescription,\n loadingElement,\n heading,\n rejectedText,\n acceptedFileExtensions,\n hasBorder = true,\n htmlAttributes,\n style,\n className,\n ref,\n ...restProps\n}: CommonProps<'div', DropzoneProps>) => {\n /**\n * We intercept the onDrop function in order to enforce\n * custom file extensions. Before calling the onDrop props we check\n * if the custom file extensions is acceptable. If the extension\n * conforms to acceptedFileExtensions, we call onDrop. Otherwise, we\n * present an error message.\n */\n function onDropInterceptor<T extends File>(\n acceptedFiles: T[],\n fileRejections: FileRejection[],\n event: DropEvent,\n ) {\n if (acceptedFileExtensions && acceptedFileExtensions.length > 0) {\n for (const file of acceptedFiles) {\n const isAccepted = acceptedFileExtensions.some((extension) =>\n file.name.endsWith(extension),\n );\n if (!isAccepted) {\n setIsRejected(true);\n return;\n }\n }\n }\n setIsRejected(false);\n dropZoneOptions.onDrop?.(acceptedFiles, fileRejections, event);\n }\n\n const [isRejected, setIsRejected] = useState(false);\n const dropZoneRef = useRef<HTMLDivElement>(null);\n const mergedRef = useMergeRefs([dropZoneRef, ref]);\n const isDisabled = dropZoneOptions?.disabled || Boolean(loadingElement);\n\n const {\n getRootProps,\n getInputProps,\n isDragActive,\n isDragAccept,\n isDragReject,\n open,\n } = useDropzone({\n ...dropZoneOptions,\n disabled: isDisabled,\n noClick: true,\n onDrop: onDropInterceptor,\n });\n\n const { width } = useResizeObserver({\n ref: dropZoneRef as RefObject<HTMLElement>,\n });\n\n const isUploading = Boolean(loadingElement);\n\n const titleText =\n isDragActive && isDragReject\n ? 'Format not supported'\n : isDragActive && !isDragReject\n ? 'Drop files'\n : null;\n\n const activeDragIcon = isDragReject ? (\n <XCircleSolidIcon className=\"ndl-dropzone-drag-icon ndl-rejected\" />\n ) : isDragAccept ? (\n <DocumentArrowUpSolidIcon className=\"ndl-dropzone-drag-icon ndl-accepted\" />\n ) : (\n <DocumentArrowUpOutlineIcon className=\"ndl-dropzone-upload-icon\" />\n );\n\n const wrapperClasses = classNames('ndl-dropzone', className, {\n 'ndl-drag-active': isDragActive,\n 'ndl-drag-disabled': dropZoneOptions?.disabled,\n 'ndl-dropzone-borderless': !hasBorder,\n 'ndl-file-invalid': isDragActive && isDragReject,\n });\n\n useMemo(() => {\n if (isDragActive && isRejected) {\n setIsRejected(false);\n }\n }, [isDragActive, isRejected]);\n\n return (\n <>\n {isRejected && (\n <Banner className=\"ndl-dropzone-error-alert\" variant=\"danger\">\n <Banner.Header>Error</Banner.Header>\n <Banner.Description>\n {rejectedText ?? 'File extension not supported.'}\n </Banner.Description>\n </Banner>\n )}\n <div\n ref={mergedRef}\n className={wrapperClasses}\n style={style}\n {...restProps}\n {...htmlAttributes}\n >\n <div className=\"ndl-dropzone-inner-wrapper\" {...getRootProps()}>\n <input aria-label=\"Drag and drop area\" {...getInputProps()} />\n <div className=\"ndl-dropzone-inner\">\n {/* Illustration should be visible only after arbitrary width */}\n {width !== undefined && width > 230 && (\n <>\n {isDragActive ? (\n activeDragIcon\n ) : (\n <DocumentArrowUpOutlineIcon className=\"ndl-dropzone-upload-icon\" />\n )}\n </>\n )}\n {!isUploading && (\n <div className=\"ndl-dnd-title-container\">\n <Typography variant=\"subheading-medium\">\n {titleText ||\n (heading ?? (\n <>\n Drag <span className=\"ndl-dnd-title-ampersand\">&</span>{' '}\n Drop\n </>\n ))}\n </Typography>\n {!isDragActive && !isDragReject && (\n <div className=\"ndl-dnd-subtitle\">\n <Typography variant=\"body-medium\">or</Typography>{' '}\n <button\n className=\"ndl-dnd-browse-link\"\n onClick={() => open()}\n disabled={isDisabled}\n type=\"button\"\n >\n Browse\n </button>\n </div>\n )}\n </div>\n )}\n <div className=\"ndl-dropzone-footer\">\n {isUploading && <>{loadingElement}</>}\n {!isUploading && !isDragActive && (\n <div className=\"ndl-file-support-text\">\n {supportedFilesDescription}\n </div>\n )}\n </div>\n </div>\n </div>\n </div>\n </>\n );\n};\n\nconst DropzoneLoadingProgressBarComponent = ({\n progressBarPrecentage,\n progressBarMinute,\n htmlAttributes,\n className,\n style,\n ref,\n ...restProps\n}: CommonProps<'div', DropzoneLoadingProgressBarProps>) => {\n return (\n <div className=\"ndl-dropzone-loading-progress-bar-wrapper\">\n <div className=\"ndl-dropzone-loading-progress-bar-indicators\">\n <Typography\n className=\"ndl-dropzone-loading-progress-bar-precentage\"\n variant=\"subheading-small\"\n >\n {`${progressBarPrecentage}%`}\n </Typography>\n {Boolean(progressBarMinute) && (\n <Typography\n className=\"ndl-dropzone-loading-progress-bar-minute\"\n variant=\"body-medium\"\n >{`(${progressBarMinute} minutes left)`}</Typography>\n )}\n </div>\n <ProgressBar\n className={classNames('ndl-dropzone-loading-progress-bar', className)}\n value={progressBarPrecentage}\n size=\"large\"\n htmlAttributes={htmlAttributes}\n ref={ref}\n style={style}\n {...restProps}\n />\n </div>\n );\n};\n\nconst Dropzone = Object.assign(DropzoneComponent, {\n LoadingProgressBar: DropzoneLoadingProgressBarComponent,\n});\n\nexport { Dropzone };\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0FE;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;CA2JA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;AA3KF,MAAM,qBAAqB,SAac;CAbd,IAAA,EACzB,iBACA,2BACA,gBACA,SACA,cACA,wBACA,YAAY,MACZ,gBACA,OACA,WACA,QAAA,MACG,YAAA,gCAAA,QAAA,MAAA,SAAA;;;;;;;;CASH,SAAS,kBACP,eACA,gBACA,OACA;;EACA,IAAI,0BAA0B,uBAAuB,SAAS,GACvD;QAAA,MAAM,QAAQ,eAIjB,IAAI,CAHe,uBAAuB,MAAM,cAC9C,KAAK,KAAK,SAAS,SAAS,CAEhB,GAAG;IACf,cAAc,IAAI;IAClB;GACF;;EAGJ,cAAc,KAAK;EACnB,CAAA,wBAAA,gBAAgB,YAAA,QAAA,0BAAA,KAAA,KAAA,sBAAA,KAAA,iBAAS,eAAe,gBAAgB,KAAK;CAC/D;CAEA,MAAM,CAAC,YAAY,kBAAA,GAAiBA,MAAAA,SAAAA,CAAS,KAAK;CAClD,MAAM,eAAA,GAAcC,MAAAA,OAAAA,CAAuB,IAAI;CAC/C,MAAM,aAAA,GAAYC,mBAAAA,aAAAA,CAAa,CAAC,aAAa,GAAG,CAAC;CACjD,MAAM,cAAA,oBAAA,QAAA,oBAAA,KAAA,IAAA,KAAA,IAAa,gBA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,WAAAA,QAAAA,CAAW,qCAAqC,SAAS;GACpE,OAAO;GACP,MAAK;GACW;GACX;GACE;EACH,GAAA,SACL,CAAA,CACE;;AAET;AAEA,MAAM,WAAW,OAAO,OAAO,mBAAmB,EAChD,oBAAoB,oCACtB,CAAC"}
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, {
3
+ __esModule: { value: true },
4
+ [Symbol.toStringTag]: { value: "Module" }
5
+ });
6
+ const require_icons_wrapIcon = require("../../wrapIcon.js");
7
+ const require_objectSpread2 = require("../../../_virtual/_@oxc-project_runtime@0.156.0/helpers/esm/objectSpread2.js");
8
+ let react_jsx_runtime = require("react/jsx-runtime");
9
+ // src/icons/generated/custom/DocumentArrowUpSolid.tsx
10
+ /*!
11
+ *
12
+ * Copyright (c) "Neo4j"
13
+ * Neo4j Sweden AB [http://neo4j.com]
14
+ *
15
+ * This file is part of Neo4j.
16
+ *
17
+ * Neo4j is free software: you can redistribute it and/or modify
18
+ * it under the terms of the GNU General Public License as published by
19
+ * the Free Software Foundation, either version 3 of the License, or
20
+ * (at your option) any later version.
21
+ *
22
+ * This program is distributed in the hope that it will be useful,
23
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
24
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
+ * GNU General Public License for more details.
26
+ *
27
+ * You should have received a copy of the GNU General Public License
28
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
29
+ */
30
+ const SvgDocumentArrowUpSolidBase = (props) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("svg", require_objectSpread2.default(require_objectSpread2.default({
31
+ viewBox: "0 0 16 16",
32
+ fill: "none",
33
+ xmlns: "http://www.w3.org/2000/svg"
34
+ }, props), {}, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
35
+ d: "M4 0H8V4.5C8 5.5 8.5 6 9.5 6H14V14C14 15.3333 13.3333 16 12 16H4C2.66667 16 2 15.3333 2 14V2C2 0.666667 2.66667 0 4 0ZM9.5 0.25L13.75 4.5H9.5V0.25ZM7.25 13H8.75V9.91L10.02 11.18L11.08 10.12L8 7.04L4.92 10.12L5.98 11.18L7.25 9.91V13Z",
36
+ fillRule: "evenodd",
37
+ clipRule: "evenodd",
38
+ fill: "currentColor"
39
+ }) }));
40
+ const SvgDocumentArrowUpSolid = require_icons_wrapIcon.wrapIcon(SvgDocumentArrowUpSolidBase);
41
+ exports.default = SvgDocumentArrowUpSolid;
42
+
43
+ //# sourceMappingURL=DocumentArrowUpSolid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DocumentArrowUpSolid.js","names":["wrapIcon"],"sources":["../../../../../src/icons/generated/custom/DocumentArrowUpSolid.tsx"],"sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\n// THIS FILE IS GENERATED BY BUILD TOOL\n// DO NOT EDIT IT MANUAL\nimport { wrapIcon } from '../../wrapIcon';\nimport { SVGProps } from 'react';\nconst SvgDocumentArrowUpSolidBase = (props: SVGProps<SVGSVGElement>) => (\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M4 0H8V4.5C8 5.5 8.5 6 9.5 6H14V14C14 15.3333 13.3333 16 12 16H4C2.66667 16 2 15.3333 2 14V2C2 0.666667 2.66667 0 4 0ZM9.5 0.25L13.75 4.5H9.5V0.25ZM7.25 13H8.75V9.91L10.02 11.18L11.08 10.12L8 7.04L4.92 10.12L5.98 11.18L7.25 9.91V13Z\"\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n fill=\"currentColor\"\n />\n </svg>\n);\nconst SvgDocumentArrowUpSolid = wrapIcon(SvgDocumentArrowUpSolidBase);\nexport default SvgDocumentArrowUpSolid;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,MAAM,+BAA+B,UACnC,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAA,sBAAA,QAAA,sBAAA,QAAA;CACC,SAAQ;CACR,MAAK;CACL,OAAM;AACF,GAAA,KAAA,GAAA,CAAA,GAAA,EAAA,UAEJ,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;CACE,GAAE;CACF,UAAS;CACT,UAAS;CACT,MAAK;AACN,CAAA,EAAA,CACE,CAAA;AAEP,MAAM,0BAA0BA,uBAAAA,SAAS,2BAA2B"}
@@ -34,7 +34,7 @@ const SvgNeo4JAiNeutralOutlineBase = (props) => /* @__PURE__ */ (0, react_jsx_ru
34
34
  }, props), {}, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", {
35
35
  d: "M10.4999 14.75C9.23422 15.2239 7.86127 15.3345 6.53602 15.0695C5.21077 14.8044 3.98599 14.1742 2.99991 13.25C1.96698 12.3353 1.24375 11.1223 0.930245 9.77874C0.616739 8.43514 0.728444 7.02733 1.24991 5.74998M5.49991 1.24998C6.76413 0.766375 8.13943 0.650602 9.4667 0.916055C10.794 1.18151 12.019 1.81734 12.9999 2.74998C14.0309 3.66602 14.7527 4.87899 15.0661 6.22204C15.3795 7.5651 15.269 8.97227 14.7499 10.25M13.4849 12.413C13.4849 12.6395 13.3949 12.8567 13.2348 13.0169C13.0746 13.177 12.8574 13.267 12.6309 13.267C12.4044 13.267 12.1872 13.177 12.027 13.0169C11.8669 12.8567 11.7769 12.6395 11.7769 12.413C11.7769 12.1865 11.8669 11.9693 12.027 11.8091C12.1872 11.649 12.4044 11.559 12.6309 11.559C12.8574 11.559 13.0746 11.649 13.2348 11.8091C13.3949 11.9693 13.4849 12.1865 13.4849 12.413ZM12.6309 12.413H12.6409V12.423L12.6309 12.413ZM3.51091 2.95498C3.51091 3.06713 3.48882 3.17818 3.44591 3.28179C3.40299 3.3854 3.34008 3.47955 3.26078 3.55885C3.18148 3.63815 3.08734 3.70106 2.98372 3.74397C2.88011 3.78689 2.76906 3.80898 2.65691 3.80898C2.54476 3.80898 2.43371 3.78689 2.3301 3.74397C2.22649 3.70106 2.13235 3.63815 2.05304 3.55885C1.97374 3.47955 1.91084 3.3854 1.86792 3.28179C1.825 3.17818 1.80291 3.06713 1.80291 2.95498C1.80291 2.84283 1.825 2.73178 1.86792 2.62817C1.91084 2.52456 1.97374 2.43041 2.05304 2.35111C2.13235 2.27181 2.22649 2.2089 2.3301 2.16599C2.43371 2.12307 2.54476 2.10098 2.65691 2.10098C2.76906 2.10098 2.88011 2.12307 2.98372 2.16599C3.08734 2.2089 3.18148 2.27181 3.26078 2.35111C3.34008 2.43041 3.40299 2.52456 3.44591 2.62817C3.48882 2.73178 3.51091 2.84283 3.51091 2.95498ZM2.65691 2.95498H2.66691V2.96498L2.65691 2.95498ZM7.85791 3.79198L7.04591 5.65798L6.92591 5.86598L6.76891 6.09798L6.42691 6.48898L6.02891 6.82698L5.57891 7.10198L3.67891 7.91598L5.57891 8.72998L6.02891 9.00498L6.42691 9.34298L6.76891 9.73398L6.92591 9.96598L7.04591 10.174L7.85791 12.039L8.66891 10.174L8.78891 9.96598L8.94591 9.73398L9.28791 9.34298L9.68591 9.00598L10.1359 8.72998L12.0339 7.91598L10.1359 7.10198L9.68591 6.82598L9.28791 6.48898L8.94591 6.09798L8.78891 5.86598L8.66891 5.65798L7.85791 3.79198Z",
36
36
  strokeWidth: 1.5,
37
- strokeLinecap: "square",
37
+ strokeLinecap: "round",
38
38
  strokeLinejoin: "round",
39
39
  stroke: "currentColor"
40
40
  }) }));
@@ -1 +1 @@
1
- {"version":3,"file":"Neo4JAiNeutralOutline.js","names":["wrapIcon"],"sources":["../../../../../src/icons/generated/custom/Neo4JAiNeutralOutline.tsx"],"sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\n// THIS FILE IS GENERATED BY BUILD TOOL\n// DO NOT EDIT IT MANUAL\nimport { wrapIcon } from '../../wrapIcon';\nimport { SVGProps } from 'react';\nconst SvgNeo4JAiNeutralOutlineBase = (props: SVGProps<SVGSVGElement>) => (\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M10.4999 14.75C9.23422 15.2239 7.86127 15.3345 6.53602 15.0695C5.21077 14.8044 3.98599 14.1742 2.99991 13.25C1.96698 12.3353 1.24375 11.1223 0.930245 9.77874C0.616739 8.43514 0.728444 7.02733 1.24991 5.74998M5.49991 1.24998C6.76413 0.766375 8.13943 0.650602 9.4667 0.916055C10.794 1.18151 12.019 1.81734 12.9999 2.74998C14.0309 3.66602 14.7527 4.87899 15.0661 6.22204C15.3795 7.5651 15.269 8.97227 14.7499 10.25M13.4849 12.413C13.4849 12.6395 13.3949 12.8567 13.2348 13.0169C13.0746 13.177 12.8574 13.267 12.6309 13.267C12.4044 13.267 12.1872 13.177 12.027 13.0169C11.8669 12.8567 11.7769 12.6395 11.7769 12.413C11.7769 12.1865 11.8669 11.9693 12.027 11.8091C12.1872 11.649 12.4044 11.559 12.6309 11.559C12.8574 11.559 13.0746 11.649 13.2348 11.8091C13.3949 11.9693 13.4849 12.1865 13.4849 12.413ZM12.6309 12.413H12.6409V12.423L12.6309 12.413ZM3.51091 2.95498C3.51091 3.06713 3.48882 3.17818 3.44591 3.28179C3.40299 3.3854 3.34008 3.47955 3.26078 3.55885C3.18148 3.63815 3.08734 3.70106 2.98372 3.74397C2.88011 3.78689 2.76906 3.80898 2.65691 3.80898C2.54476 3.80898 2.43371 3.78689 2.3301 3.74397C2.22649 3.70106 2.13235 3.63815 2.05304 3.55885C1.97374 3.47955 1.91084 3.3854 1.86792 3.28179C1.825 3.17818 1.80291 3.06713 1.80291 2.95498C1.80291 2.84283 1.825 2.73178 1.86792 2.62817C1.91084 2.52456 1.97374 2.43041 2.05304 2.35111C2.13235 2.27181 2.22649 2.2089 2.3301 2.16599C2.43371 2.12307 2.54476 2.10098 2.65691 2.10098C2.76906 2.10098 2.88011 2.12307 2.98372 2.16599C3.08734 2.2089 3.18148 2.27181 3.26078 2.35111C3.34008 2.43041 3.40299 2.52456 3.44591 2.62817C3.48882 2.73178 3.51091 2.84283 3.51091 2.95498ZM2.65691 2.95498H2.66691V2.96498L2.65691 2.95498ZM7.85791 3.79198L7.04591 5.65798L6.92591 5.86598L6.76891 6.09798L6.42691 6.48898L6.02891 6.82698L5.57891 7.10198L3.67891 7.91598L5.57891 8.72998L6.02891 9.00498L6.42691 9.34298L6.76891 9.73398L6.92591 9.96598L7.04591 10.174L7.85791 12.039L8.66891 10.174L8.78891 9.96598L8.94591 9.73398L9.28791 9.34298L9.68591 9.00598L10.1359 8.72998L12.0339 7.91598L10.1359 7.10198L9.68591 6.82598L9.28791 6.48898L8.94591 6.09798L8.78891 5.86598L8.66891 5.65798L7.85791 3.79198Z\"\n strokeWidth={1.5}\n strokeLinecap=\"square\"\n strokeLinejoin=\"round\"\n stroke=\"currentColor\"\n />\n </svg>\n);\nconst SvgNeo4JAiNeutralOutline = wrapIcon(SvgNeo4JAiNeutralOutlineBase);\nexport default SvgNeo4JAiNeutralOutline;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,MAAM,gCAAgC,UACpC,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAA,sBAAA,QAAA,sBAAA,QAAA;CACC,SAAQ;CACR,MAAK;CACL,OAAM;AACF,GAAA,KAAA,GAAA,CAAA,GAAA,EAAA,UAEJ,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;CACE,GAAE;CACF,aAAa;CACb,eAAc;CACd,gBAAe;CACf,QAAO;AACR,CAAA,EAAA,CACE,CAAA;AAEP,MAAM,2BAA2BA,uBAAAA,SAAS,4BAA4B"}
1
+ {"version":3,"file":"Neo4JAiNeutralOutline.js","names":["wrapIcon"],"sources":["../../../../../src/icons/generated/custom/Neo4JAiNeutralOutline.tsx"],"sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\n// THIS FILE IS GENERATED BY BUILD TOOL\n// DO NOT EDIT IT MANUAL\nimport { wrapIcon } from '../../wrapIcon';\nimport { SVGProps } from 'react';\nconst SvgNeo4JAiNeutralOutlineBase = (props: SVGProps<SVGSVGElement>) => (\n <svg\n viewBox=\"0 0 16 16\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M10.4999 14.75C9.23422 15.2239 7.86127 15.3345 6.53602 15.0695C5.21077 14.8044 3.98599 14.1742 2.99991 13.25C1.96698 12.3353 1.24375 11.1223 0.930245 9.77874C0.616739 8.43514 0.728444 7.02733 1.24991 5.74998M5.49991 1.24998C6.76413 0.766375 8.13943 0.650602 9.4667 0.916055C10.794 1.18151 12.019 1.81734 12.9999 2.74998C14.0309 3.66602 14.7527 4.87899 15.0661 6.22204C15.3795 7.5651 15.269 8.97227 14.7499 10.25M13.4849 12.413C13.4849 12.6395 13.3949 12.8567 13.2348 13.0169C13.0746 13.177 12.8574 13.267 12.6309 13.267C12.4044 13.267 12.1872 13.177 12.027 13.0169C11.8669 12.8567 11.7769 12.6395 11.7769 12.413C11.7769 12.1865 11.8669 11.9693 12.027 11.8091C12.1872 11.649 12.4044 11.559 12.6309 11.559C12.8574 11.559 13.0746 11.649 13.2348 11.8091C13.3949 11.9693 13.4849 12.1865 13.4849 12.413ZM12.6309 12.413H12.6409V12.423L12.6309 12.413ZM3.51091 2.95498C3.51091 3.06713 3.48882 3.17818 3.44591 3.28179C3.40299 3.3854 3.34008 3.47955 3.26078 3.55885C3.18148 3.63815 3.08734 3.70106 2.98372 3.74397C2.88011 3.78689 2.76906 3.80898 2.65691 3.80898C2.54476 3.80898 2.43371 3.78689 2.3301 3.74397C2.22649 3.70106 2.13235 3.63815 2.05304 3.55885C1.97374 3.47955 1.91084 3.3854 1.86792 3.28179C1.825 3.17818 1.80291 3.06713 1.80291 2.95498C1.80291 2.84283 1.825 2.73178 1.86792 2.62817C1.91084 2.52456 1.97374 2.43041 2.05304 2.35111C2.13235 2.27181 2.22649 2.2089 2.3301 2.16599C2.43371 2.12307 2.54476 2.10098 2.65691 2.10098C2.76906 2.10098 2.88011 2.12307 2.98372 2.16599C3.08734 2.2089 3.18148 2.27181 3.26078 2.35111C3.34008 2.43041 3.40299 2.52456 3.44591 2.62817C3.48882 2.73178 3.51091 2.84283 3.51091 2.95498ZM2.65691 2.95498H2.66691V2.96498L2.65691 2.95498ZM7.85791 3.79198L7.04591 5.65798L6.92591 5.86598L6.76891 6.09798L6.42691 6.48898L6.02891 6.82698L5.57891 7.10198L3.67891 7.91598L5.57891 8.72998L6.02891 9.00498L6.42691 9.34298L6.76891 9.73398L6.92591 9.96598L7.04591 10.174L7.85791 12.039L8.66891 10.174L8.78891 9.96598L8.94591 9.73398L9.28791 9.34298L9.68591 9.00598L10.1359 8.72998L12.0339 7.91598L10.1359 7.10198L9.68591 6.82598L9.28791 6.48898L8.94591 6.09798L8.78891 5.86598L8.66891 5.65798L7.85791 3.79198Z\"\n strokeWidth={1.5}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n stroke=\"currentColor\"\n />\n </svg>\n);\nconst SvgNeo4JAiNeutralOutline = wrapIcon(SvgNeo4JAiNeutralOutlineBase);\nexport default SvgNeo4JAiNeutralOutline;\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBA,MAAM,gCAAgC,UACpC,iBAAA,GAAA,kBAAA,IAAA,CAAC,OAAA,sBAAA,QAAA,sBAAA,QAAA;CACC,SAAQ;CACR,MAAK;CACL,OAAM;AACF,GAAA,KAAA,GAAA,CAAA,GAAA,EAAA,UAEJ,iBAAA,GAAA,kBAAA,IAAA,CAAC,QAAD;CACE,GAAE;CACF,aAAa;CACb,eAAc;CACd,gBAAe;CACf,QAAO;AACR,CAAA,EAAA,CACE,CAAA;AAEP,MAAM,2BAA2BA,uBAAAA,SAAS,4BAA4B"}
@@ -228,6 +228,7 @@ const require_icons_generated_custom_DockBottomOutline = require("./DockBottomOu
228
228
  const require_icons_generated_custom_DockSideOutline = require("./DockSideOutline.js");
229
229
  const require_icons_generated_custom_DocumentArrowDownOutline = require("./DocumentArrowDownOutline.js");
230
230
  const require_icons_generated_custom_DocumentArrowUpOutline = require("./DocumentArrowUpOutline.js");
231
+ const require_icons_generated_custom_DocumentArrowUpSolid = require("./DocumentArrowUpSolid.js");
231
232
  const require_icons_generated_custom_DocumentChartBarOutline = require("./DocumentChartBarOutline.js");
232
233
  const require_icons_generated_custom_DocumentCheckOutline = require("./DocumentCheckOutline.js");
233
234
  const require_icons_generated_custom_DocumentCurrencyBangladeshiOutline = require("./DocumentCurrencyBangladeshiOutline.js");
@@ -822,6 +823,7 @@ exports.DockBottomOutlineIcon = require_icons_generated_custom_DockBottomOutline
822
823
  exports.DockSideOutlineIcon = require_icons_generated_custom_DockSideOutline.default;
823
824
  exports.DocumentArrowDownOutlineIcon = require_icons_generated_custom_DocumentArrowDownOutline.default;
824
825
  exports.DocumentArrowUpOutlineIcon = require_icons_generated_custom_DocumentArrowUpOutline.default;
826
+ exports.DocumentArrowUpSolidIcon = require_icons_generated_custom_DocumentArrowUpSolid.default;
825
827
  exports.DocumentChartBarOutlineIcon = require_icons_generated_custom_DocumentChartBarOutline.default;
826
828
  exports.DocumentCheckOutlineIcon = require_icons_generated_custom_DocumentCheckOutline.default;
827
829
  exports.DocumentCurrencyBangladeshiOutlineIcon = require_icons_generated_custom_DocumentCurrencyBangladeshiOutline.default;