@neo4j-ndl/react 5.3.0 → 5.3.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.
- package/lib/LICENSES.txt +3 -3
- package/lib/cjs/ai/presence/stories/ai-presence-thinking.story.js +0 -1
- package/lib/cjs/ai/presence/stories/ai-presence-thinking.story.js.map +1 -1
- package/lib/cjs/checkbox/stories/checkbox-fluid.story.js +30 -0
- package/lib/cjs/checkbox/stories/checkbox-fluid.story.js.map +1 -0
- package/lib/cjs/checkbox/stories/index.js +5 -1
- package/lib/cjs/checkbox/stories/index.js.map +1 -1
- package/lib/cjs/code/Code.js +2 -1
- package/lib/cjs/code/Code.js.map +1 -1
- package/lib/cjs/data-grid/data-grid-nav/keys.js +0 -1
- package/lib/cjs/data-grid/data-grid-nav/keys.js.map +1 -1
- package/lib/cjs/index.js +3 -4
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/loading-bar/LoadingBar.js +2 -2
- package/lib/cjs/loading-bar/LoadingBar.js.map +1 -1
- package/lib/cjs/loading-spinner/LoadingSpinner.js +2 -2
- package/lib/cjs/loading-spinner/LoadingSpinner.js.map +1 -1
- package/lib/cjs/progress-bar/ProgressBar.js +1 -1
- package/lib/cjs/progress-bar/ProgressBar.js.map +1 -1
- package/lib/cjs/tag-base/TagBase.js +8 -8
- package/lib/cjs/tag-base/TagBase.js.map +1 -1
- package/lib/esm/ai/presence/stories/ai-presence-thinking.story.js +0 -1
- package/lib/esm/ai/presence/stories/ai-presence-thinking.story.js.map +1 -1
- package/lib/esm/checkbox/stories/checkbox-fluid.story.js +28 -0
- package/lib/esm/checkbox/stories/checkbox-fluid.story.js.map +1 -0
- package/lib/esm/checkbox/stories/index.js +3 -0
- package/lib/esm/checkbox/stories/index.js.map +1 -1
- package/lib/esm/code/Code.js +2 -1
- package/lib/esm/code/Code.js.map +1 -1
- package/lib/esm/data-grid/data-grid-nav/keys.js +0 -1
- package/lib/esm/data-grid/data-grid-nav/keys.js.map +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/loading-bar/LoadingBar.js +2 -2
- package/lib/esm/loading-bar/LoadingBar.js.map +1 -1
- package/lib/esm/loading-spinner/LoadingSpinner.js +2 -2
- package/lib/esm/loading-spinner/LoadingSpinner.js.map +1 -1
- package/lib/esm/progress-bar/ProgressBar.js +1 -1
- package/lib/esm/progress-bar/ProgressBar.js.map +1 -1
- package/lib/esm/tag-base/TagBase.js +8 -8
- package/lib/esm/tag-base/TagBase.js.map +1 -1
- package/lib/types/ai/presence/stories/ai-presence-thinking.story.d.ts.map +1 -1
- package/lib/types/checkbox/stories/checkbox-fluid.story.d.ts +24 -0
- package/lib/types/checkbox/stories/checkbox-fluid.story.d.ts.map +1 -0
- package/lib/types/checkbox/stories/index.d.ts +2 -0
- package/lib/types/checkbox/stories/index.d.ts.map +1 -1
- package/lib/types/code/Code.d.ts.map +1 -1
- package/lib/types/data-grid/data-grid-nav/keys.d.ts +0 -1
- package/lib/types/data-grid/data-grid-nav/keys.d.ts.map +1 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/loading-bar/LoadingBar.d.ts +4 -1
- package/lib/types/loading-bar/LoadingBar.d.ts.map +1 -1
- package/lib/types/loading-spinner/LoadingSpinner.d.ts +8 -1
- package/lib/types/loading-spinner/LoadingSpinner.d.ts.map +1 -1
- package/lib/types/progress-bar/ProgressBar.d.ts.map +1 -1
- package/package.json +6 -8
- package/skills/ndl-react/SKILL.md +20 -21
- package/skills/ndl-react/components/ai/presence.md +0 -1
- package/skills/ndl-react/components/loading-bar.md +18 -1
- package/skills/ndl-react/components/loading-spinner.md +12 -2
- package/skills/ndl-react/references/styling.md +9 -8
package/lib/esm/code/Code.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Code.js","sourceRoot":"","sources":["../../../src/code/Code.tsx"],"names":[],"mappings":";;;;;;;;;;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IAAI,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAClB,MAAC,OAAO,IAAC,IAAI,EAAC,QAAQ,aACpB,KAAC,OAAO,CAAC,OAAO,IAAC,gBAAgB,EAAE,SAAS,KAAK,QAAQ,YACtD,QAAQ,GACO,EAClB,KAAC,OAAO,CAAC,OAAO,cAAE,WAAW,GAAmB,IACxC,CACX,YAED,KAAC,SAAS,kBACR,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,WAAW,EACpB,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,mBAC5B,CAAC,QAAQ,IAAI,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EACzD,GAAG,EAAE,GAAG,IACJ,SAAS,EACT,cAAc,cAElB,yBAAO,QAAQ,GAAQ,IACb,GACI,CACnB,CAAC;AACJ,CAAC,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\nimport classNames from 'classnames';\n\nimport { type PolymorphicCommonProps } from '../_common/types';\nimport { ConditionalWrap } from '../conditional-wrap';\nimport { Tooltip } from '../tooltip';\n\ntype CodeProps = {\n /** The content of the code */\n children?: React.ReactNode;\n /** Whether the code is disabled */\n isDisabled?: boolean;\n /** Whether the code is runnable */\n isRunnable?: boolean;\n /** The description of the code, will be displayed in a tooltip */\n description?: string;\n /** The callback function triggered when the inline code is clicked */\n onClick?: (\n event:\n | React.MouseEvent<HTMLElement, MouseEvent>\n | React.KeyboardEvent<HTMLElement>,\n ) => void;\n};\n\nexport const Code = <T extends React.ElementType = 'button'>({\n children,\n className,\n isDisabled = false,\n style,\n isRunnable = false,\n description,\n onClick,\n as,\n ref,\n htmlAttributes,\n ...restProps\n}: PolymorphicCommonProps<T, CodeProps>) => {\n const Component: React.ElementType = as ?? (onClick ? 'button' : 'span');\n\n const isButton = Component === 'button';\n\n const classes = classNames(\n 'ndl-code',\n {\n 'ndl-disabled': isDisabled,\n 'ndl-runnable': isRunnable,\n },\n className,\n );\n\n const handleClick = (event: React.MouseEvent<HTMLElement, MouseEvent>) => {\n if (isDisabled) {\n event.preventDefault();\n return;\n }\n\n onClick?.(event);\n };\n\n return (\n <ConditionalWrap\n shouldWrap={Boolean(description) === true}\n wrap={(children) => (\n <Tooltip type=\"simple\">\n <Tooltip.Trigger hasButtonWrapper={Component === 'button'}>\n {children}\n </Tooltip.Trigger>\n <Tooltip.Content>{description}</Tooltip.Content>\n </Tooltip>\n )}\n >\n <Component\n className={classes}\n style={style}\n onClick={handleClick}\n disabled={isButton ? isDisabled : undefined}\n aria-disabled={!isButton && isDisabled ? true : undefined}\n ref={ref}\n {...restProps}\n {...htmlAttributes}\n >\n <code>{children}</code>\n </Component>\n </ConditionalWrap>\n );\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../../src/data-grid/data-grid-nav/keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAN,IAAY,
|
|
1
|
+
{"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../../src/data-grid/data-grid-nav/keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAN,IAAY,IAeX;AAfD,WAAY,IAAI;IACd,uBAAe,CAAA;IACf,yBAAiB,CAAA;IACjB,2BAAmB,CAAA;IACnB,qBAAa,CAAA;IACb,mBAAW,CAAA;IACX,gBAAgB;IAChB,yBAAiB,CAAA;IACjB,6BAAqB,CAAA;IACrB,iBAAiB;IACjB,+BAAuB,CAAA;IACvB,2BAAmB,CAAA;IACnB,iCAAyB,CAAA;IACzB,+BAAuB,CAAA;IACvB,iBAAS,CAAA;AACX,CAAC,EAfW,IAAI,KAAJ,IAAI,QAef","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 */\nexport enum Keys {\n Enter = 'Enter',\n Escape = 'Escape',\n Control = 'Control',\n Home = 'Home',\n End = 'End',\n /** Page Keys */\n PageUp = 'PageUp',\n PageDown = 'PageDown',\n /** Arrow Keys */\n ArrowLeft = 'ArrowLeft',\n ArrowUp = 'ArrowUp',\n ArrowRight = 'ArrowRight',\n ArrowDown = 'ArrowDown',\n F2 = 'F2',\n}\n"]}
|
package/lib/esm/index.js
CHANGED
|
@@ -34,7 +34,7 @@ export { Dialog } from './dialog';
|
|
|
34
34
|
export { LoadingSpinner } from './loading-spinner';
|
|
35
35
|
export { Tabs } from './tabs';
|
|
36
36
|
export { SegmentedControl } from './segmented-control';
|
|
37
|
-
export
|
|
37
|
+
export * from './popover';
|
|
38
38
|
export { ProgressBar } from './progress-bar';
|
|
39
39
|
export { Dropzone } from './dropzone';
|
|
40
40
|
export * from './data-grid';
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,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qB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,cAAc,YAAY,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\nexport { Accordion } from './accordion';\nexport { StatusLabel } from './status-label';\nexport { Banner } from './banner';\nexport { AnnouncementBanner } from './announcement-banner';\nexport { Checkbox } from './checkbox';\nexport { CheckboxGroup } from './checkbox-group';\nexport { Fieldset } from './fieldset';\nexport { Switch } from './switch';\nexport { Radio } from './radio';\nexport { RadioGroup } from './radio-group';\nexport { Menu } from './menu';\nexport { DatePicker } from './date-picker';\nexport { Dialog } from './dialog';\nexport { LoadingSpinner } from './loading-spinner';\nexport { Tabs } from './tabs';\nexport { SegmentedControl } from './segmented-control';\nexport * from './popover';\nexport { ProgressBar } from './progress-bar';\nexport { Dropzone } from './dropzone';\nexport * from './data-grid';\nexport { TextInput } from './text-input';\nexport { TextArea } from './text-area';\nexport { TextLink } from './text-link';\nexport { Select } from './select';\nexport { Tag } from './tag';\nexport * from './theme';\nexport { Wizard } from './wizard';\nexport { GraphLabel } from './graph-label';\nexport { CodeBlock } from './code-block';\nexport { StatusIndicator } from './status-indicator';\nexport { SideNavigation } from './side-navigation';\nexport { Typography } from './typography';\nexport { Drawer } from './drawer';\nexport { Breadcrumbs } from './breadcrumbs';\nexport * from './hooks';\nexport { Box } from './box';\nexport { Flex } from './flex';\nexport { Avatar } from './avatar';\nexport { Logo } from './logo';\nexport { ClipboardButton } from './clipboard-button';\nexport { Slider } from './slider';\nexport { InlineEdit } from './inline-edit';\nexport { DropdownButton } from './dropdown-button';\nexport { Divider } from './divider';\nexport * from './tree-view';\nexport { ToasterControlled, Toaster, toast, type ToastId } from './toast';\nexport { Tooltip } from './tooltip';\nexport { Skeleton } from './skeleton';\nexport { TimePicker, NeedleTime } from './time-picker';\nexport { TimeZonePicker } from './timezone-picker';\nexport {\n Spotlight,\n SpotlightProvider,\n SpotlightTarget,\n SpotlightTour,\n useSpotlightContext,\n} from './spotlight';\nexport { LoadingBar } from './loading-bar';\nexport { IconButton } from './icon-button';\nexport { CleanIconButton } from './clean-icon-button';\nexport { IconButtonArray } from './icon-button-array';\nexport { ConditionalWrap } from './conditional-wrap';\nexport { ColorPicker } from './color-picker';\nexport { OutlinedButton } from './outlined-button';\nexport { FilledButton } from './filled-button';\nexport { TextButton } from './text-button';\nexport { Code } from './code';\nexport { Kbd } from './kbd';\nexport { SelectIconButton } from './select-icon-button';\nexport { ReadOnlyTag } from './read-only-tag';\nexport { DismissibleTag } from './dismissible-tag';\nexport { SelectableTag } from './selectable-tag';\nexport { OperationalTag } from './operational-tag';\nexport * from './combobox';\n"]}
|
|
@@ -32,11 +32,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
32
32
|
*/
|
|
33
33
|
import classNames from 'classnames';
|
|
34
34
|
export const LoadingBar = (_a) => {
|
|
35
|
-
var { as, hasRail = false, className, htmlAttributes, style, ref } = _a, restProps = __rest(_a, ["as", "hasRail", "className", "htmlAttributes", "style", "ref"]);
|
|
35
|
+
var { as, hasRail = false, loadingMessage = 'Loading', className, htmlAttributes, style, ref } = _a, restProps = __rest(_a, ["as", "hasRail", "loadingMessage", "className", "htmlAttributes", "style", "ref"]);
|
|
36
36
|
const Component = as !== null && as !== void 0 ? as : 'div';
|
|
37
37
|
const classes = classNames('ndl-loading-bar', className, {
|
|
38
38
|
'ndl-loading-bar-rail': hasRail,
|
|
39
39
|
});
|
|
40
|
-
return (_jsx(Component, Object.assign({ className: classes, ref: ref, role: "status", style: style }, restProps, htmlAttributes)));
|
|
40
|
+
return (_jsx(Component, Object.assign({ className: classes, ref: ref, role: "status", style: style }, restProps, htmlAttributes, { children: _jsx("span", { className: "ndl-loading-bar-text", children: loadingMessage }) })));
|
|
41
41
|
};
|
|
42
42
|
//# sourceMappingURL=LoadingBar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingBar.js","sourceRoot":"","sources":["../../../src/loading-bar/LoadingBar.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,UAAU,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"LoadingBar.js","sourceRoot":"","sources":["../../../src/loading-bar/LoadingBar.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,UAAU,MAAM,YAAY,CAAC;AAYpC,MAAM,CAAC,MAAM,UAAU,GAAG,CAAsC,EASnB,EAAE,EAAE;QATe,EAC9D,EAAE,EACF,OAAO,GAAG,KAAK,EACf,cAAc,GAAG,SAAS,EAC1B,SAAS,EACT,cAAc,EACd,KAAK,EACL,GAAG,OAEwC,EADxC,SAAS,cARkD,kFAS/D,CADa;IAEZ,MAAM,SAAS,GAAsB,EAAE,aAAF,EAAE,cAAF,EAAE,GAAI,KAAK,CAAC;IACjD,MAAM,OAAO,GAAG,UAAU,CAAC,iBAAiB,EAAE,SAAS,EAAE;QACvD,sBAAsB,EAAE,OAAO;KAChC,CAAC,CAAC;IAEH,OAAO,CACL,KAAC,SAAS,kBACR,SAAS,EAAE,OAAO,EAClB,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,QAAQ,EACb,KAAK,EAAE,KAAK,IACR,SAAS,EACT,cAAc,cAElB,eAAM,SAAS,EAAC,sBAAsB,YAAE,cAAc,GAAQ,IACpD,CACb,CAAC;AACJ,CAAC,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 */\nimport classNames from 'classnames';\nimport type React from 'react';\n\nimport { type PolymorphicCommonProps } from '../_common/types';\n\ntype LoadingBarProps = {\n /** Visually hidden message for screen readers, for example \"Loading search results\". */\n loadingMessage?: string;\n /** Whether the loading bar has a background rail */\n hasRail?: boolean;\n};\n\nexport const LoadingBar = <T extends React.ElementType = 'div'>({\n as,\n hasRail = false,\n loadingMessage = 'Loading',\n className,\n htmlAttributes,\n style,\n ref,\n ...restProps\n}: PolymorphicCommonProps<T, LoadingBarProps>) => {\n const Component: React.ElementType = as ?? 'div';\n const classes = classNames('ndl-loading-bar', className, {\n 'ndl-loading-bar-rail': hasRail,\n });\n\n return (\n <Component\n className={classes}\n ref={ref}\n role=\"status\"\n style={style}\n {...restProps}\n {...htmlAttributes}\n >\n <span className=\"ndl-loading-bar-text\">{loadingMessage}</span>\n </Component>\n );\n};\n"]}
|
|
@@ -39,13 +39,13 @@ import classNames from 'classnames';
|
|
|
39
39
|
*
|
|
40
40
|
*/
|
|
41
41
|
export const LoadingSpinner = (_a) => {
|
|
42
|
-
var { as, size = 'small', className, htmlAttributes, ref } = _a, restProps = __rest(_a, ["as", "size", "className", "htmlAttributes", "ref"]);
|
|
42
|
+
var { as, loadingMessage = 'Loading content', size = 'small', className, htmlAttributes, ref } = _a, restProps = __rest(_a, ["as", "loadingMessage", "size", "className", "htmlAttributes", "ref"]);
|
|
43
43
|
const Component = as || 'div';
|
|
44
44
|
const classes = classNames('ndl-spin-wrapper', className, {
|
|
45
45
|
'ndl-large': size === 'large',
|
|
46
46
|
'ndl-medium': size === 'medium',
|
|
47
47
|
'ndl-small': size === 'small',
|
|
48
48
|
});
|
|
49
|
-
return (_jsx(Component, Object.assign({ className: classes, role: "status", "aria-label":
|
|
49
|
+
return (_jsx(Component, Object.assign({ className: classes, role: "status", "aria-label": loadingMessage, "aria-live": "polite", ref: ref }, restProps, htmlAttributes, { children: _jsx("div", { className: "ndl-spin" }) })));
|
|
50
50
|
};
|
|
51
51
|
//# sourceMappingURL=LoadingSpinner.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingSpinner.js","sourceRoot":"","sources":["../../../src/loading-spinner/LoadingSpinner.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,UAAU,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"LoadingSpinner.js","sourceRoot":"","sources":["../../../src/loading-spinner/LoadingSpinner.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,UAAU,MAAM,YAAY,CAAC;AAyBpC;;;;;;GAMG;AAEH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAsC,EAQnB,EAAE,EAAE;QARe,EAClE,EAAE,EACF,cAAc,GAAG,iBAAiB,EAClC,IAAI,GAAG,OAAO,EACd,SAAS,EACT,cAAc,EACd,GAAG,OAE4C,EAD5C,SAAS,cAPsD,sEAQnE,CADa;IAEZ,MAAM,SAAS,GAAsB,EAAE,IAAI,KAAK,CAAC;IACjD,MAAM,OAAO,GAAG,UAAU,CAAC,kBAAkB,EAAE,SAAS,EAAE;QACxD,WAAW,EAAE,IAAI,KAAK,OAAO;QAC7B,YAAY,EAAE,IAAI,KAAK,QAAQ;QAC/B,WAAW,EAAE,IAAI,KAAK,OAAO;KAC9B,CAAC,CAAC;IAEH,OAAO,CACL,KAAC,SAAS,kBACR,SAAS,EAAE,OAAO,EAClB,IAAI,EAAC,QAAQ,gBACD,cAAc,eAChB,QAAQ,EAClB,GAAG,EAAE,GAAG,IACJ,SAAS,EACT,cAAc,cAElB,cAAK,SAAS,EAAC,UAAU,GAAG,IAClB,CACb,CAAC;AACJ,CAAC,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 */\nimport classNames from 'classnames';\nimport type React from 'react';\n\nimport { type PolymorphicCommonProps } from '../_common/types';\n\n/**\n *\n *\n * Types\n *\n *\n */\n\ntype LoadingSpinnerProps = {\n // TODO v6: Change default text to \"Loading\" and implement as a hidden text element instead of aria-label\n /**\n * The aria label for the loading spinner. If not provided, defaults to \"Loading content\".\n */\n loadingMessage?: string;\n /**\n * The size of the loading spinner.\n */\n size?: 'small' | 'medium' | 'large';\n};\n\n/**\n *\n *\n * LoadingSpinner Component\n *\n *\n */\n\nexport const LoadingSpinner = <T extends React.ElementType = 'div'>({\n as,\n loadingMessage = 'Loading content',\n size = 'small',\n className,\n htmlAttributes,\n ref,\n ...restProps\n}: PolymorphicCommonProps<T, LoadingSpinnerProps>) => {\n const Component: React.ElementType = as || 'div';\n const classes = classNames('ndl-spin-wrapper', className, {\n 'ndl-large': size === 'large',\n 'ndl-medium': size === 'medium',\n 'ndl-small': size === 'small',\n });\n\n return (\n <Component\n className={classes}\n role=\"status\"\n aria-label={loadingMessage}\n aria-live=\"polite\"\n ref={ref}\n {...restProps}\n {...htmlAttributes}\n >\n <div className=\"ndl-spin\" />\n </Component>\n );\n};\n"]}
|
|
@@ -38,6 +38,6 @@ export const ProgressBar = (_a) => {
|
|
|
38
38
|
'ndl-small': size === 'small',
|
|
39
39
|
});
|
|
40
40
|
const Component = as !== null && as !== void 0 ? as : 'div';
|
|
41
|
-
return (_jsxs(Component, Object.assign({ className: classes, style: style, ref: ref }, restProps, htmlAttributes, { children: [heading && (_jsxs("div", { className: "ndl-header", children: [_jsx("span", { className: "ndl-heading", children: heading }), _jsx("span", { className: "ndl-progress-number", children: `${value}%` })] })),
|
|
41
|
+
return (_jsxs(Component, Object.assign({ className: classes, style: style, ref: ref }, restProps, htmlAttributes, { children: [heading && (_jsxs("div", { className: "ndl-header", children: [_jsx("span", { className: "ndl-heading", children: heading }), _jsx("span", { className: "ndl-progress-number", children: `${value}%` })] })), _jsx("div", { className: "ndl-progress-bar-wrapper-inner", children: _jsx("div", { className: "ndl-progress-bar-container", role: "progressbar", title: "progress bar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": value, children: _jsx("div", { className: "ndl-progress-bar", style: { width: `${value}%` } }) }) })] })));
|
|
42
42
|
};
|
|
43
43
|
//# sourceMappingURL=ProgressBar.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar.js","sourceRoot":"","sources":["../../../src/progress-bar/ProgressBar.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,UAAU,MAAM,YAAY,CAAC;AAqBpC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAsC,EAUnB,EAAE,EAAE;QAVe,EAC/D,EAAE,EACF,OAAO,EACP,KAAK,EACL,IAAI,GAAG,OAAO,EACd,SAAS,EACT,KAAK,EACL,cAAc,EACd,GAAG,OAEyC,EADzC,SAAS,cATmD,iFAUhE,CADa;IAEZ,MAAM,OAAO,GAAG,UAAU,CAAC,0BAA0B,EAAE,SAAS,EAAE;QAChE,WAAW,EAAE,IAAI,KAAK,OAAO;QAC7B,WAAW,EAAE,IAAI,KAAK,OAAO;KAC9B,CAAC,CAAC;IACH,MAAM,SAAS,GAAsB,EAAE,aAAF,EAAE,cAAF,EAAE,GAAI,KAAK,CAAC;IAEjD,OAAO,CACL,MAAC,SAAS,kBACR,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,GAAG,IACJ,SAAS,EACT,cAAc,eAEjB,OAAO,IAAI,CACV,eAAK,SAAS,EAAC,YAAY,aACzB,eAAM,SAAS,EAAC,aAAa,YAAE,OAAO,GAAQ,EAC9C,eAAM,SAAS,EAAC,qBAAqB,YAAE,GAAG,KAAK,GAAG,GAAQ,IACtD,CACP,EACD,
|
|
1
|
+
{"version":3,"file":"ProgressBar.js","sourceRoot":"","sources":["../../../src/progress-bar/ProgressBar.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,UAAU,MAAM,YAAY,CAAC;AAqBpC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAsC,EAUnB,EAAE,EAAE;QAVe,EAC/D,EAAE,EACF,OAAO,EACP,KAAK,EACL,IAAI,GAAG,OAAO,EACd,SAAS,EACT,KAAK,EACL,cAAc,EACd,GAAG,OAEyC,EADzC,SAAS,cATmD,iFAUhE,CADa;IAEZ,MAAM,OAAO,GAAG,UAAU,CAAC,0BAA0B,EAAE,SAAS,EAAE;QAChE,WAAW,EAAE,IAAI,KAAK,OAAO;QAC7B,WAAW,EAAE,IAAI,KAAK,OAAO;KAC9B,CAAC,CAAC;IACH,MAAM,SAAS,GAAsB,EAAE,aAAF,EAAE,cAAF,EAAE,GAAI,KAAK,CAAC;IAEjD,OAAO,CACL,MAAC,SAAS,kBACR,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,GAAG,IACJ,SAAS,EACT,cAAc,eAEjB,OAAO,IAAI,CACV,eAAK,SAAS,EAAC,YAAY,aACzB,eAAM,SAAS,EAAC,aAAa,YAAE,OAAO,GAAQ,EAC9C,eAAM,SAAS,EAAC,qBAAqB,YAAE,GAAG,KAAK,GAAG,GAAQ,IACtD,CACP,EACD,cAAK,SAAS,EAAC,gCAAgC,YAC7C,cACE,SAAS,EAAC,4BAA4B,EACtC,IAAI,EAAC,aAAa,EAClB,KAAK,EAAC,cAAc,mBACL,CAAC,mBACD,GAAG,mBACH,KAAK,YAEpB,cAAK,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,GAAG,EAAE,GAAI,GAC/D,GACF,KACI,CACb,CAAC;AACJ,CAAC,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 */\nimport classNames from 'classnames';\nimport type React from 'react';\n\nimport {\n type HtmlAttributes,\n type PolymorphicCommonProps,\n} from '../_common/types';\n\ntype ProgressBarProps = {\n /** The heading displayed above the progress bar */\n heading?: string;\n /** The current progress value, should be between 0 and 100 */\n value: number;\n /** Size of the progress bar */\n size: 'small' | 'large';\n /** Additional class names */\n className?: string;\n /** Additional HTML attributes */\n htmlAttributes?: HtmlAttributes<'div'>;\n};\n\nexport const ProgressBar = <T extends React.ElementType = 'div'>({\n as,\n heading,\n value,\n size = 'small',\n className,\n style,\n htmlAttributes,\n ref,\n ...restProps\n}: PolymorphicCommonProps<T, ProgressBarProps>) => {\n const classes = classNames('ndl-progress-bar-wrapper', className, {\n 'ndl-large': size === 'large',\n 'ndl-small': size === 'small',\n });\n const Component: React.ElementType = as ?? 'div';\n\n return (\n <Component\n className={classes}\n style={style}\n ref={ref}\n {...restProps}\n {...htmlAttributes}\n >\n {heading && (\n <div className=\"ndl-header\">\n <span className=\"ndl-heading\">{heading}</span>\n <span className=\"ndl-progress-number\">{`${value}%`}</span>\n </div>\n )}\n <div className=\"ndl-progress-bar-wrapper-inner\">\n <div\n className=\"ndl-progress-bar-container\"\n role=\"progressbar\"\n title=\"progress bar\"\n aria-valuemin={0}\n aria-valuemax={100}\n aria-valuenow={value}\n >\n <div className=\"ndl-progress-bar\" style={{ width: `${value}%` }} />\n </div>\n </div>\n </Component>\n );\n};\n"]}
|
|
@@ -45,35 +45,35 @@ export const CategoricalColors = [
|
|
|
45
45
|
export const colorMap = {
|
|
46
46
|
'1': {
|
|
47
47
|
'--tag-background-color': tokens.categorical[1],
|
|
48
|
-
'--tag-text-color':
|
|
48
|
+
'--tag-text-color': '#000',
|
|
49
49
|
},
|
|
50
50
|
'2': {
|
|
51
51
|
'--tag-background-color': tokens.categorical[2],
|
|
52
|
-
'--tag-text-color':
|
|
52
|
+
'--tag-text-color': '#fff',
|
|
53
53
|
},
|
|
54
54
|
'3': {
|
|
55
55
|
'--tag-background-color': tokens.categorical[3],
|
|
56
|
-
'--tag-text-color':
|
|
56
|
+
'--tag-text-color': '#000',
|
|
57
57
|
},
|
|
58
58
|
'4': {
|
|
59
59
|
'--tag-background-color': tokens.categorical[4],
|
|
60
|
-
'--tag-text-color':
|
|
60
|
+
'--tag-text-color': '#000',
|
|
61
61
|
},
|
|
62
62
|
'5': {
|
|
63
63
|
'--tag-background-color': tokens.categorical[5],
|
|
64
|
-
'--tag-text-color':
|
|
64
|
+
'--tag-text-color': '#000',
|
|
65
65
|
},
|
|
66
66
|
'6': {
|
|
67
67
|
'--tag-background-color': tokens.categorical[6],
|
|
68
|
-
'--tag-text-color':
|
|
68
|
+
'--tag-text-color': '#000',
|
|
69
69
|
},
|
|
70
70
|
'7': {
|
|
71
71
|
'--tag-background-color': tokens.categorical[7],
|
|
72
|
-
'--tag-text-color':
|
|
72
|
+
'--tag-text-color': '#000',
|
|
73
73
|
},
|
|
74
74
|
'8': {
|
|
75
75
|
'--tag-background-color': tokens.categorical[8],
|
|
76
|
-
'--tag-text-color':
|
|
76
|
+
'--tag-text-color': '#fff',
|
|
77
77
|
},
|
|
78
78
|
};
|
|
79
79
|
export const TagBase = (_a) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagBase.js","sourceRoot":"","sources":["../../../src/tag-base/TagBase.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,UAAU,MAAM,YAAY,CAAC;AAOpC,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/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AC","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 { tokens } from '@neo4j-ndl/base';\nimport classNames from 'classnames';\nimport type React from 'react';\n\nimport { type CommonProps } from '../_common/types';\n\nexport type TagSize = 'x-small' | 'small' | 'medium' | 'large';\n\nexport const CategoricalColors = [\n '1',\n '2',\n '3',\n '4',\n '5',\n '6',\n '7',\n '8',\n] as const;\n\nexport type TagColor = (typeof CategoricalColors)[number];\n\nexport interface TagBaseProps {\n /** Categorical color for the background */\n color?: TagColor;\n /** The content of the tag */\n children: React.ReactNode;\n /** Id applied to the content element used for aria-describedby on actions */\n contentId?: string;\n /** Icon to display before the content */\n leadingVisual?: React.ReactNode;\n /** Size of the tag */\n size?: TagSize;\n /** Trailing content rendered after the content (e.g. a remove button) */\n trailingContent?: React.ReactNode;\n}\n\nexport const colorMap: Record<\n TagColor,\n {\n '--tag-background-color': string;\n '--tag-text-color': string;\n }\n> = {\n '1': {\n '--tag-background-color': tokens.categorical[1],\n '--tag-text-color': '#000',\n },\n '2': {\n '--tag-background-color': tokens.categorical[2],\n '--tag-text-color': '#fff',\n },\n '3': {\n '--tag-background-color': tokens.categorical[3],\n '--tag-text-color': '#000',\n },\n '4': {\n '--tag-background-color': tokens.categorical[4],\n '--tag-text-color': '#000',\n },\n '5': {\n '--tag-background-color': tokens.categorical[5],\n '--tag-text-color': '#000',\n },\n '6': {\n '--tag-background-color': tokens.categorical[6],\n '--tag-text-color': '#000',\n },\n '7': {\n '--tag-background-color': tokens.categorical[7],\n '--tag-text-color': '#000',\n },\n '8': {\n '--tag-background-color': tokens.categorical[8],\n '--tag-text-color': '#fff',\n },\n};\n\nexport const TagBase = ({\n size = 'medium',\n color,\n children,\n className,\n contentId,\n htmlAttributes,\n leadingVisual,\n trailingContent,\n ref,\n style,\n ...restProps\n}: CommonProps<'div', TagBaseProps>) => {\n const classes = classNames('ndl-tag-new', className, {\n 'ndl-large': size === 'large',\n 'ndl-medium': size === 'medium',\n 'ndl-small': size === 'small',\n 'ndl-tag-colored': Boolean(color),\n 'ndl-x-small': size === 'x-small',\n });\n\n const styles = {\n ...style,\n ...(color ? colorMap[color] : {}),\n } as React.CSSProperties;\n\n return (\n <div\n className={classes}\n ref={ref}\n style={styles}\n {...htmlAttributes}\n {...restProps}\n >\n {Boolean(leadingVisual) && (\n <div className=\"ndl-tag-leading-element\">{leadingVisual}</div>\n )}\n <span className=\"ndl-tag-content\" id={contentId}>\n {children}\n </span>\n {trailingContent}\n </div>\n );\n};\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-presence-thinking.story.d.ts","sourceRoot":"","sources":["../../../../../src/ai/presence/stories/ai-presence-thinking.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"ai-presence-thinking.story.d.ts","sourceRoot":"","sources":["../../../../../src/ai/presence/stories/ai-presence-thinking.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAIjD,QAAA,MAAM,SAAS,+CAEd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
22
|
+
declare const Component: () => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export default Component;
|
|
24
|
+
//# sourceMappingURL=checkbox-fluid.story.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-fluid.story.d.ts","sourceRoot":"","sources":["../../../../src/checkbox/stories/checkbox-fluid.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAIjD,QAAA,MAAM,SAAS,+CAEd,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -22,6 +22,7 @@ export { default as CheckboxDefault } from './checkbox-default.story';
|
|
|
22
22
|
export { default as CheckboxIndeterminate } from './checkbox-indeterminate.story';
|
|
23
23
|
export { default as CheckboxNoLabel } from './checkbox-no-label.story';
|
|
24
24
|
export { default as CheckboxDisabled } from './checkbox-disabled.story';
|
|
25
|
+
export { default as CheckboxFluid } from './checkbox-fluid.story';
|
|
25
26
|
export { default as CheckboxHasLabelBefore } from './checkbox-has-label-before.story';
|
|
26
27
|
export { default as CheckboxFull } from './checkbox-full.story';
|
|
27
28
|
export { default as CheckboxControlled } from './checkbox-controlled.story';
|
|
@@ -29,6 +30,7 @@ export declare const CheckboxDefaultSrc: string;
|
|
|
29
30
|
export declare const CheckboxIndeterminateSrc: string;
|
|
30
31
|
export declare const CheckboxNoLabelSrc: string;
|
|
31
32
|
export declare const CheckboxDisabledSrc: string;
|
|
33
|
+
export declare const CheckboxFluidSrc: string;
|
|
32
34
|
export declare const CheckboxFullSrc: string;
|
|
33
35
|
export declare const CheckboxHasLabelBeforeSrc: string;
|
|
34
36
|
export declare const CheckboxControlledSrc: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/checkbox/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/checkbox/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,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AW,CAAC,KACjC,IAAI,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,EAAE,qHAY1D,sBAAsB,CAAC,CAAC,EAAE,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"Code.d.ts","sourceRoot":"","sources":["../../../src/code/Code.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAIH,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAI/D,KAAK,SAAS,GAAG;IACf,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,mCAAmC;IACnC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,mCAAmC;IACnC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sEAAsE;IACtE,OAAO,CAAC,EAAE,CACR,KAAK,EACD,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,GACzC,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,KACjC,IAAI,CAAC;CACX,CAAC;AAEF,eAAO,MAAM,IAAI,GAAI,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,QAAQ,EAAE,qHAY1D,sBAAsB,CAAC,CAAC,EAAE,SAAS,CAAC,4CAiDtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../src/data-grid/data-grid-nav/keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,oBAAY,IAAI;IACd,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,
|
|
1
|
+
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../src/data-grid/data-grid-nav/keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,oBAAY,IAAI;IACd,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,gBAAgB;IAChB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,iBAAiB;IACjB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,EAAE,OAAO;CACV"}
|
package/lib/types/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export { Dialog } from './dialog';
|
|
|
34
34
|
export { LoadingSpinner } from './loading-spinner';
|
|
35
35
|
export { Tabs } from './tabs';
|
|
36
36
|
export { SegmentedControl } from './segmented-control';
|
|
37
|
-
export
|
|
37
|
+
export * from './popover';
|
|
38
38
|
export { ProgressBar } from './progress-bar';
|
|
39
39
|
export { Dropzone } from './dropzone';
|
|
40
40
|
export * from './data-grid';
|
package/lib/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO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AAE,MAAM,mBAAmB,CAAC;AACnD,cAAc,YAAY,CAAC"}
|
|
@@ -22,8 +22,11 @@
|
|
|
22
22
|
import type React from 'react';
|
|
23
23
|
import { type PolymorphicCommonProps } from '../_common/types';
|
|
24
24
|
type LoadingBarProps = {
|
|
25
|
+
/** Visually hidden message for screen readers, for example "Loading search results". */
|
|
26
|
+
loadingMessage?: string;
|
|
27
|
+
/** Whether the loading bar has a background rail */
|
|
25
28
|
hasRail?: boolean;
|
|
26
29
|
};
|
|
27
|
-
export declare const LoadingBar: <T extends React.ElementType = "div">({ as, hasRail, className, htmlAttributes, style, ref, ...restProps }: PolymorphicCommonProps<T, LoadingBarProps>) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare const LoadingBar: <T extends React.ElementType = "div">({ as, hasRail, loadingMessage, className, htmlAttributes, style, ref, ...restProps }: PolymorphicCommonProps<T, LoadingBarProps>) => import("react/jsx-runtime").JSX.Element;
|
|
28
31
|
export {};
|
|
29
32
|
//# sourceMappingURL=LoadingBar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingBar.d.ts","sourceRoot":"","sources":["../../../src/loading-bar/LoadingBar.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,KAAK,eAAe,GAAG;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"LoadingBar.d.ts","sourceRoot":"","sources":["../../../src/loading-bar/LoadingBar.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D,KAAK,eAAe,GAAG;IACrB,wFAAwF;IACxF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oDAAoD;IACpD,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,sFAS7D,sBAAsB,CAAC,CAAC,EAAE,eAAe,CAAC,4CAkB5C,CAAC"}
|
|
@@ -29,6 +29,13 @@ import { type PolymorphicCommonProps } from '../_common/types';
|
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
type LoadingSpinnerProps = {
|
|
32
|
+
/**
|
|
33
|
+
* The aria label for the loading spinner. If not provided, defaults to "Loading content".
|
|
34
|
+
*/
|
|
35
|
+
loadingMessage?: string;
|
|
36
|
+
/**
|
|
37
|
+
* The size of the loading spinner.
|
|
38
|
+
*/
|
|
32
39
|
size?: 'small' | 'medium' | 'large';
|
|
33
40
|
};
|
|
34
41
|
/**
|
|
@@ -38,6 +45,6 @@ type LoadingSpinnerProps = {
|
|
|
38
45
|
*
|
|
39
46
|
*
|
|
40
47
|
*/
|
|
41
|
-
export declare const LoadingSpinner: <T extends React.ElementType = "div">({ as, size, className, htmlAttributes, ref, ...restProps }: PolymorphicCommonProps<T, LoadingSpinnerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
export declare const LoadingSpinner: <T extends React.ElementType = "div">({ as, loadingMessage, size, className, htmlAttributes, ref, ...restProps }: PolymorphicCommonProps<T, LoadingSpinnerProps>) => import("react/jsx-runtime").JSX.Element;
|
|
42
49
|
export {};
|
|
43
50
|
//# sourceMappingURL=LoadingSpinner.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../src/loading-spinner/LoadingSpinner.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D;;;;;;GAMG;AAEH,KAAK,mBAAmB,GAAG;
|
|
1
|
+
{"version":3,"file":"LoadingSpinner.d.ts","sourceRoot":"","sources":["../../../src/loading-spinner/LoadingSpinner.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AAE/D;;;;;;GAMG;AAEH,KAAK,mBAAmB,GAAG;IAEzB;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC,CAAC;AAEF;;;;;;GAMG;AAEH,eAAO,MAAM,cAAc,GAAI,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,4EAQjE,sBAAsB,CAAC,CAAC,EAAE,mBAAmB,CAAC,4CAqBhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/progress-bar/ProgressBar.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC5B,MAAM,kBAAkB,CAAC;AAE1B,KAAK,gBAAgB,GAAG;IACtB,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC;IACxB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,cAAc,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,mFAU9D,sBAAsB,CAAC,CAAC,EAAE,gBAAgB,CAAC,
|
|
1
|
+
{"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/progress-bar/ProgressBar.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC5B,MAAM,kBAAkB,CAAC;AAE1B,KAAK,gBAAgB,GAAG;IACtB,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC;IACxB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,cAAc,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,mFAU9D,sBAAsB,CAAC,CAAC,EAAE,gBAAgB,CAAC,4CAmC7C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neo4j-ndl/react",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.2",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"description": "React implementation of Neo4j Design System",
|
|
6
6
|
"keywords": [
|
|
@@ -393,10 +393,11 @@
|
|
|
393
393
|
},
|
|
394
394
|
"devDependencies": {
|
|
395
395
|
"@axe-core/playwright": "4.11.3",
|
|
396
|
+
"@babel/types": "8.0.10",
|
|
396
397
|
"@playwright/experimental-ct-react": "1.60.0",
|
|
397
398
|
"@playwright/test": "1.60.0",
|
|
398
|
-
"@storybook/addon-docs": "10.
|
|
399
|
-
"@storybook/react-vite": "10.
|
|
399
|
+
"@storybook/addon-docs": "10.6.6",
|
|
400
|
+
"@storybook/react-vite": "10.6.6",
|
|
400
401
|
"@svgr/cli": "6.5.1",
|
|
401
402
|
"@testing-library/jest-dom": "6.9.1",
|
|
402
403
|
"@testing-library/react": "16.3.2",
|
|
@@ -411,7 +412,6 @@
|
|
|
411
412
|
"@vitest/coverage-v8": "4.1.10",
|
|
412
413
|
"a11y-contrast-color": "1.1.0",
|
|
413
414
|
"chromatic": "13.3.5",
|
|
414
|
-
"happo": "6.25.1",
|
|
415
415
|
"jsdom": "26.1.0",
|
|
416
416
|
"leva": "0.10.1",
|
|
417
417
|
"react": "19.2.5",
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
"react-dom": "19.2.5",
|
|
420
420
|
"resize-observer-polyfill": "1.5.1",
|
|
421
421
|
"sinon": "21.0.3",
|
|
422
|
-
"storybook": "10.
|
|
422
|
+
"storybook": "10.6.6",
|
|
423
423
|
"tsx": "4.21.0",
|
|
424
424
|
"typescript": "5.9.3",
|
|
425
425
|
"vitest": "4.1.10",
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
"@tanstack/react-table": "8.21.3",
|
|
430
430
|
"react": ">=19.0.0",
|
|
431
431
|
"react-dom": ">=19.0.0",
|
|
432
|
-
"@neo4j-ndl/base": "^5.1.
|
|
432
|
+
"@neo4j-ndl/base": "^5.1.6"
|
|
433
433
|
},
|
|
434
434
|
"dependencies": {
|
|
435
435
|
"@dnd-kit/core": "6.3.1",
|
|
@@ -471,8 +471,6 @@
|
|
|
471
471
|
"test:unit": "pnpm exec vitest --run --exclude node_modules",
|
|
472
472
|
"typecheck": "pnpm exec tsc -p tsconfig.tests.json",
|
|
473
473
|
"test:playwright": "NODE_OPTIONS=--max-old-space-size=8192 pnpm exec playwright test --grep-invert '@happo|@visual-regression'",
|
|
474
|
-
"test:visual-regression": "pnpm exec playwright test --grep '@visual-regression' --update-snapshots=changed",
|
|
475
|
-
"test:visual-regression:check": "pnpm exec playwright test --grep '@visual-regression' --update-snapshots=none",
|
|
476
474
|
"build": "pnpm run generate:style-rules && pnpm run build:esm && pnpm run build:cjs && pnpm run build:types",
|
|
477
475
|
"build:esm": "pnpm exec tsc -p tsconfig.esm.json",
|
|
478
476
|
"build:cjs": "pnpm exec tsc -p tsconfig.cjs.json",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: ndl-react
|
|
3
3
|
metadata:
|
|
4
4
|
package: '@neo4j-ndl/react'
|
|
5
|
-
version: '5.3.
|
|
5
|
+
version: '5.3.2'
|
|
6
6
|
description: >-
|
|
7
7
|
Build and edit UI with the Neo4j Needle React design system
|
|
8
8
|
(@neo4j-ndl/react). Use when adding, composing, or modifying Needle components
|
|
@@ -15,7 +15,7 @@ description: >-
|
|
|
15
15
|
|
|
16
16
|
# Neo4j Needle (@neo4j-ndl/react)
|
|
17
17
|
|
|
18
|
-
> 📌 Shipped with `@neo4j-ndl/react` v5.3.
|
|
18
|
+
> 📌 Shipped with `@neo4j-ndl/react` v5.3.2. Once installed into your repo (e.g. via
|
|
19
19
|
> `npx skills add`) this folder is detached from the package — the installed
|
|
20
20
|
> package (TypeScript types in `node_modules/@neo4j-ndl/react`) is the source of
|
|
21
21
|
> truth.
|
|
@@ -70,27 +70,26 @@ Use Neo4j Needle components instead of hand-rolling equivalent UI.
|
|
|
70
70
|
- Compound components are exposed as subcomponents (e.g. `Tooltip.Trigger`,
|
|
71
71
|
`Tooltip.Content`). Follow each component's own doc — don't assume one
|
|
72
72
|
component's compound shape matches another's.
|
|
73
|
-
- **Class names are unchecked strings, and
|
|
74
|
-
prop fails the build, but
|
|
75
|
-
silently renders nothing.
|
|
76
|
-
|
|
77
|
-
|
|
73
|
+
- **Class names are unchecked strings, and a consumer may set a custom
|
|
74
|
+
prefix.** A wrong prop fails the build, but a class that does not exist
|
|
75
|
+
compiles and silently renders nothing. Utilities are unprefixed by default
|
|
76
|
+
(`flex`, `gap-token-8`), yet an app's own Tailwind config can set a
|
|
77
|
+
`prefix`. **Before writing any utility class, open the app's
|
|
78
|
+
`tailwind.config.*` and read its `prefix`**, then establish which case
|
|
79
|
+
applies rather than assuming:
|
|
78
80
|
- No Tailwind build: only classes literally present in
|
|
79
81
|
`node_modules/@neo4j-ndl/base/lib/neo4j-ds-styles.css` apply. That means
|
|
80
82
|
the typography classes (`ndl-typography-body-medium`,
|
|
81
|
-
`ndl-typography-title-1`,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
Check the app's Tailwind config for `prefix` and follow the surrounding code.
|
|
93
|
-
Tailwind-shaped guesses (`justify-between`, `items-baseline`) and
|
|
83
|
+
`ndl-typography-title-1`, …) and the safelisted color classes
|
|
84
|
+
(`text-*`, `bg-*`, `border-*`) — no layout or spacing utilities such as
|
|
85
|
+
`flex` or `gap-token-8`. Grep it for the exact class.
|
|
86
|
+
- Tailwind with the published preset and no override: no prefix, so `flex`
|
|
87
|
+
and `text-neutral-text-weaker` work.
|
|
88
|
+
- Tailwind where the app's own config sets a `prefix` (it overrides the
|
|
89
|
+
preset): the theme is Needle's but every utility carries that prefix, so
|
|
90
|
+
with `prefix: 'foo-'` write `foo-flex`; the unprefixed `flex` does nothing.
|
|
91
|
+
|
|
92
|
+
Follow the surrounding code's prefix. Tailwind-shaped guesses (`justify-between`, `items-baseline`) and
|
|
94
93
|
near-misses on real scales (`gap-token-1` when the scale is 2/4/6/8/12/16)
|
|
95
94
|
become invisible layout bugs, not errors. `Flex`, `Box` and `Typography` with
|
|
96
95
|
token props sidestep the question entirely — prefer them. For the full token
|
|
@@ -173,7 +172,7 @@ Import from `@neo4j-ndl/react`.
|
|
|
173
172
|
| `IconButtonArrayComponent` | [components/icon-button-array.md](components/icon-button-array.md) | | 5 |
|
|
174
173
|
| `InlineEdit` | [components/inline-edit.md](components/inline-edit.md) | ✅ | 9 |
|
|
175
174
|
| `Kbd` | [components/kbd.md](components/kbd.md) | ✅ | 2 |
|
|
176
|
-
| `LoadingBar` | [components/loading-bar.md](components/loading-bar.md) |
|
|
175
|
+
| `LoadingBar` | [components/loading-bar.md](components/loading-bar.md) | ✅ | 2 |
|
|
177
176
|
| `LoadingSpinner` | [components/loading-spinner.md](components/loading-spinner.md) | ✅ | 2 |
|
|
178
177
|
| `Logo` | [components/logo.md](components/logo.md) | | 3 |
|
|
179
178
|
| `Menu` | [components/menu.md](components/menu.md) | ✅ | 13 |
|