@bigbinary/neeto-filters-frontend 3.2.0 → 3.2.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.
package/README.md CHANGED
@@ -10,6 +10,7 @@ The `neeto-filters-nano` manages filters across neeto products. The nano export
10
10
  - [Installation](#installation-1)
11
11
  - [Components](#components)
12
12
  2. [Instructions for Publishing](#instructions-for-publishing)
13
+ 3. [Releasing beta versions](#releasing-beta-versions)
13
14
 
14
15
  # Development with Host Application
15
16
  ## Engine
@@ -450,3 +451,21 @@ this case, all the users whose email address contains `bigbinary` in the
450
451
 
451
452
  # Instructions for Publishing
452
453
  Consult the [building and releasing packages](https://neeto-engineering.neetokb.com/articles/building-and-releasing-packages) guide for details on how to publish.
454
+
455
+ # Releasing beta versions
456
+
457
+ - Push the changes to a target branch for releasing beta version.
458
+ - Update the package version to `{latest-version}-beta` (if `1.2.34` is the
459
+ current latest version, it will be `1.2.34-beta`) in the target branch for
460
+ beta release.
461
+ - [Draft a new release](https://github.com/bigbinary/neeto-filters-nano/releases/new)
462
+ from the repo with the target branch.
463
+ - Add a new tag and title in the format: version prefixed with `v`, eg:
464
+ `v1.2.34-beta`.
465
+ - Generate release notes.
466
+ - Set the release as a pre-release and publish the release.
467
+ <img width="640" alt="image" src="https://private-user-images.githubusercontent.com/22348659/292095447-8bcb83f3-dc52-46f8-98f9-a388df33abf2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDc0NTU4MDcsIm5iZiI6MTcwNzQ1NTUwNywicGF0aCI6Ii8yMjM0ODY1OS8yOTIwOTU0NDctOGJjYjgzZjMtZGM1Mi00NmY4LTk4ZjktYTM4OGRmMzNhYmYyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwMjA5VDA1MTE0N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTljYjQwOGMwYTY3ZjhmZGM4N2VjNmMwMjhlYTIxY2MzYTNmZjZhMDRmZDU1OWZjMzkzNmVmZmFhNDVlZTNmMDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.GdDk-fZIuLoZhqSdWJkvvU8l1_N-lwQEgWm5ttc7Ebs">
468
+
469
+ If we are releasing a beta version to a product, we have to inform the
470
+ compliance team as well to avoid overwriting the version with latest version on
471
+ the next compliance release.
package/dist/index.cjs.js CHANGED
@@ -1097,7 +1097,7 @@ var Block = function Block(_ref) {
1097
1097
  }, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
1098
1098
  style: "body2"
1099
1099
  }, label, ":"), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
1100
- className: "neeto-ui-text-gray-500",
1100
+ className: "neeto-ui-text-gray-600",
1101
1101
  style: "body2"
1102
1102
  }, ruleContent), /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
1103
1103
  style: "body2"
@@ -1522,7 +1522,9 @@ var Bar = function Bar(_ref) {
1522
1522
  }), /*#__PURE__*/React__default["default"].createElement("div", {
1523
1523
  className: "neeto-filters-bar--separator"
1524
1524
  }));
1525
- }), ramda.isNotNil(entity) && /*#__PURE__*/React__default["default"].createElement(Segment, {
1525
+ }), /*#__PURE__*/React__default["default"].createElement("div", {
1526
+ className: "flex items-center gap-x-2"
1527
+ }, ramda.isNotNil(entity) && /*#__PURE__*/React__default["default"].createElement(Segment, {
1526
1528
  childrenKeys: childrenKeys,
1527
1529
  columns: columns,
1528
1530
  defaultSegmentName: defaultSegmentName,
@@ -1534,7 +1536,7 @@ var Bar = function Bar(_ref) {
1534
1536
  label: t("neetoFilters.common.clearFilters"),
1535
1537
  style: "text",
1536
1538
  onClick: handleClearAll
1537
- }));
1539
+ })));
1538
1540
  }();
1539
1541
  };
1540
1542
 
@@ -2543,7 +2545,9 @@ var Pane = function Pane(_ref) {
2543
2545
  style: "body2"
2544
2546
  }, t("neetoFilters.messages.noResourcesFound", {
2545
2547
  resources: t("neetoFilters.common.columns")
2546
- })), children), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Footer, null, /*#__PURE__*/React__default["default"].createElement("div", null, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
2548
+ })), children), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Footer, {
2549
+ className: "gap-x-2"
2550
+ }, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
2547
2551
  "data-cy": "neeto-filters-done-btn",
2548
2552
  label: t("neetoFilters.common.done"),
2549
2553
  onClick: handleClearTermAndClose
@@ -2553,7 +2557,7 @@ var Pane = function Pane(_ref) {
2553
2557
  label: t("neetoFilters.common.clearFilters"),
2554
2558
  style: "text",
2555
2559
  onClick: handleClearAll
2556
- }))));
2560
+ })));
2557
2561
  };
2558
2562
 
2559
2563
  var e=[],t=[];function n(n,r){if(n&&"undefined"!=typeof document){var a,s=!0===r.prepend?"prepend":"append",d=!0===r.singleTag,i="string"==typeof r.container?document.querySelector(r.container):document.getElementsByTagName("head")[0];if(d){var u=e.indexOf(i);-1===u&&(u=e.push(i)-1,t[u]={}),a=t[u]&&t[u][s]?t[u][s]:t[u][s]=c();}else a=c();65279===n.charCodeAt(0)&&(n=n.substring(1)),a.styleSheet?a.styleSheet.cssText+=n:a.appendChild(document.createTextNode(n));}function c(){var e=document.createElement("style");if(e.setAttribute("type","text/css"),r.attributes)for(var t=Object.keys(r.attributes),n=0;n<t.length;n++)e.setAttribute(t[n],r.attributes[t[n]]);var a="prepend"===s?"afterbegin":"beforeend";return i.insertAdjacentElement(a,e),e}}