@eqtylab/equality 4.15.0 → 5.0.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/CHANGELOG.md +15 -0
- package/dist/index.cjs +590 -746
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -209
- package/dist/index.d.ts +16 -209
- package/dist/index.js +535 -672
- package/dist/index.js.map +1 -1
- package/package.json +2 -4
- package/dist/drawer.module.module.css.module.css +0 -165
- package/dist/list-or-grid-view-toggle.module.module.css.module.css +0 -52
- package/dist/scroll-area.module.module.css.module.css +0 -46
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"url": "git+https://github.com/eqtylab/equality.git",
|
|
8
8
|
"directory": "packages/ui"
|
|
9
9
|
},
|
|
10
|
-
"version": "
|
|
10
|
+
"version": "5.0.0",
|
|
11
11
|
"license": "Apache-2.0",
|
|
12
12
|
"keywords": [
|
|
13
13
|
"component library",
|
|
@@ -61,7 +61,6 @@
|
|
|
61
61
|
"@radix-ui/react-popover": "^1.1.3",
|
|
62
62
|
"@radix-ui/react-progress": "^1.1.1",
|
|
63
63
|
"@radix-ui/react-radio-group": "^1.3.8",
|
|
64
|
-
"@radix-ui/react-scroll-area": "^1.2.1",
|
|
65
64
|
"@radix-ui/react-select": "^2.1.2",
|
|
66
65
|
"@radix-ui/react-separator": "^1.1.0",
|
|
67
66
|
"@radix-ui/react-slot": "^1.1.1",
|
|
@@ -78,8 +77,7 @@
|
|
|
78
77
|
"react-hook-form": "^7.63.0",
|
|
79
78
|
"react-truncate-inside": "^1.0.3",
|
|
80
79
|
"tailwind-merge": "^2.5.4",
|
|
81
|
-
"tw-animate-css": "^1.4.0"
|
|
82
|
-
"vaul": "^1.1.2"
|
|
80
|
+
"tw-animate-css": "^1.4.0"
|
|
83
81
|
},
|
|
84
82
|
"peerDependencies": {
|
|
85
83
|
"react": "^18.2.0 || ^19.0.0",
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.drawer-overlay {
|
|
3
|
-
position: fixed;
|
|
4
|
-
inset: calc(0.25rem * 0);
|
|
5
|
-
z-index: 50;
|
|
6
|
-
background-color: color-mix(in srgb, color(display-p3 0 0 0) 80%, transparent);
|
|
7
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
8
|
-
background-color: color-mix(in oklab, var(--color-black, color(display-p3 0 0 0)) 80%, transparent);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
.drawer-content {
|
|
12
|
-
border-style: var(--tw-border-style);
|
|
13
|
-
border-width: 1px;
|
|
14
|
-
border-color: var(--color-border-overlay, color(display-p3 0.8011 0.807 0.814));
|
|
15
|
-
background-color: var(--color-background-overlay, color(display-p3 0.9946 0.9998 0.9999));
|
|
16
|
-
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
17
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
18
|
-
--tw-shadow-color: rgba(0, 0, 0, 0.1);
|
|
19
|
-
@supports (color: color-mix(in lab, red, red)) {
|
|
20
|
-
--tw-shadow-color: color-mix(in oklab, rgba(0, 0, 0, 0.1) var(--tw-shadow-alpha), transparent);
|
|
21
|
-
}
|
|
22
|
-
margin-top: calc(0.25rem * 24);
|
|
23
|
-
border-top-left-radius: 10px;
|
|
24
|
-
border-top-right-radius: 10px;
|
|
25
|
-
position: fixed;
|
|
26
|
-
inset-inline: calc(0.25rem * 0);
|
|
27
|
-
bottom: calc(0.25rem * 0);
|
|
28
|
-
z-index: 50;
|
|
29
|
-
height: auto;
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
}
|
|
33
|
-
.drawer-content-divider {
|
|
34
|
-
background-color: var(--color-border, color(display-p3 0.7432 0.7432 0.7432));
|
|
35
|
-
height: calc(0.25rem * 2);
|
|
36
|
-
width: 100px;
|
|
37
|
-
border-radius: calc(infinity * 1px);
|
|
38
|
-
margin-inline: auto;
|
|
39
|
-
margin-top: calc(0.25rem * 4);
|
|
40
|
-
}
|
|
41
|
-
.drawer-header {
|
|
42
|
-
display: grid;
|
|
43
|
-
grid-template-columns: 1fr auto;
|
|
44
|
-
gap: calc(0.25rem * 1.5);
|
|
45
|
-
&>* {
|
|
46
|
-
grid-column-start: 1;
|
|
47
|
-
}
|
|
48
|
-
padding: calc(0.25rem * 4);
|
|
49
|
-
text-align: center;
|
|
50
|
-
@media (width >= 40rem) {
|
|
51
|
-
text-align: left;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
.drawer-header-actions {
|
|
55
|
-
grid-column-start: 2;
|
|
56
|
-
grid-row: span var(--row-span) / span var(--row-span);
|
|
57
|
-
grid-row-start: 1;
|
|
58
|
-
}
|
|
59
|
-
.drawer-footer {
|
|
60
|
-
margin-top: auto;
|
|
61
|
-
padding: calc(0.25rem * 4);
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: column;
|
|
64
|
-
gap: calc(0.25rem * 2);
|
|
65
|
-
}
|
|
66
|
-
.drawer-title {
|
|
67
|
-
font-size: 1.125rem;
|
|
68
|
-
line-height: var(--tw-leading, calc(1.75 / 1.125));
|
|
69
|
-
--tw-leading: 1;
|
|
70
|
-
line-height: 1;
|
|
71
|
-
--tw-font-weight: 600;
|
|
72
|
-
font-weight: 600;
|
|
73
|
-
--tw-tracking: -0.025em;
|
|
74
|
-
letter-spacing: -0.025em;
|
|
75
|
-
}
|
|
76
|
-
.drawer-description {
|
|
77
|
-
font-size: 0.875rem;
|
|
78
|
-
line-height: var(--tw-leading, calc(1.25 / 0.875));
|
|
79
|
-
color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
|
|
80
|
-
}
|
|
81
|
-
.drawer-inner-content {
|
|
82
|
-
padding-inline: calc(0.25rem * 4);
|
|
83
|
-
}
|
|
84
|
-
@property --tw-border-style {
|
|
85
|
-
syntax: "*";
|
|
86
|
-
inherits: false;
|
|
87
|
-
initial-value: solid;
|
|
88
|
-
}
|
|
89
|
-
@property --tw-shadow {
|
|
90
|
-
syntax: "*";
|
|
91
|
-
inherits: false;
|
|
92
|
-
initial-value: 0 0 #0000;
|
|
93
|
-
}
|
|
94
|
-
@property --tw-shadow-color {
|
|
95
|
-
syntax: "*";
|
|
96
|
-
inherits: false;
|
|
97
|
-
}
|
|
98
|
-
@property --tw-shadow-alpha {
|
|
99
|
-
syntax: "<percentage>";
|
|
100
|
-
inherits: false;
|
|
101
|
-
initial-value: 100%;
|
|
102
|
-
}
|
|
103
|
-
@property --tw-inset-shadow {
|
|
104
|
-
syntax: "*";
|
|
105
|
-
inherits: false;
|
|
106
|
-
initial-value: 0 0 #0000;
|
|
107
|
-
}
|
|
108
|
-
@property --tw-inset-shadow-color {
|
|
109
|
-
syntax: "*";
|
|
110
|
-
inherits: false;
|
|
111
|
-
}
|
|
112
|
-
@property --tw-inset-shadow-alpha {
|
|
113
|
-
syntax: "<percentage>";
|
|
114
|
-
inherits: false;
|
|
115
|
-
initial-value: 100%;
|
|
116
|
-
}
|
|
117
|
-
@property --tw-ring-color {
|
|
118
|
-
syntax: "*";
|
|
119
|
-
inherits: false;
|
|
120
|
-
}
|
|
121
|
-
@property --tw-ring-shadow {
|
|
122
|
-
syntax: "*";
|
|
123
|
-
inherits: false;
|
|
124
|
-
initial-value: 0 0 #0000;
|
|
125
|
-
}
|
|
126
|
-
@property --tw-inset-ring-color {
|
|
127
|
-
syntax: "*";
|
|
128
|
-
inherits: false;
|
|
129
|
-
}
|
|
130
|
-
@property --tw-inset-ring-shadow {
|
|
131
|
-
syntax: "*";
|
|
132
|
-
inherits: false;
|
|
133
|
-
initial-value: 0 0 #0000;
|
|
134
|
-
}
|
|
135
|
-
@property --tw-ring-inset {
|
|
136
|
-
syntax: "*";
|
|
137
|
-
inherits: false;
|
|
138
|
-
}
|
|
139
|
-
@property --tw-ring-offset-width {
|
|
140
|
-
syntax: "<length>";
|
|
141
|
-
inherits: false;
|
|
142
|
-
initial-value: 0px;
|
|
143
|
-
}
|
|
144
|
-
@property --tw-ring-offset-color {
|
|
145
|
-
syntax: "*";
|
|
146
|
-
inherits: false;
|
|
147
|
-
initial-value: #fff;
|
|
148
|
-
}
|
|
149
|
-
@property --tw-ring-offset-shadow {
|
|
150
|
-
syntax: "*";
|
|
151
|
-
inherits: false;
|
|
152
|
-
initial-value: 0 0 #0000;
|
|
153
|
-
}
|
|
154
|
-
@property --tw-leading {
|
|
155
|
-
syntax: "*";
|
|
156
|
-
inherits: false;
|
|
157
|
-
}
|
|
158
|
-
@property --tw-font-weight {
|
|
159
|
-
syntax: "*";
|
|
160
|
-
inherits: false;
|
|
161
|
-
}
|
|
162
|
-
@property --tw-tracking {
|
|
163
|
-
syntax: "*";
|
|
164
|
-
inherits: false;
|
|
165
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.list-or-grid-view-toggle {
|
|
3
|
-
border-style: var(--tw-border-style);
|
|
4
|
-
border-width: 1px;
|
|
5
|
-
border-color: var(--color-button-tertiary-border, color(display-p3 0.7432 0.7432 0.7432));
|
|
6
|
-
display: flex;
|
|
7
|
-
border-radius: var(--radius-md, 0.375rem);
|
|
8
|
-
width: max-content;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
background-color: var(--color-button-tertiary-fill, color(display-p3 1 1 1));
|
|
11
|
-
position: relative;
|
|
12
|
-
}
|
|
13
|
-
.icon-button {
|
|
14
|
-
border-radius: 0 !important;
|
|
15
|
-
border-style: var(--tw-border-style);
|
|
16
|
-
border-width: 0px;
|
|
17
|
-
position: relative;
|
|
18
|
-
z-index: 10;
|
|
19
|
-
display: flex;
|
|
20
|
-
align-items: center;
|
|
21
|
-
justify-content: center;
|
|
22
|
-
width: calc(0.25rem * 8);
|
|
23
|
-
height: calc(0.25rem * 8);
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
background-color: transparent;
|
|
26
|
-
}
|
|
27
|
-
.icon-button--active {
|
|
28
|
-
color: var(--color-button-primary-text, color(display-p3 1 1 1));
|
|
29
|
-
}
|
|
30
|
-
.icon-button--inactive {
|
|
31
|
-
color: var(--color-text-secondary, color(display-p3 0.1792 0.1792 0.1792));
|
|
32
|
-
&:hover {
|
|
33
|
-
@media (hover: hover) {
|
|
34
|
-
color: var(--color-text-primary, color(display-p3 0 0 0));
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
.active-button-indicator {
|
|
39
|
-
position: absolute;
|
|
40
|
-
top: calc(0.25rem * 0);
|
|
41
|
-
bottom: calc(0.25rem * 0);
|
|
42
|
-
left: calc(0.25rem * 0);
|
|
43
|
-
background-color: var(--color-button-primary-fill, color(display-p3 0.5242 0.2903 0.7705));
|
|
44
|
-
transition-property: transform, translate, scale, rotate;
|
|
45
|
-
transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
|
|
46
|
-
transition-duration: var(--tw-duration, 150ms);
|
|
47
|
-
}
|
|
48
|
-
@property --tw-border-style {
|
|
49
|
-
syntax: "*";
|
|
50
|
-
inherits: false;
|
|
51
|
-
initial-value: solid;
|
|
52
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
|
|
2
|
-
.scroll-area {
|
|
3
|
-
position: relative;
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
}
|
|
6
|
-
.scroll-area-viewport {
|
|
7
|
-
height: 100%;
|
|
8
|
-
width: 100%;
|
|
9
|
-
border-radius: inherit;
|
|
10
|
-
}
|
|
11
|
-
.scroll-bar {
|
|
12
|
-
display: flex;
|
|
13
|
-
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
|
|
14
|
-
transition-timing-function: var(--tw-ease, cubic-bezier(0.4, 0, 0.2, 1));
|
|
15
|
-
transition-duration: var(--tw-duration, 150ms);
|
|
16
|
-
touch-action: none;
|
|
17
|
-
-webkit-user-select: none;
|
|
18
|
-
user-select: none;
|
|
19
|
-
}
|
|
20
|
-
.scroll-bar--vertical {
|
|
21
|
-
border-left-style: var(--tw-border-style);
|
|
22
|
-
border-left-width: 1px;
|
|
23
|
-
border-left-color: transparent;
|
|
24
|
-
height: 100%;
|
|
25
|
-
width: calc(0.25rem * 2.5);
|
|
26
|
-
padding: 1px;
|
|
27
|
-
}
|
|
28
|
-
.scroll-bar--horizontal {
|
|
29
|
-
border-top-style: var(--tw-border-style);
|
|
30
|
-
border-top-width: 1px;
|
|
31
|
-
border-top-color: transparent;
|
|
32
|
-
flex-direction: column;
|
|
33
|
-
height: calc(0.25rem * 2.5);
|
|
34
|
-
padding: 1px;
|
|
35
|
-
}
|
|
36
|
-
.scroll-area-thumb {
|
|
37
|
-
border-radius: calc(infinity * 1px);
|
|
38
|
-
background-color: var(--color-border, color(display-p3 0.7432 0.7432 0.7432));
|
|
39
|
-
position: relative;
|
|
40
|
-
flex: 1;
|
|
41
|
-
}
|
|
42
|
-
@property --tw-border-style {
|
|
43
|
-
syntax: "*";
|
|
44
|
-
inherits: false;
|
|
45
|
-
initial-value: solid;
|
|
46
|
-
}
|