@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.
Files changed (103) hide show
  1. package/lib/cjs/dismissible-tag/DismissibleTag.js +46 -0
  2. package/lib/cjs/dismissible-tag/DismissibleTag.js.map +1 -0
  3. package/lib/cjs/dismissible-tag/index.js +26 -0
  4. package/lib/cjs/dismissible-tag/index.js.map +1 -0
  5. package/lib/cjs/dismissible-tag/stories/dismissible-tag-colors.story.js +33 -0
  6. package/lib/cjs/dismissible-tag/stories/dismissible-tag-colors.story.js.map +1 -0
  7. package/lib/cjs/dismissible-tag/stories/dismissible-tag-default.story.js +30 -0
  8. package/lib/cjs/dismissible-tag/stories/dismissible-tag-default.story.js.map +1 -0
  9. package/lib/cjs/dismissible-tag/stories/dismissible-tag-sizes.story.js +33 -0
  10. package/lib/cjs/dismissible-tag/stories/dismissible-tag-sizes.story.js.map +1 -0
  11. package/lib/cjs/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.js +31 -0
  12. package/lib/cjs/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.js.map +1 -0
  13. package/lib/cjs/dismissible-tag/stories/index.js +44 -0
  14. package/lib/cjs/dismissible-tag/stories/index.js.map +1 -0
  15. package/lib/cjs/index.js +5 -1
  16. package/lib/cjs/index.js.map +1 -1
  17. package/lib/cjs/read-only-tag/ReadOnlyTag.js +43 -0
  18. package/lib/cjs/read-only-tag/ReadOnlyTag.js.map +1 -0
  19. package/lib/cjs/read-only-tag/index.js +26 -0
  20. package/lib/cjs/read-only-tag/index.js.map +1 -0
  21. package/lib/cjs/read-only-tag/stories/index.js +44 -0
  22. package/lib/cjs/read-only-tag/stories/index.js.map +1 -0
  23. package/lib/cjs/read-only-tag/stories/read-only-tag-colors.story.js +30 -0
  24. package/lib/cjs/read-only-tag/stories/read-only-tag-colors.story.js.map +1 -0
  25. package/lib/cjs/read-only-tag/stories/read-only-tag-default.story.js +30 -0
  26. package/lib/cjs/read-only-tag/stories/read-only-tag-default.story.js.map +1 -0
  27. package/lib/cjs/read-only-tag/stories/read-only-tag-sizes.story.js +30 -0
  28. package/lib/cjs/read-only-tag/stories/read-only-tag-sizes.story.js.map +1 -0
  29. package/lib/cjs/read-only-tag/stories/read-only-tag-with-leading-icon.story.js +31 -0
  30. package/lib/cjs/read-only-tag/stories/read-only-tag-with-leading-icon.story.js.map +1 -0
  31. package/lib/cjs/tag-base/TagBase.js +98 -0
  32. package/lib/cjs/tag-base/TagBase.js.map +1 -0
  33. package/lib/cjs/tag-base/index.js +38 -0
  34. package/lib/cjs/tag-base/index.js.map +1 -0
  35. package/lib/esm/dismissible-tag/DismissibleTag.js +42 -0
  36. package/lib/esm/dismissible-tag/DismissibleTag.js.map +1 -0
  37. package/lib/esm/dismissible-tag/index.js +22 -0
  38. package/lib/esm/dismissible-tag/index.js.map +1 -0
  39. package/lib/esm/dismissible-tag/stories/dismissible-tag-colors.story.js +31 -0
  40. package/lib/esm/dismissible-tag/stories/dismissible-tag-colors.story.js.map +1 -0
  41. package/lib/esm/dismissible-tag/stories/dismissible-tag-default.story.js +28 -0
  42. package/lib/esm/dismissible-tag/stories/dismissible-tag-default.story.js.map +1 -0
  43. package/lib/esm/dismissible-tag/stories/dismissible-tag-sizes.story.js +31 -0
  44. package/lib/esm/dismissible-tag/stories/dismissible-tag-sizes.story.js.map +1 -0
  45. package/lib/esm/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.js +29 -0
  46. package/lib/esm/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.js.map +1 -0
  47. package/lib/esm/dismissible-tag/stories/index.js +34 -0
  48. package/lib/esm/dismissible-tag/stories/index.js.map +1 -0
  49. package/lib/esm/index.js +2 -0
  50. package/lib/esm/index.js.map +1 -1
  51. package/lib/esm/read-only-tag/ReadOnlyTag.js +39 -0
  52. package/lib/esm/read-only-tag/ReadOnlyTag.js.map +1 -0
  53. package/lib/esm/read-only-tag/index.js +22 -0
  54. package/lib/esm/read-only-tag/index.js.map +1 -0
  55. package/lib/esm/read-only-tag/stories/index.js +34 -0
  56. package/lib/esm/read-only-tag/stories/index.js.map +1 -0
  57. package/lib/esm/read-only-tag/stories/read-only-tag-colors.story.js +28 -0
  58. package/lib/esm/read-only-tag/stories/read-only-tag-colors.story.js.map +1 -0
  59. package/lib/esm/read-only-tag/stories/read-only-tag-default.story.js +28 -0
  60. package/lib/esm/read-only-tag/stories/read-only-tag-default.story.js.map +1 -0
  61. package/lib/esm/read-only-tag/stories/read-only-tag-sizes.story.js +28 -0
  62. package/lib/esm/read-only-tag/stories/read-only-tag-sizes.story.js.map +1 -0
  63. package/lib/esm/read-only-tag/stories/read-only-tag-with-leading-icon.story.js +29 -0
  64. package/lib/esm/read-only-tag/stories/read-only-tag-with-leading-icon.story.js.map +1 -0
  65. package/lib/esm/tag-base/TagBase.js +91 -0
  66. package/lib/esm/tag-base/TagBase.js.map +1 -0
  67. package/lib/esm/tag-base/index.js +22 -0
  68. package/lib/esm/tag-base/index.js.map +1 -0
  69. package/lib/types/dismissible-tag/DismissibleTag.d.ts +38 -0
  70. package/lib/types/dismissible-tag/DismissibleTag.d.ts.map +1 -0
  71. package/lib/types/dismissible-tag/index.d.ts +22 -0
  72. package/lib/types/dismissible-tag/index.d.ts.map +1 -0
  73. package/lib/types/dismissible-tag/stories/dismissible-tag-colors.story.d.ts +24 -0
  74. package/lib/types/dismissible-tag/stories/dismissible-tag-colors.story.d.ts.map +1 -0
  75. package/lib/types/dismissible-tag/stories/dismissible-tag-default.story.d.ts +24 -0
  76. package/lib/types/dismissible-tag/stories/dismissible-tag-default.story.d.ts.map +1 -0
  77. package/lib/types/dismissible-tag/stories/dismissible-tag-sizes.story.d.ts +24 -0
  78. package/lib/types/dismissible-tag/stories/dismissible-tag-sizes.story.d.ts.map +1 -0
  79. package/lib/types/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.d.ts +24 -0
  80. package/lib/types/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.d.ts.map +1 -0
  81. package/lib/types/dismissible-tag/stories/index.d.ts +29 -0
  82. package/lib/types/dismissible-tag/stories/index.d.ts.map +1 -0
  83. package/lib/types/index.d.ts +2 -0
  84. package/lib/types/index.d.ts.map +1 -1
  85. package/lib/types/read-only-tag/ReadOnlyTag.d.ts +36 -0
  86. package/lib/types/read-only-tag/ReadOnlyTag.d.ts.map +1 -0
  87. package/lib/types/read-only-tag/index.d.ts +22 -0
  88. package/lib/types/read-only-tag/index.d.ts.map +1 -0
  89. package/lib/types/read-only-tag/stories/index.d.ts +29 -0
  90. package/lib/types/read-only-tag/stories/index.d.ts.map +1 -0
  91. package/lib/types/read-only-tag/stories/read-only-tag-colors.story.d.ts +24 -0
  92. package/lib/types/read-only-tag/stories/read-only-tag-colors.story.d.ts.map +1 -0
  93. package/lib/types/read-only-tag/stories/read-only-tag-default.story.d.ts +24 -0
  94. package/lib/types/read-only-tag/stories/read-only-tag-default.story.d.ts.map +1 -0
  95. package/lib/types/read-only-tag/stories/read-only-tag-sizes.story.d.ts +24 -0
  96. package/lib/types/read-only-tag/stories/read-only-tag-sizes.story.d.ts.map +1 -0
  97. package/lib/types/read-only-tag/stories/read-only-tag-with-leading-icon.story.d.ts +24 -0
  98. package/lib/types/read-only-tag/stories/read-only-tag-with-leading-icon.story.d.ts.map +1 -0
  99. package/lib/types/tag-base/TagBase.d.ts +46 -0
  100. package/lib/types/tag-base/TagBase.d.ts.map +1 -0
  101. package/lib/types/tag-base/index.d.ts +22 -0
  102. package/lib/types/tag-base/index.d.ts.map +1 -0
  103. package/package.json +2 -2
