@neo4j-ndl/react 4.9.47 → 4.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/dismissible-tag/DismissibleTag.js +46 -0
- package/lib/cjs/dismissible-tag/DismissibleTag.js.map +1 -0
- package/lib/cjs/dismissible-tag/index.js +26 -0
- package/lib/cjs/dismissible-tag/index.js.map +1 -0
- package/lib/cjs/dismissible-tag/stories/dismissible-tag-colors.story.js +33 -0
- package/lib/cjs/dismissible-tag/stories/dismissible-tag-colors.story.js.map +1 -0
- package/lib/cjs/dismissible-tag/stories/dismissible-tag-default.story.js +30 -0
- package/lib/cjs/dismissible-tag/stories/dismissible-tag-default.story.js.map +1 -0
- package/lib/cjs/dismissible-tag/stories/dismissible-tag-sizes.story.js +33 -0
- package/lib/cjs/dismissible-tag/stories/dismissible-tag-sizes.story.js.map +1 -0
- package/lib/cjs/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.js +31 -0
- package/lib/cjs/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.js.map +1 -0
- package/lib/cjs/dismissible-tag/stories/index.js +44 -0
- package/lib/cjs/dismissible-tag/stories/index.js.map +1 -0
- package/lib/cjs/index.js +5 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/read-only-tag/ReadOnlyTag.js +43 -0
- package/lib/cjs/read-only-tag/ReadOnlyTag.js.map +1 -0
- package/lib/cjs/read-only-tag/index.js +26 -0
- package/lib/cjs/read-only-tag/index.js.map +1 -0
- package/lib/cjs/read-only-tag/stories/index.js +44 -0
- package/lib/cjs/read-only-tag/stories/index.js.map +1 -0
- package/lib/cjs/read-only-tag/stories/read-only-tag-colors.story.js +30 -0
- package/lib/cjs/read-only-tag/stories/read-only-tag-colors.story.js.map +1 -0
- package/lib/cjs/read-only-tag/stories/read-only-tag-default.story.js +30 -0
- package/lib/cjs/read-only-tag/stories/read-only-tag-default.story.js.map +1 -0
- package/lib/cjs/read-only-tag/stories/read-only-tag-sizes.story.js +30 -0
- package/lib/cjs/read-only-tag/stories/read-only-tag-sizes.story.js.map +1 -0
- package/lib/cjs/read-only-tag/stories/read-only-tag-with-leading-icon.story.js +31 -0
- package/lib/cjs/read-only-tag/stories/read-only-tag-with-leading-icon.story.js.map +1 -0
- package/lib/cjs/tag-base/TagBase.js +98 -0
- package/lib/cjs/tag-base/TagBase.js.map +1 -0
- package/lib/cjs/tag-base/index.js +38 -0
- package/lib/cjs/tag-base/index.js.map +1 -0
- package/lib/esm/dismissible-tag/DismissibleTag.js +42 -0
- package/lib/esm/dismissible-tag/DismissibleTag.js.map +1 -0
- package/lib/esm/dismissible-tag/index.js +22 -0
- package/lib/esm/dismissible-tag/index.js.map +1 -0
- package/lib/esm/dismissible-tag/stories/dismissible-tag-colors.story.js +31 -0
- package/lib/esm/dismissible-tag/stories/dismissible-tag-colors.story.js.map +1 -0
- package/lib/esm/dismissible-tag/stories/dismissible-tag-default.story.js +28 -0
- package/lib/esm/dismissible-tag/stories/dismissible-tag-default.story.js.map +1 -0
- package/lib/esm/dismissible-tag/stories/dismissible-tag-sizes.story.js +31 -0
- package/lib/esm/dismissible-tag/stories/dismissible-tag-sizes.story.js.map +1 -0
- package/lib/esm/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.js +29 -0
- package/lib/esm/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.js.map +1 -0
- package/lib/esm/dismissible-tag/stories/index.js +34 -0
- package/lib/esm/dismissible-tag/stories/index.js.map +1 -0
- package/lib/esm/index.js +2 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/read-only-tag/ReadOnlyTag.js +39 -0
- package/lib/esm/read-only-tag/ReadOnlyTag.js.map +1 -0
- package/lib/esm/read-only-tag/index.js +22 -0
- package/lib/esm/read-only-tag/index.js.map +1 -0
- package/lib/esm/read-only-tag/stories/index.js +34 -0
- package/lib/esm/read-only-tag/stories/index.js.map +1 -0
- package/lib/esm/read-only-tag/stories/read-only-tag-colors.story.js +28 -0
- package/lib/esm/read-only-tag/stories/read-only-tag-colors.story.js.map +1 -0
- package/lib/esm/read-only-tag/stories/read-only-tag-default.story.js +28 -0
- package/lib/esm/read-only-tag/stories/read-only-tag-default.story.js.map +1 -0
- package/lib/esm/read-only-tag/stories/read-only-tag-sizes.story.js +28 -0
- package/lib/esm/read-only-tag/stories/read-only-tag-sizes.story.js.map +1 -0
- package/lib/esm/read-only-tag/stories/read-only-tag-with-leading-icon.story.js +29 -0
- package/lib/esm/read-only-tag/stories/read-only-tag-with-leading-icon.story.js.map +1 -0
- package/lib/esm/tag-base/TagBase.js +91 -0
- package/lib/esm/tag-base/TagBase.js.map +1 -0
- package/lib/esm/tag-base/index.js +22 -0
- package/lib/esm/tag-base/index.js.map +1 -0
- package/lib/types/dismissible-tag/DismissibleTag.d.ts +38 -0
- package/lib/types/dismissible-tag/DismissibleTag.d.ts.map +1 -0
- package/lib/types/dismissible-tag/index.d.ts +22 -0
- package/lib/types/dismissible-tag/index.d.ts.map +1 -0
- package/lib/types/dismissible-tag/stories/dismissible-tag-colors.story.d.ts +24 -0
- package/lib/types/dismissible-tag/stories/dismissible-tag-colors.story.d.ts.map +1 -0
- package/lib/types/dismissible-tag/stories/dismissible-tag-default.story.d.ts +24 -0
- package/lib/types/dismissible-tag/stories/dismissible-tag-default.story.d.ts.map +1 -0
- package/lib/types/dismissible-tag/stories/dismissible-tag-sizes.story.d.ts +24 -0
- package/lib/types/dismissible-tag/stories/dismissible-tag-sizes.story.d.ts.map +1 -0
- package/lib/types/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.d.ts +24 -0
- package/lib/types/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.d.ts.map +1 -0
- package/lib/types/dismissible-tag/stories/index.d.ts +29 -0
- package/lib/types/dismissible-tag/stories/index.d.ts.map +1 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/read-only-tag/ReadOnlyTag.d.ts +36 -0
- package/lib/types/read-only-tag/ReadOnlyTag.d.ts.map +1 -0
- package/lib/types/read-only-tag/index.d.ts +22 -0
- package/lib/types/read-only-tag/index.d.ts.map +1 -0
- package/lib/types/read-only-tag/stories/index.d.ts +29 -0
- package/lib/types/read-only-tag/stories/index.d.ts.map +1 -0
- package/lib/types/read-only-tag/stories/read-only-tag-colors.story.d.ts +24 -0
- package/lib/types/read-only-tag/stories/read-only-tag-colors.story.d.ts.map +1 -0
- package/lib/types/read-only-tag/stories/read-only-tag-default.story.d.ts +24 -0
- package/lib/types/read-only-tag/stories/read-only-tag-default.story.d.ts.map +1 -0
- package/lib/types/read-only-tag/stories/read-only-tag-sizes.story.d.ts +24 -0
- package/lib/types/read-only-tag/stories/read-only-tag-sizes.story.d.ts.map +1 -0
- package/lib/types/read-only-tag/stories/read-only-tag-with-leading-icon.story.d.ts +24 -0
- package/lib/types/read-only-tag/stories/read-only-tag-with-leading-icon.story.d.ts.map +1 -0
- package/lib/types/tag-base/TagBase.d.ts +46 -0
- package/lib/types/tag-base/TagBase.d.ts.map +1 -0
- package/lib/types/tag-base/index.d.ts +22 -0
- package/lib/types/tag-base/index.d.ts.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read-only-tag-sizes.story.js","sourceRoot":"","sources":["../../../../src/read-only-tag/stories/read-only-tag-sizes.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA+C;AAE/C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,qCAAqC,aAClD,uBAAC,mBAAW,IAAC,IAAI,EAAC,SAAS,wBAAsB,EACjD,uBAAC,mBAAW,IAAC,IAAI,EAAC,OAAO,sBAAoB,EAC7C,uBAAC,mBAAW,IAAC,IAAI,EAAC,QAAQ,uBAAqB,EAC/C,uBAAC,mBAAW,IAAC,IAAI,EAAC,OAAO,sBAAoB,IACzC,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { ReadOnlyTag } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"n-flex n-gap-token-16 n-items-start\">\n <ReadOnlyTag size=\"x-small\">X-Small</ReadOnlyTag>\n <ReadOnlyTag size=\"small\">Small</ReadOnlyTag>\n <ReadOnlyTag size=\"medium\">Medium</ReadOnlyTag>\n <ReadOnlyTag size=\"large\">Large</ReadOnlyTag>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
|
|
25
|
+
const react_1 = require("@neo4j-ndl/react");
|
|
26
|
+
const icons_1 = require("@neo4j-ndl/react/icons");
|
|
27
|
+
const Component = () => {
|
|
28
|
+
return ((0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { leadingVisual: (0, jsx_runtime_1.jsx)(icons_1.DatabasePlusIcon, {}), children: "Read-only Tag with leading icon" }));
|
|
29
|
+
};
|
|
30
|
+
exports.default = Component;
|
|
31
|
+
//# sourceMappingURL=read-only-tag-with-leading-icon.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"read-only-tag-with-leading-icon.story.js","sourceRoot":"","sources":["../../../../src/read-only-tag/stories/read-only-tag-with-leading-icon.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA+C;AAC/C,kDAA0D;AAE1D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,uBAAC,mBAAW,IAAC,aAAa,EAAE,uBAAC,wBAAgB,KAAG,gDAElC,CACf,CAAC;AACJ,CAAC,CAAC;AAEF,kBAAe,SAAS,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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { ReadOnlyTag } from '@neo4j-ndl/react';\nimport { DatabasePlusIcon } from '@neo4j-ndl/react/icons';\n\nconst Component = () => {\n return (\n <ReadOnlyTag leadingVisual={<DatabasePlusIcon />}>\n Read-only Tag with leading icon\n </ReadOnlyTag>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
3
|
+
var t = {};
|
|
4
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
5
|
+
t[p] = s[p];
|
|
6
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
7
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
8
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
9
|
+
t[p[i]] = s[p[i]];
|
|
10
|
+
}
|
|
11
|
+
return t;
|
|
12
|
+
};
|
|
13
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
14
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.TagBase = exports.colorMap = exports.CategoricalColors = void 0;
|
|
18
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* Copyright (c) "Neo4j"
|
|
22
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
23
|
+
*
|
|
24
|
+
* This file is part of Neo4j.
|
|
25
|
+
*
|
|
26
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
27
|
+
* it under the terms of the GNU General Public License as published by
|
|
28
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
29
|
+
* (at your option) any later version.
|
|
30
|
+
*
|
|
31
|
+
* This program is distributed in the hope that it will be useful,
|
|
32
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
33
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
34
|
+
* GNU General Public License for more details.
|
|
35
|
+
*
|
|
36
|
+
* You should have received a copy of the GNU General Public License
|
|
37
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
38
|
+
*/
|
|
39
|
+
const base_1 = require("@neo4j-ndl/base");
|
|
40
|
+
const classnames_1 = __importDefault(require("classnames"));
|
|
41
|
+
exports.CategoricalColors = [
|
|
42
|
+
'1',
|
|
43
|
+
'2',
|
|
44
|
+
'3',
|
|
45
|
+
'4',
|
|
46
|
+
'5',
|
|
47
|
+
'6',
|
|
48
|
+
'7',
|
|
49
|
+
'8',
|
|
50
|
+
];
|
|
51
|
+
exports.colorMap = {
|
|
52
|
+
'1': {
|
|
53
|
+
'--tag-background-color': base_1.tokens.categorical[1],
|
|
54
|
+
'--tag-text-color': base_1.tokens.palette.neutral[75],
|
|
55
|
+
},
|
|
56
|
+
'2': {
|
|
57
|
+
'--tag-background-color': base_1.tokens.categorical[2],
|
|
58
|
+
'--tag-text-color': base_1.tokens.palette.neutral[10],
|
|
59
|
+
},
|
|
60
|
+
'3': {
|
|
61
|
+
'--tag-background-color': base_1.tokens.categorical[3],
|
|
62
|
+
'--tag-text-color': base_1.tokens.palette.neutral[75],
|
|
63
|
+
},
|
|
64
|
+
'4': {
|
|
65
|
+
'--tag-background-color': base_1.tokens.categorical[4],
|
|
66
|
+
'--tag-text-color': base_1.tokens.palette.neutral[10],
|
|
67
|
+
},
|
|
68
|
+
'5': {
|
|
69
|
+
'--tag-background-color': base_1.tokens.categorical[5],
|
|
70
|
+
'--tag-text-color': base_1.tokens.palette.neutral[75],
|
|
71
|
+
},
|
|
72
|
+
'6': {
|
|
73
|
+
'--tag-background-color': base_1.tokens.categorical[6],
|
|
74
|
+
'--tag-text-color': base_1.tokens.palette.neutral[75],
|
|
75
|
+
},
|
|
76
|
+
'7': {
|
|
77
|
+
'--tag-background-color': base_1.tokens.categorical[7],
|
|
78
|
+
'--tag-text-color': base_1.tokens.palette.neutral[10],
|
|
79
|
+
},
|
|
80
|
+
'8': {
|
|
81
|
+
'--tag-background-color': base_1.tokens.categorical[8],
|
|
82
|
+
'--tag-text-color': base_1.tokens.palette.neutral[10],
|
|
83
|
+
},
|
|
84
|
+
};
|
|
85
|
+
const TagBase = (_a) => {
|
|
86
|
+
var { size = 'medium', color, children, className, contentId, htmlAttributes, leadingVisual, trailingContent, ref, style } = _a, restProps = __rest(_a, ["size", "color", "children", "className", "contentId", "htmlAttributes", "leadingVisual", "trailingContent", "ref", "style"]);
|
|
87
|
+
const classes = (0, classnames_1.default)('ndl-tag-new', className, {
|
|
88
|
+
'ndl-large': size === 'large',
|
|
89
|
+
'ndl-medium': size === 'medium',
|
|
90
|
+
'ndl-small': size === 'small',
|
|
91
|
+
'ndl-tag-colored': Boolean(color),
|
|
92
|
+
'ndl-x-small': size === 'x-small',
|
|
93
|
+
});
|
|
94
|
+
const styles = Object.assign(Object.assign({}, style), (color ? exports.colorMap[color] : {}));
|
|
95
|
+
return ((0, jsx_runtime_1.jsxs)("div", Object.assign({ className: classes, ref: ref, style: styles }, htmlAttributes, restProps, { children: [Boolean(leadingVisual) && ((0, jsx_runtime_1.jsx)("div", { className: "ndl-tag-leading-element", children: leadingVisual })), (0, jsx_runtime_1.jsx)("span", { className: "ndl-tag-content", id: contentId, children: children }), trailingContent] })));
|
|
96
|
+
};
|
|
97
|
+
exports.TagBase = TagBase;
|
|
98
|
+
//# sourceMappingURL=TagBase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,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AAC,CAAC;AA3CW,QAAA,OAAO,WA2ClB","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': tokens.palette.neutral[75],\n },\n '2': {\n '--tag-background-color': tokens.categorical[2],\n '--tag-text-color': tokens.palette.neutral[10],\n },\n '3': {\n '--tag-background-color': tokens.categorical[3],\n '--tag-text-color': tokens.palette.neutral[75],\n },\n '4': {\n '--tag-background-color': tokens.categorical[4],\n '--tag-text-color': tokens.palette.neutral[10],\n },\n '5': {\n '--tag-background-color': tokens.categorical[5],\n '--tag-text-color': tokens.palette.neutral[75],\n },\n '6': {\n '--tag-background-color': tokens.categorical[6],\n '--tag-text-color': tokens.palette.neutral[75],\n },\n '7': {\n '--tag-background-color': tokens.categorical[7],\n '--tag-text-color': tokens.palette.neutral[10],\n },\n '8': {\n '--tag-background-color': tokens.categorical[8],\n '--tag-text-color': tokens.palette.neutral[10],\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"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
25
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
26
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
27
|
+
}
|
|
28
|
+
Object.defineProperty(o, k2, desc);
|
|
29
|
+
}) : (function(o, m, k, k2) {
|
|
30
|
+
if (k2 === undefined) k2 = k;
|
|
31
|
+
o[k2] = m[k];
|
|
32
|
+
}));
|
|
33
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
34
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
35
|
+
};
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
__exportStar(require("./TagBase"), exports);
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/tag-base/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;AAEH,4CAA0B","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 * from './TagBase';\n"]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
23
|
+
var t = {};
|
|
24
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
25
|
+
t[p] = s[p];
|
|
26
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
27
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
28
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
29
|
+
t[p[i]] = s[p[i]];
|
|
30
|
+
}
|
|
31
|
+
return t;
|
|
32
|
+
};
|
|
33
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
34
|
+
import { useId } from 'react';
|
|
35
|
+
import { XMarkIconOutline } from '../icons';
|
|
36
|
+
import { TagBase } from '../tag-base';
|
|
37
|
+
export const DismissibleTag = (_a) => {
|
|
38
|
+
var { size = 'medium', color, children, htmlAttributes, leadingVisual, onRemove } = _a, restProps = __rest(_a, ["size", "color", "children", "htmlAttributes", "leadingVisual", "onRemove"]);
|
|
39
|
+
const contentId = useId();
|
|
40
|
+
return (_jsx(TagBase, Object.assign({ color: color, contentId: contentId, htmlAttributes: htmlAttributes, leadingVisual: leadingVisual, size: size, trailingContent: _jsx("button", { type: "button", className: "ndl-remove-icon", onClick: onRemove, "aria-describedby": contentId, "aria-label": "Remove", children: _jsx(XMarkIconOutline, {}) }) }, restProps, { children: children })));
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=DismissibleTag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DismissibleTag.js","sourceRoot":"","sources":["../../../src/dismissible-tag/DismissibleTag.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAqBA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAC;AAG9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAetC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAQW,EAAE,EAAE;QARf,EAC7B,IAAI,GAAG,QAAQ,EACf,KAAK,EACL,QAAQ,EACR,cAAc,EACd,aAAa,EACb,QAAQ,OAEgC,EADrC,SAAS,cAPiB,4EAQ9B,CADa;IAEZ,MAAM,SAAS,GAAG,KAAK,EAAE,CAAC;IAE1B,OAAO,CACL,KAAC,OAAO,kBACN,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,SAAS,EACpB,cAAc,EAAE,cAAc,EAC9B,aAAa,EAAE,aAAa,EAC5B,IAAI,EAAE,IAAI,EACV,eAAe,EACb,iBACE,IAAI,EAAC,QAAQ,EACb,SAAS,EAAC,iBAAiB,EAC3B,OAAO,EAAE,QAAQ,sBACC,SAAS,gBAChB,QAAQ,YAEnB,KAAC,gBAAgB,KAAG,GACb,IAEP,SAAS,cAEZ,QAAQ,IACD,CACX,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 type React from 'react';\nimport { useId } from 'react';\n\nimport { type CommonProps } from '../_common/types';\nimport { XMarkIconOutline } from '../icons';\nimport type { TagColor, TagSize } from '../tag-base';\nimport { TagBase } from '../tag-base';\n\ninterface DismissibleTagProps {\n /** Categorical color for the background */\n color?: TagColor;\n /** The content of the tag */\n children?: React.ReactNode;\n /** Icon to display before the content */\n leadingVisual?: React.ReactNode;\n /** Size of the tag */\n size?: TagSize;\n /** Callback function triggered when tag should be removed. */\n onRemove: React.MouseEventHandler<HTMLButtonElement>;\n}\n\nexport const DismissibleTag = ({\n size = 'medium',\n color,\n children,\n htmlAttributes,\n leadingVisual,\n onRemove,\n ...restProps\n}: CommonProps<'div', DismissibleTagProps>) => {\n const contentId = useId();\n\n return (\n <TagBase\n color={color}\n contentId={contentId}\n htmlAttributes={htmlAttributes}\n leadingVisual={leadingVisual}\n size={size}\n trailingContent={\n <button\n type=\"button\"\n className=\"ndl-remove-icon\"\n onClick={onRemove}\n aria-describedby={contentId}\n aria-label=\"Remove\"\n >\n <XMarkIconOutline />\n </button>\n }\n {...restProps}\n >\n {children}\n </TagBase>\n );\n};\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
export { DismissibleTag } from './DismissibleTag';
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dismissible-tag/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,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 { DismissibleTag } from './DismissibleTag';\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { DismissibleTag } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
const handleRemove = () => {
|
|
26
|
+
console.info('onRemove was called');
|
|
27
|
+
};
|
|
28
|
+
return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-16", children: [_jsx(DismissibleTag, { color: "1", onRemove: handleRemove, children: "Categorical color 1" }), _jsx(DismissibleTag, { color: "2", onRemove: handleRemove, children: "Categorical color 2" }), _jsx(DismissibleTag, { color: "3", onRemove: handleRemove, children: "Categorical color 3" }), _jsx(DismissibleTag, { color: "4", onRemove: handleRemove, children: "Categorical color 4" }), _jsx(DismissibleTag, { color: "5", onRemove: handleRemove, children: "Categorical color 5" }), _jsx(DismissibleTag, { color: "6", onRemove: handleRemove, children: "Categorical color 6" }), _jsx(DismissibleTag, { color: "7", onRemove: handleRemove, children: "Categorical color 7" }), _jsx(DismissibleTag, { color: "8", onRemove: handleRemove, children: "Categorical color 8" })] }));
|
|
29
|
+
};
|
|
30
|
+
export default Component;
|
|
31
|
+
//# sourceMappingURL=dismissible-tag-colors.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dismissible-tag-colors.story.js","sourceRoot":"","sources":["../../../../src/dismissible-tag/stories/dismissible-tag-colors.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,YAAY,GAAG,GAAG,EAAE;QACxB,OAAO,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;IACtC,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAC,kCAAkC,aAC/C,KAAC,cAAc,IAAC,KAAK,EAAC,GAAG,EAAC,QAAQ,EAAE,YAAY,oCAE/B,EACjB,KAAC,cAAc,IAAC,KAAK,EAAC,GAAG,EAAC,QAAQ,EAAE,YAAY,oCAE/B,EACjB,KAAC,cAAc,IAAC,KAAK,EAAC,GAAG,EAAC,QAAQ,EAAE,YAAY,oCAE/B,EACjB,KAAC,cAAc,IAAC,KAAK,EAAC,GAAG,EAAC,QAAQ,EAAE,YAAY,oCAE/B,EACjB,KAAC,cAAc,IAAC,KAAK,EAAC,GAAG,EAAC,QAAQ,EAAE,YAAY,oCAE/B,EACjB,KAAC,cAAc,IAAC,KAAK,EAAC,GAAG,EAAC,QAAQ,EAAE,YAAY,oCAE/B,EACjB,KAAC,cAAc,IAAC,KAAK,EAAC,GAAG,EAAC,QAAQ,EAAE,YAAY,oCAE/B,EACjB,KAAC,cAAc,IAAC,KAAK,EAAC,GAAG,EAAC,QAAQ,EAAE,YAAY,oCAE/B,IACb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { DismissibleTag } from '@neo4j-ndl/react';\n\nconst Component = () => {\n const handleRemove = () => {\n console.info('onRemove was called');\n };\n\n return (\n <div className=\"n-flex n-flex-col n-gap-token-16\">\n <DismissibleTag color=\"1\" onRemove={handleRemove}>\n Categorical color 1\n </DismissibleTag>\n <DismissibleTag color=\"2\" onRemove={handleRemove}>\n Categorical color 2\n </DismissibleTag>\n <DismissibleTag color=\"3\" onRemove={handleRemove}>\n Categorical color 3\n </DismissibleTag>\n <DismissibleTag color=\"4\" onRemove={handleRemove}>\n Categorical color 4\n </DismissibleTag>\n <DismissibleTag color=\"5\" onRemove={handleRemove}>\n Categorical color 5\n </DismissibleTag>\n <DismissibleTag color=\"6\" onRemove={handleRemove}>\n Categorical color 6\n </DismissibleTag>\n <DismissibleTag color=\"7\" onRemove={handleRemove}>\n Categorical color 7\n </DismissibleTag>\n <DismissibleTag color=\"8\" onRemove={handleRemove}>\n Categorical color 8\n </DismissibleTag>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { DismissibleTag } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
return (_jsx(DismissibleTag, { onRemove: () => console.info('onRemove was called'), children: "Dismissible Tag" }));
|
|
26
|
+
};
|
|
27
|
+
export default Component;
|
|
28
|
+
//# sourceMappingURL=dismissible-tag-default.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dismissible-tag-default.story.js","sourceRoot":"","sources":["../../../../src/dismissible-tag/stories/dismissible-tag-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,cAAc,IAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,CAAC,gCAElD,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { DismissibleTag } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <DismissibleTag onRemove={() => console.info('onRemove was called')}>\n Dismissible Tag\n </DismissibleTag>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { DismissibleTag } from '@neo4j-ndl/react';
|
|
24
|
+
const Component = () => {
|
|
25
|
+
const handleRemove = () => {
|
|
26
|
+
console.info('onRemove was called');
|
|
27
|
+
};
|
|
28
|
+
return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-16", children: [_jsx(DismissibleTag, { size: "x-small", onRemove: handleRemove, children: "X-Small" }), _jsx(DismissibleTag, { size: "small", onRemove: handleRemove, children: "Small" }), _jsx(DismissibleTag, { size: "medium", onRemove: handleRemove, children: "Medium" }), _jsx(DismissibleTag, { size: "large", onRemove: handleRemove, children: "Large" })] }));
|
|
29
|
+
};
|
|
30
|
+
export default Component;
|
|
31
|
+
//# sourceMappingURL=dismissible-tag-sizes.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dismissible-tag-sizes.story.js","sourceRoot":"","sources":["../../../../src/dismissible-tag/stories/dismissible-tag-sizes.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,MAAM,YAAY,GAAG,GAAG,EAAE;QACxB,OAAO,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;IACtC,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAC,kCAAkC,aAC/C,KAAC,cAAc,IAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,EAAE,YAAY,wBAEpC,EACjB,KAAC,cAAc,IAAC,IAAI,EAAC,OAAO,EAAC,QAAQ,EAAE,YAAY,sBAElC,EACjB,KAAC,cAAc,IAAC,IAAI,EAAC,QAAQ,EAAC,QAAQ,EAAE,YAAY,uBAEnC,EACjB,KAAC,cAAc,IAAC,IAAI,EAAC,OAAO,EAAC,QAAQ,EAAE,YAAY,sBAElC,IACb,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { DismissibleTag } from '@neo4j-ndl/react';\n\nconst Component = () => {\n const handleRemove = () => {\n console.info('onRemove was called');\n };\n\n return (\n <div className=\"n-flex n-flex-col n-gap-token-16\">\n <DismissibleTag size=\"x-small\" onRemove={handleRemove}>\n X-Small\n </DismissibleTag>\n <DismissibleTag size=\"small\" onRemove={handleRemove}>\n Small\n </DismissibleTag>\n <DismissibleTag size=\"medium\" onRemove={handleRemove}>\n Medium\n </DismissibleTag>\n <DismissibleTag size=\"large\" onRemove={handleRemove}>\n Large\n </DismissibleTag>\n </div>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
/**
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) "Neo4j"
|
|
5
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
6
|
+
*
|
|
7
|
+
* This file is part of Neo4j.
|
|
8
|
+
*
|
|
9
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
10
|
+
* it under the terms of the GNU General Public License as published by
|
|
11
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
12
|
+
* (at your option) any later version.
|
|
13
|
+
*
|
|
14
|
+
* This program is distributed in the hope that it will be useful,
|
|
15
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17
|
+
* GNU General Public License for more details.
|
|
18
|
+
*
|
|
19
|
+
* You should have received a copy of the GNU General Public License
|
|
20
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
21
|
+
*/
|
|
22
|
+
import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
|
|
23
|
+
import { DismissibleTag } from '@neo4j-ndl/react';
|
|
24
|
+
import { DatabasePlusIcon } from '@neo4j-ndl/react/icons';
|
|
25
|
+
const Component = () => {
|
|
26
|
+
return (_jsx(DismissibleTag, { leadingVisual: _jsx(DatabasePlusIcon, {}), onRemove: () => console.info('onRemove was called'), children: "Dismissible Tag with leading icon" }));
|
|
27
|
+
};
|
|
28
|
+
export default Component;
|
|
29
|
+
//# sourceMappingURL=dismissible-tag-with-leading-icon.story.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dismissible-tag-with-leading-icon.story.js","sourceRoot":"","sources":["../../../../src/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,cAAc,IACb,aAAa,EAAE,KAAC,gBAAgB,KAAG,EACnC,QAAQ,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,CAAC,kDAGpC,CAClB,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,SAAS,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 '@neo4j-ndl/base/lib/neo4j-ds-styles.css';\n\nimport { DismissibleTag } from '@neo4j-ndl/react';\nimport { DatabasePlusIcon } from '@neo4j-ndl/react/icons';\n\nconst Component = () => {\n return (\n <DismissibleTag\n leadingVisual={<DatabasePlusIcon />}\n onRemove={() => console.info('onRemove was called')}\n >\n Dismissible Tag with leading icon\n </DismissibleTag>\n );\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
export { default as DismissibleTagDefault } from './dismissible-tag-default.story';
|
|
22
|
+
export { default as DismissibleTagSizes } from './dismissible-tag-sizes.story';
|
|
23
|
+
export { default as DismissibleTagWithLeadingIcon } from './dismissible-tag-with-leading-icon.story';
|
|
24
|
+
export { default as DismissibleTagColors } from './dismissible-tag-colors.story';
|
|
25
|
+
import { removeLicenseHeader } from '../../_common/export-stories-utils';
|
|
26
|
+
import DismissibleTagColorsSrcRaw from './dismissible-tag-colors.story?raw';
|
|
27
|
+
import DismissibleTagDefaultSrcRaw from './dismissible-tag-default.story?raw';
|
|
28
|
+
import DismissibleTagSizesSrcRaw from './dismissible-tag-sizes.story?raw';
|
|
29
|
+
import DismissibleTagWithLeadingIconSrcRaw from './dismissible-tag-with-leading-icon.story?raw';
|
|
30
|
+
export const DismissibleTagDefaultSrc = removeLicenseHeader(DismissibleTagDefaultSrcRaw);
|
|
31
|
+
export const DismissibleTagSizesSrc = removeLicenseHeader(DismissibleTagSizesSrcRaw);
|
|
32
|
+
export const DismissibleTagColorsSrc = removeLicenseHeader(DismissibleTagColorsSrcRaw);
|
|
33
|
+
export const DismissibleTagWithLeadingIconSrc = removeLicenseHeader(DismissibleTagWithLeadingIconSrcRaw);
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dismissible-tag/stories/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,iCAAiC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,6BAA6B,EAAE,MAAM,2CAA2C,CAAC;AACrG,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AAEjF,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,0BAA0B,MAAM,oCAAoC,CAAC;AAC5E,OAAO,2BAA2B,MAAM,qCAAqC,CAAC;AAC9E,OAAO,yBAAyB,MAAM,mCAAmC,CAAC;AAC1E,OAAO,mCAAmC,MAAM,+CAA+C,CAAC;AAEhG,MAAM,CAAC,MAAM,wBAAwB,GAAG,mBAAmB,CACzD,2BAA2B,CAC5B,CAAC;AACF,MAAM,CAAC,MAAM,sBAAsB,GAAG,mBAAmB,CACvD,yBAAyB,CAC1B,CAAC;AACF,MAAM,CAAC,MAAM,uBAAuB,GAAG,mBAAmB,CACxD,0BAA0B,CAC3B,CAAC;AACF,MAAM,CAAC,MAAM,gCAAgC,GAAG,mBAAmB,CACjE,mCAAmC,CACpC,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 { default as DismissibleTagDefault } from './dismissible-tag-default.story';\nexport { default as DismissibleTagSizes } from './dismissible-tag-sizes.story';\nexport { default as DismissibleTagWithLeadingIcon } from './dismissible-tag-with-leading-icon.story';\nexport { default as DismissibleTagColors } from './dismissible-tag-colors.story';\n\nimport { removeLicenseHeader } from '../../_common/export-stories-utils';\nimport DismissibleTagColorsSrcRaw from './dismissible-tag-colors.story?raw';\nimport DismissibleTagDefaultSrcRaw from './dismissible-tag-default.story?raw';\nimport DismissibleTagSizesSrcRaw from './dismissible-tag-sizes.story?raw';\nimport DismissibleTagWithLeadingIconSrcRaw from './dismissible-tag-with-leading-icon.story?raw';\n\nexport const DismissibleTagDefaultSrc = removeLicenseHeader(\n DismissibleTagDefaultSrcRaw,\n);\nexport const DismissibleTagSizesSrc = removeLicenseHeader(\n DismissibleTagSizesSrcRaw,\n);\nexport const DismissibleTagColorsSrc = removeLicenseHeader(\n DismissibleTagColorsSrcRaw,\n);\nexport const DismissibleTagWithLeadingIconSrc = removeLicenseHeader(\n DismissibleTagWithLeadingIconSrcRaw,\n);\n"]}
|
package/lib/esm/index.js
CHANGED
|
@@ -77,4 +77,6 @@ export { TextButton } from './text-button';
|
|
|
77
77
|
export { Code } from './code';
|
|
78
78
|
export { Kbd } from './kbd';
|
|
79
79
|
export { SelectIconButton } from './select-icon-button';
|
|
80
|
+
export { ReadOnlyTag } from './read-only-tag';
|
|
81
|
+
export { DismissibleTag } from './dismissible-tag';
|
|
80
82
|
//# sourceMappingURL=index.js.map
|
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,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,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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O,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,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 { Checkbox } from './checkbox';\nexport { Switch } from './switch';\nexport { Radio } from './radio';\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 { Popover } from './popover';\nexport { ProgressBar } from './progress-bar';\nexport { Dropzone } from './dropzone';\nexport {\n DataGrid,\n useDataGridContext,\n useTableNav,\n dataGridUtils,\n DataGridNav,\n} 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';\n"]}
|
|
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,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,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,EA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AC9C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,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 { Checkbox } from './checkbox';\nexport { Switch } from './switch';\nexport { Radio } from './radio';\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 { Popover } from './popover';\nexport { ProgressBar } from './progress-bar';\nexport { Dropzone } from './dropzone';\nexport {\n DataGrid,\n useDataGridContext,\n useTableNav,\n dataGridUtils,\n DataGridNav,\n} 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';\n"]}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
*
|
|
3
|
+
* Copyright (c) "Neo4j"
|
|
4
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
5
|
+
*
|
|
6
|
+
* This file is part of Neo4j.
|
|
7
|
+
*
|
|
8
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
9
|
+
* it under the terms of the GNU General Public License as published by
|
|
10
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
11
|
+
* (at your option) any later version.
|
|
12
|
+
*
|
|
13
|
+
* This program is distributed in the hope that it will be useful,
|
|
14
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16
|
+
* GNU General Public License for more details.
|
|
17
|
+
*
|
|
18
|
+
* You should have received a copy of the GNU General Public License
|
|
19
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
20
|
+
*/
|
|
21
|
+
|
|
22
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
23
|
+
var t = {};
|
|
24
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
25
|
+
t[p] = s[p];
|
|
26
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
27
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
28
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
29
|
+
t[p[i]] = s[p[i]];
|
|
30
|
+
}
|
|
31
|
+
return t;
|
|
32
|
+
};
|
|
33
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
34
|
+
import { TagBase } from '../tag-base';
|
|
35
|
+
export const ReadOnlyTag = (_a) => {
|
|
36
|
+
var { color, children, htmlAttributes, leadingVisual, size } = _a, restProps = __rest(_a, ["color", "children", "htmlAttributes", "leadingVisual", "size"]);
|
|
37
|
+
return (_jsx(TagBase, Object.assign({ color: color, htmlAttributes: htmlAttributes, leadingVisual: leadingVisual, size: size }, restProps, { children: children })));
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=ReadOnlyTag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadOnlyTag.js","sourceRoot":"","sources":["../../../src/read-only-tag/ReadOnlyTag.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAwBA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAatC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,EAOW,EAAE,EAAE;QAPf,EAC1B,KAAK,EACL,QAAQ,EACR,cAAc,EACd,aAAa,EACb,IAAI,OAEiC,EADlC,SAAS,cANc,gEAO3B,CADa;IAEZ,OAAO,CACL,KAAC,OAAO,kBACN,KAAK,EAAE,KAAK,EACZ,cAAc,EAAE,cAAc,EAC9B,aAAa,EAAE,aAAa,EAC5B,IAAI,EAAE,IAAI,IACN,SAAS,cAEZ,QAAQ,IACD,CACX,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 type React from 'react';\n\nimport { type CommonProps } from '../_common/types';\nimport type { TagColor, TagSize } from '../tag-base';\nimport { TagBase } from '../tag-base';\n\ninterface ReadOnlyTagProps {\n /** Categorical color for the background */\n color?: TagColor;\n /** The content of the tag */\n children?: React.ReactNode;\n /** Icon to display before the content */\n leadingVisual?: React.ReactNode;\n /** Size of the tag */\n size?: TagSize;\n}\n\nexport const ReadOnlyTag = ({\n color,\n children,\n htmlAttributes,\n leadingVisual,\n size,\n ...restProps\n}: CommonProps<'div', ReadOnlyTagProps>) => {\n return (\n <TagBase\n color={color}\n htmlAttributes={htmlAttributes}\n leadingVisual={leadingVisual}\n size={size}\n {...restProps}\n >\n {children}\n </TagBase>\n );\n};\n"]}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
export { ReadOnlyTag } from './ReadOnlyTag';
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/read-only-tag/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,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\nexport { ReadOnlyTag } from './ReadOnlyTag';\n"]}
|