@economic/taco 2.54.4 → 2.54.6-build.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/taco.cjs +1 -0
- package/dist/taco.cjs.map +1 -1
- package/dist/taco.css +152 -158
- package/dist/taco.d.ts +15 -8
- package/dist/taco.js +1 -0
- package/dist/taco.js.map +1 -1
- package/package.json +11 -3
package/dist/taco.css
CHANGED
@@ -1,190 +1,184 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
ul ul,
|
54
|
-
ol ul,
|
55
|
-
ul ol {
|
56
|
-
@apply mb-0;
|
57
|
-
}
|
1
|
+
*,
|
2
|
+
*::before,
|
3
|
+
*::after {
|
4
|
+
box-sizing: border-box;
|
5
|
+
}
|
6
|
+
|
7
|
+
html {
|
8
|
+
@apply font-display h-screen;
|
9
|
+
-moz-osx-font-smoothing: grayscale;
|
10
|
+
-webkit-font-smoothing: antialiased;
|
11
|
+
}
|
12
|
+
|
13
|
+
body {
|
14
|
+
@apply h-screen bg-white text-sm leading-5 text-black;
|
15
|
+
}
|
16
|
+
|
17
|
+
blockquote,
|
18
|
+
dl,
|
19
|
+
dd,
|
20
|
+
hr,
|
21
|
+
figure,
|
22
|
+
p,
|
23
|
+
pre,
|
24
|
+
ol,
|
25
|
+
ul,
|
26
|
+
h1,
|
27
|
+
h2,
|
28
|
+
h3,
|
29
|
+
h4,
|
30
|
+
h5,
|
31
|
+
h6 {
|
32
|
+
max-width: 100ch;
|
33
|
+
}
|
34
|
+
|
35
|
+
blockquote,
|
36
|
+
dl,
|
37
|
+
dd,
|
38
|
+
hr,
|
39
|
+
figure,
|
40
|
+
p,
|
41
|
+
pre,
|
42
|
+
ol,
|
43
|
+
ul {
|
44
|
+
@apply mb-10;
|
45
|
+
}
|
46
|
+
|
47
|
+
ol ol,
|
48
|
+
ul ul,
|
49
|
+
ol ul,
|
50
|
+
ul ol {
|
51
|
+
@apply mb-0;
|
52
|
+
}
|
58
53
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
54
|
+
ul.list-disc,
|
55
|
+
ul.list-decimal,
|
56
|
+
ul.list-circle,
|
57
|
+
ol.list-disc,
|
58
|
+
ol.list-decimal,
|
59
|
+
ol.list-circle {
|
60
|
+
@apply pl-4;
|
61
|
+
}
|
67
62
|
|
68
|
-
|
69
|
-
|
70
|
-
|
63
|
+
dt {
|
64
|
+
@apply font-bold;
|
65
|
+
}
|
71
66
|
|
72
|
-
|
73
|
-
|
74
|
-
|
67
|
+
blockquote {
|
68
|
+
@apply pl-8;
|
69
|
+
}
|
75
70
|
|
76
|
-
|
77
|
-
|
78
|
-
|
71
|
+
hr {
|
72
|
+
@apply bg-grey-300 my-5 flex h-px border-none;
|
73
|
+
}
|
79
74
|
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
75
|
+
h1,
|
76
|
+
h2,
|
77
|
+
h3,
|
78
|
+
h4,
|
79
|
+
h5,
|
80
|
+
h6 {
|
81
|
+
@apply font-normal;
|
82
|
+
}
|
88
83
|
|
89
|
-
|
90
|
-
|
91
|
-
|
84
|
+
h1 {
|
85
|
+
@apply mb-5 text-3xl;
|
86
|
+
}
|
92
87
|
|
93
|
-
|
94
|
-
|
95
|
-
|
88
|
+
h2 {
|
89
|
+
@apply mb-2 text-2xl;
|
90
|
+
}
|
96
91
|
|
97
|
-
|
98
|
-
|
99
|
-
|
92
|
+
h3 {
|
93
|
+
@apply mb-2 text-xl;
|
94
|
+
}
|
100
95
|
|
101
|
-
|
102
|
-
|
103
|
-
|
96
|
+
h4 {
|
97
|
+
@apply mb-1 text-base font-bold;
|
98
|
+
}
|
104
99
|
|
105
|
-
|
106
|
-
|
107
|
-
|
100
|
+
h5 {
|
101
|
+
@apply mb-1 text-sm font-bold;
|
102
|
+
}
|
108
103
|
|
109
|
-
|
110
|
-
|
111
|
-
|
104
|
+
h6 {
|
105
|
+
@apply mb-1 text-xs font-bold;
|
106
|
+
}
|
112
107
|
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
108
|
+
b,
|
109
|
+
strong {
|
110
|
+
@apply font-bold;
|
111
|
+
}
|
117
112
|
|
118
|
-
|
119
|
-
|
120
|
-
|
113
|
+
a {
|
114
|
+
@apply text-blue-500 no-underline;
|
115
|
+
}
|
121
116
|
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
117
|
+
a:hover,
|
118
|
+
a:focus {
|
119
|
+
@apply text-blue-300;
|
120
|
+
}
|
126
121
|
|
127
|
-
|
128
|
-
|
129
|
-
|
122
|
+
a:active {
|
123
|
+
@apply text-blue-700;
|
124
|
+
}
|
130
125
|
|
131
|
-
|
132
|
-
|
133
|
-
|
126
|
+
button::-moz-focus-inner {
|
127
|
+
@apply border-none;
|
128
|
+
}
|
134
129
|
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
130
|
+
input[type='search']::-webkit-search-decoration,
|
131
|
+
input[type='search']::-webkit-search-cancel-button,
|
132
|
+
input[type='search']::-webkit-search-results-button,
|
133
|
+
input[type='search']::-webkit-search-results-decoration {
|
134
|
+
@apply block cursor-pointer;
|
135
|
+
}
|
141
136
|
|
142
|
-
|
143
|
-
|
144
|
-
|
137
|
+
input[type='search']::-webkit-search-cancel-button {
|
138
|
+
-webkit-appearance: none;
|
139
|
+
}
|
145
140
|
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
141
|
+
table.yt-table {
|
142
|
+
@apply focus:yt-focus flex flex-col focus:rounded-sm;
|
143
|
+
}
|
144
|
+
table.yt-table thead.yt-table__head tr.yt-table__row {
|
145
|
+
@apply border-grey-100 flex h-auto min-h-[2.5rem] w-full select-none border-b-2 border-t-0 font-bold;
|
146
|
+
}
|
152
147
|
|
153
|
-
|
154
|
-
|
155
|
-
|
148
|
+
table.yt-table thead.yt-table__head tr.yt-table__row th.yt-table__cell {
|
149
|
+
@apply text-grey-700 flex flex-1 justify-center truncate p-2 text-center align-middle hover:text-black;
|
150
|
+
}
|
156
151
|
|
157
|
-
|
158
|
-
|
159
|
-
|
152
|
+
table.yt-table tbody.yt-table__body tr.yt-table__row {
|
153
|
+
@apply border-grey-100 hover:bg-grey-100 flex min-h-[2.5rem] border-b;
|
154
|
+
}
|
160
155
|
|
161
|
-
|
162
|
-
|
163
|
-
|
156
|
+
table.yt-table tbody.yt-table__body tr.yt-table__row td.yt-table__cell {
|
157
|
+
@apply flex-1 truncate p-2 text-center align-middle;
|
158
|
+
}
|
164
159
|
|
165
|
-
|
166
|
-
|
167
|
-
|
160
|
+
[aria-hidden] > [data-taco='hanger'] {
|
161
|
+
@apply invisible;
|
162
|
+
}
|
168
163
|
|
169
|
-
|
164
|
+
/*
|
170
165
|
* While the dialog is open, all elements are aria-hidden except for the dialog content. This ensures that the
|
171
166
|
* print document contains only the dialog content.
|
172
167
|
*/
|
173
|
-
|
174
|
-
|
175
|
-
|
168
|
+
[aria-hidden='true'] {
|
169
|
+
@apply print:!hidden;
|
170
|
+
}
|
176
171
|
|
177
|
-
|
178
|
-
|
179
|
-
|
172
|
+
.wcag-transparent {
|
173
|
+
@apply bg-black/[0.08] text-black;
|
174
|
+
}
|
180
175
|
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
}
|
176
|
+
@keyframes fade-in {
|
177
|
+
from {
|
178
|
+
@apply opacity-0;
|
179
|
+
}
|
180
|
+
to {
|
181
|
+
@apply opacity-100;
|
188
182
|
}
|
189
183
|
}
|
190
184
|
.recharts-cartesian-axis line,
|
package/dist/taco.d.ts
CHANGED
@@ -2150,22 +2150,22 @@ declare type MenuButtonProps = {
|
|
2150
2150
|
onClick: () => void;
|
2151
2151
|
};
|
2152
2152
|
|
2153
|
-
declare type MenuCheckboxItemProps = Omit<React_2.HTMLAttributes<HTMLDivElement>, 'onSelect'> & {
|
2153
|
+
export declare type MenuCheckboxItemProps = Omit<React_2.HTMLAttributes<HTMLDivElement>, 'onSelect'> & {
|
2154
2154
|
disabled?: boolean;
|
2155
2155
|
checked: boolean;
|
2156
2156
|
onChange: (checked: boolean | 'indeterminate') => void;
|
2157
2157
|
};
|
2158
2158
|
|
2159
|
-
declare type MenuContentProps = Omit<DropdownMenuPrimitive.DropdownMenuContentProps, 'children' | 'side'> & {
|
2159
|
+
export declare type MenuContentProps = Omit<DropdownMenuPrimitive.DropdownMenuContentProps, 'children' | 'side'> & {
|
2160
2160
|
align?: Align;
|
2161
2161
|
children: React_2.ReactNode;
|
2162
2162
|
/** Set the position of the Menu relative to its trigger. Default value is `bottom` */
|
2163
2163
|
placement?: Placement;
|
2164
2164
|
};
|
2165
2165
|
|
2166
|
-
declare type MenuHeaderProps = React_2.HTMLAttributes<HTMLDivElement>;
|
2166
|
+
export declare type MenuHeaderProps = React_2.HTMLAttributes<HTMLDivElement>;
|
2167
2167
|
|
2168
|
-
declare type MenuItemProps = Omit<React_2.HTMLAttributes<HTMLDivElement>, 'onSelect'> & {
|
2168
|
+
export declare type MenuItemProps = Omit<React_2.HTMLAttributes<HTMLDivElement>, 'onSelect'> & {
|
2169
2169
|
dialog?: (props: Partial<DialogProps>) => JSX.Element;
|
2170
2170
|
disabled?: boolean;
|
2171
2171
|
icon?: IconName;
|
@@ -2175,7 +2175,7 @@ declare type MenuItemProps = Omit<React_2.HTMLAttributes<HTMLDivElement>, 'onSel
|
|
2175
2175
|
subMenu?: any;
|
2176
2176
|
};
|
2177
2177
|
|
2178
|
-
declare type MenuLinkItemProps = Omit<React_2.HTMLAttributes<HTMLDivElement>, 'onSelect'> & {
|
2178
|
+
export declare type MenuLinkItemProps = Omit<React_2.HTMLAttributes<HTMLDivElement>, 'onSelect'> & {
|
2179
2179
|
disabled?: boolean;
|
2180
2180
|
icon?: IconName;
|
2181
2181
|
href: string;
|
@@ -2198,13 +2198,13 @@ declare type MenuRadioGroupItemProps = RadioGroupItemProps<HTMLDivElement>;
|
|
2198
2198
|
|
2199
2199
|
declare type MenuRadioGroupProps = RadioGroupProps;
|
2200
2200
|
|
2201
|
-
declare type MenuSeparatorProps = React_2.HTMLAttributes<HTMLDivElement>;
|
2201
|
+
export declare type MenuSeparatorProps = React_2.HTMLAttributes<HTMLDivElement>;
|
2202
2202
|
|
2203
|
-
declare type MenuSubMenuProps = Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps, 'children' | 'side'> & {
|
2203
|
+
export declare type MenuSubMenuProps = Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps, 'children' | 'side'> & {
|
2204
2204
|
children: React_2.ReactNode;
|
2205
2205
|
};
|
2206
2206
|
|
2207
|
-
declare type MenuTriggerProps = Omit<React_2.HTMLAttributes<HTMLButtonElement>, 'children'> & {
|
2207
|
+
export declare type MenuTriggerProps = Omit<React_2.HTMLAttributes<HTMLButtonElement>, 'children'> & {
|
2208
2208
|
children: React_2.ReactElement;
|
2209
2209
|
};
|
2210
2210
|
|
@@ -3720,6 +3720,13 @@ export declare type TreeviewItemProps = default_2.LinkHTMLAttributes<HTMLAnchorE
|
|
3720
3720
|
|
3721
3721
|
export declare type TreeviewProps = default_2.HTMLAttributes<HTMLDivElement>;
|
3722
3722
|
|
3723
|
+
export declare const Truncate: ({ children, tooltip }: TruncateProps) => default_2.JSX.Element;
|
3724
|
+
|
3725
|
+
export declare type TruncateProps = {
|
3726
|
+
children: default_2.ReactElement;
|
3727
|
+
tooltip: string;
|
3728
|
+
};
|
3729
|
+
|
3723
3730
|
export declare interface UncontrolledCheckboxProps extends CheckboxBaseProps {
|
3724
3731
|
checked?: never;
|
3725
3732
|
onChange?: never;
|
package/dist/taco.js
CHANGED
@@ -84239,6 +84239,7 @@ export {
|
|
84239
84239
|
Tour,
|
84240
84240
|
TourStep,
|
84241
84241
|
Treeview,
|
84242
|
+
Truncate,
|
84242
84243
|
VisuallyHidden,
|
84243
84244
|
WindowedTable,
|
84244
84245
|
convertRowIndexPathToNumberArray,
|