@tanishqkancharla/maui 0.0.55 → 0.0.56

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.
@@ -30,6 +30,12 @@ const head = memoize(({ align = "start" } = {}) => style(text({ size: "xs", font
30
30
  whiteSpace: "nowrap",
31
31
  outline: "none",
32
32
  fontWeight: 500,
33
+ "&:first-child": {
34
+ paddingLeft: 0,
35
+ },
36
+ "&:last-child": {
37
+ paddingRight: 0,
38
+ },
33
39
  }));
34
40
  const body = style({
35
41
  outline: "none",
@@ -71,6 +77,12 @@ const cell = memoize(({ align = "start" } = {}) => style(text({ size: "sm", font
71
77
  textAlign: align,
72
78
  verticalAlign: "middle",
73
79
  outline: "none",
80
+ "&:first-child": {
81
+ paddingLeft: 0,
82
+ },
83
+ "&:last-child": {
84
+ paddingRight: 0,
85
+ },
74
86
  '&[role="rowheader"]': {
75
87
  fontWeight: 500,
76
88
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanishqkancharla/maui",
3
- "version": "0.0.55",
3
+ "version": "0.0.56",
4
4
  "description": "Maui design system",
5
5
  "type": "module",
6
6
  "main": "./dist/maui.js",
@@ -64,6 +64,12 @@ const head = memoize(({ align = "start" }: { align?: TableAlign } = {}) =>
64
64
  whiteSpace: "nowrap",
65
65
  outline: "none",
66
66
  fontWeight: 500,
67
+ "&:first-child": {
68
+ paddingLeft: 0,
69
+ },
70
+ "&:last-child": {
71
+ paddingRight: 0,
72
+ },
67
73
  },
68
74
  ),
69
75
  )
@@ -120,6 +126,12 @@ const cell = memoize(({ align = "start" }: { align?: TableAlign } = {}) =>
120
126
  textAlign: align,
121
127
  verticalAlign: "middle",
122
128
  outline: "none",
129
+ "&:first-child": {
130
+ paddingLeft: 0,
131
+ },
132
+ "&:last-child": {
133
+ paddingRight: 0,
134
+ },
123
135
  '&[role="rowheader"]': {
124
136
  fontWeight: 500,
125
137
  },