@trackunit/css-core 1.11.32 → 1.12.2

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.
@@ -0,0 +1,347 @@
1
+ /**
2
+ * Generated Tailwind CSS v4 Utilities
3
+ * DO NOT EDIT - This file is auto-generated from LayoutsPlugin
4
+ * Run: yarn nx run css-core:generate-css
5
+ */
6
+
7
+ /* ========================================
8
+ * Layout Row Height Utilities
9
+ * ======================================== */
10
+ @utility layout-row-height-auto {
11
+ --row-height: auto;
12
+ }
13
+
14
+ @utility layout-row-height-1fr {
15
+ --row-height: 1fr;
16
+ }
17
+
18
+ /* ========================================
19
+ * Layout Occupation Utilities
20
+ * ======================================== */
21
+ @utility layout-occupation-fill {
22
+ --occupation: auto-fill;
23
+ }
24
+
25
+ @utility layout-occupation-fit {
26
+ --occupation: auto-fit;
27
+ }
28
+
29
+ /* ========================================
30
+ * Layout Min Column Utilities
31
+ * ======================================== */
32
+ @utility layout-min-col-equal {
33
+ --min-column-width: minmax(0, 1fr);
34
+ }
35
+
36
+ @utility layout-min-col-xs {
37
+ --min-column-width: 180px;
38
+ }
39
+
40
+ @utility layout-min-col-sm {
41
+ --min-column-width: 260px;
42
+ }
43
+
44
+ @utility layout-min-col-md {
45
+ --min-column-width: 340px;
46
+ }
47
+
48
+ @utility layout-min-col-lg {
49
+ --min-column-width: 420px;
50
+ }
51
+
52
+ @utility layout-min-col-xl {
53
+ --min-column-width: 540px;
54
+ }
55
+
56
+ /* ========================================
57
+ * Extended Max Width Utilities
58
+ * ======================================== */
59
+ @utility max-w-8xl {
60
+ max-width: 88rem;
61
+ }
62
+
63
+ @utility max-w-9xl {
64
+ max-width: 96rem;
65
+ }
66
+
67
+ @utility max-w-10xl {
68
+ max-width: 104rem;
69
+ }
70
+
71
+ /* ========================================
72
+ * Table Spacing Utilities
73
+ * ======================================== */
74
+ @utility table-compact {
75
+ --table-spacing: 0.25rem;
76
+ }
77
+
78
+ /* ========================================
79
+ * Layout Dual Column Sections
80
+ * ======================================== */
81
+ @utility layout-dual-column-sections {
82
+ display: grid;
83
+ width: 100%;
84
+ margin-left: auto;
85
+ margin-right: auto;
86
+ padding-left: var(--spacing-responsive-space-lg);
87
+ padding-right: var(--spacing-responsive-space-lg);
88
+ container-type: inline-size;
89
+ align-content: start;
90
+ grid-template-columns: 1fr;
91
+
92
+ @container (min-width: 56rem) {
93
+ grid-template-columns: minmax(min-content, 400px) minmax(min-content, 1fr);
94
+ }
95
+ }
96
+
97
+ @utility layout-dual-column-sections-section {
98
+ display: grid;
99
+ width: 100%;
100
+ margin-left: auto;
101
+ margin-right: auto;
102
+ gap: var(--spacing-responsive-space-lg);
103
+ padding-top: var(--spacing-responsive-space-lg);
104
+ padding-bottom: var(--spacing-responsive-space-lg);
105
+ border-bottom-width: 1px;
106
+ border-color: var(--color-neutral-200);
107
+ grid-template-columns: subgrid;
108
+ grid-column: 1 / -1;
109
+
110
+ &:last-child {
111
+ border-bottom-width: 0;
112
+ }
113
+ }
114
+
115
+ /* ========================================
116
+ * Layout Area Utilities
117
+ * ======================================== */
118
+ @utility layout-area-topbar {
119
+ grid-area: topbar;
120
+ }
121
+
122
+ @utility layout-area-sidebar {
123
+ grid-area: sidebar;
124
+ }
125
+
126
+ @utility layout-area-content {
127
+ grid-area: content;
128
+ }
129
+
130
+ /* ========================================
131
+ * Layout Page Utilities
132
+ * ======================================== */
133
+ @utility layout-page {
134
+ display: grid;
135
+ height: 100%;
136
+ align-content: flex-start;
137
+ }
138
+
139
+ @utility layout-page-header-content {
140
+ grid-template-rows: min-content minmax(0, 1fr);
141
+ }
142
+
143
+ @utility layout-page-content {
144
+ grid-template-rows: repeat(1, minmax(0, 1fr));
145
+ }
146
+
147
+ @utility page-content {
148
+ overflow: auto;
149
+ padding: var(--spacing-4);
150
+
151
+ @media (min-width: 768px) {
152
+ padding: var(--spacing-6);
153
+ }
154
+
155
+ @media (min-width: 1024px) {
156
+ padding: var(--spacing-6);
157
+ }
158
+ }
159
+
160
+ @utility page-content-with-gap {
161
+ display: flex;
162
+ flex-direction: column;
163
+ gap: var(--spacing-4);
164
+
165
+ @media (min-width: 768px) {
166
+ gap: var(--spacing-6);
167
+ }
168
+
169
+ @media (min-width: 1024px) {
170
+ gap: var(--spacing-6);
171
+ }
172
+ }
173
+
174
+ @utility layout-page-sidebar-content {
175
+ grid-template-rows: repeat(1, minmax(0, 1fr));
176
+ grid-template-columns: 360px minmax(0, 1fr);
177
+ }
178
+
179
+ /* ========================================
180
+ * Layout Left Sidebar Grid
181
+ * ======================================== */
182
+ @utility layout-left-sidebar-grid {
183
+ display: grid;
184
+ grid-template-rows: min-content min-content auto;
185
+ grid-template-columns: 1fr;
186
+ grid-template-areas: "topbar" "sidebar" "content";
187
+
188
+ @media (min-width: 1600px) {
189
+ grid-template-rows: min-content auto;
190
+ grid-template-columns: min-content auto;
191
+ grid-template-areas: "topbar topbar" "sidebar content";
192
+ }
193
+ }
194
+
195
+ @utility layout-left-sidebar-page {
196
+ display: grid;
197
+ width: 100%;
198
+ grid-template-rows: min-content min-content 1fr;
199
+ grid-template-columns: repeat(1, minmax(0, 1fr));
200
+ gap: var(--spacing-4);
201
+ overflow-y: auto;
202
+ grid-template-areas: "topbar" "sidebar" "content";
203
+
204
+ & .layout-area-sidebar {
205
+ padding-left: var(--spacing-4);
206
+ padding-right: var(--spacing-4);
207
+ }
208
+
209
+ & .layout-area-content {
210
+ padding-left: var(--spacing-4);
211
+ padding-right: var(--spacing-4);
212
+ }
213
+
214
+ @media (min-width: 1024px) {
215
+ grid-template-rows: min-content 1fr;
216
+ grid-template-columns: 260px 1fr;
217
+ grid-template-areas: "topbar topbar" "sidebar content";
218
+ gap: var(--spacing-6);
219
+
220
+ & .layout-area-sidebar {
221
+ padding-left: var(--spacing-6);
222
+ padding-right: var(--spacing-0);
223
+ }
224
+
225
+ & .layout-area-content {
226
+ padding-left: var(--spacing-0);
227
+ padding-right: var(--spacing-6);
228
+ }
229
+ }
230
+ }
231
+
232
+ /* ========================================
233
+ * Layout Responsive Grid
234
+ * ======================================== */
235
+ @utility layout-responsive-grid {
236
+ --occupation: auto-fit;
237
+ --min-column-width: 340px;
238
+ --row-height: 1fr;
239
+ display: grid;
240
+ grid-template-columns: repeat(var(--occupation), minmax(min(var(--min-column-width), 100%), 1fr));
241
+ gap: var(--spacing-responsive-space);
242
+ }
243
+
244
+ /* ========================================
245
+ * Layout Overlap Grid
246
+ * ======================================== */
247
+ @utility layout-overlap-grid {
248
+ display: grid;
249
+
250
+ & > * {
251
+ grid-column: 1;
252
+ grid-row: 1;
253
+ }
254
+ }
255
+
256
+ /* ========================================
257
+ * Map Controls Grid Utilities
258
+ * ======================================== */
259
+ @utility layout-area-map-controls-content {
260
+ grid-area: map-controls-content;
261
+ }
262
+
263
+ @utility layout-area-map-controls-map {
264
+ grid-area: map-controls-map;
265
+ }
266
+
267
+ @utility layout-area-map-controls-overview {
268
+ grid-area: map-controls-overview;
269
+ }
270
+
271
+ @utility layout-area-map-controls-action {
272
+ grid-area: map-controls-action;
273
+ }
274
+
275
+ @utility layout-map-controls-grid {
276
+ display: grid;
277
+ grid-template-rows: min-content minmax(0, 1fr);
278
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
279
+ grid-template-areas:
280
+ "map-controls-content map-controls-action"
281
+ "map-controls-overview map-controls-map";
282
+ }
283
+
284
+ /* ========================================
285
+ * Outline Native (Base Style)
286
+ * ======================================== */
287
+ @utility outline-native {
288
+ outline: 2px solid Highlight;
289
+
290
+ @supports (-webkit-hyphens: none) {
291
+ outline: 2px auto -webkit-focus-ring-color;
292
+ }
293
+
294
+ @supports (-moz-mac-focusring: auto) {
295
+ outline: 2px solid -moz-mac-focusring;
296
+ }
297
+
298
+ & * {
299
+ outline: none;
300
+ }
301
+ }
302
+
303
+ /* ========================================
304
+ * Root Variables (Table Spacing Default)
305
+ * ======================================== */
306
+ :root {
307
+ --table-spacing: 0.25rem;
308
+ }
309
+
310
+ @utility z-hidden {
311
+ z-index: var(--z-hidden);
312
+ }
313
+ @utility z-default {
314
+ z-index: var(--z-default);
315
+ }
316
+ @utility z-top {
317
+ z-index: var(--z-top);
318
+ }
319
+ @utility z-main-menu-drawer {
320
+ z-index: var(--z-main-menu-drawer);
321
+ }
322
+ @utility z-main-menu {
323
+ z-index: var(--z-main-menu);
324
+ }
325
+ @utility z-overlay {
326
+ z-index: var(--z-overlay);
327
+ }
328
+ @utility z-popover {
329
+ z-index: var(--z-popover);
330
+ }
331
+ @utility z-toast {
332
+ z-index: var(--z-toast);
333
+ }
334
+
335
+ @layer base {
336
+ :root {
337
+ *,
338
+ ::after,
339
+ ::before,
340
+ ::backdrop,
341
+ ::file-selector-button {
342
+ border-color: var(--color-neutral-200);
343
+ }
344
+ }
345
+ }
346
+
347
+
@@ -51,23 +51,23 @@
51
51
  }
