@eqtylab/equality 1.6.1 → 1.7.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.
@@ -20,7 +20,7 @@
20
20
  }
21
21
  }
22
22
  .sort-button:hover .arrow-up-down-icon {
23
- opacity: 50%;
23
+ opacity: 100%;
24
24
  }
25
25
  .arrow-container {
26
26
  display: flex;
@@ -31,7 +31,7 @@
31
31
  }
32
32
  }
33
33
  .arrow-up-down-icon {
34
- opacity: 0%;
34
+ opacity: 40%;
35
35
  transition-property: opacity;
36
36
  transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
37
37
  transition-duration: var(--tw-duration, 150ms);
@@ -4,16 +4,21 @@
4
4
  overflow: auto;
5
5
  }
6
6
  .table-inner {
7
+ display: grid;
7
8
  width: 100%;
8
9
  caption-side: bottom;
9
10
  font-size: 0.875rem;
10
11
  line-height: var(--tw-leading, calc(1.25 / 0.875));
12
+ grid-template-columns: var(--table-columns);
11
13
  }
12
14
  .table-header {
13
15
  & tr {
14
16
  border-bottom-style: var(--tw-border-style);
15
17
  border-bottom-width: 1px;
16
18
  }
19
+ display: grid;
20
+ grid-template-columns: subgrid;
21
+ grid-column: 1 / -1;
17
22
  }
18
23
  .table-header--sticky {
19
24
  position: sticky;
@@ -25,6 +30,9 @@
25
30
  border-style: var(--tw-border-style);
26
31
  border-width: 0px;
27
32
  }
33
+ display: grid;
34
+ grid-template-columns: subgrid;
35
+ grid-column: 1 / -1;
28
36
  }
29
37
  .table-footer {
30
38
  border-top-style: var(--tw-border-style);
@@ -35,13 +43,16 @@
35
43
  border-bottom-width: 0px;
36
44
  }
37
45
  }
46
+ display: grid;
38
47
  --tw-font-weight: 500;
39
48
  font-weight: 500;
49
+ grid-template-columns: subgrid;
50
+ grid-column: 1 / -1;
40
51
  }
41
52
  .table-head {
42
53
  height: calc(0.25rem * 10);
54
+ align-content: center;
43
55
  padding-inline: calc(0.25rem * 4);
44
- vertical-align: middle;
45
56
  text-align: left;
46
57
  --tw-font-weight: 500;
47
58
  font-weight: 500;
@@ -56,11 +67,16 @@
56
67
  .table-cell {
57
68
  padding-inline: calc(0.25rem * 4);
58
69
  padding-block: calc(0.25rem * 2);
59
- vertical-align: middle;
60
70
  &:has([role=checkbox]) {
61
71
  padding-right: calc(0.25rem * 0);
62
72
  }
63
73
  }
74
+ .table-row {
75
+ display: grid;
76
+ align-items: center;
77
+ grid-template-columns: subgrid;
78
+ grid-column: 1 / -1;
79
+ }
64
80
  .table-row--clickable {
65
81
  --mix-color: var(--color-brand-primary);
66
82
  --hover-darken: 50%;
@@ -99,13 +115,6 @@
99
115
  }
100
116
  }
101
117
  }
