@openwarelabs/ui 0.12.1 → 0.13.0

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/styles.css CHANGED
@@ -6184,6 +6184,66 @@
6184
6184
  text-align: center;
6185
6185
  }
6186
6186
 
6187
+ /* Inset: the rows on a raised panel inside a tinted tray, the header in the tray above them. The tray's corners are
6188
+ the panel's plus the 4px between them, so the two curves run parallel. */
6189
+ .ow-table-wrap--inset {
6190
+ --ow-table-gap: 4px;
6191
+ background: var(--ow-track);
6192
+ border-radius: calc(var(--ow-radius-container) + var(--ow-table-gap));
6193
+ padding: 0 var(--ow-table-gap) var(--ow-table-gap);
6194
+ }
6195
+
6196
+ .ow-table-wrap--inset .ow-table th {
6197
+ border-bottom: 0;
6198
+ background: var(--ow-track);
6199
+ }
6200
+
6201
+ .ow-table-wrap--inset .ow-table td {
6202
+ background: var(--ow-surface);
6203
+ }
6204
+
6205
+ .ow-table-wrap--inset .ow-table tbody tr:hover td {
6206
+ background: var(--ow-surface-muted);
6207
+ }
6208
+
6209
+ .ow-table-wrap--inset .ow-table__row--selected td,
6210
+ .ow-table-wrap--inset .ow-table__row--selected:hover td {
6211
+ background: var(--ow-primary-subtle);
6212
+ }
6213
+
6214
+ /* The panel's edge, drawn on its outer cells, since a table body can't have a border of its own. */
6215
+ .ow-table-wrap--inset .ow-table tbody tr td:first-child {
6216
+ border-left: 1px solid var(--ow-border);
6217
+ }
6218
+
6219
+ .ow-table-wrap--inset .ow-table tbody tr td:last-child {
6220
+ border-right: 1px solid var(--ow-border);
6221
+ }
6222
+
6223
+ .ow-table-wrap--inset .ow-table tbody tr:first-child td {
6224
+ border-top: 1px solid var(--ow-border);
6225
+ }
6226
+
6227
+ .ow-table-wrap--inset .ow-table tbody tr:last-child td {
6228
+ border-bottom: 1px solid var(--ow-border);
6229
+ }
6230
+
6231
+ .ow-table-wrap--inset .ow-table tbody tr:first-child td:first-child {
6232
+ border-top-left-radius: var(--ow-radius-container);
6233
+ }
6234
+
6235
+ .ow-table-wrap--inset .ow-table tbody tr:first-child td:last-child {
6236
+ border-top-right-radius: var(--ow-radius-container);
6237
+ }
6238
+
6239
+ .ow-table-wrap--inset .ow-table tbody tr:last-child td:first-child {
6240
+ border-bottom-left-radius: var(--ow-radius-container);
6241
+ }
6242
+
6243
+ .ow-table-wrap--inset .ow-table tbody tr:last-child td:last-child {
6244
+ border-bottom-right-radius: var(--ow-radius-container);
6245
+ }
6246
+
6187
6247
  /* components/Stat/Stat.css */
6188
6248
  /* Stat: an overview card. A muted label, a big tabular number, a change and an optional trend line. */
6189
6249
  .ow-stat {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openwarelabs/ui",
3
- "version": "0.12.1",
3
+ "version": "0.13.0",
4
4
  "description": "Openware UI: React components and design tokens — midnight and brass, tactile buttons and Inter, in light and dark.",
5
5
  "license": "MIT",
6
6
  "author": "Alexander Silver",