@neo4j-ndl/react 5.3.0 → 5.3.1

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 (37) hide show
  1. package/lib/LICENSES.txt +3 -3
  2. package/lib/cjs/checkbox/stories/checkbox-fluid.story.js +30 -0
  3. package/lib/cjs/checkbox/stories/checkbox-fluid.story.js.map +1 -0
  4. package/lib/cjs/checkbox/stories/index.js +5 -1
  5. package/lib/cjs/checkbox/stories/index.js.map +1 -1
  6. package/lib/cjs/data-grid/data-grid-nav/keys.js +0 -1
  7. package/lib/cjs/data-grid/data-grid-nav/keys.js.map +1 -1
  8. package/lib/cjs/index.js +3 -4
  9. package/lib/cjs/index.js.map +1 -1
  10. package/lib/cjs/progress-bar/ProgressBar.js +1 -1
  11. package/lib/cjs/progress-bar/ProgressBar.js.map +1 -1
  12. package/lib/cjs/tag-base/TagBase.js +8 -8
  13. package/lib/cjs/tag-base/TagBase.js.map +1 -1
  14. package/lib/esm/checkbox/stories/checkbox-fluid.story.js +28 -0
  15. package/lib/esm/checkbox/stories/checkbox-fluid.story.js.map +1 -0
  16. package/lib/esm/checkbox/stories/index.js +3 -0
  17. package/lib/esm/checkbox/stories/index.js.map +1 -1
  18. package/lib/esm/data-grid/data-grid-nav/keys.js +0 -1
  19. package/lib/esm/data-grid/data-grid-nav/keys.js.map +1 -1
  20. package/lib/esm/index.js +1 -1
  21. package/lib/esm/index.js.map +1 -1
  22. package/lib/esm/progress-bar/ProgressBar.js +1 -1
  23. package/lib/esm/progress-bar/ProgressBar.js.map +1 -1
  24. package/lib/esm/tag-base/TagBase.js +8 -8
  25. package/lib/esm/tag-base/TagBase.js.map +1 -1
  26. package/lib/types/checkbox/stories/checkbox-fluid.story.d.ts +24 -0
  27. package/lib/types/checkbox/stories/checkbox-fluid.story.d.ts.map +1 -0
  28. package/lib/types/checkbox/stories/index.d.ts +2 -0
  29. package/lib/types/checkbox/stories/index.d.ts.map +1 -1
  30. package/lib/types/data-grid/data-grid-nav/keys.d.ts +0 -1
  31. package/lib/types/data-grid/data-grid-nav/keys.d.ts.map +1 -1
  32. package/lib/types/index.d.ts +1 -1
  33. package/lib/types/index.d.ts.map +1 -1
  34. package/lib/types/progress-bar/ProgressBar.d.ts.map +1 -1
  35. package/package.json +3 -5
  36. package/skills/ndl-react/SKILL.md +19 -20
  37. package/skills/ndl-react/references/styling.md +9 -8
package/lib/LICENSES.txt CHANGED
@@ -116,7 +116,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
116
116
 
117
117
  ---
118
118
 
119
- The following software may be included in this product: @babel/helper-string-parser (7.27.1)
119
+ The following software may be included in this product: @babel/helper-string-parser (7.29.7)
120
120
  This software contains the following license and notice below:
121
121
 
122
122
  MIT License
@@ -144,7 +144,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
144
144
 
145
145
  ---
146
146
 
147
- The following software may be included in this product: @babel/helper-validator-identifier (7.28.5)
147
+ The following software may be included in this product: @babel/helper-validator-identifier (7.29.7)
148
148
  This software contains the following license and notice below:
149
149
 
150
150
  MIT License
@@ -281,7 +281,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
281
281
 
282
282
  ---
283
283
 
284
- The following software may be included in this product: @babel/types (7.29.0)
284
+ The following software may be included in this product: @babel/types (7.29.7)
285
285
  This software contains the following license and notice below:
286
286
 
287
287
  MIT License
@@ -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.Checkbox, { isFluid: true, label: "Fluid checkbox" });
28
+ };
29
+ exports.default = Component;
30
+ //# sourceMappingURL=checkbox-fluid.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox-fluid.story.js","sourceRoot":"","sources":["../../../../src/checkbox/stories/checkbox-fluid.story.tsx"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,mDAAiD;AAEjD,4CAA4C;AAE5C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,uBAAC,gBAAQ,IAAC,OAAO,QAAC,KAAK,EAAC,gBAAgB,GAAG,CAAC;AACrD,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 { Checkbox } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return <Checkbox isFluid label=\"Fluid checkbox\" />;\n};\n\nexport default Component;\n"]}
@@ -23,7 +23,7 @@ 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.CheckboxControlledSrc = exports.CheckboxHasLabelBeforeSrc = exports.CheckboxFullSrc = exports.CheckboxDisabledSrc = exports.CheckboxNoLabelSrc = exports.CheckboxIndeterminateSrc = exports.CheckboxDefaultSrc = exports.CheckboxControlled = exports.CheckboxFull = exports.CheckboxHasLabelBefore = exports.CheckboxDisabled = exports.CheckboxNoLabel = exports.CheckboxIndeterminate = exports.CheckboxDefault = void 0;
26
+ exports.CheckboxControlledSrc = exports.CheckboxHasLabelBeforeSrc = exports.CheckboxFullSrc = exports.CheckboxFluidSrc = exports.CheckboxDisabledSrc = exports.CheckboxNoLabelSrc = exports.CheckboxIndeterminateSrc = exports.CheckboxDefaultSrc = exports.CheckboxControlled = exports.CheckboxFull = exports.CheckboxHasLabelBefore = exports.CheckboxFluid = exports.CheckboxDisabled = exports.CheckboxNoLabel = exports.CheckboxIndeterminate = exports.CheckboxDefault = void 0;
27
27
  var checkbox_default_story_1 = require("./checkbox-default.story");
28
28
  Object.defineProperty(exports, "CheckboxDefault", { enumerable: true, get: function () { return __importDefault(checkbox_default_story_1).default; } });
29
29
  var checkbox_indeterminate_story_1 = require("./checkbox-indeterminate.story");
@@ -32,6 +32,8 @@ var checkbox_no_label_story_1 = require("./checkbox-no-label.story");
32
32
  Object.defineProperty(exports, "CheckboxNoLabel", { enumerable: true, get: function () { return __importDefault(checkbox_no_label_story_1).default; } });
33
33
  var checkbox_disabled_story_1 = require("./checkbox-disabled.story");
34
34
  Object.defineProperty(exports, "CheckboxDisabled", { enumerable: true, get: function () { return __importDefault(checkbox_disabled_story_1).default; } });
35
+ var checkbox_fluid_story_1 = require("./checkbox-fluid.story");
36
+ Object.defineProperty(exports, "CheckboxFluid", { enumerable: true, get: function () { return __importDefault(checkbox_fluid_story_1).default; } });
35
37
  var checkbox_has_label_before_story_1 = require("./checkbox-has-label-before.story");
36
38
  Object.defineProperty(exports, "CheckboxHasLabelBefore", { enumerable: true, get: function () { return __importDefault(checkbox_has_label_before_story_1).default; } });
37
39
  var checkbox_full_story_1 = require("./checkbox-full.story");
@@ -42,6 +44,7 @@ const export_stories_utils_1 = require("../../_common/export-stories-utils");
42
44
  const checkbox_controlled_story_raw_1 = __importDefault(require("./checkbox-controlled.story?raw"));
43
45
  const checkbox_default_story_raw_1 = __importDefault(require("./checkbox-default.story?raw"));
44
46
  const checkbox_disabled_story_raw_1 = __importDefault(require("./checkbox-disabled.story?raw"));
47
+ const checkbox_fluid_story_raw_1 = __importDefault(require("./checkbox-fluid.story?raw"));
45
48
  const checkbox_full_story_raw_1 = __importDefault(require("./checkbox-full.story?raw"));
46
49
  const checkbox_has_label_before_story_raw_1 = __importDefault(require("./checkbox-has-label-before.story?raw"));
47
50
  const checkbox_indeterminate_story_raw_1 = __importDefault(require("./checkbox-indeterminate.story?raw"));