52
52
 
53
53
  .react-calendar__navigation__arrow {
54
- color: rgb(var(--color-neutral-400) / var(--tw-bg-opacity));
54
+ color: var(--color-neutral-400);
55
55
  }
56
56
 
57
57
  .react-calendar__navigation button:disabled {
58
- background-color: rgb(var(--color-neutral-50) / var(--tw-bg-opacity));
58
+ background-color: var(--color-neutral-50);
59
59
  }
60
60
 
61
61
  .react-calendar__navigation button:enabled:hover,
62
62
  .react-calendar__navigation button:enabled:focus {
63
- background-color: rgb(var(--color-neutral-200) / var(--tw-bg-opacity));
63
+ background-color: var(--color-neutral-200);
64
64
  }
65
65
 
66
66
  .react-calendar__month-view__weekdays {
67
67
  text-align: center;
68
68
  font: inherit;
69
69
  font-size: 0.75em;
70
- color: rgb(var(--color-neutral-400) / var(--tw-bg-opacity));
70
+ color: var(--color-neutral-400);
71
71
  font-weight: bold;
72
72
  }
73
73
 
@@ -93,13 +93,13 @@
93
93
  }
94
94
 
95
95
  .react-calendar__month-view__days__day--neighboringMonth.react-calendar__tile--active {
96
- background: rgb(var(--color-primary-50) / 0.5);
96
+ background: var(--color-primary-50);
97
97
  }
