@viamrobotics/test-widgets 0.1.4 → 0.1.5

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.
@@ -12,36 +12,41 @@
12
12
  {@render children?.()}
13
13
  </table>
14
14
 
15
- <style lang="postcss">
16
- /*
17
- NOTE(zp, 2024-06-10) Admittedly, this is a bit dangerous;
18
- However, it does let us use standard html <table> tags like tr, th and tbody which has ergonomic advantages
19
-
20
- If this is giving us trouble, please feel no hesitation about deleting this
21
- */
22
-
23
- /* (:global is a svelte directive specifically for this purpose with slots.)*/
24
-
25
- @reference "tailwindcss";
26
- @reference "@viamrobotics/tailwind-config";
27
-
15
+ <style>
28
16
  .customTable {
29
- @apply w-full table-auto;
17
+ width: 100%;
18
+ table-layout: auto;
30
19
  }
31
20
  .customTable :global(thead) {
32
- @apply border-light bg-light border;
21
+ border: 1px solid #e4e4e6;
22
+ background-color: #f7f7f8;
33
23
  }
34
24
  .customTable :global(thead th) {
35
- @apply border-light text-subtle-1 border px-2.5 py-1 text-xs font-normal whitespace-nowrap;
25
+ border: 1px solid #e4e4e6;
26
+ color: #4e4f52;
27
+ padding: 0.25rem 0.625rem;
28
+ font-size: 0.75rem;
29
+ line-height: 1rem;
30
+ font-weight: 400;
31
+ white-space: nowrap;
36
32
  }
37
33
  .customTable :global(thead th abbr) {
38
- @apply text-disabled;
34
+ color: #9c9ca4;
39
35
  }
40
-
41
36
  .customTable :global(tbody) {
42
- @apply border-light border;
37
+ border: 1px solid #e4e4e6;
43
38
  }
44
39
  .customTable :global(tbody th) {
45
- @apply border-light font-roboto-mono text-default h-10 gap-2 border px-1.5 text-center text-xs font-normal;
40
+ border: 1px solid #e4e4e6;
41
+ font-family: 'Roboto Mono Variable', 'Roboto Mono', ui-monospace, monospace;
42
+ color: #282829;
43
+ height: 2.5rem;
44
+ gap: 0.5rem;
45
+ padding-left: 0.375rem;
46
+ padding-right: 0.375rem;
47
+ text-align: center;
48
+ font-size: 0.75rem;
49
+ line-height: 1rem;
50
+ font-weight: 400;
46
51
  }
47
52
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viamrobotics/test-widgets",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "files": [