@@ -50,6 +53,7 @@ exports.CheckboxDefaultSrc = (0, export_stories_utils_1.removeLicenseHeader)(che
50
53
  exports.CheckboxIndeterminateSrc = (0, export_stories_utils_1.removeLicenseHeader)(checkbox_indeterminate_story_raw_1.default);
51
54
  exports.CheckboxNoLabelSrc = (0, export_stories_utils_1.removeLicenseHeader)(checkbox_no_label_story_raw_1.default);
52
55
  exports.CheckboxDisabledSrc = (0, export_stories_utils_1.removeLicenseHeader)(checkbox_disabled_story_raw_1.default);
56
+ exports.CheckboxFluidSrc = (0, export_stories_utils_1.removeLicenseHeader)(checkbox_fluid_story_raw_1.default);
53
57
  exports.CheckboxFullSrc = (0, export_stories_utils_1.removeLicenseHeader)(checkbox_full_story_raw_1.default);
54
58
  exports.CheckboxHasLabelBeforeSrc = (0, export_stories_utils_1.removeLicenseHeader)(checkbox_has_label_before_story_raw_1.default);
55
59
  exports.CheckboxControlledSrc = (0, export_stories_utils_1.removeLicenseHeader)(checkbox_controlled_story_raw_1.default);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/checkbox/stories/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;AAEH,mEAAsE;AAA7D,0IAAA,OAAO,OAAmB;AACnC,+EAAkF;AAAzE,sJAAA,OAAO,OAAyB;AACzC,qEAAuE;AAA9D,2IAAA,OAAO,OAAmB;AACnC,qEAAwE;AAA/D,4IAAA,OAAO,OAAoB;AACpC,qFAAsF;AAA7E,0JAAA,OAAO,OAA0B;AAC1C,6DAAgE;AAAvD,oIAAA,OAAO,OAAgB;AAChC,yEAA4E;AAAnE,gJAAA,OAAO,OAAsB;AAEtC,6EAAyE;AACzE,oGAAuE;AACvE,8FAAiE;AACjE,gGAAmE;AACnE,wFAA2D;AAC3D,gHAAiF;AACjF,0GAA6E;AAC7E,gGAAkE;AAErD,QAAA,kBAAkB,GAAG,IAAA,0CAAmB,EAAC,oCAAqB,CAAC,CAAC;AAChE,QAAA,wBAAwB,GAAG,IAAA,0CAAmB,EACzD,0CAA2B,CAC5B,CAAC;AACW,QAAA,kBAAkB,GAAG,IAAA,0CAAmB,EAAC,qCAAqB,CAAC,CAAC;AAChE,QAAA,mBAAmB,GAAG,IAAA,0CAAmB,EAAC,qCAAsB,CAAC,CAAC;AAClE,QAAA,eAAe,GAAG,IAAA,0CAAmB,EAAC,iCAAkB,CAAC,CAAC;AAC1D,QAAA,yBAAyB,GAAG,IAAA,0CAAmB,EAC1D,6CAA4B,CAC7B,CAAC;AACW,QAAA,qBAAqB,GAAG,IAAA,0CAAmB,EACtD,uCAAwB,CACzB,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 CheckboxDefault } from './checkbox-default.story';\nexport { default as CheckboxIndeterminate } from './checkbox-indeterminate.story';\nexport { default as CheckboxNoLabel } from './checkbox-no-label.story';\nexport { default as CheckboxDisabled } from './checkbox-disabled.story';\nexport { default as CheckboxHasLabelBefore } from './checkbox-has-label-before.story';\nexport { default as CheckboxFull } from './checkbox-full.story';\nexport { default as CheckboxControlled } from './checkbox-controlled.story';\n\nimport { removeLicenseHeader } from '../../_common/export-stories-utils';\nimport CheckboxControlledSrcRaw from './checkbox-controlled.story?raw';\nimport CheckboxDefaultSrcRaw from './checkbox-default.story?raw';\nimport CheckboxDisabledSrcRaw from './checkbox-disabled.story?raw';\nimport CheckboxFullSrcRaw from './checkbox-full.story?raw';\nimport CheckboxHasLabelBeforeSrcRaw from './checkbox-has-label-before.story?raw';\nimport CheckboxIndeterminateSrcRaw from './checkbox-indeterminate.story?raw';\nimport CheckboxNoLabelSrcRaw from './checkbox-no-label.story?raw';\n\nexport const CheckboxDefaultSrc = removeLicenseHeader(CheckboxDefaultSrcRaw);\nexport const CheckboxIndeterminateSrc = removeLicenseHeader(\n CheckboxIndeterminateSrcRaw,\n);\nexport const CheckboxNoLabelSrc = removeLicenseHeader(CheckboxNoLabelSrcRaw);\nexport const CheckboxDisabledSrc = removeLicenseHeader(CheckboxDisabledSrcRaw);\nexport const CheckboxFullSrc = removeLicenseHeader(CheckboxFullSrcRaw);\nexport const CheckboxHasLabelBeforeSrc = removeLicenseHeader(\n CheckboxHasLabelBeforeSrcRaw,\n);\nexport const CheckboxControlledSrc = removeLicenseHeader(\n CheckboxControlledSrcRaw,\n);\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/checkbox/stories/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;AAEH,mEAAsE;AAA7D,0IAAA,OAAO,OAAmB;AACnC,+EAAkF;AAAzE,sJAAA,OAAO,OAAyB;AACzC,qEAAuE;AAA9D,2IAAA,OAAO,OAAmB;AACnC,qEAAwE;AAA/D,4IAAA,OAAO,OAAoB;AACpC,+DAAkE;AAAzD,sIAAA,OAAO,OAAiB;AACjC,qFAAsF;AAA7E,0JAAA,OAAO,OAA0B;AAC1C,6DAAgE;AAAvD,oIAAA,OAAO,OAAgB;AAChC,yEAA4E;AAAnE,gJAAA,OAAO,OAAsB;AAEtC,6EAAyE;AACzE,oGAAuE;AACvE,8FAAiE;AACjE,gGAAmE;AACnE,0FAA6D;AAC7D,wFAA2D;AAC3D,gHAAiF;AACjF,0GAA6E;AAC7E,gGAAkE;AAErD,QAAA,kBAAkB,GAAG,IAAA,0CAAmB,EAAC,oCAAqB,CAAC,CAAC;AAChE,QAAA,wBAAwB,GAAG,IAAA,0CAAmB,EACzD,0CAA2B,CAC5B,CAAC;AACW,QAAA,kBAAkB,GAAG,IAAA,0CAAmB,EAAC,qCAAqB,CAAC,CAAC;AAChE,QAAA,mBAAmB,GAAG,IAAA,0CAAmB,EAAC,qCAAsB,CAAC,CAAC;AAClE,QAAA,gBAAgB,GAAG,IAAA,0CAAmB,EAAC,kCAAmB,CAAC,CAAC;AAC5D,QAAA,eAAe,GAAG,IAAA,0CAAmB,EAAC,iCAAkB,CAAC,CAAC;AAC1D,QAAA,yBAAyB,GAAG,IAAA,0CAAmB,EAC1D,6CAA4B,CAC7B,CAAC;AACW,QAAA,qBAAqB,GAAG,IAAA,0CAAmB,EACtD,uCAAwB,CACzB,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 CheckboxDefault } from './checkbox-default.story';\nexport { default as CheckboxIndeterminate } from './checkbox-indeterminate.story';\nexport { default as CheckboxNoLabel } from './checkbox-no-label.story';\nexport { default as CheckboxDisabled } from './checkbox-disabled.story';\nexport { default as CheckboxFluid } from './checkbox-fluid.story';\nexport { default as CheckboxHasLabelBefore } from './checkbox-has-label-before.story';\nexport { default as CheckboxFull } from './checkbox-full.story';\nexport { default as CheckboxControlled } from './checkbox-controlled.story';\n\nimport { removeLicenseHeader } from '../../_common/export-stories-utils';\nimport CheckboxControlledSrcRaw from './checkbox-controlled.story?raw';\nimport CheckboxDefaultSrcRaw from './checkbox-default.story?raw';\nimport CheckboxDisabledSrcRaw from './checkbox-disabled.story?raw';\nimport CheckboxFluidSrcRaw from './checkbox-fluid.story?raw';\nimport CheckboxFullSrcRaw from './checkbox-full.story?raw';\nimport CheckboxHasLabelBeforeSrcRaw from './checkbox-has-label-before.story?raw';\nimport CheckboxIndeterminateSrcRaw from './checkbox-indeterminate.story?raw';\nimport CheckboxNoLabelSrcRaw from './checkbox-no-label.story?raw';\n\nexport const CheckboxDefaultSrc = removeLicenseHeader(CheckboxDefaultSrcRaw);\nexport const CheckboxIndeterminateSrc = removeLicenseHeader(\n CheckboxIndeterminateSrcRaw,\n);\nexport const CheckboxNoLabelSrc = removeLicenseHeader(CheckboxNoLabelSrcRaw);\nexport const CheckboxDisabledSrc = removeLicenseHeader(CheckboxDisabledSrcRaw);\nexport const CheckboxFluidSrc = removeLicenseHeader(CheckboxFluidSrcRaw);\nexport const CheckboxFullSrc = removeLicenseHeader(CheckboxFullSrcRaw);\nexport const CheckboxHasLabelBeforeSrc = removeLicenseHeader(\n CheckboxHasLabelBeforeSrcRaw,\n);\nexport const CheckboxControlledSrc = removeLicenseHeader(\n CheckboxControlledSrcRaw,\n);\n"]}
@@ -25,7 +25,6 @@ var Keys;
25
25
  (function (Keys) {
26
26
  Keys["Enter"] = "Enter";
27
27
  Keys["Escape"] = "Escape";
28
- Keys["Shift"] = "Shift";
29
28
  Keys["Control"] = "Control";
30
29
  Keys["Home"] = "Home";
31
30
  Keys["End"] = "End";
@@ -1 +1 @@
1
- {"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../../src/data-grid/data-grid-nav/keys.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,IAAY,IAgBX;AAhBD,WAAY,IAAI;IACd,uBAAe,CAAA;IACf,yBAAiB,CAAA;IACjB,uBAAe,CAAA;IACf,2BAAmB,CAAA;IACnB,qBAAa,CAAA;IACb,mBAAW,CAAA;IACX,gBAAgB;IAChB,yBAAiB,CAAA;IACjB,6BAAqB,CAAA;IACrB,iBAAiB;IACjB,+BAAuB,CAAA;IACvB,2BAAmB,CAAA;IACnB,iCAAyB,CAAA;IACzB,+BAAuB,CAAA;IACvB,iBAAS,CAAA;AACX,CAAC,EAhBW,IAAI,oBAAJ,IAAI,QAgBf","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nexport enum Keys {\n Enter = 'Enter',\n Escape = 'Escape',\n Shift = 'Shift',\n Control = 'Control',\n Home = 'Home',\n End = 'End',\n /** Page Keys */\n PageUp = 'PageUp',\n PageDown = 'PageDown',\n /** Arrow Keys */\n ArrowLeft = 'ArrowLeft',\n ArrowUp = 'ArrowUp',\n ArrowRight = 'ArrowRight',\n ArrowDown = 'ArrowDown',\n F2 = 'F2',\n}\n"]}
1
+ {"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../../src/data-grid/data-grid-nav/keys.ts"],"names":[],"mappings":";;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,IAAY,IAeX;AAfD,WAAY,IAAI;IACd,uBAAe,CAAA;IACf,yBAAiB,CAAA;IACjB,2BAAmB,CAAA;IACnB,qBAAa,CAAA;IACb,mBAAW,CAAA;IACX,gBAAgB;IAChB,yBAAiB,CAAA;IACjB,6BAAqB,CAAA;IACrB,iBAAiB;IACjB,+BAAuB,CAAA;IACvB,2BAAmB,CAAA;IACnB,iCAAyB,CAAA;IACzB,+BAAuB,CAAA;IACvB,iBAAS,CAAA;AACX,CAAC,EAfW,IAAI,oBAAJ,IAAI,QAef","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nexport enum Keys {\n Enter = 'Enter',\n Escape = 'Escape',\n Control = 'Control',\n Home = 'Home',\n End = 'End',\n /** Page Keys */\n PageUp = 'PageUp',\n PageDown = 'PageDown',\n /** Arrow Keys */\n ArrowLeft = 'ArrowLeft',\n ArrowUp = 'ArrowUp',\n ArrowRight = 'ArrowRight',\n ArrowDown = 'ArrowDown',\n F2 = 'F2',\n}\n"]}
package/lib/cjs/index.js CHANGED
@@ -34,8 +34,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
34
34
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
35
35
  };
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.Spotlight = 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.Dropzone = exports.ProgressBar = exports.Popover = exports.SegmentedControl = exports.Tabs = exports.LoadingSpinner = exports.Dialog = exports.DatePicker = exports.Menu = exports.RadioGroup = exports.Radio = exports.Switch = exports.Fieldset = exports.CheckboxGroup = exports.Checkbox = exports.AnnouncementBanner = exports.Banner = exports.StatusLabel = exports.Accordion = void 0;
38
- exports.OperationalTag = exports.SelectableTag = 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 = void 0;
37
+ exports.SpotlightProvider = exports.Spotlight = 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.Dropzone = exports.ProgressBar = exports.SegmentedControl = exports.Tabs = exports.LoadingSpinner = exports.Dialog = exports.DatePicker = exports.Menu = exports.RadioGroup = exports.Radio = exports.Switch = exports.Fieldset = exports.CheckboxGroup = exports.Checkbox = exports.AnnouncementBanner = exports.Banner = exports.StatusLabel = exports.Accordion = void 0;
38
+ exports.OperationalTag = exports.SelectableTag = 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 = 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");
@@ -68,8 +68,7 @@ var tabs_1 = require("./tabs");
68
68
  Object.defineProperty(exports, "Tabs", { enumerable: true, get: function () { return tabs_1.Tabs; } });
69
69
  var segmented_control_1 = require("./segmented-control");
70
70
  Object.defineProperty(exports, "SegmentedControl", { enumerable: true, get: function () { return segmented_control_1.SegmentedControl; } });
71
- var popover_1 = require("./popover");
72
- Object.defineProperty(exports, "Popover", { enumerable: true, get: function () { return popover_1.Popover; } });
71
+ __exportStar(require("./popover"), exports);
73
72
  var progress_bar_1 = require("./progress-bar");
74
73
  Object.defineProperty(exports, "ProgressBar", { enumerable: true, get: function () { return progress_bar_1.ProgressBar; } });
75
74
  var dropzone_1 = require("./dropzone");
