@caspeco/casper-ui-library 7.9.1 → 7.9.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"table-theme.d.ts","sourceRoot":"","sources":["../../../../lib/theme/theme-config/components/table-theme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,yBAAyB,EAA8C,MAAM,kBAAkB,CAAC;AAiF9G,eAAO,MAAM,WAAW,EAAE,yBAExB,CAAC"}
1
+ {"version":3,"file":"table-theme.d.ts","sourceRoot":"","sources":["../../../../lib/theme/theme-config/components/table-theme.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,yBAAyB,EAA8C,MAAM,kBAAkB,CAAC;AAmF9G,eAAO,MAAM,WAAW,EAAE,yBAExB,CAAC"}
@@ -1,10 +1,10 @@
1
- import { createMultiStyleConfigHelpers as n, defineStyle as e } from "@chakra-ui/react";
2
- import { ThemeColorVariable as o, ThemeSpaceVariable as r, ThemeFontVariable as a } from "../../theme-types.js";
1
+ import { createMultiStyleConfigHelpers as a, defineStyle as e } from "@chakra-ui/react";
2
+ import { ThemeColorVariable as o, ThemeSpaceVariable as r, ThemeFontVariable as n } from "../../theme-types.js";
3
3
  import { ThemeFontSizeToken as t } from "../theme-tokens.js";
4
4
  import { tableAnatomy as l } from "../../../packages/casper-ui-library/node_modules/@chakra-ui/anatomy/dist/esm/components.js";
5
- const { definePartsStyle: d, defineMultiStyleConfig: i } = n(l.keys), b = e({
5
+ const { definePartsStyle: d, defineMultiStyleConfig: i } = a(l.keys), p = e({
6
6
  position: "relative",
7
- fontFamily: a.Body,
7
+ fontFamily: n.Body,
8
8
  fontSize: t.Small,
9
9
  th: {
10
10
  padding: "0px",
@@ -28,12 +28,14 @@ const { definePartsStyle: d, defineMultiStyleConfig: i } = n(l.keys), b = e({
28
28
  gap: r.XSmall,
29
29
  _last: {
30
30
  borderRight: "none"
31
- }
31
+ },
32
+ "&:has(input)": { padding: "0px !important" },
33
+ "&:has(textarea)": { padding: "0px !important" }
32
34
  },
33
35
  tr: {
34
36
  borderColor: o.OnBackgroundBorder
35
37
  }
36
- }), s = e({
38
+ }), b = e({
37
39
  cursor: "pointer",
38
40
  backgroundColor: o.Surface,
39
41
  div: {
@@ -42,9 +44,9 @@ const { definePartsStyle: d, defineMultiStyleConfig: i } = n(l.keys), b = e({
42
44
  fontWeight: 400
43
45
  }
44
46
  }
45
- }), c = e({
47
+ }), s = e({
46
48
  color: o.OnBackground
47
- }), p = e({
49
+ }), c = e({
48
50
  borderTop: "1px solid",
49
51
  _first: {
50
52
  borderTop: "none"
@@ -59,14 +61,14 @@ const { definePartsStyle: d, defineMultiStyleConfig: i } = n(l.keys), b = e({
59
61
  backgroundColor: o.OnBackgroundSubdued
60
62
  }
61
63
  }), u = d({
62
- table: b,
63
- tfoot: c,
64
- th: s,
65
- tr: p,
64
+ table: p,
65
+ tfoot: s,
66
+ th: b,
67
+ tr: c,
66
68
  thead: g
67
- }), k = i({
69
+ }), x = i({
68
70
  baseStyle: u
69
71
  });
70
72
  export {
71
- k as tableConfig
73
+ x as tableConfig
72
74
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caspeco/casper-ui-library",
3
- "version": "7.9.1",
3
+ "version": "7.9.2",
4
4
  "prettier": "@caspeco/prettier-config",
5
5
  "type": "module",
6
6
  "sideEffects": false,