@neo4j-ndl/react 4.9.47 → 4.11.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/icons/generated/custom/CollapseLayers.js +30 -0
- package/lib/cjs/icons/generated/custom/CollapseLayers.js.map +1 -0
- package/lib/cjs/icons/generated/custom/ExpandLayers.js +30 -0
- package/lib/cjs/icons/generated/custom/ExpandLayers.js.map +1 -0
- package/lib/cjs/icons/generated/custom/LayoutBottom.js +30 -0
- package/lib/cjs/icons/generated/custom/LayoutBottom.js.map +1 -0
- package/lib/cjs/icons/generated/custom/LayoutLeft.js +30 -0
- package/lib/cjs/icons/generated/custom/LayoutLeft.js.map +1 -0
- package/lib/cjs/icons/generated/custom/LayoutRight.js +30 -0
- package/lib/cjs/icons/generated/custom/LayoutRight.js.map +1 -0
- package/lib/cjs/icons/generated/custom/LayoutThreeSections.js +30 -0
- package/lib/cjs/icons/generated/custom/LayoutThreeSections.js.map +1 -0
- package/lib/cjs/icons/generated/custom/OpenQueryTab.js +30 -0
- package/lib/cjs/icons/generated/custom/OpenQueryTab.js.map +1 -0
- package/lib/cjs/icons/generated/custom/index.js +17 -2
- package/lib/cjs/icons/generated/custom/index.js.map +1 -1
- 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/icons/generated/custom/CollapseLayers.js +28 -0
- package/lib/esm/icons/generated/custom/CollapseLayers.js.map +1 -0
- package/lib/esm/icons/generated/custom/ExpandLayers.js +28 -0
- package/lib/esm/icons/generated/custom/ExpandLayers.js.map +1 -0
- package/lib/esm/icons/generated/custom/LayoutBottom.js +28 -0
- package/lib/esm/icons/generated/custom/LayoutBottom.js.map +1 -0
- package/lib/esm/icons/generated/custom/LayoutLeft.js +28 -0
- package/lib/esm/icons/generated/custom/LayoutLeft.js.map +1 -0
- package/lib/esm/icons/generated/custom/LayoutRight.js +28 -0
- package/lib/esm/icons/generated/custom/LayoutRight.js.map +1 -0
- package/lib/esm/icons/generated/custom/LayoutThreeSections.js +28 -0
- package/lib/esm/icons/generated/custom/LayoutThreeSections.js.map +1 -0
- package/lib/esm/icons/generated/custom/OpenQueryTab.js +28 -0
- package/lib/esm/icons/generated/custom/OpenQueryTab.js.map +1 -0
- package/lib/esm/icons/generated/custom/index.js +7 -0
- package/lib/esm/icons/generated/custom/index.js.map +1 -1
- 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/icons/generated/custom/CollapseLayers.d.ts +29 -0
- package/lib/types/icons/generated/custom/CollapseLayers.d.ts.map +1 -0
- package/lib/types/icons/generated/custom/ExpandLayers.d.ts +29 -0
- package/lib/types/icons/generated/custom/ExpandLayers.d.ts.map +1 -0
- package/lib/types/icons/generated/custom/LayoutBottom.d.ts +29 -0
- package/lib/types/icons/generated/custom/LayoutBottom.d.ts.map +1 -0
- package/lib/types/icons/generated/custom/LayoutLeft.d.ts +29 -0
- package/lib/types/icons/generated/custom/LayoutLeft.d.ts.map +1 -0
- package/lib/types/icons/generated/custom/LayoutRight.d.ts +29 -0
- package/lib/types/icons/generated/custom/LayoutRight.d.ts.map +1 -0
- package/lib/types/icons/generated/custom/LayoutThreeSections.d.ts +29 -0
- package/lib/types/icons/generated/custom/LayoutThreeSections.d.ts.map +1 -0
- package/lib/types/icons/generated/custom/OpenQueryTab.d.ts +29 -0
- package/lib/types/icons/generated/custom/OpenQueryTab.d.ts.map +1 -0
- package/lib/types/icons/generated/custom/index.d.ts +7 -0
- package/lib/types/icons/generated/custom/index.d.ts.map +1 -1
- 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
|
@@ -23,8 +23,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
23
23
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
26
|
+
exports.LayoutBottomIcon = exports.LassoIcon = exports.ItalicIcon = exports.HorizontalBarIcon = exports.HierarchyTwoIcon = exports.HierarchyOneIcon = exports.HeartbeatIcon = exports.HeadsetIcon = exports.HandIcon = exports.GraphCrossIcon = exports.GlobePinIcon = exports.GithubIcon = exports.FunnelNavigateIcon = exports.FontSizeIcon = exports.FolderBookmarkIcon = exports.FloppyDiskIcon = exports.FitToScreenIcon = exports.ExternalLinkIcon = exports.ExploreIcon = exports.ExpandIcon = exports.ExpandLayersIcon = exports.DragIcon = exports.DocumentRefreshIcon = exports.DividerSquareDashIcon = exports.DesktopSaveIcon = exports.DeploymentsIcon = exports.DatabaseSignalIcon = exports.DatabaseRoleIcon = exports.DatabasePlusIcon = exports.DatabasePlugIcon = exports.DatabaseCrossIcon = exports.DataScienceIcon = exports.DataGridCrossIcon = exports.CurlyBracketsIcon = exports.ConfigureIcon = exports.CollapseLayersIcon = exports.CloudCrossIcon = exports.CloudCheckIcon = exports.CircleIcon = exports.ChipIcon = exports.CellDoubleClickIcon = exports.CellClickIcon = exports.BooleanIcon = exports.BoldIcon = exports.ArrowSendIcon = exports.AppGalleryIcon = exports.AlignTopIcon = exports.AlignCenterIcon = exports.AlignBottomIcon = exports.AddNodeIcon = void 0;
|
|
27
|
+
exports.UnderlineIcon = exports.TriangleIcon = exports.ThreePanelIcon = exports.TextIcon = exports.TextFormatIcon = exports.SquareIcon = exports.SquareDashIcon = exports.SingleValueIcon = exports.ShrinkIcon = exports.SelectIcon = exports.RotateIcon = exports.RhombusIcon = exports.ResizeCornerIcon = exports.RelationshipClickIcon = exports.RelationshipAddIcon = exports.QuoteIcon = exports.QueryIcon = exports.QueryStreamIcon = exports.PresentationIcon = exports.PlanViewIcon = exports.PinIcon = exports.PanelRightIcon = exports.PanelRightExpandedIcon = exports.PanelRightCollapsedIcon = exports.PanelLeftIcon = exports.PanelLeftExpandedIcon = exports.PanelLeftCollapsedIcon = exports.PanelBottomIcon = exports.OpenQueryTabIcon = exports.NomLevelIcon = exports.NodeClickIcon = exports.NodeAddIcon = exports.Neo4JLogoWhiteIcon = exports.Neo4JLogoColorIcon = exports.Neo4JLogoBlackIcon = exports.Neo4JIconWhiteIcon = exports.Neo4JIconColorIcon = exports.Neo4JIconBlackIcon = exports.Neo4JAiNeutralIcon = exports.MenuArrowRightIcon = exports.MenuArrowLeftIcon = exports.MemoryCardIcon = exports.MarkdownIcon = exports.MagnifyingGlassResetIcon = exports.LocationTargetIcon = exports.ListNumberIcon = exports.ListCheckIcon = exports.LayoutThreeSectionsIcon = exports.LayoutRightIcon = exports.LayoutLeftIcon = void 0;
|
|
28
|
+
exports.VisualizeBloomIcon = exports.VerticalBarIcon = exports.UserShieldIcon = void 0;
|
|
28
29
|
// THIS FILE IS GENERATED BY BUILD TOOL
|
|
29
30
|
// DO NOT EDIT IT MANUAL
|
|
30
31
|
var AddNode_1 = require("./AddNode");
|
|
@@ -55,6 +56,8 @@ var CloudCheck_1 = require("./CloudCheck");
|
|
|
55
56
|
Object.defineProperty(exports, "CloudCheckIcon", { enumerable: true, get: function () { return __importDefault(CloudCheck_1).default; } });
|
|
56
57
|
var CloudCross_1 = require("./CloudCross");
|
|
57
58
|
Object.defineProperty(exports, "CloudCrossIcon", { enumerable: true, get: function () { return __importDefault(CloudCross_1).default; } });
|
|
59
|
+
var CollapseLayers_1 = require("./CollapseLayers");
|
|
60
|
+
Object.defineProperty(exports, "CollapseLayersIcon", { enumerable: true, get: function () { return __importDefault(CollapseLayers_1).default; } });
|
|
58
61
|
var Configure_1 = require("./Configure");
|
|
59
62
|
Object.defineProperty(exports, "ConfigureIcon", { enumerable: true, get: function () { return __importDefault(Configure_1).default; } });
|
|
60
63
|
var CurlyBrackets_1 = require("./CurlyBrackets");
|
|
@@ -83,6 +86,8 @@ var DocumentRefresh_1 = require("./DocumentRefresh");
|
|
|
83
86
|
Object.defineProperty(exports, "DocumentRefreshIcon", { enumerable: true, get: function () { return __importDefault(DocumentRefresh_1).default; } });
|
|
84
87
|
var Drag_1 = require("./Drag");
|
|
85
88
|
Object.defineProperty(exports, "DragIcon", { enumerable: true, get: function () { return __importDefault(Drag_1).default; } });
|
|
89
|
+
var ExpandLayers_1 = require("./ExpandLayers");
|
|
90
|
+
Object.defineProperty(exports, "ExpandLayersIcon", { enumerable: true, get: function () { return __importDefault(ExpandLayers_1).default; } });
|
|
86
91
|
var Expand_1 = require("./Expand");
|
|
87
92
|
Object.defineProperty(exports, "ExpandIcon", { enumerable: true, get: function () { return __importDefault(Expand_1).default; } });
|
|
88
93
|
var Explore_1 = require("./Explore");
|
|
@@ -121,6 +126,14 @@ var Italic_1 = require("./Italic");
|
|
|
121
126
|
Object.defineProperty(exports, "ItalicIcon", { enumerable: true, get: function () { return __importDefault(Italic_1).default; } });
|
|
122
127
|
var Lasso_1 = require("./Lasso");
|
|
123
128
|
Object.defineProperty(exports, "LassoIcon", { enumerable: true, get: function () { return __importDefault(Lasso_1).default; } });
|
|
129
|
+
var LayoutBottom_1 = require("./LayoutBottom");
|
|
130
|
+
Object.defineProperty(exports, "LayoutBottomIcon", { enumerable: true, get: function () { return __importDefault(LayoutBottom_1).default; } });
|
|
131
|
+
var LayoutLeft_1 = require("./LayoutLeft");
|
|
132
|
+
Object.defineProperty(exports, "LayoutLeftIcon", { enumerable: true, get: function () { return __importDefault(LayoutLeft_1).default; } });
|
|
133
|
+
var LayoutRight_1 = require("./LayoutRight");
|
|
134
|
+
Object.defineProperty(exports, "LayoutRightIcon", { enumerable: true, get: function () { return __importDefault(LayoutRight_1).default; } });
|
|
135
|
+
var LayoutThreeSections_1 = require("./LayoutThreeSections");
|
|
136
|
+
Object.defineProperty(exports, "LayoutThreeSectionsIcon", { enumerable: true, get: function () { return __importDefault(LayoutThreeSections_1).default; } });
|
|
124
137
|
var ListCheck_1 = require("./ListCheck");
|
|
125
138
|
Object.defineProperty(exports, "ListCheckIcon", { enumerable: true, get: function () { return __importDefault(ListCheck_1).default; } });
|
|
126
139
|
var ListNumber_1 = require("./ListNumber");
|
|
@@ -157,6 +170,8 @@ var NodeClick_1 = require("./NodeClick");
|
|
|
157
170
|
Object.defineProperty(exports, "NodeClickIcon", { enumerable: true, get: function () { return __importDefault(NodeClick_1).default; } });
|
|
158
171
|
var NomLevel_1 = require("./NomLevel");
|
|
159
172
|
Object.defineProperty(exports, "NomLevelIcon", { enumerable: true, get: function () { return __importDefault(NomLevel_1).default; } });
|
|
173
|
+
var OpenQueryTab_1 = require("./OpenQueryTab");
|
|
174
|
+
Object.defineProperty(exports, "OpenQueryTabIcon", { enumerable: true, get: function () { return __importDefault(OpenQueryTab_1).default; } });
|
|
160
175
|
var PanelBottom_1 = require("./PanelBottom");
|
|
161
176
|
Object.defineProperty(exports, "PanelBottomIcon", { enumerable: true, get: function () { return __importDefault(PanelBottom_1).default; } });
|
|
162
177
|
var PanelLeftCollapsed_1 = require("./PanelLeftCollapsed");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/icons/generated/custom/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;AAEH,uCAAuC;AACvC,wBAAwB;AACxB,qCAAmD;AAA1C,uHAAA,OAAO,OAAe;AAC/B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+BAA6C;AAApC,iHAAA,OAAO,OAAY;AAC5B,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,uCAAqD;AAA5C,yHAAA,OAAO,OAAgB;AAChC,yCAAuD;AAA9C,2HAAA,OAAO,OAAiB;AACjC,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\n// THIS FILE IS GENERATED BY BUILD TOOL\n// DO NOT EDIT IT MANUAL\nexport { default as AddNodeIcon } from './AddNode';\nexport { default as AlignBottomIcon } from './AlignBottom';\nexport { default as AlignCenterIcon } from './AlignCenter';\nexport { default as AlignTopIcon } from './AlignTop';\nexport { default as AppGalleryIcon } from './AppGallery';\nexport { default as ArrowSendIcon } from './ArrowSend';\nexport { default as BoldIcon } from './Bold';\nexport { default as BooleanIcon } from './Boolean';\nexport { default as CellClickIcon } from './CellClick';\nexport { default as CellDoubleClickIcon } from './CellDoubleClick';\nexport { default as ChipIcon } from './Chip';\nexport { default as CircleIcon } from './Circle';\nexport { default as CloudCheckIcon } from './CloudCheck';\nexport { default as CloudCrossIcon } from './CloudCross';\nexport { default as ConfigureIcon } from './Configure';\nexport { default as CurlyBracketsIcon } from './CurlyBrackets';\nexport { default as DataGridCrossIcon } from './DataGridCross';\nexport { default as DataScienceIcon } from './DataScience';\nexport { default as DatabaseCrossIcon } from './DatabaseCross';\nexport { default as DatabasePlugIcon } from './DatabasePlug';\nexport { default as DatabasePlusIcon } from './DatabasePlus';\nexport { default as DatabaseRoleIcon } from './DatabaseRole';\nexport { default as DatabaseSignalIcon } from './DatabaseSignal';\nexport { default as DeploymentsIcon } from './Deployments';\nexport { default as DesktopSaveIcon } from './DesktopSave';\nexport { default as DividerSquareDashIcon } from './DividerSquareDash';\nexport { default as DocumentRefreshIcon } from './DocumentRefresh';\nexport { default as DragIcon } from './Drag';\nexport { default as ExpandIcon } from './Expand';\nexport { default as ExploreIcon } from './Explore';\nexport { default as ExternalLinkIcon } from './ExternalLink';\nexport { default as FitToScreenIcon } from './FitToScreen';\nexport { default as FloppyDiskIcon } from './FloppyDisk';\nexport { default as FolderBookmarkIcon } from './FolderBookmark';\nexport { default as FontSizeIcon } from './FontSize';\nexport { default as FunnelNavigateIcon } from './FunnelNavigate';\nexport { default as GithubIcon } from './Github';\nexport { default as GlobePinIcon } from './GlobePin';\nexport { default as GraphCrossIcon } from './GraphCross';\nexport { default as HandIcon } from './Hand';\nexport { default as HeadsetIcon } from './Headset';\nexport { default as HeartbeatIcon } from './Heartbeat';\nexport { default as HierarchyOneIcon } from './HierarchyOne';\nexport { default as HierarchyTwoIcon } from './HierarchyTwo';\nexport { default as HorizontalBarIcon } from './HorizontalBar';\nexport { default as ItalicIcon } from './Italic';\nexport { default as LassoIcon } from './Lasso';\nexport { default as ListCheckIcon } from './ListCheck';\nexport { default as ListNumberIcon } from './ListNumber';\nexport { default as LocationTargetIcon } from './LocationTarget';\nexport { default as MagnifyingGlassResetIcon } from './MagnifyingGlassReset';\nexport { default as MarkdownIcon } from './Markdown';\nexport { default as MemoryCardIcon } from './MemoryCard';\nexport { default as MenuArrowLeftIcon } from './MenuArrowLeft';\nexport { default as MenuArrowRightIcon } from './MenuArrowRight';\nexport { default as Neo4JAiNeutralIcon } from './Neo4JAiNeutral';\nexport { default as Neo4JIconBlackIcon } from './Neo4JIconBlack';\nexport { default as Neo4JIconColorIcon } from './Neo4JIconColor';\nexport { default as Neo4JIconWhiteIcon } from './Neo4JIconWhite';\nexport { default as Neo4JLogoBlackIcon } from './Neo4JLogoBlack';\nexport { default as Neo4JLogoColorIcon } from './Neo4JLogoColor';\nexport { default as Neo4JLogoWhiteIcon } from './Neo4JLogoWhite';\nexport { default as NodeAddIcon } from './NodeAdd';\nexport { default as NodeClickIcon } from './NodeClick';\nexport { default as NomLevelIcon } from './NomLevel';\nexport { default as PanelBottomIcon } from './PanelBottom';\nexport { default as PanelLeftCollapsedIcon } from './PanelLeftCollapsed';\nexport { default as PanelLeftExpandedIcon } from './PanelLeftExpanded';\nexport { default as PanelLeftIcon } from './PanelLeft';\nexport { default as PanelRightCollapsedIcon } from './PanelRightCollapsed';\nexport { default as PanelRightExpandedIcon } from './PanelRightExpanded';\nexport { default as PanelRightIcon } from './PanelRight';\nexport { default as PinIcon } from './Pin';\nexport { default as PlanViewIcon } from './PlanView';\nexport { default as PresentationIcon } from './Presentation';\nexport { default as QueryStreamIcon } from './QueryStream';\nexport { default as QueryIcon } from './Query';\nexport { default as QuoteIcon } from './Quote';\nexport { default as RelationshipAddIcon } from './RelationshipAdd';\nexport { default as RelationshipClickIcon } from './RelationshipClick';\nexport { default as ResizeCornerIcon } from './ResizeCorner';\nexport { default as RhombusIcon } from './Rhombus';\nexport { default as RotateIcon } from './Rotate';\nexport { default as SelectIcon } from './Select';\nexport { default as ShrinkIcon } from './Shrink';\nexport { default as SingleValueIcon } from './SingleValue';\nexport { default as SquareDashIcon } from './SquareDash';\nexport { default as SquareIcon } from './Square';\nexport { default as TextFormatIcon } from './TextFormat';\nexport { default as TextIcon } from './Text';\nexport { default as ThreePanelIcon } from './ThreePanel';\nexport { default as TriangleIcon } from './Triangle';\nexport { default as UnderlineIcon } from './Underline';\nexport { default as UserShieldIcon } from './UserShield';\nexport { default as VerticalBarIcon } from './VerticalBar';\nexport { default as VisualizeBloomIcon } from './VisualizeBloom';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/icons/generated/custom/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;AAEH,uCAAuC;AACvC,wBAAwB;AACxB,qCAAmD;AAA1C,uHAAA,OAAO,OAAe;AAC/B,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,uCAAqD;AAA5C,yHAAA,OAAO,OAAgB;AAChC,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,yCAAuD;AAA9C,2HAAA,OAAO,OAAiB;AACjC,+BAA6C;AAApC,iHAAA,OAAO,OAAY;AAC5B,qCAAmD;AAA1C,uHAAA,OAAO,OAAe;AAC/B,yCAAuD;AAA9C,2HAAA,OAAO,OAAiB;AACjC,qDAAmE;AAA1D,uIAAA,OAAO,OAAuB;AACvC,+BAA6C;AAApC,iHAAA,OAAO,OAAY;AAC5B,mCAAiD;AAAxC,qHAAA,OAAO,OAAc;AAC9B,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB;AACtC,yCAAuD;AAA9C,2HAAA,OAAO,OAAiB;AACjC,iDAA+D;AAAtD,mIAAA,OAAO,OAAqB;AACrC,iDAA+D;AAAtD,mIAAA,OAAO,OAAqB;AACrC,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,iDAA+D;AAAtD,mIAAA,OAAO,OAAqB;AACrC,+CAA6D;AAApD,iIAAA,OAAO,OAAoB;AACpC,+CAA6D;AAApD,iIAAA,OAAO,OAAoB;AACpC,+CAA6D;AAApD,iIAAA,OAAO,OAAoB;AACpC,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB;AACtC,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACn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AO,OAAa;AAC7B,iCAA+C;AAAtC,mHAAA,OAAO,OAAa;AAC7B,qDAAmE;AAA1D,uIAAA,OAAO,OAAuB;AACvC,yDAAuE;AAA9D,2IAAA,OAAO,OAAyB;AACzC,+CAA6D;AAApD,iIAAA,OAAO,OAAoB;AACpC,qCAAmD;AAA1C,uHAAA,OAAO,OAAe;AAC/B,mCAAiD;AAAxC,qHAAA,OAAO,OAAc;AAC9B,mCAAiD;AAAxC,qHAAA,OAAO,OAAc;AAC9B,mCAAiD;AAAxC,qHAAA,OAAO,OAAc;AAC9B,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,mCAAiD;AAAxC,qHAAA,OAAO,OAAc;AAC9B,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,+BAA6C;AAApC,iHAAA,OAAO,OAAY;AAC5B,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,uCAAqD;AAA5C,yHAAA,OAAO,OAAgB;AAChC,yCAAuD;AAA9C,2HAAA,OAAO,OAAiB;AACjC,2CAAyD;AAAhD,6HAAA,OAAO,OAAkB;AAClC,6CAA2D;AAAlD,+HAAA,OAAO,OAAmB;AACnC,mDAAiE;AAAxD,qIAAA,OAAO,OAAsB","sourcesContent":["/**\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\n// THIS FILE IS GENERATED BY BUILD TOOL\n// DO NOT EDIT IT MANUAL\nexport { default as AddNodeIcon } from './AddNode';\nexport { default as AlignBottomIcon } from './AlignBottom';\nexport { default as AlignCenterIcon } from './AlignCenter';\nexport { default as AlignTopIcon } from './AlignTop';\nexport { default as AppGalleryIcon } from './AppGallery';\nexport { default as ArrowSendIcon } from './ArrowSend';\nexport { default as BoldIcon } from './Bold';\nexport { default as BooleanIcon } from './Boolean';\nexport { default as CellClickIcon } from './CellClick';\nexport { default as CellDoubleClickIcon } from './CellDoubleClick';\nexport { default as ChipIcon } from './Chip';\nexport { default as CircleIcon } from './Circle';\nexport { default as CloudCheckIcon } from './CloudCheck';\nexport { default as CloudCrossIcon } from './CloudCross';\nexport { default as CollapseLayersIcon } from './CollapseLayers';\nexport { default as ConfigureIcon } from './Configure';\nexport { default as CurlyBracketsIcon } from './CurlyBrackets';\nexport { default as DataGridCrossIcon } from './DataGridCross';\nexport { default as DataScienceIcon } from './DataScience';\nexport { default as DatabaseCrossIcon } from './DatabaseCross';\nexport { default as DatabasePlugIcon } from './DatabasePlug';\nexport { default as DatabasePlusIcon } from './DatabasePlus';\nexport { default as DatabaseRoleIcon } from './DatabaseRole';\nexport { default as DatabaseSignalIcon } from './DatabaseSignal';\nexport { default as DeploymentsIcon } from './Deployments';\nexport { default as DesktopSaveIcon } from './DesktopSave';\nexport { default as DividerSquareDashIcon } from './DividerSquareDash';\nexport { default as DocumentRefreshIcon } from './DocumentRefresh';\nexport { default as DragIcon } from './Drag';\nexport { default as ExpandLayersIcon } from './ExpandLayers';\nexport { default as ExpandIcon } from './Expand';\nexport { default as ExploreIcon } from './Explore';\nexport { default as ExternalLinkIcon } from './ExternalLink';\nexport { default as FitToScreenIcon } from './FitToScreen';\nexport { default as FloppyDiskIcon } from './FloppyDisk';\nexport { default as FolderBookmarkIcon } from './FolderBookmark';\nexport { default as FontSizeIcon } from './FontSize';\nexport { default as FunnelNavigateIcon } from './FunnelNavigate';\nexport { default as GithubIcon } from './Github';\nexport { default as GlobePinIcon } from './GlobePin';\nexport { default as GraphCrossIcon } from './GraphCross';\nexport { default as HandIcon } from './Hand';\nexport { default as HeadsetIcon } from './Headset';\nexport { default as HeartbeatIcon } from './Heartbeat';\nexport { default as HierarchyOneIcon } from './HierarchyOne';\nexport { default as HierarchyTwoIcon } from './HierarchyTwo';\nexport { default as HorizontalBarIcon } from './HorizontalBar';\nexport { default as ItalicIcon } from './Italic';\nexport { default as LassoIcon } from './Lasso';\nexport { default as LayoutBottomIcon } from './LayoutBottom';\nexport { default as LayoutLeftIcon } from './LayoutLeft';\nexport { default as LayoutRightIcon } from './LayoutRight';\nexport { default as LayoutThreeSectionsIcon } from './LayoutThreeSections';\nexport { default as ListCheckIcon } from './ListCheck';\nexport { default as ListNumberIcon } from './ListNumber';\nexport { default as LocationTargetIcon } from './LocationTarget';\nexport { default as MagnifyingGlassResetIcon } from './MagnifyingGlassReset';\nexport { default as MarkdownIcon } from './Markdown';\nexport { default as MemoryCardIcon } from './MemoryCard';\nexport { default as MenuArrowLeftIcon } from './MenuArrowLeft';\nexport { default as MenuArrowRightIcon } from './MenuArrowRight';\nexport { default as Neo4JAiNeutralIcon } from './Neo4JAiNeutral';\nexport { default as Neo4JIconBlackIcon } from './Neo4JIconBlack';\nexport { default as Neo4JIconColorIcon } from './Neo4JIconColor';\nexport { default as Neo4JIconWhiteIcon } from './Neo4JIconWhite';\nexport { default as Neo4JLogoBlackIcon } from './Neo4JLogoBlack';\nexport { default as Neo4JLogoColorIcon } from './Neo4JLogoColor';\nexport { default as Neo4JLogoWhiteIcon } from './Neo4JLogoWhite';\nexport { default as NodeAddIcon } from './NodeAdd';\nexport { default as NodeClickIcon } from './NodeClick';\nexport { default as NomLevelIcon } from './NomLevel';\nexport { default as OpenQueryTabIcon } from './OpenQueryTab';\nexport { default as PanelBottomIcon } from './PanelBottom';\nexport { default as PanelLeftCollapsedIcon } from './PanelLeftCollapsed';\nexport { default as PanelLeftExpandedIcon } from './PanelLeftExpanded';\nexport { default as PanelLeftIcon } from './PanelLeft';\nexport { default as PanelRightCollapsedIcon } from './PanelRightCollapsed';\nexport { default as PanelRightExpandedIcon } from './PanelRightExpanded';\nexport { default as PanelRightIcon } from './PanelRight';\nexport { default as PinIcon } from './Pin';\nexport { default as PlanViewIcon } from './PlanView';\nexport { default as PresentationIcon } from './Presentation';\nexport { default as QueryStreamIcon } from './QueryStream';\nexport { default as QueryIcon } from './Query';\nexport { default as QuoteIcon } from './Quote';\nexport { default as RelationshipAddIcon } from './RelationshipAdd';\nexport { default as RelationshipClickIcon } from './RelationshipClick';\nexport { default as ResizeCornerIcon } from './ResizeCorner';\nexport { default as RhombusIcon } from './Rhombus';\nexport { default as RotateIcon } from './Rotate';\nexport { default as SelectIcon } from './Select';\nexport { default as ShrinkIcon } from './Shrink';\nexport { default as SingleValueIcon } from './SingleValue';\nexport { default as SquareDashIcon } from './SquareDash';\nexport { default as SquareIcon } from './Square';\nexport { default as TextFormatIcon } from './TextFormat';\nexport { default as TextIcon } from './Text';\nexport { default as ThreePanelIcon } from './ThreePanel';\nexport { default as TriangleIcon } from './Triangle';\nexport { default as UnderlineIcon } from './Underline';\nexport { default as UserShieldIcon } from './UserShield';\nexport { default as VerticalBarIcon } from './VerticalBar';\nexport { default as VisualizeBloomIcon } from './VisualizeBloom';\n"]}
|
package/lib/cjs/index.js
CHANGED
|
@@ -35,7 +35,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
35
35
|
};
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
37
|
exports.TimeZonePicker = exports.NeedleTime = exports.TimePicker = exports.Skeleton = exports.Tooltip = exports.toast = exports.Toaster = exports.ToasterControlled = exports.Divider = exports.DropdownButton = exports.InlineEdit = exports.Slider = exports.ClipboardButton = exports.Logo = exports.Avatar = exports.Flex = exports.Box = exports.Breadcrumbs = exports.Drawer = exports.Typography = exports.SideNavigation = exports.StatusIndicator = exports.CodeBlock = exports.GraphLabel = exports.Wizard = exports.Tag = exports.Select = exports.TextLink = exports.TextArea = exports.TextInput = exports.DataGridNav = exports.dataGridUtils = exports.useTableNav = exports.useDataGridContext = exports.DataGrid = exports.Dropzone = exports.ProgressBar = exports.Popover = exports.SegmentedControl = exports.Tabs = exports.LoadingSpinner = exports.Dialog = exports.DatePicker = exports.Menu = exports.Radio = exports.Switch = exports.Checkbox = exports.Banner = exports.StatusLabel = exports.Accordion = void 0;
|
|
38
|
-
exports.SelectIconButton = exports.Kbd = exports.Code = exports.TextButton = exports.FilledButton = exports.OutlinedButton = exports.ColorPicker = exports.ConditionalWrap = exports.IconButtonArray = exports.CleanIconButton = exports.IconButton = exports.LoadingBar = exports.useSpotlightContext = exports.SpotlightTour = exports.SpotlightTarget = exports.SpotlightProvider = exports.Spotlight = void 0;
|
|
38
|
+
exports.DismissibleTag = exports.ReadOnlyTag = exports.SelectIconButton = exports.Kbd = exports.Code = exports.TextButton = exports.FilledButton = exports.OutlinedButton = exports.ColorPicker = exports.ConditionalWrap = exports.IconButtonArray = exports.CleanIconButton = exports.IconButton = exports.LoadingBar = exports.useSpotlightContext = exports.SpotlightTour = exports.SpotlightTarget = exports.SpotlightProvider = exports.Spotlight = void 0;
|
|
39
39
|
var accordion_1 = require("./accordion");
|
|
40
40
|
Object.defineProperty(exports, "Accordion", { enumerable: true, get: function () { return accordion_1.Accordion; } });
|
|
41
41
|
var status_label_1 = require("./status-label");
|
|
@@ -162,4 +162,8 @@ var kbd_1 = require("./kbd");
|
|
|
162
162
|
Object.defineProperty(exports, "Kbd", { enumerable: true, get: function () { return kbd_1.Kbd; } });
|
|
163
163
|
var select_icon_button_1 = require("./select-icon-button");
|
|
164
164
|
Object.defineProperty(exports, "SelectIconButton", { enumerable: true, get: function () { return select_icon_button_1.SelectIconButton; } });
|
|
165
|
+
var read_only_tag_1 = require("./read-only-tag");
|
|
166
|
+
Object.defineProperty(exports, "ReadOnlyTag", { enumerable: true, get: function () { return read_only_tag_1.ReadOnlyTag; } });
|
|
167
|
+
var dismissible_tag_1 = require("./dismissible-tag");
|
|
168
|
+
Object.defineProperty(exports, "DismissibleTag", { enumerable: true, get: function () { return dismissible_tag_1.DismissibleTag; } });
|
|
165
169
|
//# sourceMappingURL=index.js.map
|
package/lib/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;;;;;;;;AAEH,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AACpB,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,yDAAuD;AAA9C,qHAAA,gBAAgB,OAAA;AACzB,qCAAoC;AAA3B,kGAAA,OAAO,OAAA;AAChB,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AACpB,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AACjB,yCAMqB;AALnB,qGAAA,QAAQ,OAAA;AACR,+GAAA,kBAAkB,OAAA;AAClB,wGAAA,WAAW,OAAA;AACX,0GAAA,aAAa,OAAA;AACb,wGAAA,WAAW,OAAA;AAEb,2CAAyC;AAAhC,uGAAA,SAAS,OAAA;AAClB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,6BAA4B;AAAnB,0FAAA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C,yGAAA,UAAU,OAAA;AACnB,yDAAsD;AAA7C,oHAAA,eAAe,OAAA;AACxB,yDAAsD;AAA7C,oHAAA,eAAe,OAAA;AACxB,uDAAqD;AAA5C,mHAAA,eAAe,OAAA;AACxB,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AACpB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,iDAA+C;AAAtC,6GAAA,YAAY,OAAA;AACrB,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,6BAA4B;AAAnB,0FAAA,GAAG,OAAA;AACZ,2DAAwD;AAA/C,sHAAA,gBAAgB,OAAA","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,yCAAwC;AAA/B,sGAAA,SAAS,OAAA;AAClB,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AACpB,mCAAkC;AAAzB,gGAAA,MAAM,OAAA;AACf,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AAC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WAAW,OAAA;AACpB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA","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,43 @@
|
|
|
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
|
+
"use strict";
|
|
23
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
24
|
+
var t = {};
|
|
25
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
26
|
+
t[p] = s[p];
|
|
27
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
28
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
29
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
30
|
+
t[p[i]] = s[p[i]];
|
|
31
|
+
}
|
|
32
|
+
return t;
|
|
33
|
+
};
|
|
34
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
|
+
exports.ReadOnlyTag = void 0;
|
|
36
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
37
|
+
const tag_base_1 = require("../tag-base");
|
|
38
|
+
const ReadOnlyTag = (_a) => {
|
|
39
|
+
var { color, children, htmlAttributes, leadingVisual, size } = _a, restProps = __rest(_a, ["color", "children", "htmlAttributes", "leadingVisual", "size"]);
|
|
40
|
+
return ((0, jsx_runtime_1.jsx)(tag_base_1.TagBase, Object.assign({ color: color, htmlAttributes: htmlAttributes, leadingVisual: leadingVisual, size: size }, restProps, { children: children })));
|
|
41
|
+
};
|
|
42
|
+
exports.ReadOnlyTag = ReadOnlyTag;
|
|
43
|
+
//# sourceMappingURL=ReadOnlyTag.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadOnlyTag.js","sourceRoot":"","sources":["../../../src/read-only-tag/ReadOnlyTag.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;AAwBA,0CAAsC;AAa/B,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,uBAAC,kBAAO,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;AAnBW,QAAA,WAAW,eAmBtB","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,26 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
|
+
exports.ReadOnlyTag = void 0;
|
|
24
|
+
var ReadOnlyTag_1 = require("./ReadOnlyTag");
|
|
25
|
+
Object.defineProperty(exports, "ReadOnlyTag", { enumerable: true, get: function () { return ReadOnlyTag_1.ReadOnlyTag; } });
|
|
26
|
+
//# 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,6CAA4C;AAAnC,0GAAA,WAAW,OAAA","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"]}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
23
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.ReadOnlyTagWithLeadingIconSrc = exports.ReadOnlyTagColorsSrc = exports.ReadOnlyTagSizesSrc = exports.ReadOnlyTagDefaultSrc = exports.ReadOnlyTagColors = exports.ReadOnlyTagWithLeadingIcon = exports.ReadOnlyTagSizes = exports.ReadOnlyTagDefault = void 0;
|
|
27
|
+
var read_only_tag_default_story_1 = require("./read-only-tag-default.story");
|
|
28
|
+
Object.defineProperty(exports, "ReadOnlyTagDefault", { enumerable: true, get: function () { return __importDefault(read_only_tag_default_story_1).default; } });
|
|
29
|
+
var read_only_tag_sizes_story_1 = require("./read-only-tag-sizes.story");
|
|
30
|
+
Object.defineProperty(exports, "ReadOnlyTagSizes", { enumerable: true, get: function () { return __importDefault(read_only_tag_sizes_story_1).default; } });
|
|
31
|
+
var read_only_tag_with_leading_icon_story_1 = require("./read-only-tag-with-leading-icon.story");
|
|
32
|
+
Object.defineProperty(exports, "ReadOnlyTagWithLeadingIcon", { enumerable: true, get: function () { return __importDefault(read_only_tag_with_leading_icon_story_1).default; } });
|
|
33
|
+
var read_only_tag_colors_story_1 = require("./read-only-tag-colors.story");
|
|
34
|
+
Object.defineProperty(exports, "ReadOnlyTagColors", { enumerable: true, get: function () { return __importDefault(read_only_tag_colors_story_1).default; } });
|
|
35
|
+
const export_stories_utils_1 = require("../../_common/export-stories-utils");
|
|
36
|
+
const read_only_tag_colors_story_raw_1 = __importDefault(require("./read-only-tag-colors.story?raw"));
|
|
37
|
+
const read_only_tag_default_story_raw_1 = __importDefault(require("./read-only-tag-default.story?raw"));
|
|
38
|
+
const read_only_tag_sizes_story_raw_1 = __importDefault(require("./read-only-tag-sizes.story?raw"));
|
|
39
|
+
const read_only_tag_with_leading_icon_story_raw_1 = __importDefault(require("./read-only-tag-with-leading-icon.story?raw"));
|
|
40
|
+
exports.ReadOnlyTagDefaultSrc = (0, export_stories_utils_1.removeLicenseHeader)(read_only_tag_default_story_raw_1.default);
|
|
41
|
+
exports.ReadOnlyTagSizesSrc = (0, export_stories_utils_1.removeLicenseHeader)(read_only_tag_sizes_story_raw_1.default);
|
|
42
|
+
exports.ReadOnlyTagColorsSrc = (0, export_stories_utils_1.removeLicenseHeader)(read_only_tag_colors_story_raw_1.default);
|
|
43
|
+
exports.ReadOnlyTagWithLeadingIconSrc = (0, export_stories_utils_1.removeLicenseHeader)(read_only_tag_with_leading_icon_story_raw_1.default);
|
|
44
|
+
//# 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,6EAA8E;AAArE,kJAAA,OAAO,OAAsB;AACtC,yEAA0E;AAAjE,8IAAA,OAAO,OAAoB;AACpC,iGAAgG;AAAvF,oKAAA,OAAO,OAA8B;AAC9C,2EAA4E;AAAnE,gJAAA,OAAO,OAAqB;AAErC,6EAAyE;AACzE,sGAAuE;AACvE,wGAAyE;AACzE,oGAAqE;AACrE,4HAA2F;AAE9E,QAAA,qBAAqB,GAAG,IAAA,0CAAmB,EACtD,yCAAwB,CACzB,CAAC;AACW,QAAA,mBAAmB,GAAG,IAAA,0CAAmB,EAAC,uCAAsB,CAAC,CAAC;AAClE,QAAA,oBAAoB,GAAG,IAAA,0CAAmB,EACrD,wCAAuB,CACxB,CAAC;AACW,QAAA,6BAA6B,GAAG,IAAA,0CAAmB,EAC9D,mDAAgC,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,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) "Neo4j"
|
|
7
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
8
|
+
*
|
|
9
|
+
* This file is part of Neo4j.
|
|
10
|
+
*
|
|
11
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* This program is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU General Public License
|
|
22
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
|
|
25
|
+
const react_1 = require("@neo4j-ndl/react");
|
|
26
|
+
const Component = () => {
|
|
27
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-flex-col n-gap-token-16", children: [(0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { color: "1", children: "Categorical color 1" }), (0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { color: "2", children: "Categorical color 2" }), (0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { color: "3", children: "Categorical color 3" }), (0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { color: "4", children: "Categorical color 4" }), (0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { color: "5", children: "Categorical color 5" }), (0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { color: "6", children: "Categorical color 6" }), (0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { color: "7", children: "Categorical color 7" }), (0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { color: "8", children: "Categorical color 8" })] }));
|
|
28
|
+
};
|
|
29
|
+
exports.default = Component;
|
|
30
|
+
//# 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,mDAAiD;AAEjD,4CAA+C;AAE/C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,CACL,iCAAK,SAAS,EAAC,kCAAkC,aAC/C,uBAAC,mBAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,uBAAC,mBAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,uBAAC,mBAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,uBAAC,mBAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,uBAAC,mBAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,uBAAC,mBAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,uBAAC,mBAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,EACxD,uBAAC,mBAAW,IAAC,KAAK,EAAC,GAAG,oCAAkC,IACpD,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-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,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) "Neo4j"
|
|
7
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
8
|
+
*
|
|
9
|
+
* This file is part of Neo4j.
|
|
10
|
+
*
|
|
11
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* This program is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU General Public License
|
|
22
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
|
|
25
|
+
const react_1 = require("@neo4j-ndl/react");
|
|
26
|
+
const Component = () => {
|
|
27
|
+
return (0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { children: "Read-only Tag" });
|
|
28
|
+
};
|
|
29
|
+
exports.default = Component;
|
|
30
|
+
//# 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,mDAAiD;AAEjD,4CAA+C;AAE/C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,uBAAC,mBAAW,gCAA4B,CAAC;AAClD,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 <ReadOnlyTag>Read-only Tag</ReadOnlyTag>;\n};\n\nexport default Component;\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* Copyright (c) "Neo4j"
|
|
7
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
8
|
+
*
|
|
9
|
+
* This file is part of Neo4j.
|
|
10
|
+
*
|
|
11
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
12
|
+
* it under the terms of the GNU General Public License as published by
|
|
13
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
14
|
+
* (at your option) any later version.
|
|
15
|
+
*
|
|
16
|
+
* This program is distributed in the hope that it will be useful,
|
|
17
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
18
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
19
|
+
* GNU General Public License for more details.
|
|
20
|
+
*
|
|
21
|
+
* You should have received a copy of the GNU General Public License
|
|
22
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
23
|
+
*/
|
|
24
|
+
require("@neo4j-ndl/base/lib/neo4j-ds-styles.css");
|
|
25
|
+
const react_1 = require("@neo4j-ndl/react");
|
|
26
|
+
const Component = () => {
|
|
27
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: "n-flex n-gap-token-16 n-items-start", children: [(0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { size: "x-small", children: "X-Small" }), (0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { size: "small", children: "Small" }), (0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { size: "medium", children: "Medium" }), (0, jsx_runtime_1.jsx)(react_1.ReadOnlyTag, { size: "large", children: "Large" })] }));
|
|
28
|
+
};
|
|
29
|
+
exports.default = Component;
|
|
30
|
+
//# 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,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,"file":"TagBase.js","sourceRoot":"","sources":["../../../src/tag-base/TagBase.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,0CAAyC;AACzC,4DAAoC;AAOvB,QAAA,iBAAiB,GAAG;IAC/B,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;CACK,CAAC;AAmBE,QAAA,QAAQ,GAMjB;IACF,GAAG,EAAE;QACH,wBAAwB,EAAE,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I,GAAG,QAAQ,EACf,KAAK,EACL,QAAQ,EACR,SAAS,EACT,SAAS,EACT,cAAc,EACd,aAAa,EACb,eAAe,EACf,GAAG,EACH,KAAK,OAE4B,EAD9B,SAAS,cAXU,6HAYvB,CADa;IAEZ,MAAM,OAAO,GAAG,IAAA,oBAAU,EAAC,aAAa,EAAE,SAAS,EAAE;QACnD,WAAW,EAAE,IAAI,KAAK,OAAO;QAC7B,YAAY,EAAE,IAAI,KAAK,QAAQ;QAC/B,WAAW,EAAE,IAAI,KAAK,OAAO;QAC7B,iBAAiB,EAAE,OAAO,CAAC,KAAK,CAAC;QACjC,aAAa,EAAE,IAAI,KAAK,SAAS;KAClC,CAAC,CAAC;IAEH,MAAM,MAAM,GAAG,gCACV,KAAK,GACL,CAAC,KAAK,CAAC,CAAC,CAAC,gBAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CACX,CAAC;IAEzB,OAAO,CACL,+CACE,SAAS,EAAE,OAAO,EAClB,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,MAAM,IACT,cAAc,EACd,SAAS,eAEZ,OAAO,CAAC,aAAa,CAAC,IAAI,CACzB,gCAAK,SAAS,EAAC,yBAAyB,YAAE,aAAa,GAAO,CAC/D,EACD,iCAAM,SAAS,EAAC,iBAAiB,EAAC,EAAE,EAAE,SAAS,YAC5C,QAAQ,GACJ,EACN,eAAe,KACZ,CACP,CAAC;AACJ,CAAC,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"]}
|