@@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A5C,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;AACzB,iDAA8C;AAArC,4GAAA,WAAW,OAAA;AACpB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,mDAAiD;AAAxC,+GAAA,aAAa,OAAA;AACtB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,6CAA2B","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport { Accordion } from './accordion';\nexport { StatusLabel } from './status-label';\nexport { Banner } from './banner';\nexport { AnnouncementBanner } from './announcement-banner';\nexport { Checkbox } from './checkbox';\nexport { CheckboxGroup } from './checkbox-group';\nexport { Fieldset } from './fieldset';\nexport { Switch } from './switch';\nexport { Radio } from './radio';\nexport { RadioGroup } from './radio-group';\nexport { Menu } from './menu';\nexport { DatePicker } from './date-picker';\nexport { Dialog } from './dialog';\nexport { LoadingSpinner } from './loading-spinner';\nexport { Tabs } from './tabs';\nexport { SegmentedControl } from './segmented-control';\nexport { Popover } from './popover';\nexport { ProgressBar } from './progress-bar';\nexport { Dropzone } from './dropzone';\nexport * from './data-grid';\nexport { TextInput } from './text-input';\nexport { TextArea } from './text-area';\nexport { TextLink } from './text-link';\nexport { Select } from './select';\nexport { Tag } from './tag';\nexport * from './theme';\nexport { Wizard } from './wizard';\nexport { GraphLabel } from './graph-label';\nexport { CodeBlock } from './code-block';\nexport { StatusIndicator } from './status-indicator';\nexport { SideNavigation } from './side-navigation';\nexport { Typography } from './typography';\nexport { Drawer } from './drawer';\nexport { Breadcrumbs } from './breadcrumbs';\nexport * from './hooks';\nexport { Box } from './box';\nexport { Flex } from './flex';\nexport { Avatar } from './avatar';\nexport { Logo } from './logo';\nexport { ClipboardButton } from './clipboard-button';\nexport { Slider } from './slider';\nexport { InlineEdit } from './inline-edit';\nexport { DropdownButton } from './dropdown-button';\nexport { Divider } from './divider';\nexport * from './tree-view';\nexport { ToasterControlled, Toaster, toast, type ToastId } from './toast';\nexport { Tooltip } from './tooltip';\nexport { Skeleton } from './skeleton';\nexport { TimePicker, NeedleTime } from './time-picker';\nexport { TimeZonePicker } from './timezone-picker';\nexport {\n Spotlight,\n SpotlightProvider,\n SpotlightTarget,\n SpotlightTour,\n useSpotlightContext,\n} from './spotlight';\nexport { LoadingBar } from './loading-bar';\nexport { IconButton } from './icon-button';\nexport { CleanIconButton } from './clean-icon-button';\nexport { IconButtonArray } from './icon-button-array';\nexport { ConditionalWrap } from './conditional-wrap';\nexport { ColorPicker } from './color-picker';\nexport { OutlinedButton } from './outlined-button';\nexport { FilledButton } from './filled-button';\nexport { TextButton } from './text-button';\nexport { Code } from './code';\nexport { Kbd } from './kbd';\nexport { SelectIconButton } from './select-icon-button';\nexport { ReadOnlyTag } from './read-only-tag';\nexport { DismissibleTag } from './dismissible-tag';\nexport { SelectableTag } from './selectable-tag';\nexport { OperationalTag } from './operational-tag';\nexport * from './combobox';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;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ACvB,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;AACzB,iDAA8C;AAArC,4GAAA,WAAW,OAAA;AACpB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,mDAAiD;AAAxC,+GAAA,aAAa,OAAA;AACtB,qDAAmD;AAA1C,iHAAA,cAAc,OAAA;AACvB,6CAA2B","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport { Accordion } from './accordion';\nexport { StatusLabel } from './status-label';\nexport { Banner } from './banner';\nexport { AnnouncementBanner } from './announcement-banner';\nexport { Checkbox } from './checkbox';\nexport { CheckboxGroup } from './checkbox-group';\nexport { Fieldset } from './fieldset';\nexport { Switch } from './switch';\nexport { Radio } from './radio';\nexport { RadioGroup } from './radio-group';\nexport { Menu } from './menu';\nexport { DatePicker } from './date-picker';\nexport { Dialog } from './dialog';\nexport { LoadingSpinner } from './loading-spinner';\nexport { Tabs } from './tabs';\nexport { SegmentedControl } from './segmented-control';\nexport * from './popover';\nexport { ProgressBar } from './progress-bar';\nexport { Dropzone } from './dropzone';\nexport * from './data-grid';\nexport { TextInput } from './text-input';\nexport { TextArea } from './text-area';\nexport { TextLink } from './text-link';\nexport { Select } from './select';\nexport { Tag } from './tag';\nexport * from './theme';\nexport { Wizard } from './wizard';\nexport { GraphLabel } from './graph-label';\nexport { CodeBlock } from './code-block';\nexport { StatusIndicator } from './status-indicator';\nexport { SideNavigation } from './side-navigation';\nexport { Typography } from './typography';\nexport { Drawer } from './drawer';\nexport { Breadcrumbs } from './breadcrumbs';\nexport * from './hooks';\nexport { Box } from './box';\nexport { Flex } from './flex';\nexport { Avatar } from './avatar';\nexport { Logo } from './logo';\nexport { ClipboardButton } from './clipboard-button';\nexport { Slider } from './slider';\nexport { InlineEdit } from './inline-edit';\nexport { DropdownButton } from './dropdown-button';\nexport { Divider } from './divider';\nexport * from './tree-view';\nexport { ToasterControlled, Toaster, toast, type ToastId } from './toast';\nexport { Tooltip } from './tooltip';\nexport { Skeleton } from './skeleton';\nexport { TimePicker, NeedleTime } from './time-picker';\nexport { TimeZonePicker } from './timezone-picker';\nexport {\n Spotlight,\n SpotlightProvider,\n SpotlightTarget,\n SpotlightTour,\n useSpotlightContext,\n} from './spotlight';\nexport { LoadingBar } from './loading-bar';\nexport { IconButton } from './icon-button';\nexport { CleanIconButton } from './clean-icon-button';\nexport { IconButtonArray } from './icon-button-array';\nexport { ConditionalWrap } from './conditional-wrap';\nexport { ColorPicker } from './color-picker';\nexport { OutlinedButton } from './outlined-button';\nexport { FilledButton } from './filled-button';\nexport { TextButton } from './text-button';\nexport { Code } from './code';\nexport { Kbd } from './kbd';\nexport { SelectIconButton } from './select-icon-button';\nexport { ReadOnlyTag } from './read-only-tag';\nexport { DismissibleTag } from './dismissible-tag';\nexport { SelectableTag } from './selectable-tag';\nexport { OperationalTag } from './operational-tag';\nexport * from './combobox';\n"]}
@@ -44,7 +44,7 @@ const ProgressBar = (_a) => {
44
44
  'ndl-small': size === 'small',
45
45
  });
46
46
  const Component = as !== null && as !== void 0 ? as : 'div';
47
- return ((0, jsx_runtime_1.jsxs)(Component, Object.assign({ className: classes, style: style, ref: ref }, restProps, htmlAttributes, { children: [heading && ((0, jsx_runtime_1.jsxs)("div", { className: "ndl-header", children: [(0, jsx_runtime_1.jsx)("span", { className: "ndl-heading", children: heading }), (0, jsx_runtime_1.jsx)("span", { className: "ndl-progress-number", children: `${value}%` })] })), (0, jsx_runtime_1.jsxs)("div", { className: "ndl-progress-bar-wrapper-inner", children: [(0, jsx_runtime_1.jsx)("div", { className: "ndl-progress-bar-container", role: "progressbar", title: "progress bar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": value, children: (0, jsx_runtime_1.jsx)("div", { className: "ndl-progress-bar", style: { width: `${value}%` } }) }), (0, jsx_runtime_1.jsx)("div", { className: "ndl-progress-bar-shadow", style: { width: `${value}%` } })] })] })));
47
+ return ((0, jsx_runtime_1.jsxs)(Component, Object.assign({ className: classes, style: style, ref: ref }, restProps, htmlAttributes, { children: [heading && ((0, jsx_runtime_1.jsxs)("div", { className: "ndl-header", children: [(0, jsx_runtime_1.jsx)("span", { className: "ndl-heading", children: heading }), (0, jsx_runtime_1.jsx)("span", { className: "ndl-progress-number", children: `${value}%` })] })), (0, jsx_runtime_1.jsx)("div", { className: "ndl-progress-bar-wrapper-inner", children: (0, jsx_runtime_1.jsx)("div", { className: "ndl-progress-bar-container", role: "progressbar", title: "progress bar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": value, children: (0, jsx_runtime_1.jsx)("div", { className: "ndl-progress-bar", style: { width: `${value}%` } }) }) })] })));
48
48
  };
49
49
  exports.ProgressBar = ProgressBar;
50
50
  //# sourceMappingURL=ProgressBar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.js","sourceRoot":"","sources":["../../../src/progress-bar/ProgressBar.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,4DAAoC;AAqB7B,MAAM,WAAW,GAAG,CAAsC,EAUnB,EAAE,EAAE;QAVe,EAC/D,EAAE,EACF,OAAO,EACP,KAAK,EACL,IAAI,GAAG,OAAO,EACd,SAAS,EACT,KAAK,EACL,cAAc,EACd,GAAG,OAEyC,EADzC,SAAS,cATmD,iFAUhE,CADa;IAEZ,MAAM,OAAO,GAAG,IAAA,oBAAU,EAAC,0BAA0B,EAAE,SAAS,EAAE;QAChE,WAAW,EAAE,IAAI,KAAK,OAAO;QAC7B,WAAW,EAAE,IAAI,KAAK,OAAO;KAC9B,CAAC,CAAC;IACH,MAAM,SAAS,GAAsB,EAAE,aAAF,EAAE,cAAF,EAAE,GAAI,KAAK,CAAC;IAEjD,OAAO,CACL,wBAAC,SAAS,kBACR,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,GAAG,IACJ,SAAS,EACT,cAAc,eAEjB,OAAO,IAAI,CACV,iCAAK,SAAS,EAAC,YAAY,aACzB,iCAAM,SAAS,EAAC,aAAa,YAAE,OAAO,GAAQ,EAC9C,iCAAM,SAAS,EAAC,qBAAqB,YAAE,GAAG,KAAK,GAAG,GAAQ,IACtD,CACP,EACD,iCAAK,SAAS,EAAC,gCAAgC,aAC7C,gCACE,SAAS,EAAC,4BAA4B,EACtC,IAAI,EAAC,aAAa,EAClB,KAAK,EAAC,cAAc,mBACL,CAAC,mBACD,GAAG,mBACH,KAAK,YAEpB,gCAAK,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,GAAG,EAAE,GAAI,GAC/D,EACN,gCACE,SAAS,EAAC,yBAAyB,EACnC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,GAAG,EAAE,GAC7B,IACE,KACI,CACb,CAAC;AACJ,CAAC,CAAC;AAjDW,QAAA,WAAW,eAiDtB","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport classNames from 'classnames';\nimport type React from 'react';\n\nimport {\n type HtmlAttributes,\n type PolymorphicCommonProps,\n} from '../_common/types';\n\ntype ProgressBarProps = {\n /** The heading displayed above the progress bar */\n heading?: string;\n /** The current progress value, should be between 0 and 100 */\n value: number;\n /** Size of the progress bar */\n size: 'small' | 'large';\n /** Additional class names */\n className?: string;\n /** Additional HTML attributes */\n htmlAttributes?: HtmlAttributes<'div'>;\n};\n\nexport const ProgressBar = <T extends React.ElementType = 'div'>({\n as,\n heading,\n value,\n size = 'small',\n className,\n style,\n htmlAttributes,\n ref,\n ...restProps\n}: PolymorphicCommonProps<T, ProgressBarProps>) => {\n const classes = classNames('ndl-progress-bar-wrapper', className, {\n 'ndl-large': size === 'large',\n 'ndl-small': size === 'small',\n });\n const Component: React.ElementType = as ?? 'div';\n\n return (\n <Component\n className={classes}\n style={style}\n ref={ref}\n {...restProps}\n {...htmlAttributes}\n >\n {heading && (\n <div className=\"ndl-header\">\n <span className=\"ndl-heading\">{heading}</span>\n <span className=\"ndl-progress-number\">{`${value}%`}</span>\n </div>\n )}\n <div className=\"ndl-progress-bar-wrapper-inner\">\n <div\n className=\"ndl-progress-bar-container\"\n role=\"progressbar\"\n title=\"progress bar\"\n aria-valuemin={0}\n aria-valuemax={100}\n aria-valuenow={value}\n >\n <div className=\"ndl-progress-bar\" style={{ width: `${value}%` }} />\n </div>\n <div\n className=\"ndl-progress-bar-shadow\"\n style={{ width: `${value}%` }}\n />\n </div>\n </Component>\n );\n};\n"]}
