@worldresources/wri-design-systems 2.156.0 → 2.156.1

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.
package/dist/index.cjs.js CHANGED
@@ -2215,7 +2215,12 @@
2215
2215
  box-shadow: ${"full-width"===e?"none":`0 0 0 1px ${h("neutral",300)}`};
2216
2216
  `,Ui=e=>r.css`
2217
2217
  tr {
2218
- background-color: ${h("neutral","full-width"===e?100:200)}
2218
+ background-color: ${h("neutral","full-width"===e?100:200)};
2219
+
2220
+ th {
2221
+ border-color: ${h("neutral",300)};
2222
+ }
2223
+ }
2219
2224
  `,Xi=r.css`
2220
2225
  font-size: 16px;
2221
2226
  line-height: 24px;
@@ -2260,6 +2265,10 @@
2260
2265
  `,ea=r.css`
2261
2266
  tr {
2262
2267
  height: 48px;
2268
+
2269
+ td {
2270
+ border-color: ${h("neutral",300)};
2271
+ }
2263
2272
  }
2264
2273
  `,ta=e.Table.Row,na=e.Table.Cell,ra=r.css`
2265
2274
  border: 1px solid ${h("neutral",300)};
package/dist/index.esm.js CHANGED
@@ -2271,7 +2271,12 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as i,Ic
2271
2271
  box-shadow: ${"full-width"===e?"none":`0 0 0 1px ${be("neutral",300)}`};
2272
2272
  `,wl=e=>se`
2273
2273
  tr {
2274
- background-color: ${be("neutral","full-width"===e?100:200)}
2274
+ background-color: ${be("neutral","full-width"===e?100:200)};
2275
+
2276
+ th {
2277
+ border-color: ${be("neutral",300)};
2278
+ }
2279
+ }
2275
2280
  `,Cl=se`
2276
2281
  font-size: 16px;
2277
2282
  line-height: 24px;
@@ -2316,6 +2321,10 @@ import{createSystem as e,defaultConfig as t,Button as n,Box as r,Spinner as i,Ic
2316
2321
  `,Ol=se`
2317
2322
  tr {
2318
2323
  height: 48px;
2324
+
2325
+ td {
2326
+ border-color: ${be("neutral",300)};
2327
+ }
2319
2328
  }
2320
2329
  `,Ll=({columns:e,data:t,renderRow:n,striped:r,stickyHeader:i,pagination:o,selectable:a,selectedRows:l,variant:s="full-width",onSortColumn:c,onPageSizeChange:d,onPageChange:u,onAllItemsSelected:p})=>{const[h,f]=Y({key:"",order:""}),{totalItems:g=t.length,currentPage:v=1,pageSize:m=10,showItemCount:x,showItemCountText:b}=o||{},y=(e,t)=>{f({key:e,order:t}),c&&c({key:e,order:t})},w=l?.length===t?.length,C=l&&l.length>0&&!w;return Z("div",{children:[Z(_.Root,{css:yl(s),striped:r,stickyHeader:i,interactive:!0,children:[W(_.Header,{css:wl(s),children:Z(_.Row,{children:[a?W(_.ColumnHeader,{children:W(Vt,{name:"header-checkbox",checked:w,indeterminate:C,onCheckedChange:({checked:e})=>{p&&p(e)}})}):null,e.map((e=>W(_.ColumnHeader,{role:e.sortable?"columnheader":void 0,"aria-sort":e.sortable&&"asc"===h.order?"ascending":e.sortable&&"desc"===h.order?"descending":void 0,children:Z("div",{css:Cl,children:[e.label,e.sortable?Z("div",{css:$l,children:[W(ut,{css:kl(h.key===e.key&&"asc"===h.order),icon:W(Pe,{style:{transform:"rotate(180deg)"}}),onClick:()=>y(e.key,"asc"),"aria-label":"Ascending"}),W(ut,{css:kl(h.key===e.key&&"desc"===h.order),icon:W(Pe,{}),onClick:()=>y(e.key,"desc"),"aria-label":"Descending"})]}):null]})},e.key)))]})}),W(_.Body,{css:Ol,children:t.map((e=>W(U.Fragment,{children:n(e)},e.id)))})]}),Z("div",{css:Sl,children:[W("div",{children:x?W(ol,{pageSize:m,currentPage:v,totalItems:g,onPageSizeChange:d,showItemCountText:b}):null}),o?W("div",{css:El,children:W(bl,{totalItems:g,pageSize:m,currentPage:v,onPageChange:u})}):null]})]})},Rl=_.Row,Tl=_.Cell,Pl=se`
2321
2330
  border: 1px solid ${be("neutral",300)};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worldresources/wri-design-systems",
3
- "version": "2.156.0",
3
+ "version": "2.156.1",
4
4
  "description": "WRI UI Library",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",