@@ -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 ReadOnlyTagDefault } from './read-only-tag-default.story';
22
+ export { default as ReadOnlyTagSizes } from './read-only-tag-sizes.story';
23
+ export { default as ReadOnlyTagWithLeadingIcon } from './read-only-tag-with-leading-icon.story';
24
+ export { default as ReadOnlyTagColors } from './read-only-tag-colors.story';
25
+ import { removeLicenseHeader } from '../../_common/export-stories-utils';
26
+ import ReadOnlyTagColorsSrcRaw from './read-only-tag-colors.story?raw';
27
+ import ReadOnlyTagDefaultSrcRaw from './read-only-tag-default.story?raw';
28
+ import ReadOnlyTagSizesSrcRaw from './read-only-tag-sizes.story?raw';
29
+ import ReadOnlyTagWithLeadingIconSrcRaw from './read-only-tag-with-leading-icon.story?raw';
30
+ export const ReadOnlyTagDefaultSrc = removeLicenseHeader(ReadOnlyTagDefaultSrcRaw);
31
+ export const ReadOnlyTagSizesSrc = removeLicenseHeader(ReadOnlyTagSizesSrcRaw);
32
+ export const ReadOnlyTagColorsSrc = removeLicenseHeader(ReadOnlyTagColorsSrcRaw);
33
+ export const ReadOnlyTagWithLeadingIconSrc = removeLicenseHeader(ReadOnlyTagWithLeadingIconSrcRaw);
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/read-only-tag/stories/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAChG,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAE5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,uBAAuB,MAAM,kCAAkC,CAAC;AACvE,OAAO,wBAAwB,MAAM,mCAAmC,CAAC;AACzE,OAAO,sBAAsB,MAAM,iCAAiC,CAAC;AACrE,OAAO,gCAAgC,MAAM,6CAA6C,CAAC;AAE3F,MAAM,CAAC,MAAM,qBAAqB,GAAG,mBAAmB,CACtD,wBAAwB,CACzB,CAAC;AACF,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;AAC/E,MAAM,CAAC,MAAM,oBAAoB,GAAG,mBAAmB,CACrD,uBAAuB,CACxB,CAAC;AACF,MAAM,CAAC,MAAM,6BAA6B,GAAG,mBAAmB,CAC9D,gCAAgC,CACjC,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 ReadOnlyTagDefault } from './read-only-tag-default.story';\nexport { default as ReadOnlyTagSizes } from './read-only-tag-sizes.story';\nexport { default as ReadOnlyTagWithLeadingIcon } from './read-only-tag-with-leading-icon.story';\nexport { default as ReadOnlyTagColors } from './read-only-tag-colors.story';\n\nimport { removeLicenseHeader } from '../../_common/export-stories-utils';\nimport ReadOnlyTagColorsSrcRaw from './read-only-tag-colors.story?raw';\nimport ReadOnlyTagDefaultSrcRaw from './read-only-tag-default.story?raw';\nimport ReadOnlyTagSizesSrcRaw from './read-only-tag-sizes.story?raw';\nimport ReadOnlyTagWithLeadingIconSrcRaw from './read-only-tag-with-leading-icon.story?raw';\n\nexport const ReadOnlyTagDefaultSrc = removeLicenseHeader(\n ReadOnlyTagDefaultSrcRaw,\n);\nexport const ReadOnlyTagSizesSrc = removeLicenseHeader(ReadOnlyTagSizesSrcRaw);\nexport const ReadOnlyTagColorsSrc = removeLicenseHeader(\n ReadOnlyTagColorsSrcRaw,\n);\nexport const ReadOnlyTagWithLeadingIconSrc = removeLicenseHeader(\n ReadOnlyTagWithLeadingIconSrcRaw,\n);\n"]}
@@ -0,0 +1,28 @@
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 { ReadOnlyTag } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsxs("div", { className: "n-flex n-flex-col n-gap-token-16", children: [_jsx(ReadOnlyTag, { color: "1", children: "Categorical color 1" }), _jsx(ReadOnlyTag, { color: "2", children: "Categorical color 2" }), _jsx(ReadOnlyTag, { color: "3", children: "Categorical color 3" }), _jsx(ReadOnlyTag, { color: "4", children: "Categorical color 4" }), _jsx(ReadOnlyTag, { color: "5", children: "Categorical color 5" }), _jsx(ReadOnlyTag, { color: "6", children: "Categorical color 6" }), _jsx(ReadOnlyTag, { color: "7", children: "Categorical color 7" }), _jsx(ReadOnlyTag, { color: "8", children: "Categorical color 8" })] }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=read-only-tag-colors.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"read-only-tag-colors.story.js","sourceRoot":"","sources":["../../../../src/read-only-tag/stories/read-only-tag-colors.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,kCAAkC,aAC/C,KAAC,WAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,KAAC,WAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,KAAC,WAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,KAAC,WAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,KAAC,WAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,KAAC,WAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,KAAC,WAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,KAAC,WAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,IACpD,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 { ReadOnlyTag } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return (\n <div className=\"n-flex n-flex-col n-gap-token-16\">\n <ReadOnlyTag color=\"1\">Categorical color 1</ReadOnlyTag>\n <ReadOnlyTag color=\"2\">Categorical color 2</ReadOnlyTag>\n <ReadOnlyTag color=\"3\">Categorical color 3</ReadOnlyTag>\n <ReadOnlyTag color=\"4\">Categorical color 4</ReadOnlyTag>\n <ReadOnlyTag color=\"5\">Categorical color 5</ReadOnlyTag>\n <ReadOnlyTag color=\"6\">Categorical color 6</ReadOnlyTag>\n <ReadOnlyTag color=\"7\">Categorical color 7</ReadOnlyTag>\n <ReadOnlyTag color=\"8\">Categorical color 8</ReadOnlyTag>\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 { ReadOnlyTag } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return _jsx(ReadOnlyTag, { children: "Read-only Tag" });
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=read-only-tag-default.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"read-only-tag-default.story.js","sourceRoot":"","sources":["../../../../src/read-only-tag/stories/read-only-tag-default.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,KAAC,WAAW,gCAA4B,CAAC;AAClD,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 { ReadOnlyTag } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return <ReadOnlyTag>Read-only Tag</ReadOnlyTag>;\n};\n\nexport default Component;\n"]}
@@ -0,0 +1,28 @@
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 { ReadOnlyTag } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return (_jsxs("div", { className: "n-flex n-gap-token-16 n-items-start", children: [_jsx(ReadOnlyTag, { size: "x-small", children: "X-Small" }), _jsx(ReadOnlyTag, { size: "small", children: "Small" }), _jsx(ReadOnlyTag, { size: "medium", children: "Medium" }), _jsx(ReadOnlyTag, { size: "large", children: "Large" })] }));
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=read-only-tag-sizes.story.js.map
@@ -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,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,eAAK,SAAS,EAAC,qCAAqC,aAClD,KAAC,WAAW,IAAC,IAAI,EAAC,SAAS,wBAAsB,EACjD,KAAC,WAAW,IAAC,IAAI,EAAC,OAAO,sBAAoB,EAC7C,KAAC,WAAW,IAAC,IAAI,EAAC,QAAQ,uBAAqB,EAC/C,KAAC,WAAW,IAAC,IAAI,EAAC,OAAO,sBAAoB,IACzC,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 { 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,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 { ReadOnlyTag } from '@neo4j-ndl/react';
24
+ import { DatabasePlusIcon } from '@neo4j-ndl/react/icons';
25
+ const Component = () => {
26
+ return (_jsx(ReadOnlyTag, { leadingVisual: _jsx(DatabasePlusIcon, {}), children: "Read-only Tag with leading icon" }));
27
+ };
28
+ export default Component;
29
+ //# 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,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,KAAC,WAAW,IAAC,aAAa,EAAE,KAAC,gBAAgB,KAAG,gDAElC,CACf,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 { 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,91 @@
1
+ var __rest = (this && this.__rest) || function (s, e) {
2
+ var t = {};
3
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
4
+ t[p] = s[p];
5
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
6
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
7
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
8
+ t[p[i]] = s[p[i]];
9
+ }
10
+ return t;
11
+ };
12
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
13
+ /**
14
+ *
15
+ * Copyright (c) "Neo4j"
16
+ * Neo4j Sweden AB [http://neo4j.com]
17
+ *
18
+ * This file is part of Neo4j.
19
+ *
20
+ * Neo4j is free software: you can redistribute it and/or modify
21
+ * it under the terms of the GNU General Public License as published by
22
+ * the Free Software Foundation, either version 3 of the License, or
23
+ * (at your option) any later version.
24
+ *
25
+ * This program is distributed in the hope that it will be useful,
26
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
27
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28
+ * GNU General Public License for more details.
29
+ *
30
+ * You should have received a copy of the GNU General Public License
31
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
32
+ */
33
+ import { tokens } from '@neo4j-ndl/base';
34
+ import classNames from 'classnames';
35
+ export const CategoricalColors = [
36
+ '1',
37
+ '2',
38
+ '3',
39
+ '4',
40
+ '5',
41
+ '6',
42
+ '7',
43
+ '8',
44
+ ];
45
+ export const colorMap = {
46
+ '1': {
47
+ '--tag-background-color': tokens.categorical[1],
48
+ '--tag-text-color': tokens.palette.neutral[75],
49
+ },
50
+ '2': {
51
+ '--tag-background-color': tokens.categorical[2],
52
+ '--tag-text-color': tokens.palette.neutral[10],
53
+ },
54
+ '3': {
55
+ '--tag-background-color': tokens.categorical[3],
56
+ '--tag-text-color': tokens.palette.neutral[75],
57
+ },
58
+ '4': {
59
+ '--tag-background-color': tokens.categorical[4],
60
+ '--tag-text-color': tokens.palette.neutral[10],
61
+ },
62
+ '5': {
63
+ '--tag-background-color': tokens.categorical[5],
64
+ '--tag-text-color': tokens.palette.neutral[75],
65
+ },
66
+ '6': {
67
+ '--tag-background-color': tokens.categorical[6],
68
+ '--tag-text-color': tokens.palette.neutral[75],
69
+ },
70
+ '7': {
71
+ '--tag-background-color': tokens.categorical[7],
72
+ '--tag-text-color': tokens.palette.neutral[10],
73
+ },
74
+ '8': {
75
+ '--tag-background-color': tokens.categorical[8],
76
+ '--tag-text-color': tokens.palette.neutral[10],
77
+ },
78
+ };
79
+ export const TagBase = (_a) => {
80
+ 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"]);
81
+ const classes = classNames('ndl-tag-new', className, {
82
+ 'ndl-large': size === 'large',
83
+ 'ndl-medium': size === 'medium',
84
+ 'ndl-small': size === 'small',
85
+ 'ndl-tag-colored': Boolean(color),
86
+ 'ndl-x-small': size === 'x-small',
87
+ });
88
+ const styles = Object.assign(Object.assign({}, style), (color ? colorMap[color] : {}));
89
+ return (_jsxs("div", Object.assign({ className: classes, ref: ref, style: styles }, htmlAttributes, restProps, { children: [Boolean(leadingVisual) && (_jsx("div", { className: "ndl-tag-leading-element", children: leadingVisual })), _jsx("span", { className: "ndl-tag-content", id: contentId, children: children }), trailingContent] })));
90
+ };
91
+ //# sourceMappingURL=TagBase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagBase.js","sourceRoot":"","sources":["../../../src/tag-base/TagBase.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;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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,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 * from './TagBase';
22
+ //# 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,cAAc,WAAW,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 * from './TagBase';\n"]}
@@ -0,0 +1,38 @@
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 type React from 'react';
22
+ import { type CommonProps } from '../_common/types';
23
+ import type { TagColor, TagSize } from '../tag-base';
24
+ interface DismissibleTagProps {
25
+ /** Categorical color for the background */
26
+ color?: TagColor;
27
+ /** The content of the tag */
28
+ children?: React.ReactNode;
29
+ /** Icon to display before the content */
30
+ leadingVisual?: React.ReactNode;
31
+ /** Size of the tag */
32
+ size?: TagSize;
33
+ /** Callback function triggered when tag should be removed. */
34
+ onRemove: React.MouseEventHandler<HTMLButtonElement>;
35
+ }
36
+ export declare const DismissibleTag: ({ size, color, children, htmlAttributes, leadingVisual, onRemove, ...restProps }: CommonProps<"div", DismissibleTagProps>) => import("react/jsx-runtime").JSX.Element;
37
+ export {};
38
+ //# sourceMappingURL=DismissibleTag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DismissibleTag.d.ts","sourceRoot":"","sources":["../../../src/dismissible-tag/DismissibleTag.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAGrD,UAAU,mBAAmB;IAC3B,2CAA2C;IAC3C,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,yCAAyC;IACzC,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,sBAAsB;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,8DAA8D;IAC9D,QAAQ,EAAE,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC;CACtD;AAED,eAAO,MAAM,cAAc,GAAI,kFAQ5B,WAAW,CAAC,KAAK,EAAE,mBAAmB,CAAC,4CA0BzC,CAAC"}
@@ -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.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dismissible-tag/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,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=dismissible-tag-colors.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dismissible-tag-colors.story.d.ts","sourceRoot":"","sources":["../../../../src/dismissible-tag/stories/dismissible-tag-colors.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAIjD,QAAA,MAAM,SAAS,+CAiCd,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=dismissible-tag-default.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dismissible-tag-default.story.d.ts","sourceRoot":"","sources":["../../../../src/dismissible-tag/stories/dismissible-tag-default.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAIjD,QAAA,MAAM,SAAS,+CAMd,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=dismissible-tag-sizes.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dismissible-tag-sizes.story.d.ts","sourceRoot":"","sources":["../../../../src/dismissible-tag/stories/dismissible-tag-sizes.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAIjD,QAAA,MAAM,SAAS,+CAqBd,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=dismissible-tag-with-leading-icon.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dismissible-tag-with-leading-icon.story.d.ts","sourceRoot":"","sources":["../../../../src/dismissible-tag/stories/dismissible-tag-with-leading-icon.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAKjD,QAAA,MAAM,SAAS,+CASd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,29 @@
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
+ export declare const DismissibleTagDefaultSrc: string;
26
+ export declare const DismissibleTagSizesSrc: string;
27
+ export declare const DismissibleTagColorsSrc: string;
28
+ export declare const DismissibleTagWithLeadingIconSrc: string;
29
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","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;AAQjF,eAAO,MAAM,wBAAwB,QAEpC,CAAC;AACF,eAAO,MAAM,sBAAsB,QAElC,CAAC;AACF,eAAO,MAAM,uBAAuB,QAEnC,CAAC;AACF,eAAO,MAAM,gCAAgC,QAE5C,CAAC"}
@@ -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.d.ts.map
@@ -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,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,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CA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AU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,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"}
@@ -0,0 +1,36 @@
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 type React from 'react';
22
+ import { type CommonProps } from '../_common/types';
23
+ import type { TagColor, TagSize } from '../tag-base';
24
+ interface ReadOnlyTagProps {
25
+ /** Categorical color for the background */
26
+ color?: TagColor;
27
+ /** The content of the tag */
28
+ children?: React.ReactNode;
29
+ /** Icon to display before the content */
30
+ leadingVisual?: React.ReactNode;
31
+ /** Size of the tag */
32
+ size?: TagSize;
33
+ }
34
+ export declare const ReadOnlyTag: ({ color, children, htmlAttributes, leadingVisual, size, ...restProps }: CommonProps<"div", ReadOnlyTagProps>) => import("react/jsx-runtime").JSX.Element;
35
+ export {};
36
+ //# sourceMappingURL=ReadOnlyTag.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReadOnlyTag.d.ts","sourceRoot":"","sources":["../../../src/read-only-tag/ReadOnlyTag.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAGrD,UAAU,gBAAgB;IACxB,2CAA2C;IAC3C,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,6BAA6B;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,yCAAyC;IACzC,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,sBAAsB;IACtB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,WAAW,GAAI,wEAOzB,WAAW,CAAC,KAAK,EAAE,gBAAgB,CAAC,4CAYtC,CAAC"}