@eqtylab/equality 1.8.1 → 1.9.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/bar-graph.module.module.css.module.css +143 -0
- package/dist/button.module.module.css.module.css +13 -1
- package/dist/index.cjs +738 -492
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +69 -4
- package/dist/index.d.ts +69 -4
- package/dist/index.js +691 -451
- package/dist/index.js.map +1 -1
- package/dist/progress-indicator.module.module.css.module.css +223 -0
- package/dist/theme.module.module.css.module.css +9 -0
- package/package.json +1 -1
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
|
+
.bar-graph {
|
|
3
|
+
display: flex;
|
|
4
|
+
width: 100%;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: calc(0.25rem * 2);
|
|
7
|
+
}
|
|
8
|
+
.bar {
|
|
9
|
+
background-color: var(--color-greyscale-800);
|
|
10
|
+
display: flex;
|
|
11
|
+
width: 100%;
|
|
12
|
+
gap: calc(0.25rem * 0.5);
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
}
|
|
15
|
+
.size--sm {
|
|
16
|
+
height: calc(0.25rem * 2);
|
|
17
|
+
border-radius: calc(infinity * 1px);
|
|
18
|
+
}
|
|
19
|
+
.size--md {
|
|
20
|
+
height: calc(0.25rem * 5);
|
|
21
|
+
border-radius: 0.25rem;
|
|
22
|
+
}
|
|
23
|
+
.size--lg {
|
|
24
|
+
height: calc(0.25rem * 8);
|
|
25
|
+
border-radius: 0.25rem;
|
|
26
|
+
}
|
|
27
|
+
.segment {
|
|
28
|
+
height: 100%;
|
|
29
|
+
flex: 1 1 0%;
|
|
30
|
+
--tw-outline-style: none;
|
|
31
|
+
outline-style: none;
|
|
32
|
+
&:focus-visible {
|
|
33
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
34
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
35
|
+
}
|
|
36
|
+
&:focus-visible {
|
|
37
|
+
--tw-ring-color: var(--color-focus-ring);
|
|
38
|
+
}
|
|
39
|
+
&:focus-visible {
|
|
40
|
+
--tw-ring-inset: inset;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.visually-hidden {
|
|
44
|
+
position: absolute;
|
|
45
|
+
width: 1px;
|
|
46
|
+
height: 1px;
|
|
47
|
+
padding: 0;
|
|
48
|
+
margin: -1px;
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
clip-path: inset(50%);
|
|
51
|
+
white-space: nowrap;
|
|
52
|
+
border-width: 0;
|
|
53
|
+
}
|
|
54
|
+
.legend {
|
|
55
|
+
margin: calc(0.25rem * 0);
|
|
56
|
+
display: flex;
|
|
57
|
+
list-style-type: none;
|
|
58
|
+
flex-wrap: wrap;
|
|
59
|
+
column-gap: calc(0.25rem * 4);
|
|
60
|
+
row-gap: calc(0.25rem * 1);
|
|
61
|
+
padding: calc(0.25rem * 0);
|
|
62
|
+
}
|
|
63
|
+
.legend-item {
|
|
64
|
+
display: flex;
|
|
65
|
+
align-items: center;
|
|
66
|
+
gap: calc(0.25rem * 1.5);
|
|
67
|
+
}
|
|
68
|
+
.legend-swatch {
|
|
69
|
+
width: calc(0.25rem * 2.5);
|
|
70
|
+
height: calc(0.25rem * 2.5);
|
|
71
|
+
flex-shrink: 0;
|
|
72
|
+
border-radius: calc(infinity * 1px);
|
|
73
|
+
}
|
|
74
|
+
.legend-label {
|
|
75
|
+
font-size: 0.75rem;
|
|
76
|
+
line-height: var(--tw-leading, calc(1 / 0.75));
|
|
77
|
+
color: var(--color-text-primary);
|
|
78
|
+
}
|
|
79
|
+
@property --tw-shadow {
|
|
80
|
+
syntax: "*";
|
|
81
|
+
inherits: false;
|
|
82
|
+
initial-value: 0 0 #0000;
|
|
83
|
+
}
|
|
84
|
+
@property --tw-shadow-color {
|
|
85
|
+
syntax: "*";
|
|
86
|
+
inherits: false;
|
|
87
|
+
}
|
|
88
|
+
@property --tw-shadow-alpha {
|
|
89
|
+
syntax: "<percentage>";
|
|
90
|
+
inherits: false;
|
|
91
|
+
initial-value: 100%;
|
|
92
|
+
}
|
|
93
|
+
@property --tw-inset-shadow {
|
|
94
|
+
syntax: "*";
|
|
95
|
+
inherits: false;
|
|
96
|
+
initial-value: 0 0 #0000;
|
|
97
|
+
}
|
|
98
|
+
@property --tw-inset-shadow-color {
|
|
99
|
+
syntax: "*";
|
|
100
|
+
inherits: false;
|
|
101
|
+
}
|
|
102
|
+
@property --tw-inset-shadow-alpha {
|
|
103
|
+
syntax: "<percentage>";
|
|
104
|
+
inherits: false;
|
|
105
|
+
initial-value: 100%;
|
|
106
|
+
}
|
|
107
|
+
@property --tw-ring-color {
|
|
108
|
+
syntax: "*";
|
|
109
|
+
inherits: false;
|
|
110
|
+
}
|
|
111
|
+
@property --tw-ring-shadow {
|
|
112
|
+
syntax: "*";
|
|
113
|
+
inherits: false;
|
|
114
|
+
initial-value: 0 0 #0000;
|
|
115
|
+
}
|
|
116
|
+
@property --tw-inset-ring-color {
|
|
117
|
+
syntax: "*";
|
|
118
|
+
inherits: false;
|
|
119
|
+
}
|
|
120
|
+
@property --tw-inset-ring-shadow {
|
|
121
|
+
syntax: "*";
|
|
122
|
+
inherits: false;
|
|
123
|
+
initial-value: 0 0 #0000;
|
|
124
|
+
}
|
|
125
|
+
@property --tw-ring-inset {
|
|
126
|
+
syntax: "*";
|
|
127
|
+
inherits: false;
|
|
128
|
+
}
|
|
129
|
+
@property --tw-ring-offset-width {
|
|
130
|
+
syntax: "<length>";
|
|
131
|
+
inherits: false;
|
|
132
|
+
initial-value: 0px;
|
|
133
|
+
}
|
|
134
|
+
@property --tw-ring-offset-color {
|
|
135
|
+
syntax: "*";
|
|
136
|
+
inherits: false;
|
|
137
|
+
initial-value: #fff;
|
|
138
|
+
}
|
|
139
|
+
@property --tw-ring-offset-shadow {
|
|
140
|
+
syntax: "*";
|
|
141
|
+
inherits: false;
|
|
142
|
+
initial-value: 0 0 #0000;
|
|
143
|
+
}
|
|
@@ -97,7 +97,19 @@
|
|
|
97
97
|
&:not(*:disabled) {
|
|
98
98
|
background-color: var(--mix-color);
|
|
99
99
|
@supports (color: color-mix(in lab, red, red)) {
|
|
100
|
-
background-color: color-mix(in oklch, var(--mix-color),
|
|
100
|
+
background-color: color-mix(in oklch, var(--mix-color), white var(--hover-lighten, 20%));
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
&:where(html[data-equality-theme=dark], html[data-equality-theme=dark] *, [data-equality-theme=dark] .root, [data-equality-theme=dark] .root *) {
|
|
106
|
+
&:hover {
|
|
107
|
+
@media (hover: hover) {
|
|
108
|
+
&:not(*:disabled) {
|
|
109
|
+
background-color: var(--mix-color);
|
|
110
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
111
|
+
background-color: color-mix(in oklch, var(--mix-color), black var(--hover-darken, 20%));
|
|
112
|
+
}
|
|
101
113
|
}
|
|
102
114
|
}
|
|
103
115
|
}
|