@lightdash/common 0.2155.1 → 0.2155.3

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.
@@ -6,6 +6,7 @@ export declare const getLegendStyle: (iconType?: LegendIconType) => {
6
6
  fontWeight: number;
7
7
  padding: number[];
8
8
  };
9
+ inactiveBorderWidth: number;
9
10
  pageButtonItemGap: number;
10
11
  pageButtonGap: number;
11
12
  pageTextStyle: {
@@ -27,6 +28,7 @@ export declare const getLegendStyle: (iconType?: LegendIconType) => {
27
28
  fontWeight: number;
28
29
  padding: number[];
29
30
  };
31
+ inactiveBorderWidth: number;
30
32
  pageButtonItemGap: number;
31
33
  pageButtonGap: number;
32
34
  pageTextStyle: {
@@ -40,6 +42,7 @@ export declare const getLegendStyle: (iconType?: LegendIconType) => {
40
42
  icon: string;
41
43
  itemStyle: {
42
44
  borderRadius: number;
45
+ borderWidth: number;
43
46
  };
44
47
  itemWidth: number;
45
48
  itemHeight: number;
@@ -1 +1 @@
1
- {"version":3,"file":"legendStyles.d.ts","sourceRoot":"","sources":["../../../../../src/visualizations/helpers/styles/legendStyles.ts"],"names":[],"mappings":"AAEA,KAAK,cAAc,GAAG,MAAM,GAAG,QAAQ,CAAC;AAMxC,eAAO,MAAM,cAAc,cAAc,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BrD,CAAC"}
1
+ {"version":3,"file":"legendStyles.d.ts","sourceRoot":"","sources":["../../../../../src/visualizations/helpers/styles/legendStyles.ts"],"names":[],"mappings":"AAEA,KAAK,cAAc,GAAG,MAAM,GAAG,QAAQ,CAAC;AAMxC,eAAO,MAAM,cAAc,cAAc,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BrD,CAAC"}
@@ -14,7 +14,7 @@ const getLegendStyle = (iconType = 'square') => ({
14
14
  }
15
15
  : {
16
16
  icon: 'roundRect',
17
- itemStyle: { borderRadius: 3 },
17
+ itemStyle: { borderRadius: 3, borderWidth: 0 },
18
18
  }),
19
19
  textStyle: {
20
20
  color: themeColors_1.GRAY_7,
@@ -22,6 +22,7 @@ const getLegendStyle = (iconType = 'square') => ({
22
22
  fontWeight: 500,
23
23
  padding: [0, 0, 0, 2],
24
24
  },
25
+ inactiveBorderWidth: 0, // Remove border on inactive items to prevent visual size increase
25
26
  // Navigation controls (for scrollable legends)
26
27
  pageButtonItemGap: 16, // Space between left arrow, page text, and right arrow
27
28
  pageButtonGap: 8, // Space between legend items and navigation controls
@@ -1 +1 @@
1
- {"version":3,"file":"legendStyles.js","sourceRoot":"","sources":["../../../../../src/visualizations/helpers/styles/legendStyles.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAI/C,iBAAiB;AACjB,MAAM,oBAAoB,GACtB,8FAA8F,CAAC;AAE5F,MAAM,cAAc,GAAG,CAAC,WAA2B,QAAQ,EAAE,EAAE,CAAC,CAAC;IACpE,SAAS,EAAE,QAAQ,KAAK,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE;IACxC,UAAU,EAAE,EAAE;IACd,OAAO,EAAE,EAAE;IACX,GAAG,CAAC,QAAQ,KAAK,MAAM;QACnB,CAAC,CAAC;YACI,IAAI,EAAE,oBAAoB;SAC7B;QACH,CAAC,CAAC;YACI,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE;SACjC,CAAC;IACR,SAAS,EAAE;QACP,KAAK,EAAE,oBAAM;QACb,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,GAAG;QACf,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;KACxB;IACD,+CAA+C;IAC/C,iBAAiB,EAAE,EAAE,EAAE,uDAAuD;IAC9E,aAAa,EAAE,CAAC,EAAE,qDAAqD;IACvE,aAAa,EAAE;QACX,KAAK,EAAE,oBAAM;QACb,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,GAAG;KAClB;IACD,aAAa,EAAE,oBAAM,EAAE,uBAAuB;IAC9C,qBAAqB,EAAE,oBAAM,EAAE,yBAAyB;IACxD,YAAY,EAAE,EAAE;CACnB,CAAC,CAAC;AA7BU,QAAA,cAAc,kBA6BxB"}
1
+ {"version":3,"file":"legendStyles.js","sourceRoot":"","sources":["../../../../../src/visualizations/helpers/styles/legendStyles.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAI/C,iBAAiB;AACjB,MAAM,oBAAoB,GACtB,8FAA8F,CAAC;AAE5F,MAAM,cAAc,GAAG,CAAC,WAA2B,QAAQ,EAAE,EAAE,CAAC,CAAC;IACpE,SAAS,EAAE,QAAQ,KAAK,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE;IACxC,UAAU,EAAE,EAAE;IACd,OAAO,EAAE,EAAE;IACX,GAAG,CAAC,QAAQ,KAAK,MAAM;QACnB,CAAC,CAAC;YACI,IAAI,EAAE,oBAAoB;SAC7B;QACH,CAAC,CAAC;YACI,IAAI,EAAE,WAAW;YACjB,SAAS,EAAE,EAAE,YAAY,EAAE,CAAC,EAAE,WAAW,EAAE,CAAC,EAAE;SACjD,CAAC;IACR,SAAS,EAAE;QACP,KAAK,EAAE,oBAAM;QACb,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,GAAG;QACf,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC;KACxB;IACD,mBAAmB,EAAE,CAAC,EAAE,kEAAkE;IAC1F,+CAA+C;IAC/C,iBAAiB,EAAE,EAAE,EAAE,uDAAuD;IAC9E,aAAa,EAAE,CAAC,EAAE,qDAAqD;IACvE,aAAa,EAAE;QACX,KAAK,EAAE,oBAAM;QACb,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,GAAG;KAClB;IACD,aAAa,EAAE,oBAAM,EAAE,uBAAuB;IAC9C,qBAAqB,EAAE,oBAAM,EAAE,yBAAyB;IACxD,YAAY,EAAE,EAAE;CACnB,CAAC,CAAC;AA9BU,QAAA,cAAc,kBA8BxB"}