1
+ {"version":3,"file":"ProgressBar.js","sourceRoot":"","sources":["../../../src/progress-bar/ProgressBar.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,4DAAoC;AAqB7B,MAAM,WAAW,GAAG,CAAsC,EAUnB,EAAE,EAAE;QAVe,EAC/D,EAAE,EACF,OAAO,EACP,KAAK,EACL,IAAI,GAAG,OAAO,EACd,SAAS,EACT,KAAK,EACL,cAAc,EACd,GAAG,OAEyC,EADzC,SAAS,cATmD,iFAUhE,CADa;IAEZ,MAAM,OAAO,GAAG,IAAA,oBAAU,EAAC,0BAA0B,EAAE,SAAS,EAAE;QAChE,WAAW,EAAE,IAAI,KAAK,OAAO;QAC7B,WAAW,EAAE,IAAI,KAAK,OAAO;KAC9B,CAAC,CAAC;IACH,MAAM,SAAS,GAAsB,EAAE,aAAF,EAAE,cAAF,EAAE,GAAI,KAAK,CAAC;IAEjD,OAAO,CACL,wBAAC,SAAS,kBACR,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,GAAG,IACJ,SAAS,EACT,cAAc,eAEjB,OAAO,IAAI,CACV,iCAAK,SAAS,EAAC,YAAY,aACzB,iCAAM,SAAS,EAAC,aAAa,YAAE,OAAO,GAAQ,EAC9C,iCAAM,SAAS,EAAC,qBAAqB,YAAE,GAAG,KAAK,GAAG,GAAQ,IACtD,CACP,EACD,gCAAK,SAAS,EAAC,gCAAgC,YAC7C,gCACE,SAAS,EAAC,4BAA4B,EACtC,IAAI,EAAC,aAAa,EAClB,KAAK,EAAC,cAAc,mBACL,CAAC,mBACD,GAAG,mBACH,KAAK,YAEpB,gCAAK,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,GAAG,EAAE,GAAI,GAC/D,GACF,KACI,CACb,CAAC;AACJ,CAAC,CAAC;AA7CW,QAAA,WAAW,eA6CtB","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport classNames from 'classnames';\nimport type React from 'react';\n\nimport {\n type HtmlAttributes,\n type PolymorphicCommonProps,\n} from '../_common/types';\n\ntype ProgressBarProps = {\n /** The heading displayed above the progress bar */\n heading?: string;\n /** The current progress value, should be between 0 and 100 */\n value: number;\n /** Size of the progress bar */\n size: 'small' | 'large';\n /** Additional class names */\n className?: string;\n /** Additional HTML attributes */\n htmlAttributes?: HtmlAttributes<'div'>;\n};\n\nexport const ProgressBar = <T extends React.ElementType = 'div'>({\n as,\n heading,\n value,\n size = 'small',\n className,\n style,\n htmlAttributes,\n ref,\n ...restProps\n}: PolymorphicCommonProps<T, ProgressBarProps>) => {\n const classes = classNames('ndl-progress-bar-wrapper', className, {\n 'ndl-large': size === 'large',\n 'ndl-small': size === 'small',\n });\n const Component: React.ElementType = as ?? 'div';\n\n return (\n <Component\n className={classes}\n style={style}\n ref={ref}\n {...restProps}\n {...htmlAttributes}\n >\n {heading && (\n <div className=\"ndl-header\">\n <span className=\"ndl-heading\">{heading}</span>\n <span className=\"ndl-progress-number\">{`${value}%`}</span>\n </div>\n )}\n <div className=\"ndl-progress-bar-wrapper-inner\">\n <div\n className=\"ndl-progress-bar-container\"\n role=\"progressbar\"\n title=\"progress bar\"\n aria-valuemin={0}\n aria-valuemax={100}\n aria-valuenow={value}\n >\n <div className=\"ndl-progress-bar\" style={{ width: `${value}%` }} />\n </div>\n </div>\n </Component>\n );\n};\n"]}
@@ -51,35 +51,35 @@ exports.CategoricalColors = [
51
51
  exports.colorMap = {
52
52
  '1': {
53
53
  '--tag-background-color': base_1.tokens.categorical[1],
54
- '--tag-text-color': base_1.tokens.palette.neutral[75],
54
+ '--tag-text-color': '#000',
55
55
  },
56
56
  '2': {
57
57
  '--tag-background-color': base_1.tokens.categorical[2],
58
- '--tag-text-color': base_1.tokens.palette.neutral[10],
58
+ '--tag-text-color': '#fff',
59
59
  },
60
60
  '3': {
61
61
  '--tag-background-color': base_1.tokens.categorical[3],
62
- '--tag-text-color': base_1.tokens.palette.neutral[75],
62
+ '--tag-text-color': '#000',
63
63
  },
64
64
  '4': {
65
65
  '--tag-background-color': base_1.tokens.categorical[4],
66
- '--tag-text-color': base_1.tokens.palette.neutral[10],
66
+ '--tag-text-color': '#000',
67
67
  },
68
68
  '5': {
69
69
  '--tag-background-color': base_1.tokens.categorical[5],
70
- '--tag-text-color': base_1.tokens.palette.neutral[75],
70
+ '--tag-text-color': '#000',
71
71
  },
72
72
  '6': {
73
73
  '--tag-background-color': base_1.tokens.categorical[6],
74
- '--tag-text-color': base_1.tokens.palette.neutral[75],
74
+ '--tag-text-color': '#000',
75
75
  },
76
76
  '7': {
77
77
  '--tag-background-color': base_1.tokens.categorical[7],
78
- '--tag-text-color': base_1.tokens.palette.neutral[10],
78
+ '--tag-text-color': '#000',
79
79
  },
80
80
  '8': {
81
81
  '--tag-background-color': base_1.tokens.categorical[8],
82
- '--tag-text-color': base_1.tokens.palette.neutral[10],
82
+ '--tag-text-color': '#fff',
83
83
  },
84
84
  };
85
85
  const TagBase = (_a) => {
@@ -1 +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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AC,EAYW,EAAE,EAAE;QAZf,EACtB,IAAI,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"]}
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,aAAM,CAAC,WAAW,CAAC,CAAC,CAAC;QAC/C,kBAAkB,EAAE,MAAM;KAC3B;IACD,GAAG,EAAE;QACH,wBAAwB,EAAE,aAAM,CAAC,WAAW,CAAC,CAAC,CAAC;QAC/C,kBAAkB,EAAE,MAAM;KAC3B;IACD,GAAG,EAAE;QACH,wBAAwB,EAAE,aAAM,CAAC,WAAW,CAAC,CAAC,CAAC;QAC/C,kBAAkB,EAAE,MAAM;KAC3B;IACD,GAAG,EAAE;QACH,wBAAwB,EAAE,aAAM,CAAC,WAAW,CAAC,CAAC,CAAC;QAC/C,kBAAkB,EAAE,MAAM;KAC3B;IACD,GAAG,EAAE;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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': '#000',\n },\n '2': {\n '--tag-background-color': tokens.categorical[2],\n '--tag-text-color': '#fff',\n },\n '3': {\n '--tag-background-color': tokens.categorical[3],\n '--tag-text-color': '#000',\n },\n '4': {\n '--tag-background-color': tokens.categorical[4],\n '--tag-text-color': '#000',\n },\n '5': {\n '--tag-background-color': tokens.categorical[5],\n '--tag-text-color': '#000',\n },\n '6': {\n '--tag-background-color': tokens.categorical[6],\n '--tag-text-color': '#000',\n },\n '7': {\n '--tag-background-color': tokens.categorical[7],\n '--tag-text-color': '#000',\n },\n '8': {\n '--tag-background-color': tokens.categorical[8],\n '--tag-text-color': '#fff',\n },\n};\n\nexport const TagBase = ({\n size = 'medium',\n color,\n children,\n className,\n contentId,\n htmlAttributes,\n leadingVisual,\n trailingContent,\n ref,\n style,\n ...restProps\n}: CommonProps<'div', TagBaseProps>) => {\n const classes = classNames('ndl-tag-new', className, {\n 'ndl-large': size === 'large',\n 'ndl-medium': size === 'medium',\n 'ndl-small': size === 'small',\n 'ndl-tag-colored': Boolean(color),\n 'ndl-x-small': size === 'x-small',\n });\n\n const styles = {\n ...style,\n ...(color ? colorMap[color] : {}),\n } as React.CSSProperties;\n\n return (\n <div\n className={classes}\n ref={ref}\n style={styles}\n {...htmlAttributes}\n {...restProps}\n >\n {Boolean(leadingVisual) && (\n <div className=\"ndl-tag-leading-element\">{leadingVisual}</div>\n )}\n <span className=\"ndl-tag-content\" id={contentId}>\n {children}\n </span>\n {trailingContent}\n </div>\n );\n};\n"]}
@@ -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 { Checkbox } from '@neo4j-ndl/react';
24
+ const Component = () => {
25
+ return _jsx(Checkbox, { isFluid: true, label: "Fluid checkbox" });
26
+ };
27
+ export default Component;
28
+ //# sourceMappingURL=checkbox-fluid.story.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox-fluid.story.js","sourceRoot":"","sources":["../../../../src/checkbox/stories/checkbox-fluid.story.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,SAAS,GAAG,GAAG,EAAE;IACrB,OAAO,KAAC,QAAQ,IAAC,OAAO,QAAC,KAAK,EAAC,gBAAgB,GAAG,CAAC;AACrD,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 { Checkbox } from '@neo4j-ndl/react';\n\nconst Component = () => {\n return <Checkbox isFluid label=\"Fluid checkbox\" />;\n};\n\nexport default Component;\n"]}
@@ -22,6 +22,7 @@ export { default as CheckboxDefault } from './checkbox-default.story';
22
22
  export { default as CheckboxIndeterminate } from './checkbox-indeterminate.story';
23
23
  export { default as CheckboxNoLabel } from './checkbox-no-label.story';
24
24
  export { default as CheckboxDisabled } from './checkbox-disabled.story';
25
+ export { default as CheckboxFluid } from './checkbox-fluid.story';
25
26
  export { default as CheckboxHasLabelBefore } from './checkbox-has-label-before.story';
26
27
  export { default as CheckboxFull } from './checkbox-full.story';
27
28
  export { default as CheckboxControlled } from './checkbox-controlled.story';
@@ -29,6 +30,7 @@ import { removeLicenseHeader } from '../../_common/export-stories-utils';
29
30
  import CheckboxControlledSrcRaw from './checkbox-controlled.story?raw';
30
31
  import CheckboxDefaultSrcRaw from './checkbox-default.story?raw';
31
32
  import CheckboxDisabledSrcRaw from './checkbox-disabled.story?raw';
33
+ import CheckboxFluidSrcRaw from './checkbox-fluid.story?raw';
32
34
  import CheckboxFullSrcRaw from './checkbox-full.story?raw';
33
35
  import CheckboxHasLabelBeforeSrcRaw from './checkbox-has-label-before.story?raw';
34
36
  import CheckboxIndeterminateSrcRaw from './checkbox-indeterminate.story?raw';
@@ -37,6 +39,7 @@ export const CheckboxDefaultSrc = removeLicenseHeader(CheckboxDefaultSrcRaw);
37
39
  export const CheckboxIndeterminateSrc = removeLicenseHeader(CheckboxIndeterminateSrcRaw);
38
40
  export const CheckboxNoLabelSrc = removeLicenseHeader(CheckboxNoLabelSrcRaw);
39
41
  export const CheckboxDisabledSrc = removeLicenseHeader(CheckboxDisabledSrcRaw);
42
+ export const CheckboxFluidSrc = removeLicenseHeader(CheckboxFluidSrcRaw);
40
43
  export const CheckboxFullSrc = removeLicenseHeader(CheckboxFullSrcRaw);
41
44
  export const CheckboxHasLabelBeforeSrc = removeLicenseHeader(CheckboxHasLabelBeforeSrcRaw);
42
45
  export const CheckboxControlledSrc = removeLicenseHeader(CheckboxControlledSrcRaw);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/checkbox/stories/index.ts"],"names":[],"mappings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G,mBAAmB,CAC1D,4BAA4B,CAC7B,CAAC;AACF,MAAM,CAAC,MAAM,qBAAqB,GAAG,mBAAmB,CACtD,wBAAwB,CACzB,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 CheckboxDefault } from './checkbox-default.story';\nexport { default as CheckboxIndeterminate } from './checkbox-indeterminate.story';\nexport { default as CheckboxNoLabel } from './checkbox-no-label.story';\nexport { default as CheckboxDisabled } from './checkbox-disabled.story';\nexport { default as CheckboxHasLabelBefore } from './checkbox-has-label-before.story';\nexport { default as CheckboxFull } from './checkbox-full.story';\nexport { default as CheckboxControlled } from './checkbox-controlled.story';\n\nimport { removeLicenseHeader } from '../../_common/export-stories-utils';\nimport CheckboxControlledSrcRaw from './checkbox-controlled.story?raw';\nimport CheckboxDefaultSrcRaw from './checkbox-default.story?raw';\nimport CheckboxDisabledSrcRaw from './checkbox-disabled.story?raw';\nimport CheckboxFullSrcRaw from './checkbox-full.story?raw';\nimport CheckboxHasLabelBeforeSrcRaw from './checkbox-has-label-before.story?raw';\nimport CheckboxIndeterminateSrcRaw from './checkbox-indeterminate.story?raw';\nimport CheckboxNoLabelSrcRaw from './checkbox-no-label.story?raw';\n\nexport const CheckboxDefaultSrc = removeLicenseHeader(CheckboxDefaultSrcRaw);\nexport const CheckboxIndeterminateSrc = removeLicenseHeader(\n CheckboxIndeterminateSrcRaw,\n);\nexport const CheckboxNoLabelSrc = removeLicenseHeader(CheckboxNoLabelSrcRaw);\nexport const CheckboxDisabledSrc = removeLicenseHeader(CheckboxDisabledSrcRaw);\nexport const CheckboxFullSrc = removeLicenseHeader(CheckboxFullSrcRaw);\nexport const CheckboxHasLabelBeforeSrc = removeLicenseHeader(\n CheckboxHasLabelBeforeSrcRaw,\n);\nexport const CheckboxControlledSrc = removeLicenseHeader(\n CheckboxControlledSrcRaw,\n);\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/checkbox/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAE5E,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,wBAAwB,MAAM,iCAAiC,CAAC;AACvE,OAAO,qBAAqB,MAAM,8BAA8B,CAAC;AACjE,OAAO,sBAAsB,MAAM,+BAA+B,CAAC;AACnE,OAAO,mBAAmB,MAAM,4BAA4B,CAAC;AAC7D,OAAO,kBAAkB,MAAM,2BAA2B,CAAC;AAC3D,OAAO,4BAA4B,MAAM,uCAAuC,CAAC;AACjF,OAAO,2BAA2B,MAAM,oCAAoC,CAAC;AAC7E,OAAO,qBAAqB,MAAM,+BAA+B,CAAC;AAElE,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC,qBAAqB,CAAC,CAAC;AAC7E,MAAM,CAAC,MAAM,wBAAwB,GAAG,mBAAmB,CACzD,2BAA2B,CAC5B,CAAC;AACF,MAAM,CAAC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC,qBAAqB,CAAC,CAAC;AAC7E,MAAM,CAAC,MAAM,mBAAmB,GAAG,mBAAmB,CAAC,sBAAsB,CAAC,CAAC;AAC/E,MAAM,CAAC,MAAM,gBAAgB,GAAG,mBAAmB,CAAC,mBAAmB,CAAC,CAAC;AACzE,MAAM,CAAC,MAAM,eAAe,GAAG,mBAAmB,CAAC,kBAAkB,CAAC,CAAC;AACvE,MAAM,CAAC,MAAM,yBAAyB,GAAG,mBAAmB,CAC1D,4BAA4B,CAC7B,CAAC;AACF,MAAM,CAAC,MAAM,qBAAqB,GAAG,mBAAmB,CACtD,wBAAwB,CACzB,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 CheckboxDefault } from './checkbox-default.story';\nexport { default as CheckboxIndeterminate } from './checkbox-indeterminate.story';\nexport { default as CheckboxNoLabel } from './checkbox-no-label.story';\nexport { default as CheckboxDisabled } from './checkbox-disabled.story';\nexport { default as CheckboxFluid } from './checkbox-fluid.story';\nexport { default as CheckboxHasLabelBefore } from './checkbox-has-label-before.story';\nexport { default as CheckboxFull } from './checkbox-full.story';\nexport { default as CheckboxControlled } from './checkbox-controlled.story';\n\nimport { removeLicenseHeader } from '../../_common/export-stories-utils';\nimport CheckboxControlledSrcRaw from './checkbox-controlled.story?raw';\nimport CheckboxDefaultSrcRaw from './checkbox-default.story?raw';\nimport CheckboxDisabledSrcRaw from './checkbox-disabled.story?raw';\nimport CheckboxFluidSrcRaw from './checkbox-fluid.story?raw';\nimport CheckboxFullSrcRaw from './checkbox-full.story?raw';\nimport CheckboxHasLabelBeforeSrcRaw from './checkbox-has-label-before.story?raw';\nimport CheckboxIndeterminateSrcRaw from './checkbox-indeterminate.story?raw';\nimport CheckboxNoLabelSrcRaw from './checkbox-no-label.story?raw';\n\nexport const CheckboxDefaultSrc = removeLicenseHeader(CheckboxDefaultSrcRaw);\nexport const CheckboxIndeterminateSrc = removeLicenseHeader(\n CheckboxIndeterminateSrcRaw,\n);\nexport const CheckboxNoLabelSrc = removeLicenseHeader(CheckboxNoLabelSrcRaw);\nexport const CheckboxDisabledSrc = removeLicenseHeader(CheckboxDisabledSrcRaw);\nexport const CheckboxFluidSrc = removeLicenseHeader(CheckboxFluidSrcRaw);\nexport const CheckboxFullSrc = removeLicenseHeader(CheckboxFullSrcRaw);\nexport const CheckboxHasLabelBeforeSrc = removeLicenseHeader(\n CheckboxHasLabelBeforeSrcRaw,\n);\nexport const CheckboxControlledSrc = removeLicenseHeader(\n CheckboxControlledSrcRaw,\n);\n"]}
