@react-fabric/data 1.0.0-beta.18 → 1.0.0-beta.19

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.
@@ -71,6 +71,7 @@ var Histogram = function Histogram(_ref) {
71
71
  actions: [/*#__PURE__*/jsxRuntime.jsx(core.Button, {
72
72
  color: "danger",
73
73
  size: "sm",
74
+ stopPropagation: true,
74
75
  icon: core.CoreIcons.funnelMinus,
75
76
  "aria-label": "Filter Negative",
76
77
  onClick: function onClick() {
@@ -79,6 +80,7 @@ var Histogram = function Histogram(_ref) {
79
80
  }, "negative"), /*#__PURE__*/jsxRuntime.jsx(core.Button, {
80
81
  color: "primary",
81
82
  size: "sm",
83
+ stopPropagation: true,
82
84
  icon: core.CoreIcons.funnelPlus,
83
85
  "aria-label": "Filter",
84
86
  onClick: function onClick() {
@@ -198,7 +198,7 @@ var _VirtualGallery = function _VirtualGallery(_ref) {
198
198
  index = _ref3.index,
199
199
  measureElement = _ref3.measureElement;
200
200
  return /*#__PURE__*/jsxRuntime.jsx("div", {
201
- className: "flex justify-center",
201
+ className: "flex justify-start",
202
202
  "data-index": index,
203
203
  ref: measureElement,
204
204
  children: columnMap.map(function (col) {
@@ -71,6 +71,7 @@ var Histogram = function Histogram(_ref) {
71
71
  actions: [/*#__PURE__*/jsx(Button, {
72
72
  color: "danger",
73
73
  size: "sm",
74
+ stopPropagation: true,
74
75
  icon: CoreIcons.funnelMinus,
75
76
  "aria-label": "Filter Negative",
76
77
  onClick: function onClick() {
@@ -79,6 +80,7 @@ var Histogram = function Histogram(_ref) {
79
80
  }, "negative"), /*#__PURE__*/jsx(Button, {
80
81
  color: "primary",
81
82
  size: "sm",
83
+ stopPropagation: true,
82
84
  icon: CoreIcons.funnelPlus,
83
85
  "aria-label": "Filter",
84
86
  onClick: function onClick() {
@@ -198,7 +198,7 @@ var _VirtualGallery = function _VirtualGallery(_ref) {
198
198
  index = _ref3.index,
199
199
  measureElement = _ref3.measureElement;
200
200
  return /*#__PURE__*/jsx("div", {
201
- className: "flex justify-center",
201
+ className: "flex justify-start",
202
202
  "data-index": index,
203
203
  ref: measureElement,
204
204
  children: columnMap.map(function (col) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-fabric/data",
3
- "version": "1.0.0-beta.18",
3
+ "version": "1.0.0-beta.19",
4
4
  "description": "RUF: Data package",
5
5
  "author": "Adarsh Pastakia <adarshpastakia@outlook.com>",
6
6
  "license": "MIT",
@@ -33,10 +33,10 @@
33
33
  "watch": "npm-run-all -p watch:rollup watch:dts"
34
34
  },
35
35
  "dependencies": {
36
- "@react-fabric/core": "^1.0.0-beta.18",
37
- "@react-fabric/date": "^1.0.0-beta.18",
38
- "@react-fabric/form": "^1.0.0-beta.18",
39
- "@react-fabric/utilities": "^1.0.0-beta.18",
36
+ "@react-fabric/core": "^1.0.0-beta.19",
37
+ "@react-fabric/date": "^1.0.0-beta.19",
38
+ "@react-fabric/form": "^1.0.0-beta.19",
39
+ "@react-fabric/utilities": "^1.0.0-beta.19",
40
40
  "@tanstack/react-virtual": "^3.8.6",
41
41
  "classnames": "^2.5.1",
42
42
  "color": "^4.2.3",
@@ -52,5 +52,5 @@
52
52
  "node": ">=18.12.0",
53
53
  "npm": ">=8.19.0"
54
54
  },
55
- "gitHead": "4795fee60aa3e7411934a688f7c53e42ca3297ed"
55
+ "gitHead": "1757660f7f30590d1bf5c7f2bd3526f6052dccd5"
56
56
  }
@@ -150,6 +150,7 @@ export const Histogram = ({
150
150
  key="negative"
151
151
  color="danger"
152
152
  size="sm"
153
+ stopPropagation
153
154
  icon={CoreIcons.funnelMinus}
154
155
  aria-label="Filter Negative"
155
156
  onClick={() => onClick?.(item.id, true)}
@@ -158,6 +159,7 @@ export const Histogram = ({
158
159
  key="positive"
159
160
  color="primary"
160
161
  size="sm"
162
+ stopPropagation
161
163
  icon={CoreIcons.funnelPlus}
162
164
  aria-label="Filter"
163
165
  onClick={() => onClick?.(item.id)}
@@ -314,7 +314,7 @@ const _VirtualGallery = <T extends KeyValue>({
314
314
  <div style={{ height: virtualItems[0]?.start }} />
315
315
  {virtualItems.map(({ key, index, measureElement }) => (
316
316
  <div
317
- className="flex justify-center"
317
+ className="flex justify-start"
318
318
  key={key}
319
319
  data-index={index}
320
320
  ref={measureElement}