w-design-system 0.1.100 → 0.2.100

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":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Table/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAA;AAOvC,KAAK,MAAM,CAAC,CAAC,IAAI;IACf,MAAM,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAA;IAC1B,IAAI,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,KAAK,KAAK,CAAC,SAAS,CAAA;IAC3E,KAAK,CAAC,EAAE,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAA;CACpC,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,KAAK,UAAU,CAAC,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,IAAI;IAC1C,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAA;IACpB,IAAI,EAAE,CAAC,EAAE,CAAA;IACT,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,iBAAiB,CAAC,EAAE,iBAAiB,CAAA;IACrC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAA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AU,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAA;CAC9B,CAAA;AA2ED,eAAO,MAAM,KAAK,GAAI,CAAC,SAAS;IAAE,EAAE,EAAE,MAAM,CAAA;CAAE,EAAE,2FAa7C,UAAU,CAAC,CAAC,CAAC,sBA6Ef,CAAA"}
@@ -4286,11 +4286,11 @@ const Z5 = y.div``, L5 = y.div`
4286
4286
  overflow-y: auto;
4287
4287
  height: ${({ height: A }) => A || "100%"};
4288
4288
  `, T5 = y.tbody``, l1 = y.tr`
4289
- background-color: ${({ selected: A, striped: g }) => A ? w.colors.cyan10 : g ? w.colors.shade05 : "transparent"};
4289
+ background-color: ${({ selected: A, striped: g }) => A ? w.colors.cyan10 : g ? "white" : "transparent"};
4290
4290
  cursor: ${({ clickable: A }) => A ? "pointer" : "default"};
4291
4291
 
4292
4292
  &:nth-child(even) {
4293
- background-color: ${({ selected: A, striped: g }) => A ? w.colors.cyan10 : g ? w.colors.shade10 : "transparent"};
4293
+ background-color: ${({ selected: A, striped: g }) => A ? w.colors.cyan10 : g ? w.colors.shade05 : "transparent"};
4294
4294
  }
4295
4295
 
4296
4296
  &:hover {
@@ -1219,11 +1219,11 @@ Valid keys: `+JSON.stringify(Object.keys(s),null," "));var x=B0(G,S,j,h,Q+"."+S
1219
1219
  overflow-y: auto;
1220
1220
  height: ${({height:A})=>A||"100%"};
1221
1221
  `,b5=B.tbody``,t1=B.tr`
1222
- background-color: ${({selected:A,striped:g})=>A?E.colors.cyan10:g?E.colors.shade05:"transparent"};
1222
+ background-color: ${({selected:A,striped:g})=>A?E.colors.cyan10:g?"white":"transparent"};
1223
1223
  cursor: ${({clickable:A})=>A?"pointer":"default"};
1224
1224
 
1225
1225
  &:nth-child(even) {
1226
- background-color: ${({selected:A,striped:g})=>A?E.colors.cyan10:g?E.colors.shade10:"transparent"};
1226
+ background-color: ${({selected:A,striped:g})=>A?E.colors.cyan10:g?E.colors.shade05:"transparent"};
1227
1227
  }
1228
1228
 
1229
1229
  &:hover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "w-design-system",
3
- "version": "0.1.100",
3
+ "version": "0.2.100",
4
4
  "main": "dist/w-design-system.umd.js",
5
5
  "module": "dist/w-design-system.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -57,13 +57,12 @@ const TbodyContainer = styled.div<{ height?: string }>`
57
57
  const Tbody = styled.tbody``
58
58
 
59
59
  const Tr = styled.tr<{ striped?: boolean; clickable?: boolean; selected?: boolean }>`
60
- background-color: ${({ selected, striped }) =>
61
- selected ? theme.colors.cyan10 : striped ? theme.colors.shade05 : 'transparent'};
60
+ background-color: ${({ selected, striped }) => (selected ? theme.colors.cyan10 : striped ? 'white' : 'transparent')};
62
61
  cursor: ${({ clickable }) => (clickable ? 'pointer' : 'default')};
63
62
 
64
63
  &:nth-child(even) {
65
64
  background-color: ${({ selected, striped }) =>
66
- selected ? theme.colors.cyan10 : striped ? theme.colors.shade10 : 'transparent'};
65
+ selected ? theme.colors.cyan10 : striped ? theme.colors.shade05 : 'transparent'};
67
66
  }
68
67
 
69
68
  &:hover {