@@ -22,7 +22,6 @@ export var Keys;
22
22
  (function (Keys) {
23
23
  Keys["Enter"] = "Enter";
24
24
  Keys["Escape"] = "Escape";
25
- Keys["Shift"] = "Shift";
26
25
  Keys["Control"] = "Control";
27
26
  Keys["Home"] = "Home";
28
27
  Keys["End"] = "End";
@@ -1 +1 @@
1
- {"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../../src/data-grid/data-grid-nav/keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAN,IAAY,IAgBX;AAhBD,WAAY,IAAI;IACd,uBAAe,CAAA;IACf,yBAAiB,CAAA;IACjB,uBAAe,CAAA;IACf,2BAAmB,CAAA;IACnB,qBAAa,CAAA;IACb,mBAAW,CAAA;IACX,gBAAgB;IAChB,yBAAiB,CAAA;IACjB,6BAAqB,CAAA;IACrB,iBAAiB;IACjB,+BAAuB,CAAA;IACvB,2BAAmB,CAAA;IACnB,iCAAyB,CAAA;IACzB,+BAAuB,CAAA;IACvB,iBAAS,CAAA;AACX,CAAC,EAhBW,IAAI,KAAJ,IAAI,QAgBf","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nexport enum Keys {\n Enter = 'Enter',\n Escape = 'Escape',\n Shift = 'Shift',\n Control = 'Control',\n Home = 'Home',\n End = 'End',\n /** Page Keys */\n PageUp = 'PageUp',\n PageDown = 'PageDown',\n /** Arrow Keys */\n ArrowLeft = 'ArrowLeft',\n ArrowUp = 'ArrowUp',\n ArrowRight = 'ArrowRight',\n ArrowDown = 'ArrowDown',\n F2 = 'F2',\n}\n"]}
1
+ {"version":3,"file":"keys.js","sourceRoot":"","sources":["../../../../src/data-grid/data-grid-nav/keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAN,IAAY,IAeX;AAfD,WAAY,IAAI;IACd,uBAAe,CAAA;IACf,yBAAiB,CAAA;IACjB,2BAAmB,CAAA;IACnB,qBAAa,CAAA;IACb,mBAAW,CAAA;IACX,gBAAgB;IAChB,yBAAiB,CAAA;IACjB,6BAAqB,CAAA;IACrB,iBAAiB;IACjB,+BAAuB,CAAA;IACvB,2BAAmB,CAAA;IACnB,iCAAyB,CAAA;IACzB,+BAAuB,CAAA;IACvB,iBAAS,CAAA;AACX,CAAC,EAfW,IAAI,KAAJ,IAAI,QAef","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nexport enum Keys {\n Enter = 'Enter',\n Escape = 'Escape',\n Control = 'Control',\n Home = 'Home',\n End = 'End',\n /** Page Keys */\n PageUp = 'PageUp',\n PageDown = 'PageDown',\n /** Arrow Keys */\n ArrowLeft = 'ArrowLeft',\n ArrowUp = 'ArrowUp',\n ArrowRight = 'ArrowRight',\n ArrowDown = 'ArrowDown',\n F2 = 'F2',\n}\n"]}
package/lib/esm/index.js CHANGED
@@ -34,7 +34,7 @@ export { Dialog } from './dialog';
34
34
  export { LoadingSpinner } from './loading-spinner';
35
35
  export { Tabs } from './tabs';
36
36
  export { SegmentedControl } from './segmented-control';
37
- export { Popover } from './popover';
37
+ export * from './popover';
38
38
  export { ProgressBar } from './progress-bar';
39
39
  export { Dropzone } from './dropzone';
40
40
  export * from './data-grid';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;A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f,aAAa,EACb,mBAAmB,GACpB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,UAAU,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;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,cAAc,YAAY,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport { Accordion } from './accordion';\nexport { StatusLabel } from './status-label';\nexport { Banner } from './banner';\nexport { AnnouncementBanner } from './announcement-banner';\nexport { Checkbox } from './checkbox';\nexport { CheckboxGroup } from './checkbox-group';\nexport { Fieldset } from './fieldset';\nexport { Switch } from './switch';\nexport { Radio } from './radio';\nexport { RadioGroup } from './radio-group';\nexport { Menu } from './menu';\nexport { DatePicker } from './date-picker';\nexport { Dialog } from './dialog';\nexport { LoadingSpinner } from './loading-spinner';\nexport { Tabs } from './tabs';\nexport { SegmentedControl } from './segmented-control';\nexport { Popover } from './popover';\nexport { ProgressBar } from './progress-bar';\nexport { Dropzone } from './dropzone';\nexport * from './data-grid';\nexport { TextInput } from './text-input';\nexport { TextArea } from './text-area';\nexport { TextLink } from './text-link';\nexport { Select } from './select';\nexport { Tag } from './tag';\nexport * from './theme';\nexport { Wizard } from './wizard';\nexport { GraphLabel } from './graph-label';\nexport { CodeBlock } from './code-block';\nexport { StatusIndicator } from './status-indicator';\nexport { SideNavigation } from './side-navigation';\nexport { Typography } from './typography';\nexport { Drawer } from './drawer';\nexport { Breadcrumbs } from './breadcrumbs';\nexport * from './hooks';\nexport { Box } from './box';\nexport { Flex } from './flex';\nexport { Avatar } from './avatar';\nexport { Logo } from './logo';\nexport { ClipboardButton } from './clipboard-button';\nexport { Slider } from './slider';\nexport { InlineEdit } from './inline-edit';\nexport { DropdownButton } from './dropdown-button';\nexport { Divider } from './divider';\nexport * from './tree-view';\nexport { ToasterControlled, Toaster, toast, type ToastId } from './toast';\nexport { Tooltip } from './tooltip';\nexport { Skeleton } from './skeleton';\nexport { TimePicker, NeedleTime } from './time-picker';\nexport { TimeZonePicker } from './timezone-picker';\nexport {\n Spotlight,\n SpotlightProvider,\n SpotlightTarget,\n SpotlightTour,\n useSpotlightContext,\n} from './spotlight';\nexport { LoadingBar } from './loading-bar';\nexport { IconButton } from './icon-button';\nexport { CleanIconButton } from './clean-icon-button';\nexport { IconButtonArray } from './icon-button-array';\nexport { ConditionalWrap } from './conditional-wrap';\nexport { ColorPicker } from './color-picker';\nexport { OutlinedButton } from './outlined-button';\nexport { FilledButton } from './filled-button';\nexport { TextButton } from './text-button';\nexport { Code } from './code';\nexport { Kbd } from './kbd';\nexport { SelectIconButton } from './select-icon-button';\nexport { ReadOnlyTag } from './read-only-tag';\nexport { DismissibleTag } from './dismissible-tag';\nexport { SelectableTag } from './selectable-tag';\nexport { OperationalTag } from './operational-tag';\nexport * from './combobox';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,cAAc,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E,MAAM,mBAAmB,CAAC;AACnD,cAAc,YAAY,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\n\nexport { Accordion } from './accordion';\nexport { StatusLabel } from './status-label';\nexport { Banner } from './banner';\nexport { AnnouncementBanner } from './announcement-banner';\nexport { Checkbox } from './checkbox';\nexport { CheckboxGroup } from './checkbox-group';\nexport { Fieldset } from './fieldset';\nexport { Switch } from './switch';\nexport { Radio } from './radio';\nexport { RadioGroup } from './radio-group';\nexport { Menu } from './menu';\nexport { DatePicker } from './date-picker';\nexport { Dialog } from './dialog';\nexport { LoadingSpinner } from './loading-spinner';\nexport { Tabs } from './tabs';\nexport { SegmentedControl } from './segmented-control';\nexport * from './popover';\nexport { ProgressBar } from './progress-bar';\nexport { Dropzone } from './dropzone';\nexport * from './data-grid';\nexport { TextInput } from './text-input';\nexport { TextArea } from './text-area';\nexport { TextLink } from './text-link';\nexport { Select } from './select';\nexport { Tag } from './tag';\nexport * from './theme';\nexport { Wizard } from './wizard';\nexport { GraphLabel } from './graph-label';\nexport { CodeBlock } from './code-block';\nexport { StatusIndicator } from './status-indicator';\nexport { SideNavigation } from './side-navigation';\nexport { Typography } from './typography';\nexport { Drawer } from './drawer';\nexport { Breadcrumbs } from './breadcrumbs';\nexport * from './hooks';\nexport { Box } from './box';\nexport { Flex } from './flex';\nexport { Avatar } from './avatar';\nexport { Logo } from './logo';\nexport { ClipboardButton } from './clipboard-button';\nexport { Slider } from './slider';\nexport { InlineEdit } from './inline-edit';\nexport { DropdownButton } from './dropdown-button';\nexport { Divider } from './divider';\nexport * from './tree-view';\nexport { ToasterControlled, Toaster, toast, type ToastId } from './toast';\nexport { Tooltip } from './tooltip';\nexport { Skeleton } from './skeleton';\nexport { TimePicker, NeedleTime } from './time-picker';\nexport { TimeZonePicker } from './timezone-picker';\nexport {\n Spotlight,\n SpotlightProvider,\n SpotlightTarget,\n SpotlightTour,\n useSpotlightContext,\n} from './spotlight';\nexport { LoadingBar } from './loading-bar';\nexport { IconButton } from './icon-button';\nexport { CleanIconButton } from './clean-icon-button';\nexport { IconButtonArray } from './icon-button-array';\nexport { ConditionalWrap } from './conditional-wrap';\nexport { ColorPicker } from './color-picker';\nexport { OutlinedButton } from './outlined-button';\nexport { FilledButton } from './filled-button';\nexport { TextButton } from './text-button';\nexport { Code } from './code';\nexport { Kbd } from './kbd';\nexport { SelectIconButton } from './select-icon-button';\nexport { ReadOnlyTag } from './read-only-tag';\nexport { DismissibleTag } from './dismissible-tag';\nexport { SelectableTag } from './selectable-tag';\nexport { OperationalTag } from './operational-tag';\nexport * from './combobox';\n"]}
@@ -38,6 +38,6 @@ export const ProgressBar = (_a) => {
38
38
  'ndl-small': size === 'small',
39
39
  });