102
- .table-head--truncate,
103
- .table-cell--truncate {
104
- max-width: calc(0.25rem * 0);
105
- overflow: hidden;
106
- text-overflow: ellipsis;
107
- white-space: nowrap;
108
- }
109
118
  .table-caption {
110
119
  margin-top: calc(0.25rem * 4);
111
120
  font-size: 0.875rem;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@eqtylab/equality",
3
3
  "description": "EQTYLab's component and token-based design system",
4
4
  "homepage": "https://equality.eqtylab.io/",
5
- "version": "1.6.1",
5
+ "version": "1.7.1",
6
6
  "license": "Apache-2.0",
7
7
  "keywords": [
8
8
  "component library",
@@ -1,122 +0,0 @@
1
- /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
2
- .table {
3
- --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
4
- box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
5
- }
6
- .table-border {
7
- border-style: var(--tw-border-style);
8
- border-width: 1px;
9
- overflow: hidden;
10
- border-radius: var(--radius-md, 0.375rem);
11
- }
12
- .table-empty-state {
13
- padding-block: calc(0.25rem * 8);
14
- text-align: center;
15
- color: var(--color-text-secondary);
16
- }
17
- .table--sunken {
18
- --tw-shadow-color: rgba(0, 0, 0, 0.05);
19
- @supports (color: color-mix(in lab, red, red)) {
20
- --tw-shadow-color: color-mix(in oklab, rgba(0, 0, 0, 0.05) var(--tw-shadow-alpha), transparent);
21
- }
22
- }
23
- .table--sunken.table-border {
24
- border-color: var(--color-border-sunken);
25
- }
26
- .table--base {
27
- --tw-shadow-color: transparent;
28
- @supports (color: color-mix(in lab, red, red)) {
29
- --tw-shadow-color: color-mix(in oklab, transparent var(--tw-shadow-alpha), transparent);
30
- }
31
- }
32
- .table--base.table-border {
33
- border-color: var(--color-border-base);
34
- }
35
- .table--raised {
36
- --tw-shadow-color: rgba(0, 0, 0, 0.05);
37
- @supports (color: color-mix(in lab, red, red)) {
38
- --tw-shadow-color: color-mix(in oklab, rgba(0, 0, 0, 0.05) var(--tw-shadow-alpha), transparent);
39
- }
40
- }
41
- .table--raised.table-border {
42
- border-color: var(--color-border-raised);
43
- }
44
- .table--overlay {
45
- --tw-shadow-color: rgba(0, 0, 0, 0.1);
46
- @supports (color: color-mix(in lab, red, red)) {
47
- --tw-shadow-color: color-mix(in oklab, rgba(0, 0, 0, 0.1) var(--tw-shadow-alpha), transparent);
48
- }
49
- }
50
- .table--overlay.table-border {
51
- border-color: var(--color-border-overlay);
52
- }
53
- @property --tw-shadow {
54
- syntax: "*";
55
- inherits: false;
56
- initial-value: 0 0 #0000;
57
- }
58
- @property --tw-shadow-color {
59
- syntax: "*";
60
- inherits: false;
61
- }
62
- @property --tw-shadow-alpha {
63
- syntax: "<percentage>";
64
- inherits: false;
65
- initial-value: 100%;
66
- }
67
- @property --tw-inset-shadow {
68
- syntax: "*";
69
- inherits: false;
70
- initial-value: 0 0 #0000;
71
- }
72
- @property --tw-inset-shadow-color {
73
- syntax: "*";
74
- inherits: false;
75
- }
76
- @property --tw-inset-shadow-alpha {
77
- syntax: "<percentage>";
78
- inherits: false;
79
- initial-value: 100%;
80
- }
81
- @property --tw-ring-color {
82
- syntax: "*";
83
- inherits: false;
84
- }
85
- @property --tw-ring-shadow {
86
- syntax: "*";
87
- inherits: false;
88
- initial-value: 0 0 #0000;
89
- }
90
- @property --tw-inset-ring-color {
91
- syntax: "*";
92
- inherits: false;
93
- }
94
- @property --tw-inset-ring-shadow {
95
- syntax: "*";
96
- inherits: false;
97
- initial-value: 0 0 #0000;
98
- }
99
- @property --tw-ring-inset {
100
- syntax: "*";
101
- inherits: false;
102
- }
103
- @property --tw-ring-offset-width {
104
- syntax: "<length>";
105
- inherits: false;
106
- initial-value: 0px;
107
- }
108
- @property --tw-ring-offset-color {
109
- syntax: "*";
110
- inherits: false;
111
- initial-value: #fff;
112
- }
113
- @property --tw-ring-offset-shadow {
114
- syntax: "*";
115
- inherits: false;
116
- initial-value: 0 0 #0000;
117
- }
118
- @property --tw-border-style {
119
- syntax: "*";
120
- inherits: false;
121
- initial-value: solid;
122
- }