@neo4j-ndl/react 4.22.1 → 4.23.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/combobox/Combobox.js +14 -8
- package/lib/cjs/combobox/Combobox.js.map +1 -1
- package/lib/cjs/combobox/combobox-types.js.map +1 -1
- package/lib/cjs/icons/generated/custom/FloppyDiskArrowTopRight.js +30 -0
- package/lib/cjs/icons/generated/custom/FloppyDiskArrowTopRight.js.map +1 -0
- package/lib/cjs/icons/generated/custom/OpenQueryTab.js +1 -0
- package/lib/cjs/icons/generated/custom/OpenQueryTab.js.map +1 -1
- package/lib/cjs/icons/generated/custom/index.js +5 -3
- package/lib/cjs/icons/generated/custom/index.js.map +1 -1
- package/lib/cjs/next/tree-view/TreeView.js +16 -1
- package/lib/cjs/next/tree-view/TreeView.js.map +1 -1
- package/lib/esm/combobox/Combobox.js +14 -8
- package/lib/esm/combobox/Combobox.js.map +1 -1
- package/lib/esm/combobox/combobox-types.js.map +1 -1
- package/lib/esm/icons/generated/custom/FloppyDiskArrowTopRight.js +28 -0
- package/lib/esm/icons/generated/custom/FloppyDiskArrowTopRight.js.map +1 -0
- package/lib/esm/icons/generated/custom/OpenQueryTab.js +1 -0
- package/lib/esm/icons/generated/custom/OpenQueryTab.js.map +1 -1
- package/lib/esm/icons/generated/custom/index.js +1 -0
- package/lib/esm/icons/generated/custom/index.js.map +1 -1
- package/lib/esm/next/tree-view/TreeView.js +16 -1
- package/lib/esm/next/tree-view/TreeView.js.map +1 -1
- package/lib/types/combobox/Combobox.d.ts.map +1 -1
- package/lib/types/combobox/combobox-types.d.ts +5 -4
- package/lib/types/combobox/combobox-types.d.ts.map +1 -1
- package/lib/types/icons/generated/custom/FloppyDiskArrowTopRight.d.ts +29 -0
- package/lib/types/icons/generated/custom/FloppyDiskArrowTopRight.d.ts.map +1 -0
- package/lib/types/icons/generated/custom/OpenQueryTab.d.ts +1 -0
- package/lib/types/icons/generated/custom/OpenQueryTab.d.ts.map +1 -1
- package/lib/types/icons/generated/custom/index.d.ts +1 -0
- package/lib/types/icons/generated/custom/index.d.ts.map +1 -1
- package/lib/types/next/tree-view/TreeView.d.ts.map +1 -1
- package/package.json +3 -3
- package/skills/ndl-react/SKILL.md +6 -1
- package/skills/ndl-react/components/accordion.md +2 -0
- package/skills/ndl-react/components/ai/code-preview.md +4 -0
- package/skills/ndl-react/components/ai/file-tag.md +2 -0
- package/skills/ndl-react/components/ai/image-tag.md +2 -0
- package/skills/ndl-react/components/ai/more-files.md +2 -0
- package/skills/ndl-react/components/ai/presence.md +2 -0
- package/skills/ndl-react/components/ai/preview.md +2 -0
- package/skills/ndl-react/components/ai/prompt.md +2 -0
- package/skills/ndl-react/components/ai/reasoning.md +2 -0
- package/skills/ndl-react/components/ai/response.md +2 -0
- package/skills/ndl-react/components/ai/suggestion.md +2 -0
- package/skills/ndl-react/components/ai/thinking.md +2 -0
- package/skills/ndl-react/components/ai/tool-call.md +2 -0
- package/skills/ndl-react/components/ai/user-bubble.md +2 -0
- package/skills/ndl-react/components/avatar.md +2 -0
- package/skills/ndl-react/components/banner.md +2 -0
- package/skills/ndl-react/components/box.md +2 -0
- package/skills/ndl-react/components/breadcrumbs.md +2 -0
- package/skills/ndl-react/components/checkbox.md +2 -0
- package/skills/ndl-react/components/clean-icon-button.md +2 -0
- package/skills/ndl-react/components/clipboard-button.md +2 -0
- package/skills/ndl-react/components/code-block.md +2 -0
- package/skills/ndl-react/components/code.md +2 -0
- package/skills/ndl-react/components/color-picker.md +2 -0
- package/skills/ndl-react/components/combobox.md +3 -1
- package/skills/ndl-react/components/conditional-wrap.md +2 -0
- package/skills/ndl-react/components/data-grid.md +2 -0
- package/skills/ndl-react/components/date-picker.md +2 -0
- package/skills/ndl-react/components/dialog.md +2 -0
- package/skills/ndl-react/components/dismissible-tag.md +2 -0
- package/skills/ndl-react/components/divider.md +2 -0
- package/skills/ndl-react/components/drawer.md +2 -0
- package/skills/ndl-react/components/dropdown-button.md +2 -0
- package/skills/ndl-react/components/dropzone.md +2 -0
- package/skills/ndl-react/components/filled-button.md +2 -0
- package/skills/ndl-react/components/flex.md +2 -0
- package/skills/ndl-react/components/graph-label.md +2 -0
- package/skills/ndl-react/components/icon-button-array.md +2 -0
- package/skills/ndl-react/components/icon-button.md +2 -0
- package/skills/ndl-react/components/inline-edit.md +2 -0
- package/skills/ndl-react/components/kbd.md +2 -0
- package/skills/ndl-react/components/loading-bar.md +2 -0
- package/skills/ndl-react/components/loading-spinner.md +2 -0
- package/skills/ndl-react/components/logo.md +2 -0
- package/skills/ndl-react/components/menu.md +2 -0
- package/skills/ndl-react/components/modal.md +2 -0
- package/skills/ndl-react/components/next/tree-view.md +3 -1
- package/skills/ndl-react/components/outlined-button.md +2 -0
- package/skills/ndl-react/components/popover.md +2 -0
- package/skills/ndl-react/components/progress-bar.md +2 -0
- package/skills/ndl-react/components/radio.md +2 -0
- package/skills/ndl-react/components/read-only-tag.md +2 -0
- package/skills/ndl-react/components/segmented-control.md +2 -0
- package/skills/ndl-react/components/select-icon-button.md +2 -0
- package/skills/ndl-react/components/select.md +4 -0
- package/skills/ndl-react/components/selectable-tag.md +2 -0
- package/skills/ndl-react/components/side-navigation.md +2 -0
- package/skills/ndl-react/components/skeleton.md +2 -0
- package/skills/ndl-react/components/slider.md +2 -0
- package/skills/ndl-react/components/spotlight.md +2 -0
- package/skills/ndl-react/components/status-indicator.md +2 -0
- package/skills/ndl-react/components/status-label.md +2 -0
- package/skills/ndl-react/components/switch.md +2 -0
- package/skills/ndl-react/components/tabs.md +2 -0
- package/skills/ndl-react/components/tag.md +4 -0
- package/skills/ndl-react/components/text-area.md +2 -0
- package/skills/ndl-react/components/text-button.md +2 -0
- package/skills/ndl-react/components/text-input.md +2 -0
- package/skills/ndl-react/components/text-link.md +2 -0
- package/skills/ndl-react/components/time-picker.md +2 -0
- package/skills/ndl-react/components/timezone-picker.md +2 -0
- package/skills/ndl-react/components/tooltip.md +2 -0
- package/skills/ndl-react/components/tree-view.md +2 -0
- package/skills/ndl-react/components/typography.md +2 -0
- package/skills/ndl-react/components/wizard.md +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"combobox-types.js","sourceRoot":"","sources":["../../../src/combobox/combobox-types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG","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\ntype ComboboxOption = {\n label: string;\n value: string;\n /** If the option is disabled */\n isDisabled?: boolean;\n /** A visual element to display before the label. Incompatible with multi select. */\n leadingVisual?: React.ReactNode;\n /** A description to display below the label. */\n description?: string;\n};\n\ntype ComboboxOptionGroup<TOption extends ComboboxOption = ComboboxOption> = {\n label: string;\n options: TOption[];\n};\n\ntype ComboboxFilterOption<TOption extends ComboboxOption = ComboboxOption> =\n | ((option: TOption, searchValue: string) => boolean)\n | false;\n\ntype ComboboxSize = 'small' | 'medium' | 'large';\n\n/**\n * A row at the end of the panel that acts instead of selecting.\n *\n * @remarks\n * Deliberately not a `ComboboxOption`, since an action never becomes part of\n * the value. Use it for something that leads out of the selection, such as a\n * link into a create flow.\n */\ntype ComboboxAction = {\n /** Text of the row. */\n label: string;\n /**\n * Called when the row is activated, with the current search value so the\n * action can carry the query with it. The selection is left untouched.\n */\n onSelect: (context: { searchValue: string }) => void;\n /** A description to display below the label. */\n description?: string;\n /** A visual element to display before the label. */\n leadingVisual?: React.ReactNode;\n /** If the action is disabled. */\n isDisabled?: boolean;\n /**\n * Whether a divider is rendered above the action, separating it from the\n * action before it. Ignored on the first action, which already sits below\n * the divider that separates actions from options.\n */\n hasDivider?: boolean;\n};\n\ntype ComboboxBaseProps<TOption extends ComboboxOption = ComboboxOption> = {\n /** Accessible label for the combobox. Rendered above the control. */\n label: string;\n /**\n * Name used to submit the selected option value through a native form.\n * Above 300 options, only the selection is mirrored to the form, so browser\n * autofill no longer offers the option list.\n */\n name?: string;\n /** Id of the form the combobox belongs to when it is outside that form. */\n formId?: string;\n /** Hint for browser autofill on the native form control. */\n autoComplete?: string;\n /** Ref to the focusable combobox trigger. */\n triggerRef?: React.Ref<HTMLElement>;\n /** Whether the label is clipped out of the layout, leaving it to screen readers only. */\n hasVisuallyHiddenLabel?: boolean;\n /** Assistive text below the control. Replaced by `errorText` while there is an error. */\n helpText?: React.ReactNode;\n /** Error message below the control. Puts the control in its error state. */\n errorText?: React.ReactNode;\n /**\n * Whether a selection is required. Sets `aria-required` and, when `name` is\n * provided, enables native form validation.\n */\n isRequired?: boolean;\n /** Whether Required or Optional is shown at the end of the label row, based on the `isRequired` prop */\n hasRequiredIndicator?: boolean;\n /** The options to display in the combobox. Either an array of options or an array of option groups. */\n options: TOption[] | ComboboxOptionGroup<TOption>[];\n /**\n * Whether a search input is rendered inside the panel. On by default; turn\n * it off for a short list (roughly 10 options or fewer) where filtering\n * adds nothing.\n */\n isSearchable?: boolean;\n /** The search value in controlled mode. */\n searchValue?: string;\n /** The initial search value in uncontrolled mode. */\n defaultSearchValue?: string;\n /** Called when the search value changes. */\n onSearchChange?: (searchValue: string) => void;\n /**\n * How options are matched against the search value. Defaults to a\n * case-insensitive match on the option label. Pass `false` to skip internal\n * filtering when the options are already filtered, such as when searching\n * server side.\n */\n filterOption?: ComboboxFilterOption<TOption>;\n /** Placeholder for the search input, which also names it. */\n searchPlaceholder?: string;\n /**\n * Whether the panel is waiting for options. Replaces the empty message while\n * there are no options.\n */\n isLoading?: boolean;\n /** Text of the loading status. Defaults to `Loading...`. */\n loadingMessage?: React.ReactNode;\n /**\n * Whether the search value can be turned into a new option, shown as an extra\n * row at the end of the list. Requires `isSearchable`.\n */\n isCreatable?: boolean;\n /**\n * Called after a created option has been selected, so it can be persisted\n * into `options`. Created options are not added to `options` by the combobox.\n */\n onCreateOption?: (option: TOption) => void;\n /**\n * Builds the option to create from the search value. Defaults to using the\n * search value as both label and value, which is only enough when the options\n * carry no fields of their own beyond `ComboboxOption`.\n */\n createOption?: (searchValue: string) => TOption;\n /** Text of the create row. Defaults to `Create \"<search value>\"`. */\n formatCreateLabel?: (searchValue: string) => React.ReactNode;\n /**\n * Whether the search value can become a new option. Defaults to requiring a\n * non-blank value that does not exactly match an existing option or a\n * currently selected one.\n */\n isValidNewOption?: (searchValue: string, options: TOption[]) => boolean;\n /**\n * Rows that act instead of selecting, pinned below the scrolling options\n * after a divider so they stay visible however long the list is. They are\n * always shown, never filtered by the search value, and never part of the\n * selection.\n */\n actions?: ComboboxAction[];\n /** Whether the panel is controlled open. */\n isOpen?: boolean;\n /** Called when the panel opens or closes. */\n onOpenChange?: (isOpen: boolean) => void;\n /** Whether a button for clearing the selection is rendered in the trigger. */\n isClearable?: boolean;\n /** Text shown in the trigger while nothing is selected. */\n placeholder?: string;\n /** Whether the combobox is disabled. */\n isDisabled?: boolean;\n /** Size of the combobox control. */\n size?: ComboboxSize;\n /** Whether the combobox fills the available width. */\n isFluid?: boolean;\n /** Whether the control hugs its content without a background or resting outline. */\n isClean?: boolean;\n /** Whether the panel is wrapped in a floating portal. Defaults to true outside a dialog. */\n isPortaled?: boolean;\n /** Portal target element. Defaults to `document.body`. */\n portalTarget?: HTMLElement | null;\n /** Positioning strategy used by Floating UI. */\n floatingStrategy?: 'absolute' | 'fixed';\n /**\n * Replaces the built-in trigger. Spread `triggerProps` onto the focusable\n * element that should open the panel; the panel is anchored to it. The root\n * element then lays out as `display: contents`, so the trigger is placed by\n * whatever contains the combobox, and `isFluid`, `isClean`, `size`,\n * `className` and `style` no longer shape it.\n */\n renderTrigger?: (\n triggerProps: ComboboxTriggerProps,\n state: ComboboxTriggerState<TOption>,\n ) => React.ReactNode;\n /**\n * Replaces how selected values and option labels are presented, keeping the\n * behavior and the ARIA of the combobox.\n */\n components?: ComboboxComponents<TOption>;\n};\n\n/**\n * Presentation overrides for the parts of the combobox that show an option.\n *\n * @remarks\n * Each override is handed the option itself, so widening the option type is\n * what gives them typed access to fields of your own, such as a color. Only\n * presentation is replaced; selection, filtering, keyboard interaction and the\n * ARIA of the surrounding elements stay with the combobox. Use `renderTrigger`\n * instead to replace the control as a whole.\n */\ntype ComboboxComponents<TOption extends ComboboxOption = ComboboxOption> = {\n /** Replaces the tag rendered per selected option in multi select. */\n MultiValue?: React.ComponentType<ComboboxMultiValueProps<TOption>>;\n /** Replaces the value shown in the trigger in single select. Must be non-interactive. */\n SingleValue?: React.ComponentType<ComboboxSingleValueProps<TOption>>;\n /** Replaces the label of an option. The selection and description chrome stays. */\n OptionLabel?: React.ComponentType<ComboboxOptionLabelProps<TOption>>;\n};\n\n/** Props of a `MultiValue` override, rendered once per selected option. */\ntype ComboboxMultiValueProps<TOption extends ComboboxOption = ComboboxOption> =\n {\n option: TOption;\n /** Position of the option in the selection. */\n index: number;\n isDisabled: boolean;\n size: ComboboxSize;\n /**\n * Deselects this option. Nothing calls it unless the override renders an\n * affordance for it, which also makes focus after the removal its own\n * responsibility.\n */\n remove: () => void;\n };\n\n/** Props of a `SingleValue` override, rendered inside the trigger. */\ntype ComboboxSingleValueProps<TOption extends ComboboxOption = ComboboxOption> =\n {\n option: TOption;\n isDisabled: boolean;\n size: ComboboxSize;\n };\n\n/** Props of an `OptionLabel` override, rendered inside each option. */\ntype ComboboxOptionLabelProps<TOption extends ComboboxOption = ComboboxOption> =\n {\n option: TOption;\n isSelected: boolean;\n isDisabled: boolean;\n /** Whether the option currently holds virtual focus. */\n isFocused: boolean;\n isMulti: boolean;\n size: ComboboxSize;\n };\n\n/**\n * Props that must be spread onto a custom trigger element. Includes the\n * Floating UI reference props, so the element it lands on becomes the anchor\n * the panel is positioned against.\n */\ntype ComboboxTriggerProps = React.HTMLAttributes<HTMLElement> & {\n ref: React.Ref<HTMLElement>;\n role: 'combobox';\n 'aria-haspopup': 'dialog' | 'listbox';\n // These are DOM attribute names, so the boolean naming convention cannot apply.\n /* eslint-disable @typescript-eslint/naming-convention */\n 'aria-expanded': boolean;\n 'aria-disabled': boolean | undefined;\n 'aria-invalid': boolean | undefined;\n 'aria-required': boolean | undefined;\n /* eslint-enable @typescript-eslint/naming-convention */\n 'aria-controls': string | undefined;\n 'aria-activedescendant': string | undefined;\n 'aria-describedby': string | undefined;\n 'aria-label'?: string;\n 'aria-labelledby'?: string;\n};\n\n/**\n * The label, help text, and error text of the combobox, for rendering them from\n * a custom trigger.\n *\n * @remarks\n * A custom trigger is named through `aria-label` and carries the\n * `aria-describedby` of whichever message is currently shown, so it has to\n * render that message with the id it is handed here.\n */\ntype ComboboxFieldState = {\n label: string;\n hasVisuallyHiddenLabel: boolean;\n helpText?: React.ReactNode;\n errorText?: React.ReactNode;\n hasError: boolean;\n isRequired: boolean;\n hasRequiredIndicator: boolean;\n /** Id the trigger's `aria-labelledby` points at when the label is rendered. */\n labelId: string;\n /** Id of the trigger, so a rendered `<label>` can point at it with `htmlFor`. */\n triggerId: string;\n /** Ids the trigger's `aria-describedby` points at. Only one is used at a time. */\n helpTextId: string;\n errorTextId: string;\n};\n\n/** Current combobox state, for rendering a custom trigger. */\ntype ComboboxTriggerState<TOption extends ComboboxOption = ComboboxOption> = {\n isOpen: boolean;\n isMulti: boolean;\n isDisabled: boolean;\n /** The selected options, as a list in both single and multi select. */\n selectedOptions: TOption[];\n /** Clears the whole selection. */\n clear: () => void;\n /** Deselects a single option. */\n remove: (option: TOption) => void;\n /** The label and messages of the combobox, so a custom trigger can present them. */\n field: ComboboxFieldState;\n};\n\ntype ComboboxSingleProps<TOption extends ComboboxOption = ComboboxOption> = {\n /** The selected option in controlled mode. */\n value?: TOption | null;\n /** The initially selected option in uncontrolled mode. */\n defaultValue?: TOption | null;\n /** Called when the selected option changes. `null` when the selection is cleared. */\n onChange?: (value: TOption | null) => void;\n /** Whether multiple options can be selected. */\n isMulti?: false;\n maxRows?: never;\n};\n\ntype ComboboxMultiProps<TOption extends ComboboxOption = ComboboxOption> = {\n /** The selected options in controlled mode. */\n value?: TOption[];\n /** The initially selected options in uncontrolled mode. */\n defaultValue?: TOption[];\n /** Called when the selected options change. */\n onChange?: (value: TOption[]) => void;\n /** Whether multiple options can be selected. */\n isMulti: true;\n /**\n * Maximum number of rows the selected tags may wrap into, a single row by\n * default. Tags that do not fit are collapsed into a read-only counter tag,\n * such as `+4`, at the end of the last row. Pass `null` to let the control\n * grow with the selection.\n */\n maxRows?: number | null;\n};\n\ntype ComboboxProps<TOption extends ComboboxOption = ComboboxOption> =\n ComboboxBaseProps<TOption> &\n (ComboboxSingleProps<TOption> | ComboboxMultiProps<TOption>);\n\ntype ComboboxPanelProps = {\n children?: React.ReactNode;\n ref?: React.Ref<HTMLDivElement>;\n id?: string;\n className?: string;\n style?: React.CSSProperties;\n /**\n * Set when the panel is a dialog popup, which is the case while the search\n * input inside it holds DOM focus.\n */\n ariaLabel?: string;\n isDialog?: boolean;\n} & Record<string, unknown>;\n\ntype ComboboxControlProps<TOption extends ComboboxOption = ComboboxOption> = {\n triggerProps: ComboboxTriggerProps;\n state: ComboboxTriggerState<TOption>;\n field: ComboboxFieldState;\n placeholder: string;\n isClearable: boolean;\n isClean: boolean;\n size: ComboboxSize;\n /** Maximum number of rows the selected tags may wrap into in multi select. `null` is unlimited. */\n maxRows?: number | null;\n components: ComboboxComponents<TOption>;\n /** Floating UI reference props, so clicking anywhere in the control opens the panel. */\n referenceProps: React.HTMLAttributes<HTMLDivElement>;\n referenceRef: React.Ref<HTMLDivElement>;\n};\n\ntype ComboboxEmptyStateProps = {\n children?: React.ReactNode;\n};\n\ntype ComboboxInputProps = {\n ref?: React.Ref<HTMLInputElement>;\n ariaLabel: string;\n value: string;\n onValueChange: (searchValue: string) => void;\n placeholder?: string;\n /** Id of the listbox the input controls, when the listbox is rendered. */\n listboxId?: string;\n /** Id of the virtually focused option, when one is active. */\n activeOptionId?: string;\n onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;\n};\n\ntype ComboboxListBoxProps = {\n ariaLabel: string;\n children?: React.ReactNode;\n isMulti?: boolean;\n id?: string;\n /** Ids of the pinned action rows the listbox owns without containing. */\n ownsIds?: string;\n};\n\ntype ComboboxGroupProps = {\n children?: React.ReactNode;\n label: string;\n};\n\ntype ComboboxOptionProps = {\n children?: React.ReactNode;\n /** Left out on rows that cannot be selected, which drops `aria-selected`. */\n isSelected?: boolean;\n isDisabled?: boolean;\n isFocused?: boolean;\n /** Whether the option is the row that creates a new option from the search value. */\n isCreate?: boolean;\n /** Whether the option is an action row, which acts instead of selecting. */\n isAction?: boolean;\n id?: string;\n onClick?: () => void;\n /** Called when the pointer moves over the option, so hover can drive virtual focus. */\n onHover?: () => void;\n /**\n * One-based position in the full list. Only set while the listbox is\n * virtualized, where the DOM no longer holds every option.\n */\n posInSet?: number;\n /** Total options in the full list. Only set while the listbox is virtualized. */\n setSize?: number;\n};\n\ntype ComboboxOptionContentProps = {\n label: string;\n /**\n * Replaces the label text. Rendered in place of the label typography rather\n * than inside it, so it can be any element rather than inline text.\n */\n customLabel?: React.ReactNode;\n description?: string;\n leadingVisual?: React.ReactNode;\n isDisabled?: boolean;\n isSelected?: boolean;\n isMulti?: boolean;\n};\n\nexport type {\n ComboboxProps,\n ComboboxAction,\n ComboboxComponents,\n ComboboxControlProps,\n ComboboxFieldState,\n ComboboxMultiValueProps,\n ComboboxOptionLabelProps,\n ComboboxSingleValueProps,\n ComboboxTriggerProps,\n ComboboxTriggerState,\n ComboboxPanelProps,\n ComboboxEmptyStateProps,\n ComboboxFilterOption,\n ComboboxInputProps,\n ComboboxListBoxProps,\n ComboboxGroupProps,\n ComboboxOptionProps,\n ComboboxOptionContentProps,\n ComboboxOption,\n ComboboxOptionGroup,\n ComboboxSize,\n};\n"]}
|
|
1
|
+
{"version":3,"file":"combobox-types.js","sourceRoot":"","sources":["../../../src/combobox/combobox-types.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG","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\ntype ComboboxOption = {\n label: string;\n value: string;\n /** If the option is disabled */\n isDisabled?: boolean;\n /** A visual element to display before the label. Incompatible with multi select. */\n leadingVisual?: React.ReactNode;\n /** A description to display below the label. */\n description?: string;\n};\n\ntype ComboboxOptionGroup<TOption extends ComboboxOption = ComboboxOption> = {\n label: string;\n options: TOption[];\n};\n\ntype ComboboxFilterOption<TOption extends ComboboxOption = ComboboxOption> =\n | ((option: TOption, searchValue: string) => boolean)\n | false;\n\ntype ComboboxSize = 'small' | 'medium' | 'large';\n\n/**\n * A row at the end of the panel that acts instead of selecting.\n *\n * @remarks\n * Deliberately not a `ComboboxOption`, since an action never becomes part of\n * the value. Use it for something that leads out of the selection, such as a\n * link into a create flow.\n */\ntype ComboboxAction = {\n /** Text of the row. */\n label: string;\n /**\n * Called when the row is activated, with the current search value so the\n * action can carry the query with it. The selection is left untouched.\n */\n onSelect: (context: { searchValue: string }) => void;\n /** A description to display below the label. */\n description?: string;\n /** A visual element to display before the label. */\n leadingVisual?: React.ReactNode;\n /** If the action is disabled. */\n isDisabled?: boolean;\n /**\n * Whether a divider is rendered above the action, separating it from the\n * action before it. Ignored on the first action, which already sits below\n * the divider that separates actions from options.\n */\n hasDivider?: boolean;\n};\n\ntype ComboboxBaseProps<TOption extends ComboboxOption = ComboboxOption> = {\n /** Accessible label for the combobox. Rendered above the control. */\n label: string;\n /**\n * Name used to submit the selected option value through a native form.\n * Above 300 options, only the selection is mirrored to the form, so browser\n * autofill no longer offers the option list.\n */\n name?: string;\n /** Id of the form the combobox belongs to when it is outside that form. */\n formId?: string;\n /** Hint for browser autofill on the native form control. */\n autoComplete?: string;\n /** Ref to the focusable combobox trigger. */\n triggerRef?: React.Ref<HTMLElement>;\n /** Whether the label is clipped out of the layout, leaving it to screen readers only. */\n hasVisuallyHiddenLabel?: boolean;\n /** Assistive text below the control. Replaced by `errorText` while there is an error. */\n helpText?: React.ReactNode;\n /** Error message below the control. Puts the control in its error state. */\n errorText?: React.ReactNode;\n /**\n * Whether a selection is required. Sets `aria-required` and, when `name` is\n * provided, enables native form validation.\n */\n isRequired?: boolean;\n /** Whether Required or Optional is shown at the end of the label row, based on the `isRequired` prop */\n hasRequiredIndicator?: boolean;\n /** The options to display in the combobox. Either an array of options or an array of option groups. */\n options: TOption[] | ComboboxOptionGroup<TOption>[];\n /**\n * Whether a search input is rendered inside the panel. On by default; turn\n * it off for a short list (roughly 10 options or fewer) where filtering\n * adds nothing.\n */\n isSearchable?: boolean;\n /** The search value in controlled mode. */\n searchValue?: string;\n /** The initial search value in uncontrolled mode. */\n defaultSearchValue?: string;\n /** Called when the search value changes. */\n onSearchChange?: (searchValue: string) => void;\n /**\n * How options are matched against the search value. Defaults to a\n * case-insensitive match on the option label. Pass `false` to skip internal\n * filtering when the options are already filtered, such as when searching\n * server side.\n */\n filterOption?: ComboboxFilterOption<TOption>;\n /** Placeholder for the search input, which also names it. */\n searchPlaceholder?: string;\n /**\n * Whether the panel is waiting for options. Replaces the empty message while\n * there are no options.\n */\n isLoading?: boolean;\n /** Text of the loading status. Defaults to `Loading...`. */\n loadingMessage?: React.ReactNode;\n /**\n * Whether the search value can be turned into a new option, shown as an extra\n * row at the end of the list. Requires `isSearchable`.\n */\n isCreatable?: boolean;\n /**\n * Called after a created option has been selected, so it can be persisted\n * into `options`. Created options are not added to `options` by the combobox.\n */\n onCreateOption?: (option: TOption) => void;\n /**\n * Builds the option to create from the search value. Defaults to using the\n * search value as both label and value, which is only enough when the options\n * carry no fields of their own beyond `ComboboxOption`.\n */\n createOption?: (searchValue: string) => TOption;\n /** Text of the create row. Defaults to `Create \"<search value>\"`. */\n formatCreateLabel?: (searchValue: string) => React.ReactNode;\n /**\n * Whether the search value can become a new option. Defaults to requiring a\n * non-blank value that does not exactly match an existing option or a\n * currently selected one.\n */\n isValidNewOption?: (searchValue: string, options: TOption[]) => boolean;\n /**\n * Rows that act instead of selecting, pinned below the scrolling options\n * after a divider so they stay visible however long the list is. They are\n * always shown, never filtered by the search value, and never part of the\n * selection.\n */\n actions?: ComboboxAction[];\n /** Whether the panel is controlled open. */\n isOpen?: boolean;\n /** Called when the panel opens or closes. */\n onOpenChange?: (isOpen: boolean) => void;\n /** Whether a button for clearing the selection is rendered in the trigger. */\n isClearable?: boolean;\n /** Text shown in the trigger while nothing is selected. */\n placeholder?: string;\n /** Whether the combobox is disabled. */\n isDisabled?: boolean;\n /** Size of the combobox control. */\n size?: ComboboxSize;\n /** Whether the combobox fills the available width. */\n isFluid?: boolean;\n /** Whether the control hugs its content without a background or resting outline. */\n isClean?: boolean;\n /** Whether the panel is wrapped in a floating portal. Defaults to true outside a dialog. */\n isPortaled?: boolean;\n /** Portal target element. Defaults to `document.body`. */\n portalTarget?: HTMLElement | null;\n /** Positioning strategy used by Floating UI. */\n floatingStrategy?: 'absolute' | 'fixed';\n /**\n * Replaces the built-in trigger. Spread `triggerProps` onto the focusable\n * element that should open the panel; the panel is anchored to it. No root\n * element is rendered, so the trigger is a direct child of whatever contains\n * the combobox. `isFluid`, `isClean`, `size`, `className`, `style`,\n * `htmlAttributes` and `ref` are ignored; use `triggerRef` to reach the\n * trigger element.\n */\n renderTrigger?: (\n triggerProps: ComboboxTriggerProps,\n state: ComboboxTriggerState<TOption>,\n ) => React.ReactNode;\n /**\n * Replaces how selected values and option labels are presented, keeping the\n * behavior and the ARIA of the combobox.\n */\n components?: ComboboxComponents<TOption>;\n};\n\n/**\n * Presentation overrides for the parts of the combobox that show an option.\n *\n * @remarks\n * Each override is handed the option itself, so widening the option type is\n * what gives them typed access to fields of your own, such as a color. Only\n * presentation is replaced; selection, filtering, keyboard interaction and the\n * ARIA of the surrounding elements stay with the combobox. Use `renderTrigger`\n * instead to replace the control as a whole.\n */\ntype ComboboxComponents<TOption extends ComboboxOption = ComboboxOption> = {\n /** Replaces the tag rendered per selected option in multi select. */\n MultiValue?: React.ComponentType<ComboboxMultiValueProps<TOption>>;\n /** Replaces the value shown in the trigger in single select. Must be non-interactive. */\n SingleValue?: React.ComponentType<ComboboxSingleValueProps<TOption>>;\n /** Replaces the label of an option. The selection and description chrome stays. */\n OptionLabel?: React.ComponentType<ComboboxOptionLabelProps<TOption>>;\n};\n\n/** Props of a `MultiValue` override, rendered once per selected option. */\ntype ComboboxMultiValueProps<TOption extends ComboboxOption = ComboboxOption> =\n {\n option: TOption;\n /** Position of the option in the selection. */\n index: number;\n isDisabled: boolean;\n size: ComboboxSize;\n /**\n * Deselects this option. Nothing calls it unless the override renders an\n * affordance for it, which also makes focus after the removal its own\n * responsibility.\n */\n remove: () => void;\n };\n\n/** Props of a `SingleValue` override, rendered inside the trigger. */\ntype ComboboxSingleValueProps<TOption extends ComboboxOption = ComboboxOption> =\n {\n option: TOption;\n isDisabled: boolean;\n size: ComboboxSize;\n };\n\n/** Props of an `OptionLabel` override, rendered inside each option. */\ntype ComboboxOptionLabelProps<TOption extends ComboboxOption = ComboboxOption> =\n {\n option: TOption;\n isSelected: boolean;\n isDisabled: boolean;\n /** Whether the option currently holds virtual focus. */\n isFocused: boolean;\n isMulti: boolean;\n size: ComboboxSize;\n };\n\n/**\n * Props that must be spread onto a custom trigger element. Includes the\n * Floating UI reference props, so the element it lands on becomes the anchor\n * the panel is positioned against.\n */\ntype ComboboxTriggerProps = React.HTMLAttributes<HTMLElement> & {\n ref: React.Ref<HTMLElement>;\n role: 'combobox';\n 'aria-haspopup': 'dialog' | 'listbox';\n // These are DOM attribute names, so the boolean naming convention cannot apply.\n /* eslint-disable @typescript-eslint/naming-convention */\n 'aria-expanded': boolean;\n 'aria-disabled': boolean | undefined;\n 'aria-invalid': boolean | undefined;\n 'aria-required': boolean | undefined;\n /* eslint-enable @typescript-eslint/naming-convention */\n 'aria-controls': string | undefined;\n 'aria-activedescendant': string | undefined;\n 'aria-describedby': string | undefined;\n 'aria-label'?: string;\n 'aria-labelledby'?: string;\n};\n\n/**\n * The label, help text, and error text of the combobox, for rendering them from\n * a custom trigger.\n *\n * @remarks\n * A custom trigger is named through `aria-label` and carries the\n * `aria-describedby` of whichever message is currently shown, so it has to\n * render that message with the id it is handed here.\n */\ntype ComboboxFieldState = {\n label: string;\n hasVisuallyHiddenLabel: boolean;\n helpText?: React.ReactNode;\n errorText?: React.ReactNode;\n hasError: boolean;\n isRequired: boolean;\n hasRequiredIndicator: boolean;\n /** Id the trigger's `aria-labelledby` points at when the label is rendered. */\n labelId: string;\n /** Id of the trigger, so a rendered `<label>` can point at it with `htmlFor`. */\n triggerId: string;\n /** Ids the trigger's `aria-describedby` points at. Only one is used at a time. */\n helpTextId: string;\n errorTextId: string;\n};\n\n/** Current combobox state, for rendering a custom trigger. */\ntype ComboboxTriggerState<TOption extends ComboboxOption = ComboboxOption> = {\n isOpen: boolean;\n isMulti: boolean;\n isDisabled: boolean;\n /** The selected options, as a list in both single and multi select. */\n selectedOptions: TOption[];\n /** Clears the whole selection. */\n clear: () => void;\n /** Deselects a single option. */\n remove: (option: TOption) => void;\n /** The label and messages of the combobox, so a custom trigger can present them. */\n field: ComboboxFieldState;\n};\n\ntype ComboboxSingleProps<TOption extends ComboboxOption = ComboboxOption> = {\n /** The selected option in controlled mode. */\n value?: TOption | null;\n /** The initially selected option in uncontrolled mode. */\n defaultValue?: TOption | null;\n /** Called when the selected option changes. `null` when the selection is cleared. */\n onChange?: (value: TOption | null) => void;\n /** Whether multiple options can be selected. */\n isMulti?: false;\n maxRows?: never;\n};\n\ntype ComboboxMultiProps<TOption extends ComboboxOption = ComboboxOption> = {\n /** The selected options in controlled mode. */\n value?: TOption[];\n /** The initially selected options in uncontrolled mode. */\n defaultValue?: TOption[];\n /** Called when the selected options change. */\n onChange?: (value: TOption[]) => void;\n /** Whether multiple options can be selected. */\n isMulti: true;\n /**\n * Maximum number of rows the selected tags may wrap into, a single row by\n * default. Tags that do not fit are collapsed into a read-only counter tag,\n * such as `+4`, at the end of the last row. Pass `null` to let the control\n * grow with the selection.\n */\n maxRows?: number | null;\n};\n\ntype ComboboxProps<TOption extends ComboboxOption = ComboboxOption> =\n ComboboxBaseProps<TOption> &\n (ComboboxSingleProps<TOption> | ComboboxMultiProps<TOption>);\n\ntype ComboboxPanelProps = {\n children?: React.ReactNode;\n ref?: React.Ref<HTMLDivElement>;\n id?: string;\n className?: string;\n style?: React.CSSProperties;\n /**\n * Set when the panel is a dialog popup, which is the case while the search\n * input inside it holds DOM focus.\n */\n ariaLabel?: string;\n isDialog?: boolean;\n} & Record<string, unknown>;\n\ntype ComboboxControlProps<TOption extends ComboboxOption = ComboboxOption> = {\n triggerProps: ComboboxTriggerProps;\n state: ComboboxTriggerState<TOption>;\n field: ComboboxFieldState;\n placeholder: string;\n isClearable: boolean;\n isClean: boolean;\n size: ComboboxSize;\n /** Maximum number of rows the selected tags may wrap into in multi select. `null` is unlimited. */\n maxRows?: number | null;\n components: ComboboxComponents<TOption>;\n /** Floating UI reference props, so clicking anywhere in the control opens the panel. */\n referenceProps: React.HTMLAttributes<HTMLDivElement>;\n referenceRef: React.Ref<HTMLDivElement>;\n};\n\ntype ComboboxEmptyStateProps = {\n children?: React.ReactNode;\n};\n\ntype ComboboxInputProps = {\n ref?: React.Ref<HTMLInputElement>;\n ariaLabel: string;\n value: string;\n onValueChange: (searchValue: string) => void;\n placeholder?: string;\n /** Id of the listbox the input controls, when the listbox is rendered. */\n listboxId?: string;\n /** Id of the virtually focused option, when one is active. */\n activeOptionId?: string;\n onKeyDown?: (event: React.KeyboardEvent<HTMLInputElement>) => void;\n};\n\ntype ComboboxListBoxProps = {\n ariaLabel: string;\n children?: React.ReactNode;\n isMulti?: boolean;\n id?: string;\n /** Ids of the pinned action rows the listbox owns without containing. */\n ownsIds?: string;\n};\n\ntype ComboboxGroupProps = {\n children?: React.ReactNode;\n label: string;\n};\n\ntype ComboboxOptionProps = {\n children?: React.ReactNode;\n /** Left out on rows that cannot be selected, which drops `aria-selected`. */\n isSelected?: boolean;\n isDisabled?: boolean;\n isFocused?: boolean;\n /** Whether the option is the row that creates a new option from the search value. */\n isCreate?: boolean;\n /** Whether the option is an action row, which acts instead of selecting. */\n isAction?: boolean;\n id?: string;\n onClick?: () => void;\n /** Called when the pointer moves over the option, so hover can drive virtual focus. */\n onHover?: () => void;\n /**\n * One-based position in the full list. Only set while the listbox is\n * virtualized, where the DOM no longer holds every option.\n */\n posInSet?: number;\n /** Total options in the full list. Only set while the listbox is virtualized. */\n setSize?: number;\n};\n\ntype ComboboxOptionContentProps = {\n label: string;\n /**\n * Replaces the label text. Rendered in place of the label typography rather\n * than inside it, so it can be any element rather than inline text.\n */\n customLabel?: React.ReactNode;\n description?: string;\n leadingVisual?: React.ReactNode;\n isDisabled?: boolean;\n isSelected?: boolean;\n isMulti?: boolean;\n};\n\nexport type {\n ComboboxProps,\n ComboboxAction,\n ComboboxComponents,\n ComboboxControlProps,\n ComboboxFieldState,\n ComboboxMultiValueProps,\n ComboboxOptionLabelProps,\n ComboboxSingleValueProps,\n ComboboxTriggerProps,\n ComboboxTriggerState,\n ComboboxPanelProps,\n ComboboxEmptyStateProps,\n ComboboxFilterOption,\n ComboboxInputProps,\n ComboboxListBoxProps,\n ComboboxGroupProps,\n ComboboxOptionProps,\n ComboboxOptionContentProps,\n ComboboxOption,\n ComboboxOptionGroup,\n ComboboxSize,\n};\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) "Neo4j"
|
|
7
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
8
|
+
*
|
|
9
|
+
* This file is part of Neo4j.
|
|
10
|
+
*
|
|
11
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* This program is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU General Public License
|
|
22
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
// THIS FILE IS GENERATED BY BUILD TOOL
|
|
25
|
+
// DO NOT EDIT IT MANUAL
|
|
26
|
+
const wrapIcon_1 = require("../../wrapIcon");
|
|
27
|
+
const SvgFloppyDiskArrowTopRightBase = (props) => ((0, jsx_runtime_1.jsx)("svg", Object.assign({ viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: (0, jsx_runtime_1.jsx)("path", { d: "M15 4H11.5C10.6716 4 10 4.67157 10 5.5V8M20 9V12.5C20 13.3284 19.3284 14 18.5 14H18M16 8L22 2M22 6V2H18M12.7692 22V17.1538C12.7692 17.011 12.7125 16.8741 12.6116 16.7731C12.5106 16.6721 12.3736 16.6154 12.2308 16.6154H5.76923C5.62642 16.6154 5.48946 16.6721 5.38848 16.7731C5.2875 16.8741 5.23077 17.011 5.23077 17.1538V22M12.7692 8V11.7692C12.7692 11.912 12.7125 12.049 12.6116 12.15C12.5106 12.251 12.3736 12.3077 12.2308 12.3077H7.92308C7.78027 12.3077 7.6433 12.251 7.54233 12.15C7.44135 12.049 7.38462 11.912 7.38462 11.7692V8M16 20.9231C16 21.2087 15.8865 21.4826 15.6846 21.6846C15.4826 21.8865 15.2087 22 14.9231 22H3.07692C2.7913 22 2.51739 21.8865 2.31542 21.6846C2.11346 21.4826 2 21.2087 2 20.9231V12.7492C2.00119 12.4667 2.11335 12.196 2.31231 11.9954L5.99538 8.31231C6.19597 8.11335 6.46671 8.00119 6.74923 8H14.9231C15.2087 8 15.4826 8.11346 15.6846 8.31542C15.8865 8.51739 16 8.7913 16 9.07692V20.9231Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }) })));
|
|
28
|
+
const SvgFloppyDiskArrowTopRight = (0, wrapIcon_1.wrapIcon)(SvgFloppyDiskArrowTopRightBase);
|
|
29
|
+
exports.default = SvgFloppyDiskArrowTopRight;
|
|
30
|
+
//# sourceMappingURL=FloppyDiskArrowTopRight.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FloppyDiskArrowTopRight.js","sourceRoot":"","sources":["../../../../../src/icons/generated/custom/FloppyDiskArrowTopRight.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,uCAAuC;AACvC,wBAAwB;AACxB,6CAA0C;AAE1C,MAAM,8BAA8B,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CACzE,8CACE,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,IAC9B,KAAK,cAET,iCACE,CAAC,EAAC,w5BAAw5B,EAC15B,MAAM,EAAC,cAAc,EACrB,WAAW,EAAE,GAAG,EAChB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,IACE,CACP,CAAC;AACF,MAAM,0BAA0B,GAAG,IAAA,mBAAQ,EAAC,8BAA8B,CAAC,CAAC;AAC5E,kBAAe,0BAA0B,CAAC","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 SvgFloppyDiskArrowTopRightBase = (props: SVGProps<SVGSVGElement>) => (\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M15 4H11.5C10.6716 4 10 4.67157 10 5.5V8M20 9V12.5C20 13.3284 19.3284 14 18.5 14H18M16 8L22 2M22 6V2H18M12.7692 22V17.1538C12.7692 17.011 12.7125 16.8741 12.6116 16.7731C12.5106 16.6721 12.3736 16.6154 12.2308 16.6154H5.76923C5.62642 16.6154 5.48946 16.6721 5.38848 16.7731C5.2875 16.8741 5.23077 17.011 5.23077 17.1538V22M12.7692 8V11.7692C12.7692 11.912 12.7125 12.049 12.6116 12.15C12.5106 12.251 12.3736 12.3077 12.2308 12.3077H7.92308C7.78027 12.3077 7.6433 12.251 7.54233 12.15C7.44135 12.049 7.38462 11.912 7.38462 11.7692V8M16 20.9231C16 21.2087 15.8865 21.4826 15.6846 21.6846C15.4826 21.8865 15.2087 22 14.9231 22H3.07692C2.7913 22 2.51739 21.8865 2.31542 21.6846C2.11346 21.4826 2 21.2087 2 20.9231V12.7492C2.00119 12.4667 2.11335 12.196 2.31231 11.9954L5.99538 8.31231C6.19597 8.11335 6.46671 8.00119 6.74923 8H14.9231C15.2087 8 15.4826 8.11346 15.6846 8.31542C15.8865 8.51739 16 8.7913 16 9.07692V20.9231Z\"\n stroke=\"currentColor\"\n strokeWidth={1.5}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n);\nconst SvgFloppyDiskArrowTopRight = wrapIcon(SvgFloppyDiskArrowTopRightBase);\nexport default SvgFloppyDiskArrowTopRight;\n"]}
|
|
@@ -25,6 +25,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
25
25
|
// DO NOT EDIT IT MANUAL
|
|
26
26
|
const wrapIcon_1 = require("../../wrapIcon");
|
|
27
27
|
const SvgOpenQueryTabBase = (props) => ((0, jsx_runtime_1.jsx)("svg", Object.assign({ viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props, { children: (0, jsx_runtime_1.jsx)("path", { d: "M2 8.49333H9.55556M2 8.49333L2 4C2 3.4 2.35556 3 2.88889 3H9.55556M2 8.49333V15.5M22 8.49333H9.55556M22 8.49333V20C22 20.6 21.6444 21 21.1111 21H9.55556M22 8.49333V4C22 3.4 21.6444 3 21.1111 3H9.55556M9.55556 8.49333V3M10 13H5.85185M10 13V17.1481M10 13L2 21", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }) })));
|
|
28
|
+
/** @deprecated Use `FloppyDiskArrowTopRightIcon` instead. */
|
|
28
29
|
const SvgOpenQueryTab = (0, wrapIcon_1.wrapIcon)(SvgOpenQueryTabBase);
|
|
29
30
|
exports.default = SvgOpenQueryTab;
|
|
30
31
|
//# sourceMappingURL=OpenQueryTab.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenQueryTab.js","sourceRoot":"","sources":["../../../../../src/icons/generated/custom/OpenQueryTab.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,uCAAuC;AACvC,wBAAwB;AACxB,6CAA0C;AAE1C,MAAM,mBAAmB,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CAC9D,8CACE,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,IAC9B,KAAK,cAET,iCACE,CAAC,EAAC,mQAAmQ,EACrQ,MAAM,EAAC,cAAc,EACrB,WAAW,EAAE,GAAG,EAChB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,IACE,CACP,CAAC;AACF,MAAM,eAAe,GAAG,IAAA,mBAAQ,EAAC,mBAAmB,CAAC,CAAC;AACtD,kBAAe,eAAe,CAAC","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 SvgOpenQueryTabBase = (props: SVGProps<SVGSVGElement>) => (\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M2 8.49333H9.55556M2 8.49333L2 4C2 3.4 2.35556 3 2.88889 3H9.55556M2 8.49333V15.5M22 8.49333H9.55556M22 8.49333V20C22 20.6 21.6444 21 21.1111 21H9.55556M22 8.49333V4C22 3.4 21.6444 3 21.1111 3H9.55556M9.55556 8.49333V3M10 13H5.85185M10 13V17.1481M10 13L2 21\"\n stroke=\"currentColor\"\n strokeWidth={1.5}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n);\nconst SvgOpenQueryTab = wrapIcon(SvgOpenQueryTabBase);\nexport default SvgOpenQueryTab;\n"]}
|
|
1
|
+
{"version":3,"file":"OpenQueryTab.js","sourceRoot":"","sources":["../../../../../src/icons/generated/custom/OpenQueryTab.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,uCAAuC;AACvC,wBAAwB;AACxB,6CAA0C;AAE1C,MAAM,mBAAmB,GAAG,CAAC,KAA8B,EAAE,EAAE,CAAC,CAC9D,8CACE,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B,IAC9B,KAAK,cAET,iCACE,CAAC,EAAC,mQAAmQ,EACrQ,MAAM,EAAC,cAAc,EACrB,WAAW,EAAE,GAAG,EAChB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,IACE,CACP,CAAC;AACF,6DAA6D;AAC7D,MAAM,eAAe,GAAG,IAAA,mBAAQ,EAAC,mBAAmB,CAAC,CAAC;AACtD,kBAAe,eAAe,CAAC","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 SvgOpenQueryTabBase = (props: SVGProps<SVGSVGElement>) => (\n <svg\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n >\n <path\n d=\"M2 8.49333H9.55556M2 8.49333L2 4C2 3.4 2.35556 3 2.88889 3H9.55556M2 8.49333V15.5M22 8.49333H9.55556M22 8.49333V20C22 20.6 21.6444 21 21.1111 21H9.55556M22 8.49333V4C22 3.4 21.6444 3 21.1111 3H9.55556M9.55556 8.49333V3M10 13H5.85185M10 13V17.1481M10 13L2 21\"\n stroke=\"currentColor\"\n strokeWidth={1.5}\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n />\n </svg>\n);\n/** @deprecated Use `FloppyDiskArrowTopRightIcon` instead. */\nconst SvgOpenQueryTab = wrapIcon(SvgOpenQueryTabBase);\nexport default SvgOpenQueryTab;\n"]}
|
|
@@ -23,9 +23,9 @@ 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.
|
|
27
|
-
exports.
|
|
28
|
-
exports.VisualizeBloomIcon = exports.VerticalBarIcon = exports.UserShieldIcon = exports.UnderlineIcon = exports.TriangleIcon = exports.ThreePanelIcon = exports.TextIcon = exports.TextFormatIcon = exports.SquareIcon = exports.SquareDashIcon = exports.SingleValueIcon = void 0;
|
|
26
|
+
exports.HierarchyOneIcon = exports.HeartbeatIcon = exports.HeadsetIcon = exports.HandIcon = exports.GraphCrossIcon = exports.GraphBuilderIcon = exports.GlobePinIcon = exports.GithubIcon = exports.FunnelNavigateIcon = exports.FontSizeIcon = exports.FolderBookmarkIcon = exports.FloppyDiskIcon = exports.FloppyDiskArrowTopRightIcon = exports.FitToScreenIcon = exports.ExternalLinkIcon = exports.ExploreIcon = exports.ExpandIcon = exports.ExpandLayersIcon = exports.DragIcon = exports.DocumentRefreshIcon = exports.DocumentIntelligenceIcon = exports.DividerSquareDashIcon = exports.DesktopSaveIcon = exports.DeploymentsIcon = exports.DatabaseSignalIcon = exports.DatabaseRoleIcon = exports.DatabasePlusIcon = exports.DatabasePlugIcon = exports.DatabaseCrossIcon = exports.DatabaseCheckIcon = exports.DataScienceIcon = exports.DataGridCrossIcon = exports.CurlyBracketsIcon = exports.ConfigureIcon = exports.CollapseLayersIcon = exports.CloudCrossIcon = exports.CloudCheckIcon = exports.CircleIcon = exports.ChipIcon = exports.CellDoubleClickIcon = exports.CellClickIcon = exports.BooleanIcon = exports.BoldIcon = exports.ArrowSendIcon = exports.AppearanceIcon = exports.AppGalleryIcon = exports.AlignTopIcon = exports.AlignCenterIcon = exports.AlignBottomIcon = exports.AddNodeIcon = void 0;
|
|
27
|
+
exports.SelectIcon = exports.ScatterPlotIcon = exports.RotateIcon = exports.RhombusIcon = exports.ResizeCornerIcon = exports.RelationshipClickIcon = exports.RelationshipAddIcon = exports.QuoteIcon = exports.QueryIcon = exports.QueryStreamIcon = exports.PresentationIcon = exports.PlanViewIcon = exports.PinIcon = exports.PencilSparkleIcon = exports.PanelRightIcon = exports.PanelRightExpandedIcon = exports.PanelRightCollapsedIcon = exports.PanelLeftIcon = exports.PanelLeftExpandedIcon = exports.PanelLeftExpandIcon = exports.PanelLeftCollapsedIcon = exports.PanelLeftCollapseIcon = exports.PanelBottomIcon = exports.OpenQueryTabIcon = exports.NomLevelIcon = exports.NodeClickIcon = exports.NodeAddIcon = exports.Neo4JLogoWhiteIcon = exports.Neo4JLogoColorIcon = exports.Neo4JLogoBlackIcon = exports.Neo4JIconWhiteIcon = exports.Neo4JIconColorIcon = exports.Neo4JIconBlackIcon = exports.Neo4JAiNeutralIcon = exports.MenuArrowRightIcon = exports.MenuArrowLeftIcon = exports.MemoryCardIcon = exports.MarkdownIcon = exports.MagnifyingGlassResetIcon = exports.LocationTargetIcon = exports.ListNumberIcon = exports.ListCheckIcon = exports.LayoutThreeSectionsIcon = exports.LayoutRightIcon = exports.LayoutLeftIcon = exports.LayoutBottomIcon = exports.LassoIcon = exports.ItalicIcon = exports.HorizontalBarIcon = exports.HierarchyTwoIcon = void 0;
|
|
28
|
+
exports.VisualizeBloomIcon = exports.VerticalBarIcon = exports.UserShieldIcon = exports.UnderlineIcon = exports.TriangleIcon = exports.ThreePanelIcon = exports.TextIcon = exports.TextFormatIcon = exports.SquareIcon = exports.SquareDashIcon = exports.SingleValueIcon = exports.ShrinkIcon = void 0;
|
|
29
29
|
// THIS FILE IS GENERATED BY BUILD TOOL
|
|
30
30
|
// DO NOT EDIT IT MANUAL
|
|
31
31
|
var AddNode_1 = require("./AddNode");
|
|
@@ -102,6 +102,8 @@ var ExternalLink_1 = require("./ExternalLink");
|
|
|
102
102
|
Object.defineProperty(exports, "ExternalLinkIcon", { enumerable: true, get: function () { return __importDefault(ExternalLink_1).default; } });
|
|
103
103
|
var FitToScreen_1 = require("./FitToScreen");
|
|
104
104
|
Object.defineProperty(exports, "FitToScreenIcon", { enumerable: true, get: function () { return __importDefault(FitToScreen_1).default; } });
|
|
105
|
+
var FloppyDiskArrowTopRight_1 = require("./FloppyDiskArrowTopRight");
|
|
106
|
+
Object.defineProperty(exports, "FloppyDiskArrowTopRightIcon", { enumerable: true, get: function () { return __importDefault(FloppyDiskArrowTopRight_1).default; } });
|
|
105
107
|
var FloppyDisk_1 = require("./FloppyDisk");
|
|
106
108
|
Object.defineProperty(exports, "FloppyDiskIcon", { enumerable: true, get: function () { return __importDefault(FloppyDisk_1).default; } });
|
|
107
109
|
var FolderBookmark_1 = require("./FolderBookmark");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version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AAO,OAAkB;AAClC,iDAA+D;AAAtD,mIAAA,OAAO,OAAqB;AACrC,6BAA2C;AAAlC,+GAAA,OAAO,OAAW;AAC3B,uCAAqD;AAA5C,yHAAA,OAAO,OAAgB;AAChC,+CAA6D;AAApD,iIAAA,OAAO,OAAoB;AACpC,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,iCAA+C;AAAtC,mHAAA,OAAO,OAAa;AAC7B,iCAA+C;AAAtC,mHAAA,OAAO,OAAa;AAC7B,qDAAmE;AAA1D,uIAAA,OAAO,OAAuB;AACvC,yDAAuE;AAA9D,2IAAA,OAAO,OAAyB;AACzC,+CAA6D;AAApD,iIAAA,OAAO,OAAoB;AACpC,qCAAmD;AAA1C,uHAAA,OAAO,OAAe;AAC/B,mCAAiD;AAAxC,qHAAA,OAAO,OAAc;AAC9B,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,mCAAiD;AAAxC,qHAAA,OAAO,OAAc;AAC9B,mCAAiD;AAAxC,qHAAA,OAAO,OAAc;AAC9B,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,mCAAiD;AAAxC,qHAAA,OAAO,OAAc;AAC9B,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,+BAA6C;AAApC,iHAAA,OAAO,OAAY;AAC5B,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,uCAAqD;AAA5C,yHAAA,OAAO,OAAgB;AAChC,yCAAuD;AAA9C,2HAAA,OAAO,OAAiB;AACjC,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB","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\nexport { default as AddNodeIcon } from './AddNode';\nexport { default as AlignBottomIcon } from './AlignBottom';\nexport { default as AlignCenterIcon } from './AlignCenter';\nexport { default as AlignTopIcon } from './AlignTop';\nexport { default as AppGalleryIcon } from './AppGallery';\nexport { default as AppearanceIcon } from './Appearance';\nexport { default as ArrowSendIcon } from './ArrowSend';\nexport { default as BoldIcon } from './Bold';\nexport { default as BooleanIcon } from './Boolean';\nexport { default as CellClickIcon } from './CellClick';\nexport { default as CellDoubleClickIcon } from './CellDoubleClick';\nexport { default as ChipIcon } from './Chip';\nexport { default as CircleIcon } from './Circle';\nexport { default as CloudCheckIcon } from './CloudCheck';\nexport { default as CloudCrossIcon } from './CloudCross';\nexport { default as CollapseLayersIcon } from './CollapseLayers';\nexport { default as ConfigureIcon } from './Configure';\nexport { default as CurlyBracketsIcon } from './CurlyBrackets';\nexport { default as DataGridCrossIcon } from './DataGridCross';\nexport { default as DataScienceIcon } from './DataScience';\nexport { default as DatabaseCheckIcon } from './DatabaseCheck';\nexport { default as DatabaseCrossIcon } from './DatabaseCross';\nexport { default as DatabasePlugIcon } from './DatabasePlug';\nexport { default as DatabasePlusIcon } from './DatabasePlus';\nexport { default as DatabaseRoleIcon } from './DatabaseRole';\nexport { default as DatabaseSignalIcon } from './DatabaseSignal';\nexport { default as DeploymentsIcon } from './Deployments';\nexport { default as DesktopSaveIcon } from './DesktopSave';\nexport { default as DividerSquareDashIcon } from './DividerSquareDash';\nexport { default as DocumentIntelligenceIcon } from './DocumentIntelligence';\nexport { default as DocumentRefreshIcon } from './DocumentRefresh';\nexport { default as DragIcon } from './Drag';\nexport { default as ExpandLayersIcon } from './ExpandLayers';\nexport { default as ExpandIcon } from './Expand';\nexport { default as ExploreIcon } from './Explore';\nexport { default as ExternalLinkIcon } from './ExternalLink';\nexport { default as FitToScreenIcon } from './FitToScreen';\nexport { default as FloppyDiskIcon } from './FloppyDisk';\nexport { default as FolderBookmarkIcon } from './FolderBookmark';\nexport { default as FontSizeIcon } from './FontSize';\nexport { default as FunnelNavigateIcon } from './FunnelNavigate';\nexport { default as GithubIcon } from './Github';\nexport { default as GlobePinIcon } from './GlobePin';\nexport { default as GraphBuilderIcon } from './GraphBuilder';\nexport { default as GraphCrossIcon } from './GraphCross';\nexport { default as HandIcon } from './Hand';\nexport { default as HeadsetIcon } from './Headset';\nexport { default as HeartbeatIcon } from './Heartbeat';\nexport { default as HierarchyOneIcon } from './HierarchyOne';\nexport { default as HierarchyTwoIcon } from './HierarchyTwo';\nexport { default as HorizontalBarIcon } from './HorizontalBar';\nexport { default as ItalicIcon } from './Italic';\nexport { default as LassoIcon } from './Lasso';\nexport { default as LayoutBottomIcon } from './LayoutBottom';\nexport { default as LayoutLeftIcon } from './LayoutLeft';\nexport { default as LayoutRightIcon } from './LayoutRight';\nexport { default as LayoutThreeSectionsIcon } from './LayoutThreeSections';\nexport { default as ListCheckIcon } from './ListCheck';\nexport { default as ListNumberIcon } from './ListNumber';\nexport { default as LocationTargetIcon } from './LocationTarget';\nexport { default as MagnifyingGlassResetIcon } from './MagnifyingGlassReset';\nexport { default as MarkdownIcon } from './Markdown';\nexport { default as MemoryCardIcon } from './MemoryCard';\nexport { default as MenuArrowLeftIcon } from './MenuArrowLeft';\nexport { default as MenuArrowRightIcon } from './MenuArrowRight';\nexport { default as Neo4JAiNeutralIcon } from './Neo4JAiNeutral';\nexport { default as Neo4JIconBlackIcon } from './Neo4JIconBlack';\nexport { default as Neo4JIconColorIcon } from './Neo4JIconColor';\nexport { default as Neo4JIconWhiteIcon } from './Neo4JIconWhite';\nexport { default as Neo4JLogoBlackIcon } from './Neo4JLogoBlack';\nexport { default as Neo4JLogoColorIcon } from './Neo4JLogoColor';\nexport { default as Neo4JLogoWhiteIcon } from './Neo4JLogoWhite';\nexport { default as NodeAddIcon } from './NodeAdd';\nexport { default as NodeClickIcon } from './NodeClick';\nexport { default as NomLevelIcon } from './NomLevel';\nexport { default as OpenQueryTabIcon } from './OpenQueryTab';\nexport { default as PanelBottomIcon } from './PanelBottom';\nexport { default as PanelLeftCollapseIcon } from './PanelLeftCollapse';\nexport { default as PanelLeftCollapsedIcon } from './PanelLeftCollapsed';\nexport { default as PanelLeftExpandIcon } from './PanelLeftExpand';\nexport { default as PanelLeftExpandedIcon } from './PanelLeftExpanded';\nexport { default as PanelLeftIcon } from './PanelLeft';\nexport { default as PanelRightCollapsedIcon } from './PanelRightCollapsed';\nexport { default as PanelRightExpandedIcon } from './PanelRightExpanded';\nexport { default as PanelRightIcon } from './PanelRight';\nexport { default as PencilSparkleIcon } from './PencilSparkle';\nexport { default as PinIcon } from './Pin';\nexport { default as PlanViewIcon } from './PlanView';\nexport { default as PresentationIcon } from './Presentation';\nexport { default as QueryStreamIcon } from './QueryStream';\nexport { default as QueryIcon } from './Query';\nexport { default as QuoteIcon } from './Quote';\nexport { default as RelationshipAddIcon } from './RelationshipAdd';\nexport { default as RelationshipClickIcon } from './RelationshipClick';\nexport { default as ResizeCornerIcon } from './ResizeCorner';\nexport { default as RhombusIcon } from './Rhombus';\nexport { default as RotateIcon } from './Rotate';\nexport { default as ScatterPlotIcon } from './ScatterPlot';\nexport { default as SelectIcon } from './Select';\nexport { default as ShrinkIcon } from './Shrink';\nexport { default as SingleValueIcon } from './SingleValue';\nexport { default as SquareDashIcon } from './SquareDash';\nexport { default as SquareIcon } from './Square';\nexport { default as TextFormatIcon } from './TextFormat';\nexport { default as TextIcon } from './Text';\nexport { default as ThreePanelIcon } from './ThreePanel';\nexport { default as TriangleIcon } from './Triangle';\nexport { default as UnderlineIcon } from './Underline';\nexport { default as UserShieldIcon } from './UserShield';\nexport { default as VerticalBarIcon } from './VerticalBar';\nexport { default as VisualizeBloomIcon } from './VisualizeBloom';\n"]}
|
|
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,uCAAqD;AAA5C,yHAAA,OAAO,OAAgB;AAChC,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,yCAAuD;AAA9C,2HAAA,OAAO,OAAiB;AACjC,+BAA6C;AAApC,iHAAA,OAAO,OAAY;AAC5B,qCAAmD;AAA1C,uHAAA,OAAO,OAAe;AAC/B,yCAAuD;AAA9C,2HAAA,OAAO,OAAiB;AACjC,qDAAmE;AAA1D,uIAAA,OAAO,OAAuB;AACvC,+BAA6C;AAApC,iHAAA,OAAO,OAAY;AAC5B,mCAAiD;AAAxC,qHAAA,OAAO,OAAc;AAC9B,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB;AACtC,yCAAuD;AAA9C,2HAAA,OAAO,OAAiB;AACjC,iDAA+D;AAAtD,mIAAA,OAAO,OAAqB;AACrC,iDAA+D;AAAtD,mIAAA,OAAO,OAAqB;AACrC,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,iDAA+D;AAAtD,mIAAA,OAAO,OAAqB;AACrC,iDAA+D;AAAtD,mIAAA,OAAO,OAAqB;AACrC,+CAA6D;A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lD,+HAAA,OAAO,OAAmB;AACnC,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB","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\nexport { default as AddNodeIcon } from './AddNode';\nexport { default as AlignBottomIcon } from './AlignBottom';\nexport { default as AlignCenterIcon } from './AlignCenter';\nexport { default as AlignTopIcon } from './AlignTop';\nexport { default as AppGalleryIcon } from './AppGallery';\nexport { default as AppearanceIcon } from './Appearance';\nexport { default as ArrowSendIcon } from './ArrowSend';\nexport { default as BoldIcon } from './Bold';\nexport { default as BooleanIcon } from './Boolean';\nexport { default as CellClickIcon } from './CellClick';\nexport { default as CellDoubleClickIcon } from './CellDoubleClick';\nexport { default as ChipIcon } from './Chip';\nexport { default as CircleIcon } from './Circle';\nexport { default as CloudCheckIcon } from './CloudCheck';\nexport { default as CloudCrossIcon } from './CloudCross';\nexport { default as CollapseLayersIcon } from './CollapseLayers';\nexport { default as ConfigureIcon } from './Configure';\nexport { default as CurlyBracketsIcon } from './CurlyBrackets';\nexport { default as DataGridCrossIcon } from './DataGridCross';\nexport { default as DataScienceIcon } from './DataScience';\nexport { default as DatabaseCheckIcon } from './DatabaseCheck';\nexport { default as DatabaseCrossIcon } from './DatabaseCross';\nexport { default as DatabasePlugIcon } from './DatabasePlug';\nexport { default as DatabasePlusIcon } from './DatabasePlus';\nexport { default as DatabaseRoleIcon } from './DatabaseRole';\nexport { default as DatabaseSignalIcon } from './DatabaseSignal';\nexport { default as DeploymentsIcon } from './Deployments';\nexport { default as DesktopSaveIcon } from './DesktopSave';\nexport { default as DividerSquareDashIcon } from './DividerSquareDash';\nexport { default as DocumentIntelligenceIcon } from './DocumentIntelligence';\nexport { default as DocumentRefreshIcon } from './DocumentRefresh';\nexport { default as DragIcon } from './Drag';\nexport { default as ExpandLayersIcon } from './ExpandLayers';\nexport { default as ExpandIcon } from './Expand';\nexport { default as ExploreIcon } from './Explore';\nexport { default as ExternalLinkIcon } from './ExternalLink';\nexport { default as FitToScreenIcon } from './FitToScreen';\nexport { default as FloppyDiskArrowTopRightIcon } from './FloppyDiskArrowTopRight';\nexport { default as FloppyDiskIcon } from './FloppyDisk';\nexport { default as FolderBookmarkIcon } from './FolderBookmark';\nexport { default as FontSizeIcon } from './FontSize';\nexport { default as FunnelNavigateIcon } from './FunnelNavigate';\nexport { default as GithubIcon } from './Github';\nexport { default as GlobePinIcon } from './GlobePin';\nexport { default as GraphBuilderIcon } from './GraphBuilder';\nexport { default as GraphCrossIcon } from './GraphCross';\nexport { default as HandIcon } from './Hand';\nexport { default as HeadsetIcon } from './Headset';\nexport { default as HeartbeatIcon } from './Heartbeat';\nexport { default as HierarchyOneIcon } from './HierarchyOne';\nexport { default as HierarchyTwoIcon } from './HierarchyTwo';\nexport { default as HorizontalBarIcon } from './HorizontalBar';\nexport { default as ItalicIcon } from './Italic';\nexport { default as LassoIcon } from './Lasso';\nexport { default as LayoutBottomIcon } from './LayoutBottom';\nexport { default as LayoutLeftIcon } from './LayoutLeft';\nexport { default as LayoutRightIcon } from './LayoutRight';\nexport { default as LayoutThreeSectionsIcon } from './LayoutThreeSections';\nexport { default as ListCheckIcon } from './ListCheck';\nexport { default as ListNumberIcon } from './ListNumber';\nexport { default as LocationTargetIcon } from './LocationTarget';\nexport { default as MagnifyingGlassResetIcon } from './MagnifyingGlassReset';\nexport { default as MarkdownIcon } from './Markdown';\nexport { default as MemoryCardIcon } from './MemoryCard';\nexport { default as MenuArrowLeftIcon } from './MenuArrowLeft';\nexport { default as MenuArrowRightIcon } from './MenuArrowRight';\nexport { default as Neo4JAiNeutralIcon } from './Neo4JAiNeutral';\nexport { default as Neo4JIconBlackIcon } from './Neo4JIconBlack';\nexport { default as Neo4JIconColorIcon } from './Neo4JIconColor';\nexport { default as Neo4JIconWhiteIcon } from './Neo4JIconWhite';\nexport { default as Neo4JLogoBlackIcon } from './Neo4JLogoBlack';\nexport { default as Neo4JLogoColorIcon } from './Neo4JLogoColor';\nexport { default as Neo4JLogoWhiteIcon } from './Neo4JLogoWhite';\nexport { default as NodeAddIcon } from './NodeAdd';\nexport { default as NodeClickIcon } from './NodeClick';\nexport { default as NomLevelIcon } from './NomLevel';\nexport { default as OpenQueryTabIcon } from './OpenQueryTab';\nexport { default as PanelBottomIcon } from './PanelBottom';\nexport { default as PanelLeftCollapseIcon } from './PanelLeftCollapse';\nexport { default as PanelLeftCollapsedIcon } from './PanelLeftCollapsed';\nexport { default as PanelLeftExpandIcon } from './PanelLeftExpand';\nexport { default as PanelLeftExpandedIcon } from './PanelLeftExpanded';\nexport { default as PanelLeftIcon } from './PanelLeft';\nexport { default as PanelRightCollapsedIcon } from './PanelRightCollapsed';\nexport { default as PanelRightExpandedIcon } from './PanelRightExpanded';\nexport { default as PanelRightIcon } from './PanelRight';\nexport { default as PencilSparkleIcon } from './PencilSparkle';\nexport { default as PinIcon } from './Pin';\nexport { default as PlanViewIcon } from './PlanView';\nexport { default as PresentationIcon } from './Presentation';\nexport { default as QueryStreamIcon } from './QueryStream';\nexport { default as QueryIcon } from './Query';\nexport { default as QuoteIcon } from './Quote';\nexport { default as RelationshipAddIcon } from './RelationshipAdd';\nexport { default as RelationshipClickIcon } from './RelationshipClick';\nexport { default as ResizeCornerIcon } from './ResizeCorner';\nexport { default as RhombusIcon } from './Rhombus';\nexport { default as RotateIcon } from './Rotate';\nexport { default as ScatterPlotIcon } from './ScatterPlot';\nexport { default as SelectIcon } from './Select';\nexport { default as ShrinkIcon } from './Shrink';\nexport { default as SingleValueIcon } from './SingleValue';\nexport { default as SquareDashIcon } from './SquareDash';\nexport { default as SquareIcon } from './Square';\nexport { default as TextFormatIcon } from './TextFormat';\nexport { default as TextIcon } from './Text';\nexport { default as ThreePanelIcon } from './ThreePanel';\nexport { default as TriangleIcon } from './Triangle';\nexport { default as UnderlineIcon } from './Underline';\nexport { default as UserShieldIcon } from './UserShield';\nexport { default as VerticalBarIcon } from './VerticalBar';\nexport { default as VisualizeBloomIcon } from './VisualizeBloom';\n"]}
|
|
@@ -177,6 +177,10 @@ const Root = (_a) => {
|
|
|
177
177
|
const treeRef = (0, react_2.useRef)(null);
|
|
178
178
|
const mergedRef = (0, react_1.useMergeRefs)([treeRef, ref]);
|
|
179
179
|
const [announcement, setAnnouncement] = (0, react_2.useState)('');
|
|
180
|
+
// While focus is inside the tree the root drops out of the tab order so
|
|
181
|
+
// that Shift+Tab moves focus out of the tree instead of landing on the
|
|
182
|
+
// root, which would delegate focus straight back to the item (a trap).
|
|
183
|
+
const [isFocusWithin, setIsFocusWithin] = (0, react_2.useState)(false);
|
|
180
184
|
const anchorRef = (0, react_2.useRef)(null);
|
|
181
185
|
const entriesRef = (0, react_2.useRef)(new Map());
|
|
182
186
|
const isRootManaged = selectedIdsProp !== undefined || defaultSelectedIds !== undefined;
|
|
@@ -496,6 +500,7 @@ const Root = (_a) => {
|
|
|
496
500
|
if (!root) {
|
|
497
501
|
return;
|
|
498
502
|
}
|
|
503
|
+
setIsFocusWithin(true);
|
|
499
504
|
if (event.target === root) {
|
|
500
505
|
const items = getVisibleTreeItems(root);
|
|
501
506
|
const { focusedId } = store.getState();
|
|
@@ -509,6 +514,16 @@ const Root = (_a) => {
|
|
|
509
514
|
}
|
|
510
515
|
}
|
|
511
516
|
}, [setFocusedId, store]);
|
|
517
|
+
const handleBlur = (0, react_2.useCallback)((event) => {
|
|
518
|
+
const root = treeRef.current;
|
|
519
|
+
if (!root) {
|
|
520
|
+
return;
|
|
521
|
+
}
|
|
522
|
+
if (!(event.relatedTarget instanceof Node) ||
|
|
523
|
+
!root.contains(event.relatedTarget)) {
|
|
524
|
+
setIsFocusWithin(false);
|
|
525
|
+
}
|
|
526
|
+
}, []);
|
|
512
527
|
const classes = (0, classnames_1.default)(className, 'ndl-tree-view-new', {
|
|
513
528
|
'ndl-tree-view-new--checkbox': selectionMode === 'multiple',
|
|
514
529
|
});
|
|
@@ -537,7 +552,7 @@ const Root = (_a) => {
|
|
|
537
552
|
]);
|
|
538
553
|
return ((0, jsx_runtime_1.jsxs)(TreeViewContext.Provider, { value: contextValue, children: [(0, jsx_runtime_1.jsx)("div", Object.assign({ ref: mergedRef, role: "tree", "aria-multiselectable": selectionMode === 'multiple' || selectionMode === 'multiple-replace'
|
|
539
554
|
? true
|
|
540
|
-
: undefined, tabIndex: 0, className: classes, onKeyDown: handleKeyDown, onFocus: handleFocus, "aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : undefined, "aria-labelledby": ariaLabelledby, style: style }, htmlAttributes, restProps, { children: annotatedChildren })), (0, jsx_runtime_1.jsx)("div", { role: "status", "aria-live": "polite", "aria-atomic": "true", className: "ndl-tree-view-new-live-region", children: announcement })] }));
|
|
555
|
+
: undefined, tabIndex: isFocusWithin ? -1 : 0, className: classes, onKeyDown: handleKeyDown, onFocus: handleFocus, onBlur: handleBlur, "aria-label": ariaLabel !== null && ariaLabel !== void 0 ? ariaLabel : undefined, "aria-labelledby": ariaLabelledby, style: style }, htmlAttributes, restProps, { children: annotatedChildren })), (0, jsx_runtime_1.jsx)("div", { role: "status", "aria-live": "polite", "aria-atomic": "true", className: "ndl-tree-view-new-live-region", children: announcement })] }));
|
|
541
556
|
};
|
|
542
557
|
/**
|
|
543
558
|
* A single item within a `TreeView`. Renders a `role="treeitem"` element that
|