40
40
  const Component = as !== null && as !== void 0 ? as : 'div';
41
- return (_jsxs(Component, Object.assign({ className: classes, style: style, ref: ref }, restProps, htmlAttributes, { children: [heading && (_jsxs("div", { className: "ndl-header", children: [_jsx("span", { className: "ndl-heading", children: heading }), _jsx("span", { className: "ndl-progress-number", children: `${value}%` })] })), _jsxs("div", { className: "ndl-progress-bar-wrapper-inner", children: [_jsx("div", { className: "ndl-progress-bar-container", role: "progressbar", title: "progress bar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": value, children: _jsx("div", { className: "ndl-progress-bar", style: { width: `${value}%` } }) }), _jsx("div", { className: "ndl-progress-bar-shadow", style: { width: `${value}%` } })] })] })));
41
+ return (_jsxs(Component, Object.assign({ className: classes, style: style, ref: ref }, restProps, htmlAttributes, { children: [heading && (_jsxs("div", { className: "ndl-header", children: [_jsx("span", { className: "ndl-heading", children: heading }), _jsx("span", { className: "ndl-progress-number", children: `${value}%` })] })), _jsx("div", { className: "ndl-progress-bar-wrapper-inner", children: _jsx("div", { className: "ndl-progress-bar-container", role: "progressbar", title: "progress bar", "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": value, children: _jsx("div", { className: "ndl-progress-bar", style: { width: `${value}%` } }) }) })] })));
42
42
  };
43
43
  //# sourceMappingURL=ProgressBar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.js","sourceRoot":"","sources":["../../../src/progress-bar/ProgressBar.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,UAAU,MAAM,YAAY,CAAC;AAqBpC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAsC,EAUnB,EAAE,EAAE;QAVe,EAC/D,EAAE,EACF,OAAO,EACP,KAAK,EACL,IAAI,GAAG,OAAO,EACd,SAAS,EACT,KAAK,EACL,cAAc,EACd,GAAG,OAEyC,EADzC,SAAS,cATmD,iFAUhE,CADa;IAEZ,MAAM,OAAO,GAAG,UAAU,CAAC,0BAA0B,EAAE,SAAS,EAAE;QAChE,WAAW,EAAE,IAAI,KAAK,OAAO;QAC7B,WAAW,EAAE,IAAI,KAAK,OAAO;KAC9B,CAAC,CAAC;IACH,MAAM,SAAS,GAAsB,EAAE,aAAF,EAAE,cAAF,EAAE,GAAI,KAAK,CAAC;IAEjD,OAAO,CACL,MAAC,SAAS,kBACR,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,GAAG,IACJ,SAAS,EACT,cAAc,eAEjB,OAAO,IAAI,CACV,eAAK,SAAS,EAAC,YAAY,aACzB,eAAM,SAAS,EAAC,aAAa,YAAE,OAAO,GAAQ,EAC9C,eAAM,SAAS,EAAC,qBAAqB,YAAE,GAAG,KAAK,GAAG,GAAQ,IACtD,CACP,EACD,eAAK,SAAS,EAAC,gCAAgC,aAC7C,cACE,SAAS,EAAC,4BAA4B,EACtC,IAAI,EAAC,aAAa,EAClB,KAAK,EAAC,cAAc,mBACL,CAAC,mBACD,GAAG,mBACH,KAAK,YAEpB,cAAK,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,GAAG,EAAE,GAAI,GAC/D,EACN,cACE,SAAS,EAAC,yBAAyB,EACnC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,GAAG,EAAE,GAC7B,IACE,KACI,CACb,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport classNames from 'classnames';\nimport type React from 'react';\n\nimport {\n type HtmlAttributes,\n type PolymorphicCommonProps,\n} from '../_common/types';\n\ntype ProgressBarProps = {\n /** The heading displayed above the progress bar */\n heading?: string;\n /** The current progress value, should be between 0 and 100 */\n value: number;\n /** Size of the progress bar */\n size: 'small' | 'large';\n /** Additional class names */\n className?: string;\n /** Additional HTML attributes */\n htmlAttributes?: HtmlAttributes<'div'>;\n};\n\nexport const ProgressBar = <T extends React.ElementType = 'div'>({\n as,\n heading,\n value,\n size = 'small',\n className,\n style,\n htmlAttributes,\n ref,\n ...restProps\n}: PolymorphicCommonProps<T, ProgressBarProps>) => {\n const classes = classNames('ndl-progress-bar-wrapper', className, {\n 'ndl-large': size === 'large',\n 'ndl-small': size === 'small',\n });\n const Component: React.ElementType = as ?? 'div';\n\n return (\n <Component\n className={classes}\n style={style}\n ref={ref}\n {...restProps}\n {...htmlAttributes}\n >\n {heading && (\n <div className=\"ndl-header\">\n <span className=\"ndl-heading\">{heading}</span>\n <span className=\"ndl-progress-number\">{`${value}%`}</span>\n </div>\n )}\n <div className=\"ndl-progress-bar-wrapper-inner\">\n <div\n className=\"ndl-progress-bar-container\"\n role=\"progressbar\"\n title=\"progress bar\"\n aria-valuemin={0}\n aria-valuemax={100}\n aria-valuenow={value}\n >\n <div className=\"ndl-progress-bar\" style={{ width: `${value}%` }} />\n </div>\n <div\n className=\"ndl-progress-bar-shadow\"\n style={{ width: `${value}%` }}\n />\n </div>\n </Component>\n );\n};\n"]}