98
98
 
99
99
  .react-calendar__month-view__days__day--neighboringMonth,
100
100
  .react-calendar__decade-view__years__year--neighboringDecade,
101
101
  .react-calendar__century-view__decades__decade--neighboringCentury {
102
- color: rgb(var(--color-neutral-500) / var(--tw-bg-opacity));
102
+ color: var(--color-neutral-500);
103
103
  }
104
104
 
105
105
  .react-calendar__year-view .react-calendar__tile,
@@ -126,39 +126,39 @@
126
126
  top: 0;
127
127
  width: 100%;
128
128
  height: 100%;
129
- border: 2px solid rgb(var(--color-primary-600) / var(--tw-bg-opacity));
129
+ border: 2px solid var(--color-primary-600);
130
130
  border-radius: 8px;
131
131
  }
132
132
 
133
133
  .react-calendar__tile:disabled {
134
134
  background-color: white;
135
- color: rgb(var(--color-neutral-400) / var(--tw-bg-opacity));
135
+ color: var(--color-neutral-400);
136
136
  }
137
137
 
138
138
  .react-calendar__month-view__days__day--neighboringMonth:disabled,
139
139
  .react-calendar__decade-view__years__year--neighboringDecade:disabled,
140
140
  .react-calendar__century-view__decades__decade--neighboringCentury:disabled {
141
- color: rgb(var(--color-neutral-400) / var(--tw-bg-opacity));
141
+ color: var(--color-neutral-400);
142
142
  }