1
+ {"version":3,"file":"ProgressBar.js","sourceRoot":"","sources":["../../../src/progress-bar/ProgressBar.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,UAAU,MAAM,YAAY,CAAC;AAqBpC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAsC,EAUnB,EAAE,EAAE;QAVe,EAC/D,EAAE,EACF,OAAO,EACP,KAAK,EACL,IAAI,GAAG,OAAO,EACd,SAAS,EACT,KAAK,EACL,cAAc,EACd,GAAG,OAEyC,EADzC,SAAS,cATmD,iFAUhE,CADa;IAEZ,MAAM,OAAO,GAAG,UAAU,CAAC,0BAA0B,EAAE,SAAS,EAAE;QAChE,WAAW,EAAE,IAAI,KAAK,OAAO;QAC7B,WAAW,EAAE,IAAI,KAAK,OAAO;KAC9B,CAAC,CAAC;IACH,MAAM,SAAS,GAAsB,EAAE,aAAF,EAAE,cAAF,EAAE,GAAI,KAAK,CAAC;IAEjD,OAAO,CACL,MAAC,SAAS,kBACR,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,GAAG,IACJ,SAAS,EACT,cAAc,eAEjB,OAAO,IAAI,CACV,eAAK,SAAS,EAAC,YAAY,aACzB,eAAM,SAAS,EAAC,aAAa,YAAE,OAAO,GAAQ,EAC9C,eAAM,SAAS,EAAC,qBAAqB,YAAE,GAAG,KAAK,GAAG,GAAQ,IACtD,CACP,EACD,cAAK,SAAS,EAAC,gCAAgC,YAC7C,cACE,SAAS,EAAC,4BAA4B,EACtC,IAAI,EAAC,aAAa,EAClB,KAAK,EAAC,cAAc,mBACL,CAAC,mBACD,GAAG,mBACH,KAAK,YAEpB,cAAK,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,KAAK,GAAG,EAAE,GAAI,GAC/D,GACF,KACI,CACb,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport classNames from 'classnames';\nimport type React from 'react';\n\nimport {\n type HtmlAttributes,\n type PolymorphicCommonProps,\n} from '../_common/types';\n\ntype ProgressBarProps = {\n /** The heading displayed above the progress bar */\n heading?: string;\n /** The current progress value, should be between 0 and 100 */\n value: number;\n /** Size of the progress bar */\n size: 'small' | 'large';\n /** Additional class names */\n className?: string;\n /** Additional HTML attributes */\n htmlAttributes?: HtmlAttributes<'div'>;\n};\n\nexport const ProgressBar = <T extends React.ElementType = 'div'>({\n as,\n heading,\n value,\n size = 'small',\n className,\n style,\n htmlAttributes,\n ref,\n ...restProps\n}: PolymorphicCommonProps<T, ProgressBarProps>) => {\n const classes = classNames('ndl-progress-bar-wrapper', className, {\n 'ndl-large': size === 'large',\n 'ndl-small': size === 'small',\n });\n const Component: React.ElementType = as ?? 'div';\n\n return (\n <Component\n className={classes}\n style={style}\n ref={ref}\n {...restProps}\n {...htmlAttributes}\n >\n {heading && (\n <div className=\"ndl-header\">\n <span className=\"ndl-heading\">{heading}</span>\n <span className=\"ndl-progress-number\">{`${value}%`}</span>\n </div>\n )}\n <div className=\"ndl-progress-bar-wrapper-inner\">\n <div\n className=\"ndl-progress-bar-container\"\n role=\"progressbar\"\n title=\"progress bar\"\n aria-valuemin={0}\n aria-valuemax={100}\n aria-valuenow={value}\n >\n <div className=\"ndl-progress-bar\" style={{ width: `${value}%` }} />\n </div>\n </div>\n </Component>\n );\n};\n"]}
@@ -45,35 +45,35 @@ export const CategoricalColors = [
45
45
  export const colorMap = {
46
46
  '1': {
47
47
  '--tag-background-color': tokens.categorical[1],
48
- '--tag-text-color': tokens.palette.neutral[75],
48
+ '--tag-text-color': '#000',
49
49
  },
50
50
  '2': {
51
51
  '--tag-background-color': tokens.categorical[2],
52
- '--tag-text-color': tokens.palette.neutral[10],
52
+ '--tag-text-color': '#fff',
53
53
  },
54
54
  '3': {
55
55
  '--tag-background-color': tokens.categorical[3],
56
- '--tag-text-color': tokens.palette.neutral[75],
56
+ '--tag-text-color': '#000',
57
57
  },
58
58
  '4': {
59
59
  '--tag-background-color': tokens.categorical[4],
60
- '--tag-text-color': tokens.palette.neutral[10],
60
+ '--tag-text-color': '#000',
61
61
  },
62
62
  '5': {
63
63
  '--tag-background-color': tokens.categorical[5],
64
- '--tag-text-color': tokens.palette.neutral[75],
64
+ '--tag-text-color': '#000',
65
65
  },
66
66
  '6': {
67
67
  '--tag-background-color': tokens.categorical[6],
68
- '--tag-text-color': tokens.palette.neutral[75],
68
+ '--tag-text-color': '#000',
69
69
  },
70
70
  '7': {
71
71
  '--tag-background-color': tokens.categorical[7],
72
- '--tag-text-color': tokens.palette.neutral[10],
72
+ '--tag-text-color': '#000',
73
73
  },
74
74
  '8': {
75
75
  '--tag-background-color': tokens.categorical[8],
76
- '--tag-text-color': tokens.palette.neutral[10],
76
+ '--tag-text-color': '#fff',
77
77
  },
78
78
  };
79
79
  export const TagBase = (_a) => {
@@ -1 +1 @@
1
- {"version":3,"file":"TagBase.js","sourceRoot":"","sources":["../../../src/tag-base/TagBase.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,UAAU,MAAM,YAAY,CAAC;AAOpC,MAAM,CAAC,MAAM,iBAAiB,GAAG;IAC/B,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;IACH,GAAG;CACK,CAAC;AAmBX,MAAM,CAAC,MAAM,QAAQ,GAMjB;IACF,GAAG,EAAE;QACH,wBAAwB,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;QAC/C,kBAAkB,EAAE,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;KAC/C;IACD,GAAG,EAAE;QACH,wBAAwB,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;QAC/C,kBAAkB,EAAE,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;KAC/C;IACD,GAAG,EAAE;QACH,wBAAwB,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;QAC/C,kBAAkB,EAAE,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;KAC/C;IACD,GAAG,EAAE;QACH,wBAAwB,EAAE,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;QAC/C,kBAAkB,EAAE,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;KAC/C;IACD,GAAG,EAAE;QACH,wBAAwB,EAAE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BACE,SAAS,EAAE,OAAO,EAClB,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,MAAM,IACT,cAAc,EACd,SAAS,eAEZ,OAAO,CAAC,aAAa,CAAC,IAAI,CACzB,cAAK,SAAS,EAAC,yBAAyB,YAAE,aAAa,GAAO,CAC/D,EACD,eAAM,SAAS,EAAC,iBAAiB,EAAC,EAAE,EAAE,SAAS,YAC5C,QAAQ,GACJ,EACN,eAAe,KACZ,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport { 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"]}
1
+ {"version":3,"file":"TagBase.js","sourceRoot":"","sources":["../../../src/tag-base/TagBase.tsx"],"names":[],"mappings":";;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,U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eAAe,EACf,GAAG,EACH,KAAK,OAE4B,EAD9B,SAAS,cAXU,6HAYvB,CADa;IAEZ,MAAM,OAAO,GAAG,UAAU,CAAC,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,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CACX,CAAC;IAEzB,OAAO,CACL,6BACE,SAAS,EAAE,OAAO,EAClB,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,MAAM,IACT,cAAc,EACd,SAAS,eAEZ,OAAO,CAAC,aAAa,CAAC,IAAI,CACzB,cAAK,SAAS,EAAC,yBAAyB,YAAE,aAAa,GAAO,CAC/D,EACD,eAAM,SAAS,EAAC,iBAAiB,EAAC,EAAE,EAAE,SAAS,YAC5C,QAAQ,GACJ,EACN,eAAe,KACZ,CACP,CAAC;AACJ,CAAC,CAAC","sourcesContent":["/*!\n *\n * Copyright (c) \"Neo4j\"\n * Neo4j Sweden AB [http://neo4j.com]\n *\n * This file is part of Neo4j.\n *\n * Neo4j is free software: you can redistribute it and/or modify\n * it under the terms of the GNU General Public License as published by\n * the Free Software Foundation, either version 3 of the License, or\n * (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details.\n *\n * You should have received a copy of the GNU General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n */\nimport { tokens } from '@neo4j-ndl/base';\nimport classNames from 'classnames';\nimport type React from 'react';\n\nimport { type CommonProps } from '../_common/types';\n\nexport type TagSize = 'x-small' | 'small' | 'medium' | 'large';\n\nexport const CategoricalColors = [\n '1',\n '2',\n '3',\n '4',\n '5',\n '6',\n '7',\n '8',\n] as const;\n\nexport type TagColor = (typeof CategoricalColors)[number];\n\nexport interface TagBaseProps {\n /** Categorical color for the background */\n color?: TagColor;\n /** The content of the tag */\n children: React.ReactNode;\n /** Id applied to the content element used for aria-describedby on actions */\n contentId?: string;\n /** Icon to display before the content */\n leadingVisual?: React.ReactNode;\n /** Size of the tag */\n size?: TagSize;\n /** Trailing content rendered after the content (e.g. a remove button) */\n trailingContent?: React.ReactNode;\n}\n\nexport const colorMap: Record<\n TagColor,\n {\n '--tag-background-color': string;\n '--tag-text-color': string;\n }\n> = {\n '1': {\n '--tag-background-color': tokens.categorical[1],\n '--tag-text-color': '#000',\n },\n '2': {\n '--tag-background-color': tokens.categorical[2],\n '--tag-text-color': '#fff',\n },\n '3': {\n '--tag-background-color': tokens.categorical[3],\n '--tag-text-color': '#000',\n },\n '4': {\n '--tag-background-color': tokens.categorical[4],\n '--tag-text-color': '#000',\n },\n '5': {\n '--tag-background-color': tokens.categorical[5],\n '--tag-text-color': '#000',\n },\n '6': {\n '--tag-background-color': tokens.categorical[6],\n '--tag-text-color': '#000',\n },\n '7': {\n '--tag-background-color': tokens.categorical[7],\n '--tag-text-color': '#000',\n },\n '8': {\n '--tag-background-color': tokens.categorical[8],\n '--tag-text-color': '#fff',\n },\n};\n\nexport const TagBase = ({\n size = 'medium',\n color,\n children,\n className,\n contentId,\n htmlAttributes,\n leadingVisual,\n trailingContent,\n ref,\n style,\n ...restProps\n}: CommonProps<'div', TagBaseProps>) => {\n const classes = classNames('ndl-tag-new', className, {\n 'ndl-large': size === 'large',\n 'ndl-medium': size === 'medium',\n 'ndl-small': size === 'small',\n 'ndl-tag-colored': Boolean(color),\n 'ndl-x-small': size === 'x-small',\n });\n\n const styles = {\n ...style,\n ...(color ? colorMap[color] : {}),\n } as React.CSSProperties;\n\n return (\n <div\n className={classes}\n ref={ref}\n style={styles}\n {...htmlAttributes}\n {...restProps}\n >\n {Boolean(leadingVisual) && (\n <div className=\"ndl-tag-leading-element\">{leadingVisual}</div>\n )}\n <span className=\"ndl-tag-content\" id={contentId}>\n {children}\n </span>\n {trailingContent}\n </div>\n );\n};\n"]}
@@ -0,0 +1,24 @@
1
+ /*!
2
+ *
3
+ * Copyright (c) "Neo4j"
4
+ * Neo4j Sweden AB [http://neo4j.com]
5
+ *
6
+ * This file is part of Neo4j.
7
+ *
8
+ * Neo4j is free software: you can redistribute it and/or modify
9
+ * it under the terms of the GNU General Public License as published by
10
+ * the Free Software Foundation, either version 3 of the License, or
11
+ * (at your option) any later version.
12
+ *
13
+ * This program is distributed in the hope that it will be useful,
14
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
15
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
+ * GNU General Public License for more details.
17
+ *
18
+ * You should have received a copy of the GNU General Public License
19
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
+ */
21
+ import '@neo4j-ndl/base/lib/neo4j-ds-styles.css';
22
+ declare const Component: () => import("react/jsx-runtime").JSX.Element;
23
+ export default Component;
24
+ //# sourceMappingURL=checkbox-fluid.story.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox-fluid.story.d.ts","sourceRoot":"","sources":["../../../../src/checkbox/stories/checkbox-fluid.story.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,yCAAyC,CAAC;AAIjD,QAAA,MAAM,SAAS,+CAEd,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -22,6 +22,7 @@ export { default as CheckboxDefault } from './checkbox-default.story';
22
22
  export { default as CheckboxIndeterminate } from './checkbox-indeterminate.story';
23
23
  export { default as CheckboxNoLabel } from './checkbox-no-label.story';
24
24
  export { default as CheckboxDisabled } from './checkbox-disabled.story';
25
+ export { default as CheckboxFluid } from './checkbox-fluid.story';
25
26
  export { default as CheckboxHasLabelBefore } from './checkbox-has-label-before.story';
26
27
  export { default as CheckboxFull } from './checkbox-full.story';
27
28
  export { default as CheckboxControlled } from './checkbox-controlled.story';
@@ -29,6 +30,7 @@ export declare const CheckboxDefaultSrc: string;
29
30
  export declare const CheckboxIndeterminateSrc: string;
30
31
  export declare const CheckboxNoLabelSrc: string;
31
32
  export declare const CheckboxDisabledSrc: string;
33
+ export declare const CheckboxFluidSrc: string;
32
34
  export declare const CheckboxFullSrc: string;
33
35
  export declare const CheckboxHasLabelBeforeSrc: string;
34
36
  export declare const CheckboxControlledSrc: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/checkbox/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAW5E,eAAO,MAAM,kBAAkB,QAA6C,CAAC;AAC7E,eAAO,MAAM,wBAAwB,QAEpC,CAAC;AACF,eAAO,MAAM,kBAAkB,QAA6C,CAAC;AAC7E,eAAO,MAAM,mBAAmB,QAA8C,CAAC;AAC/E,eAAO,MAAM,eAAe,QAA0C,CAAC;AACvE,eAAO,MAAM,yBAAyB,QAErC,CAAC;AACF,eAAO,MAAM,qBAAqB,QAEjC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/checkbox/stories/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,0BAA0B,CAAC;AACtE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAClF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,2BAA2B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAY5E,eAAO,MAAM,kBAAkB,QAA6C,CAAC;AAC7E,eAAO,MAAM,wBAAwB,QAEpC,CAAC;AACF,eAAO,MAAM,kBAAkB,QAA6C,CAAC;AAC7E,eAAO,MAAM,mBAAmB,QAA8C,CAAC;AAC/E,eAAO,MAAM,gBAAgB,QAA2C,CAAC;AACzE,eAAO,MAAM,eAAe,QAA0C,CAAC;AACvE,eAAO,MAAM,yBAAyB,QAErC,CAAC;AACF,eAAO,MAAM,qBAAqB,QAEjC,CAAC"}
@@ -21,7 +21,6 @@
21
21
  export declare enum Keys {
22
22
  Enter = "Enter",
23
23
  Escape = "Escape",
24
- Shift = "Shift",
25
24
  Control = "Control",
26
25
  Home = "Home",
27
26
  End = "End",
@@ -1 +1 @@
1
- {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../src/data-grid/data-grid-nav/keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,oBAAY,IAAI;IACd,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,gBAAgB;IAChB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,iBAAiB;IACjB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,EAAE,OAAO;CACV"}
1
+ {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../../../src/data-grid/data-grid-nav/keys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AACH,oBAAY,IAAI;IACd,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,gBAAgB;IAChB,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,iBAAiB;IACjB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,UAAU,eAAe;IACzB,SAAS,cAAc;IACvB,EAAE,OAAO;CACV"}
@@ -34,7 +34,7 @@ export { Dialog } from './dialog';
34
34
  export { LoadingSpinner } from './loading-spinner';
35
35
  export { Tabs } from './tabs';
36
36
  export { SegmentedControl } from './segmented-control';
37
- export { Popover } from './popover';
37
+ export * from './popover';
38
38
  export { ProgressBar } from './progress-bar';
39
39
  export { Dropzone } from './dropzone';
40
40
  export * from './data-grid';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;A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AiB,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,cAAc,YAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/progress-bar/ProgressBar.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC5B,MAAM,kBAAkB,CAAC;AAE1B,KAAK,gBAAgB,GAAG;IACtB,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC;IACxB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,cAAc,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,mFAU9D,sBAAsB,CAAC,CAAC,EAAE,gBAAgB,CAAC,4CAuC7C,CAAC"}
1
+ {"version":3,"file":"ProgressBar.d.ts","sourceRoot":"","sources":["../../../src/progress-bar/ProgressBar.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC5B,MAAM,kBAAkB,CAAC;AAE1B,KAAK,gBAAgB,GAAG;IACtB,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8DAA8D;IAC9D,KAAK,EAAE,MAAM,CAAC;IACd,+BAA+B;IAC/B,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC;IACxB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,cAAc,CAAC,EAAE,cAAc,CAAC,KAAK,CAAC,CAAC;CACxC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,EAAE,mFAU9D,sBAAsB,CAAC,CAAC,EAAE,gBAAgB,CAAC,4CAmC7C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-ndl/react",
3
- "version": "5.3.0",
3
+ "version": "5.3.1",
4
4
  "sideEffects": false,
5
5
  "description": "React implementation of Neo4j Design System",
6
6
  "keywords": [
@@ -393,6 +393,7 @@
393
393
  },
394
394
  "devDependencies": {
395
395
  "@axe-core/playwright": "4.11.3",
396
+ "@babel/types": "8.0.10",
396
397
  "@playwright/experimental-ct-react": "1.60.0",
397
398
  "@playwright/test": "1.60.0",
398
399
  "@storybook/addon-docs": "10.2.19",
@@ -411,7 +412,6 @@
411
412
  "@vitest/coverage-v8": "4.1.10",
412
413
  "a11y-contrast-color": "1.1.0",
413
414
  "chromatic": "13.3.5",
414
- "happo": "6.25.1",
415
415
  "jsdom": "26.1.0",
416
416
  "leva": "0.10.1",
417
417
  "react": "19.2.5",
@@ -429,7 +429,7 @@
429
429
  "@tanstack/react-table": "8.21.3",
430
430
  "react": ">=19.0.0",
431
431
  "react-dom": ">=19.0.0",
432
- "@neo4j-ndl/base": "^5.1.4"
432
+ "@neo4j-ndl/base": "^5.1.5"
433
433
  },
434
434
  "dependencies": {
435
435
  "@dnd-kit/core": "6.3.1",
@@ -471,8 +471,6 @@
471
471
  "test:unit": "pnpm exec vitest --run --exclude node_modules",
472
472
  "typecheck": "pnpm exec tsc -p tsconfig.tests.json",
473
473
  "test:playwright": "NODE_OPTIONS=--max-old-space-size=8192 pnpm exec playwright test --grep-invert '@happo|@visual-regression'",
474
- "test:visual-regression": "pnpm exec playwright test --grep '@visual-regression' --update-snapshots=changed",
475
- "test:visual-regression:check": "pnpm exec playwright test --grep '@visual-regression' --update-snapshots=none",
476
474
  "build": "pnpm run generate:style-rules && pnpm run build:esm && pnpm run build:cjs && pnpm run build:types",
477
475
  "build:esm": "pnpm exec tsc -p tsconfig.esm.json",
478
476
  "build:cjs": "pnpm exec tsc -p tsconfig.cjs.json",
@@ -2,7 +2,7 @@
2
2
  name: ndl-react
3
3
  metadata:
4
4
  package: '@neo4j-ndl/react'
5
- version: '5.3.0'
5
+ version: '5.3.1'
6
6
  description: >-
7
7
  Build and edit UI with the Neo4j Needle React design system
8
8
  (@neo4j-ndl/react). Use when adding, composing, or modifying Needle components
@@ -15,7 +15,7 @@ description: >-
15
15
 
16
16
  # Neo4j Needle (@neo4j-ndl/react)
17
17
 
18
- > 📌 Shipped with `@neo4j-ndl/react` v5.3.0. Once installed into your repo (e.g. via
18
+ > 📌 Shipped with `@neo4j-ndl/react` v5.3.1. Once installed into your repo (e.g. via
19
19
  > `npx skills add`) this folder is detached from the package — the installed
20
20
  > package (TypeScript types in `node_modules/@neo4j-ndl/react`) is the source of
21
21
  > truth.
@@ -70,27 +70,26 @@ Use Neo4j Needle components instead of hand-rolling equivalent UI.
70
70
  - Compound components are exposed as subcomponents (e.g. `Tooltip.Trigger`,
71
71
  `Tooltip.Content`). Follow each component's own doc — don't assume one
72
72
  component's compound shape matches another's.
73
- - **Class names are unchecked strings, and the prefix is not fixed.** A wrong
74
- prop fails the build, but `className="justify-between"` compiles and
75
- silently renders nothing. Which utility classes exist — and whether they carry
76
- a prefix — depends on the consuming app, so establish that first rather than
77
- assuming:
73
+ - **Class names are unchecked strings, and a consumer may set a custom
74
+ prefix.** A wrong prop fails the build, but a class that does not exist
75
+ compiles and silently renders nothing. Utilities are unprefixed by default
76
+ (`flex`, `gap-token-8`), yet an app's own Tailwind config can set a
77
+ `prefix`. **Before writing any utility class, open the app's
78
+ `tailwind.config.*` and read its `prefix`**, then establish which case
79
+ applies rather than assuming:
78
80
  - No Tailwind build: only classes literally present in
79
81
  `node_modules/@neo4j-ndl/base/lib/neo4j-ds-styles.css` apply. That means
80
82
  the typography classes (`ndl-typography-body-medium`,
81
- `ndl-typography-title-1`, …; the legacy `n-body-medium` aliases still
82
- work) and the safelisted color classes (`text-*`, `bg-*`, `border-*`)
83
- — no layout or spacing utilities such as `flex` or `gap-token-8`. Grep it
84
- for the exact class.
85
- - Tailwind with the published preset and no override (the default since
86
- `@neo4j-ndl/base` v5): the preset sets no prefix, so `flex` and
87
- `text-neutral-text-weaker` work and `n-flex` does not.
88
- - Tailwind where the app's own config sets `prefix` (it overrides the preset;
89
- apps on `@neo4j-ndl/base` v4 got `n-` by default): the theme is Needle's
90
- but every utility carries that prefix — `n-flex` works, `flex` does not.
91
-
92
- Check the app's Tailwind config for `prefix` and follow the surrounding code.
93
- Tailwind-shaped guesses (`justify-between`, `items-baseline`) and
83
+ `ndl-typography-title-1`, …) and the safelisted color classes
84
+ (`text-*`, `bg-*`, `border-*`) — no layout or spacing utilities such as
85
+ `flex` or `gap-token-8`. Grep it for the exact class.
86
+ - Tailwind with the published preset and no override: no prefix, so `flex`
87
+ and `text-neutral-text-weaker` work.
88
+ - Tailwind where the app's own config sets a `prefix` (it overrides the
89
+ preset): the theme is Needle's but every utility carries that prefix, so
90
+ with `prefix: 'foo-'` write `foo-flex`; the unprefixed `flex` does nothing.
91
+
92
+ Follow the surrounding code's prefix. Tailwind-shaped guesses (`justify-between`, `items-baseline`) and
94
93
  near-misses on real scales (`gap-token-1` when the scale is 2/4/6/8/12/16)
95
94
  become invisible layout bugs, not errors. `Flex`, `Box` and `Typography` with
96
95
  token props sidestep the question entirely — prefer them. For the full token
@@ -187,17 +187,18 @@ exist.
187
187
 
188
188
  **2. What prefix does it use?**
189
189
 
190
- Since `@neo4j-ndl/base` v5 the Needle preset sets **no prefix**, so utilities
191
- are written as plain Tailwind — `flex`, `gap-4`, `text-neutral-text-weak`. An
192
- app can still set its own `prefix` (apps on base v4 got `n-` by default, and
193
- some keep it), and the app's config wins: there every utility carries that
194
- prefix (`n-flex`), and the bare name does nothing. An app with no Tailwind
195
- build at all gets only the prebuilt stylesheet's classes, which are unprefixed.
190
+ The Needle preset sets **no prefix**, so utilities are written as plain
191
+ Tailwind — `flex`, `gap-4`, `text-neutral-text-weak`. An app can still set its own
192
+ `prefix` in its Tailwind config, and the app's config wins: there every utility
193
+ carries that prefix (with `prefix: 'foo-'` you write `foo-flex`) and the bare
194
+ name does nothing. Read `tailwind.config.*` before writing a class. An app with
195
+ no Tailwind build at all gets only the prebuilt stylesheet's classes, which are
196
+ unprefixed.
196
197
 
197
198
  Getting this wrong is invisible: a class at the wrong prefix compiles, passes
198
199
  type-checking and renders nothing. And it can look fine by accident — in a
199
- `prefix: 'n-'` app that also imports the prebuilt CSS, `text-neutral-text-weak`
200
- still renders because the prebuilt file safelists it, while `flex` does not.
200
+ prefixed app that also imports the prebuilt CSS, `text-neutral-text-weak` still
201
+ renders because the prebuilt file safelists it, while `flex` does not.
201
202
 
202
203
  ### Why the prebuilt stylesheet has no layout utilities
203
204