143
143
 
144
144
  .react-calendar__tile:enabled:hover {
145
- background-color: rgb(var(--color-neutral-200) / var(--tw-bg-opacity));
145
+ background-color: var(--color-neutral-200);
146
146
  }
147
147
 
148
148
  .react-calendar__tile--now:not(.react-calendar__tile--active) {
149
- color: rgb(var(--color-primary-600) / var(--tw-bg-opacity));
149
+ color: var(--color-primary-600);
150
150
  }
151
151
 
152
152
  .react-calendar__tile--hasActive {
153
- background: rgb(var(--color-primary-200) / var(--tw-bg-opacity));
153
+ background: var(--color-primary-200);
154
154
  }
155
155
 
156
156
  .react-calendar__tile--hasActive:enabled:hover {
157
- background: rgb(var(--color-primary-100) / var(--tw-bg-opacity));
157
+ background: var(--color-primary-100);
158
158
  }
159
159
 
160
160
  .react-calendar__tile--active {
161
- background: rgb(var(--color-primary-50) / var(--tw-bg-opacity));
161
+ background: var(--color-primary-50);
162
162
  }
163
163
 
164
164
  .react-calendar__tile:not(.react-calendar__tile--active):enabled:hover {
@@ -166,23 +166,23 @@
166
166
  }
167
167
 
168
168
  .react-calendar__tile--active:enabled:hover {
169
- background: rgb(var(--color-primary-50) / var(--tw-bg-opacity));
169
+ background: var(--color-primary-50);
170
170
  border-radius: none !important;
171
171
  }
172
172
 
173
173
  .react-calendar--selectRange .react-calendar__tile--hover {
174
- background: rgb(var(--color-primary-50) / var(--tw-bg-opacity));
174
+ background: var(--color-primary-50);
175
175
  border-radius: none !important;
176
176
  }
177
177
 
178
178
  .react-calendar__tile--rangeStart {
179
- background: rgb(var(--color-primary-600) / var(--tw-bg-opacity)) !important;
179
+ background: var(--color-primary-600) !important;
180
180
  border-radius: 8px;
181
181
  color: white;
182
182
  }
183
183
 
184
184
  .react-calendar__tile--rangeEnd {
185
- background: rgb(var(--color-primary-600) / var(--tw-bg-opacity)) !important;
185
+ background: var(--color-primary-600) !important;
186
186
  border-radius: 8px;
187
187
  color: white;
188
188
  }
@@ -1,15 +1,13 @@
1
1
  /*
2
- Holds css properties for non color related properties.
2
+ Responsive spacing and other dynamic CSS properties.
3
+ Z-index values are now generated in tailwind-theme.generated.css
4
+
5
+ NOTE: These override the default values from @theme in tailwind-theme.generated.css.
6
+ This file is imported after the generated theme, so these values take precedence.
7
+ Do NOT wrap in @layer base - layers have lower specificity than unlayered rules.
3
8
  */
9
+
4
10
  :root {
5
- --z-hidden: -1;
6
- --z-default: 1;
7
- --z-top: 30;
8
- --z-main-menu-drawer: 40;
9
- --z-main-menu: 50;
10
- --z-overlay: 60;
11
- --z-popover: 70;
12
- --z-toast: 80;
13
11
  --spacing-responsive-space-sm: var(--spacing-1);
14
12
  --spacing-responsive-space: var(--spacing-3);
15
13
  --spacing-responsive-space-lg: var(--spacing-5);