@uoguelph/web-components 1.9.1-rc.6 → 1.9.1-rc.9

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.
@@ -1,27 +1,42 @@
1
- import { c as X, e as ae, p as Y, t as H, H as we, b as P, d as le, k as Z, r as V, h as R, a as U, C as te, o as L, I as J, J as ke, K as ct, L as dt, M as ut, N as pt, O as ft, P as gt, Q as bt, R as Le, T as ht, U as mt, F as vt, V as he, i as yt, s as oe, j as se, W as xt, X as ze, g as F, Y as Te, Z as Se, x as me, _ as ve, l as wt } from "./bundle-mjs-XDpZcCQJ.js";
2
- import { i as je, s as kt } from "./legacy-CQFpMkNv.js";
3
- var Ct = H('<li class="p-3"><a class="text-blue decoration-transparent transition-all hover:text-blue-focus hover:underline hover:decoration-current focus:text-blue-focus focus:underline focus:decoration-current"> </a></li>'), At = H('<ul class="flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]"></ul>');
4
- function We(e, r) {
5
- ae(r, !0);
6
- let t = Y(r, "links", 7);
7
- var n = At();
8
- return we(n, 21, t, ke, (l, o) => {
9
- let a = () => L(o).text, s = () => L(o).href;
10
- var d = Ct(), c = R(d), u = R(c, !0);
11
- V(c), V(d), U(() => {
12
- te(c, "href", s()), J(u, a());
13
- }), P(l, d);
14
- }), V(n), P(e, n), le({
1
+ import { c as z, p as I, a as T, t as $, H as D, e as y, g as V, h as N, i as u, j as S, k as U, r as n, d as g, C as X, m as h, I as L, J as E, K as ce, L as ue, M as fe, N as he, O as de, P as pe, Q as ve, R as B, T as ge, U as we, V as A, F as xe, W as me, X as be, Y as _e, Z as ke, _ as W, s as M, $ as J, a0 as Z, a1 as K, w as O, a2 as R, v as ye, u as Q, q as Me, b as $e } from "./index-Dk-X_ehd.js";
2
+ import { o as Ce } from "./index-client-CoqRyo72.js";
3
+ import { c as Y } from "./index-O5kp37c8.js";
4
+ import { i as j, s as Le } from "./legacy-D1B9KfqA.js";
5
+ var Ve = $("<li><a> </a></li>"), Ne = $("<ul></ul>");
6
+ function te(d, e) {
7
+ I(e, !0);
8
+ let i = T(e, "links", 7);
9
+ const l = Y({
10
+ slots: {
11
+ base: "flex flex-wrap items-center justify-center bg-white p-3 px-[max(calc((100%-1320px)/2),2rem)]",
12
+ item: "p-3",
13
+ links: "text-blue decoration-transparent transition-all hover:text-blue-focus hover:underline hover:decoration-current focus:text-blue-focus focus:underline focus:decoration-current"
14
+ }
15
+ }), { base: m, item: c, links: f } = l();
16
+ var s = Ne();
17
+ return D(s, 21, i, E, (r, t) => {
18
+ let v = () => h(t).text, o = () => h(t).href;
19
+ var w = Ve(), x = g(w), b = g(x, !0);
20
+ n(x), n(w), y(
21
+ (p, C) => {
22
+ N(w, 1, p), N(x, 1, C), X(x, "href", o()), L(b, v());
23
+ },
24
+ [
25
+ () => V(c()),
26
+ () => V(f())
27
+ ]
28
+ ), u(r, w);
29
+ }), n(s), y((r) => N(s, 1, r), [() => V(m())]), u(d, s), S({
15
30
  get links() {
16
- return t();
31
+ return i();
17
32
  },
18
- set links(l) {
19
- t(l), Z();
33
+ set links(r) {
34
+ i(r), U();
20
35
  }
21
36
  });
22
37
  }
23
- X(We, { links: {} }, [], [], !0);
24
- var zt = ct(`<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 718.9 79.5"><defs><style>.st0 {
38
+ z(te, { links: {} }, [], [], !0);
39
+ var ze = ce(`<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 718.9 79.5"><defs><style>.st0 {
25
40
  fill: #fff;
26
41
  font-family: MyriadPro-Regular, 'Myriad Pro';
27
42
  font-size: 44.3px;
@@ -38,2840 +53,436 @@ var zt = ct(`<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1"
38
53
  .st3 {
39
54
  fill: #e51937;
40
55
  }</style></defs><g><rect class="st2" x="1.5" y="1.5" width="715.9" height="76.5"></rect><path class="st3" d="M715.9,3v73.5H3V3h712.9M718.9,0H0v79.5h718.9V0h0Z"></path></g><g class="st1"><text class="st0" transform="translate(107.3 54.3)"><tspan x="0" y="0">IMP</tspan></text><text class="st0" transform="translate(177 54.3)"><tspan x="0" y="0">R</tspan></text><text class="st0" transform="translate(201 54.3)"><tspan x="0" y="0">OVE LIFE NO PADDING</tspan></text></g></svg>`);
41
- function Be(e) {
42
- var r = zt();
43
- P(e, r);
56
+ function se(d) {
57
+ var e = ze();
58
+ u(d, e);
44
59
  }
45
- X(Be, {}, [], [], !0);
46
- var Mt = H('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="row-span-2 flex h-[4.8rem] w-full overflow-hidden transition-opacity hover:opacity-75 focus:opacity-75 md:h-[3.5em] [&amp;>svg]:block [&amp;>svg]:h-full [&amp;>svg]:w-full"><!></a>');
47
- function Je(e) {
48
- var r = Mt(), t = R(r);
49
- Be(t), V(r), P(e, r);
60
+ z(se, {}, [], [], !0);
61
+ var He = $('<a href="https://www.uoguelph.ca/improve-life" aria-label="Improve Life" class="row-span-2 flex h-[4.8rem] w-full overflow-hidden transition-opacity hover:opacity-75 focus:opacity-75 md:h-[3.5em] [&amp;>svg]:block [&amp;>svg]:h-full [&amp;>svg]:w-full"><!></a>');
62
+ function ae(d) {
63
+ var e = He(), i = g(e);
64
+ se(i), n(e), u(d, e);
50
65
  }
51
- X(Je, {}, [], [], !0);
66
+ z(ae, {}, [], [], !0);
52
67
  /*!
53
68
  * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
54
69
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
55
70
  * Copyright 2024 Fonticons, Inc.
56
71
  */
57
- const _t = {
72
+ const Ae = {
58
73
  prefix: "fab",
59
74
  iconName: "linkedin-in",
60
75
  icon: [448, 512, [], "f0e1", "M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z"]
61
- }, St = {
76
+ }, Pe = {
62
77
  prefix: "fab",
63
78
  iconName: "facebook-f",
64
79
  icon: [320, 512, [], "f39e", "M80 299.3V512H196V299.3h86.5l18-97.8H196V166.9c0-51.7 20.3-71.5 72.7-71.5c16.3 0 29.4 .4 37 1.2V7.9C291.4 4 256.4 0 236.2 0C129.3 0 80 50.5 80 159.4v42.1H14v97.8H80z"]
65
- }, Vt = {
80
+ }, Ie = {
66
81
  prefix: "fab",
67
82
  iconName: "x-twitter",
68
83
  icon: [512, 512, [], "e61b", "M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"]
69
- }, Gt = {
84
+ }, Se = {
70
85
  prefix: "fab",
71
86
  iconName: "tiktok",
72
87
  icon: [448, 512, [], "e07b", "M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"]
73
- }, Pt = {
88
+ }, Fe = {
74
89
  prefix: "fab",
75
90
  iconName: "instagram",
76
91
  icon: [448, 512, [], "f16d", "M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]
77
- }, Nt = {
92
+ }, Ge = {
78
93
  prefix: "fab",
79
94
  iconName: "youtube",
80
95
  icon: [576, 512, [61802], "f167", "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"]
81
- }, qe = {
96
+ }, re = {
82
97
  directory: "https://www.uoguelph.ca/web/socialmedia/",
83
98
  links: [
84
99
  {
85
100
  text: "X",
86
- icon: Vt,
101
+ icon: Ie,
87
102
  href: "https://twitter.com/uofg",
88
103
  classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
89
104
  },
90
105
  {
91
106
  text: "Facebook",
92
- icon: St,
107
+ icon: Pe,
93
108
  href: "https://www.facebook.com/uofguelph",
94
109
  classes: "focus:text-white hover:text-white focus:bg-[#0866ff] hover:bg-[#0866ff]"
95
110
  },
96
111
  {
97
112
  text: "Instagram",
98
- icon: Pt,
113
+ icon: Fe,
99
114
  href: "https://www.instagram.com/uofguelph/",
100
115
  classes: "focus:text-white hover:text-white focus:bg-[#d62976] hover:bg-[#d62976]"
101
116
  },
102
117
  {
103
118
  text: "Youtube",
104
- icon: Nt,
119
+ icon: Ge,
105
120
  href: "https://www.youtube.com/user/uofguelph",
106
121
  classes: "focus:text-white hover:text-white focus:bg-[#ff0000] hover:bg-[#ff0000]"
107
122
  },
108
123
  {
109
124
  text: "LinkedIn",
110
- icon: _t,
125
+ icon: Ae,
111
126
  href: "https://www.linkedin.com/school/university-of-guelph/",
112
127
  classes: "focus:text-white hover:text-white focus:bg-[#0a66c2] hover:bg-[#0a66c2]"
113
128
  },
114
129
  {
115
130
  text: "TikTok",
116
- icon: Gt,
131
+ icon: Se,
117
132
  href: "https://www.tiktok.com/@uofguelph",
118
133
  classes: "focus:text-black hover:text-black focus:bg-white hover:bg-white"
119
134
  }
120
135
  ]
121
- }, Ee = [
136
+ }, ee = [
122
137
  {
123
138
  text: "Accessibility",
124
- icon: dt,
139
+ icon: ue,
125
140
  href: "https://www.uoguelph.ca/diversity-human-rights/accessibility-u-g"
126
141
  },
127
142
  {
128
143
  text: "Privacy",
129
- icon: ut,
144
+ icon: fe,
130
145
  href: "https://www.uoguelph.ca/web/privacy/"
131
146
  },
132
147
  {
133
148
  text: "Site Map",
134
- icon: pt,
149
+ icon: he,
135
150
  href: "https://www.uoguelph.ca/sitemap"
136
151
  },
137
152
  {
138
153
  text: "Status Page",
139
- icon: ft,
154
+ icon: de,
140
155
  href: "https://uoguelph.statuspage.io/"
141
156
  },
142
157
  {
143
158
  text: "Land Acknowledgement",
144
- icon: gt,
159
+ icon: pe,
145
160
  href: "https://www.uoguelph.ca/land-acknowledgement/",
146
- title: "The University of Guelph resides on the treaty lands and territory of the Mississaugas of the Credit. We recognize that today this gathering place is home to many First Nations, Inuit and Métis peoples and acknowledging them reminds us of our collective responsibility to the land where we learn and work."
161
+ attributes: {
162
+ title: "The University of Guelph resides on the treaty lands and territory of the Mississaugas of the Credit. We recognize that today this gathering place is home to many First Nations, Inuit and Métis peoples and acknowledging them reminds us of our collective responsibility to the land where we learn and work."
163
+ }
147
164
  },
148
165
  {
149
166
  text: "Careers",
150
- icon: bt,
167
+ icon: ve,
151
168
  href: "https://careers.uoguelph.ca/"
152
169
  },
153
170
  {
154
171
  text: "Undergraduate Calendar",
155
- icon: Le,
172
+ icon: B,
156
173
  href: "https://www.uoguelph.ca/registrar/calendars/undergraduate/current/"
157
174
  },
158
175
  {
159
176
  text: "Graduate Calendar",
160
- icon: Le,
177
+ icon: B,
161
178
  href: "https://www.uoguelph.ca/registrar/calendars/graduate/current/"
162
179
  },
163
180
  {
164
181
  text: "Admission",
165
- icon: ht,
182
+ icon: ge,
166
183
  href: "https://uoguelph.ca/admission"
167
184
  },
168
185
  {
169
186
  text: "Give to U of G",
170
- icon: mt,
187
+ icon: we,
171
188
  href: "https://www.alumni.uoguelph.ca/give-to-guelph/how-to-give"
172
189
  }
173
- ], ee = {
190
+ ], H = {
174
191
  title: "University of Guelph",
175
192
  street: "50 Stone Road East",
176
193
  city: "Guelph",
177
194
  postalCode: "N1G 2W1",
178
195
  phoneNumber: "519-824-4120"
179
196
  };
180
- var jt = H("<li><a><!></a></li>"), It = H('<ul class="flex gap-2 text-lg [&amp;>li]:contents"></ul>');
181
- function Ke(e, r) {
182
- ae(r, !1), je();
183
- var t = It();
184
- we(t, 5, () => qe.links, ke, (n, l) => {
185
- let o = () => L(l).href, a = () => L(l).text, s = () => L(l).icon, d = () => L(l).classes;
186
- var c = jt(), u = R(c), k = R(u);
187
- vt(k, {
197
+ var Te = $("<li><a><!></a></li>"), Ue = $("<ul></ul>");
198
+ function oe(d, e) {
199
+ I(e, !1);
200
+ const i = Y({
201
+ slots: {
202
+ base: "flex gap-2 text-lg [&>li]:contents",
203
+ links: "border border-current p-0.5 transition-colors hover:border-transparent focus:border-transparent [&>*]:aspect-square"
204
+ }
205
+ }), { base: l, links: m } = i();
206
+ j();
207
+ var c = Ue();
208
+ D(c, 5, () => re.links, E, (f, s, r, t) => {
209
+ let v = () => h(s).href, o = () => h(s).text, w = () => h(s).icon, x = () => h(s).classes;
210
+ var b = Te(), p = g(b), C = g(p);
211
+ xe(C, {
188
212
  get icon() {
189
- return s();
213
+ return w();
190
214
  }
191
- }), V(u), V(c), U(
192
- (C) => {
193
- te(u, "href", o()), te(u, "aria-label", a()), oe(u, 1, se(C));
215
+ }), n(p), n(b), y(
216
+ (a) => {
217
+ X(p, "href", v()), X(p, "aria-label", o()), N(p, 1, a);
194
218
  },
195
219
  [
196
- () => yt("border border-current p-0.5 transition-colors hover:border-transparent focus:border-transparent [&>*]:aspect-square", d())
220
+ () => V(me(m(), x()))
197
221
  ],
198
- he
199
- ), P(n, c);
200
- }), V(t), P(e, t), le();
222
+ A
223
+ ), u(f, b);
224
+ }), n(c), y((f) => N(c, 1, f), [() => V(l())], A), u(d, c), S();
201
225
  }
202
- X(Ke, {}, [], [], !0);
203
- var Rt = H("<a><!></a>");
204
- function ne(e, r) {
205
- ae(r, !0);
206
- let t = Y(r, "href", 7), n = Y(r, "label", 7), l = Y(r, "title", 7), o = Y(r, "children", 7), a = Y(r, "classes", 7);
207
- var s = Rt(), d = R(s);
208
- return kt(d, o), V(s), U(
209
- (c) => {
210
- oe(s, 1, se(c)), te(s, "href", t()), te(s, "title", l() ?? void 0), te(s, "aria-label", n() ?? void 0);
211
- },
212
- [
213
- () => xt("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", a())
214
- ]
215
- ), P(e, s), le({
226
+ z(oe, {}, [], [], !0);
227
+ var Oe = $("<a><!></a>");
228
+ function P(d, e) {
229
+ I(e, !0);
230
+ let i = T(e, "href", 7), l = T(e, "label", 7), m = T(e, "children", 7), c = T(e, "class", 7), f = ke(e, [
231
+ "$$slots",
232
+ "$$events",
233
+ "$$legacy",
234
+ "$$host",
235
+ "href",
236
+ "label",
237
+ "children",
238
+ "class"
239
+ ]);
240
+ const s = be("w-fit underline decoration-transparent transition-colors hover:decoration-black-contrast focus:decoration-black-contrast", c());
241
+ var r = Oe();
242
+ let t;
243
+ var v = g(r);
244
+ return Le(v, m), n(r), y(() => t = _e(r, t, {
245
+ ...f,
246
+ class: s,
247
+ href: i(),
248
+ "aria-label": l() ?? void 0
249
+ })), u(d, r), S({
216
250
  get href() {
217
- return t();
251
+ return i();
218
252
  },
219
- set href(c) {
220
- t(c), Z();
253
+ set href(o) {
254
+ i(o), U();
221
255
  },
222
256
  get label() {
223
- return n();
224
- },
225
- set label(c) {
226
- n(c), Z();
227
- },
228
- get title() {
229
257
  return l();
230
258
  },
231
- set title(c) {
232
- l(c), Z();
259
+ set label(o) {
260
+ l(o), U();
233
261
  },
234
262
  get children() {
235
- return o();
263
+ return m();
236
264
  },
237
- set children(c) {
238
- o(c), Z();
265
+ set children(o) {
266
+ m(o), U();
239
267
  },
240
- get classes() {
241
- return a();
268
+ get class() {
269
+ return c();
242
270
  },
243
- set classes(c) {
244
- a(c), Z();
271
+ set class(o) {
272
+ c(o), U();
245
273
  }
246
274
  });
247
275
  }
248
- X(
249
- ne,
276
+ z(
277
+ P,
250
278
  {
251
279
  href: {},
252
280
  label: {},
253
- title: {},
254
281
  children: {},
255
- classes: {}
282
+ class: {}
256
283
  },
257
284
  [],
258
285
  [],
259
286
  !0
260
287
  );
261
- var Oe = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, T = (e) => !e || typeof e != "object" || Object.keys(e).length === 0, Lt = (e, r) => JSON.stringify(e) === JSON.stringify(r);
262
- function Xe(e, r) {
263
- e.forEach(function(t) {
264
- Array.isArray(t) ? Xe(t, r) : r.push(t);
265
- });
266
- }
267
- function Ye(e) {
268
- let r = [];
269
- return Xe(e, r), r;
270
- }
271
- var Ze = (...e) => Ye(e).filter(Boolean), Qe = (e, r) => {
272
- let t = {}, n = Object.keys(e), l = Object.keys(r);
273
- for (let o of n) if (l.includes(o)) {
274
- let a = e[o], s = r[o];
275
- Array.isArray(a) || Array.isArray(s) ? t[o] = Ze(s, a) : typeof a == "object" && typeof s == "object" ? t[o] = Qe(a, s) : t[o] = s + " " + a;
276
- } else t[o] = e[o];
277
- for (let o of l) n.includes(o) || (t[o] = r[o]);
278
- return t;
279
- }, Fe = (e) => !e || typeof e != "string" ? e : e.replace(/\s+/g, " ").trim();
280
- const Ie = "-", Tt = (e) => {
281
- const r = Ot(e), {
282
- conflictingClassGroups: t,
283
- conflictingClassGroupModifiers: n
284
- } = e;
285
- return {
286
- getClassGroupId: (a) => {
287
- const s = a.split(Ie);
288
- return s[0] === "" && s.length !== 1 && s.shift(), De(s, r) || Et(a);
289
- },
290
- getConflictingClassGroupIds: (a, s) => {
291
- const d = t[a] || [];
292
- return s && n[a] ? [...d, ...n[a]] : d;
293
- }
294
- };
295
- }, De = (e, r) => {
296
- var a;
297
- if (e.length === 0)
298
- return r.classGroupId;
299
- const t = e[0], n = r.nextPart.get(t), l = n ? De(e.slice(1), n) : void 0;
300
- if (l)
301
- return l;
302
- if (r.validators.length === 0)
303
- return;
304
- const o = e.join(Ie);
305
- return (a = r.validators.find(({
306
- validator: s
307
- }) => s(o))) == null ? void 0 : a.classGroupId;
308
- }, He = /^\[(.+)\]$/, Et = (e) => {
309
- if (He.test(e)) {
310
- const r = He.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
311
- if (t)
312
- return "arbitrary.." + t;
313
- }
314
- }, Ot = (e) => {
315
- const {
316
- theme: r,
317
- prefix: t
318
- } = e, n = {
319
- nextPart: /* @__PURE__ */ new Map(),
320
- validators: []
321
- };
322
- return Ht(Object.entries(e.classGroups), t).forEach(([o, a]) => {
323
- Ve(a, n, o, r);
324
- }), n;
325
- }, Ve = (e, r, t, n) => {
326
- e.forEach((l) => {
327
- if (typeof l == "string") {
328
- const o = l === "" ? r : $e(r, l);
329
- o.classGroupId = t;
330
- return;
331
- }
332
- if (typeof l == "function") {
333
- if (Ft(l)) {
334
- Ve(l(n), r, t, n);
335
- return;
336
- }
337
- r.validators.push({
338
- validator: l,
339
- classGroupId: t
340
- });
341
- return;
342
- }
343
- Object.entries(l).forEach(([o, a]) => {
344
- Ve(a, $e(r, o), t, n);
345
- });
346
- });
347
- }, $e = (e, r) => {
348
- let t = e;
349
- return r.split(Ie).forEach((n) => {
350
- t.nextPart.has(n) || t.nextPart.set(n, {
351
- nextPart: /* @__PURE__ */ new Map(),
352
- validators: []
353
- }), t = t.nextPart.get(n);
354
- }), t;
355
- }, Ft = (e) => e.isThemeGetter, Ht = (e, r) => r ? e.map(([t, n]) => {
356
- const l = n.map((o) => typeof o == "string" ? r + o : typeof o == "object" ? Object.fromEntries(Object.entries(o).map(([a, s]) => [r + a, s])) : o);
357
- return [t, l];
358
- }) : e, $t = (e) => {
359
- if (e < 1)
360
- return {
361
- get: () => {
362
- },
363
- set: () => {
364
- }
365
- };
366
- let r = 0, t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
367
- const l = (o, a) => {
368
- t.set(o, a), r++, r > e && (r = 0, n = t, t = /* @__PURE__ */ new Map());
369
- };
370
- return {
371
- get(o) {
372
- let a = t.get(o);
373
- if (a !== void 0)
374
- return a;
375
- if ((a = n.get(o)) !== void 0)
376
- return l(o, a), a;
377
- },
378
- set(o, a) {
379
- t.has(o) ? t.set(o, a) : l(o, a);
380
- }
381
- };
382
- }, et = "!", Ut = (e) => {
383
- const {
384
- separator: r,
385
- experimentalParseClassName: t
386
- } = e, n = r.length === 1, l = r[0], o = r.length, a = (s) => {
387
- const d = [];
388
- let c = 0, u = 0, k;
389
- for (let h = 0; h < s.length; h++) {
390
- let g = s[h];
391
- if (c === 0) {
392
- if (g === l && (n || s.slice(h, h + o) === r)) {
393
- d.push(s.slice(u, h)), u = h + o;
394
- continue;
395
- }
396
- if (g === "/") {
397
- k = h;
398
- continue;
399
- }
400
- }
401
- g === "[" ? c++ : g === "]" && c--;
402
- }
403
- const C = d.length === 0 ? s : s.substring(u), S = C.startsWith(et), z = S ? C.substring(1) : C, m = k && k > u ? k - u : void 0;
404
- return {
405
- modifiers: d,
406
- hasImportantModifier: S,
407
- baseClassName: z,
408
- maybePostfixModifierPosition: m
409
- };
410
- };
411
- return t ? (s) => t({
412
- className: s,
413
- parseClassName: a
414
- }) : a;
415
- }, Wt = (e) => {
416
- if (e.length <= 1)
417
- return e;
418
- const r = [];
419
- let t = [];
420
- return e.forEach((n) => {
421
- n[0] === "[" ? (r.push(...t.sort(), n), t = []) : t.push(n);
422
- }), r.push(...t.sort()), r;
423
- }, Bt = (e) => ({
424
- cache: $t(e.cacheSize),
425
- parseClassName: Ut(e),
426
- ...Tt(e)
427
- }), Jt = /\s+/, qt = (e, r) => {
428
- const {
429
- parseClassName: t,
430
- getClassGroupId: n,
431
- getConflictingClassGroupIds: l
432
- } = r, o = [], a = e.trim().split(Jt);
433
- let s = "";
434
- for (let d = a.length - 1; d >= 0; d -= 1) {
435
- const c = a[d], {
436
- modifiers: u,
437
- hasImportantModifier: k,
438
- baseClassName: C,
439
- maybePostfixModifierPosition: S
440
- } = t(c);
441
- let z = !!S, m = n(z ? C.substring(0, S) : C);
442
- if (!m) {
443
- if (!z) {
444
- s = c + (s.length > 0 ? " " + s : s);
445
- continue;
446
- }
447
- if (m = n(C), !m) {
448
- s = c + (s.length > 0 ? " " + s : s);
449
- continue;
450
- }
451
- z = !1;
452
- }
453
- const h = Wt(u).join(":"), g = k ? h + et : h, p = g + m;
454
- if (o.includes(p))
455
- continue;
456
- o.push(p);
457
- const N = l(m, z);
458
- for (let j = 0; j < N.length; ++j) {
459
- const $ = N[j];
460
- o.push(g + $);
461
- }
462
- s = c + (s.length > 0 ? " " + s : s);
463
- }
464
- return s;
465
- };
466
- function Kt() {
467
- let e = 0, r, t, n = "";
468
- for (; e < arguments.length; )
469
- (r = arguments[e++]) && (t = tt(r)) && (n && (n += " "), n += t);
470
- return n;
471
- }
472
- const tt = (e) => {
473
- if (typeof e == "string")
474
- return e;
475
- let r, t = "";
476
- for (let n = 0; n < e.length; n++)
477
- e[n] && (r = tt(e[n])) && (t && (t += " "), t += r);
478
- return t;
479
- };
480
- function Ge(e, ...r) {
481
- let t, n, l, o = a;
482
- function a(d) {
483
- const c = r.reduce((u, k) => k(u), e());
484
- return t = Bt(c), n = t.cache.get, l = t.cache.set, o = s, s(d);
485
- }
486
- function s(d) {
487
- const c = n(d);
488
- if (c)
489
- return c;
490
- const u = qt(d, t);
491
- return l(d, u), u;
492
- }
493
- return function() {
494
- return o(Kt.apply(null, arguments));
495
- };
496
- }
497
- const _ = (e) => {
498
- const r = (t) => t[e] || [];
499
- return r.isThemeGetter = !0, r;
500
- }, rt = /^\[(?:([a-z-]+):)?(.+)\]$/i, Xt = /^\d+\/\d+$/, Yt = /* @__PURE__ */ new Set(["px", "full", "screen"]), Zt = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Qt = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Dt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, er = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, W = (e) => re(e) || Yt.has(e) || Xt.test(e), q = (e) => ie(e, "length", cr), re = (e) => !!e && !Number.isNaN(Number(e)), Me = (e) => ie(e, "number", re), pe = (e) => !!e && Number.isInteger(Number(e)), rr = (e) => e.endsWith("%") && re(e.slice(0, -1)), f = (e) => rt.test(e), K = (e) => Zt.test(e), or = /* @__PURE__ */ new Set(["length", "size", "percentage"]), sr = (e) => ie(e, or, ot), nr = (e) => ie(e, "position", ot), ar = /* @__PURE__ */ new Set(["image", "url"]), lr = (e) => ie(e, ar, ur), ir = (e) => ie(e, "", dr), fe = () => !0, ie = (e, r, t) => {
501
- const n = rt.exec(e);
502
- return n ? n[1] ? typeof r == "string" ? n[1] === r : r.has(n[1]) : t(n[2]) : !1;
503
- }, cr = (e) => (
504
- // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
505
- // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
506
- // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
507
- Qt.test(e) && !Dt.test(e)
508
- ), ot = () => !1, dr = (e) => er.test(e), ur = (e) => tr.test(e), Pe = () => {
509
- const e = _("colors"), r = _("spacing"), t = _("blur"), n = _("brightness"), l = _("borderColor"), o = _("borderRadius"), a = _("borderSpacing"), s = _("borderWidth"), d = _("contrast"), c = _("grayscale"), u = _("hueRotate"), k = _("invert"), C = _("gap"), S = _("gradientColorStops"), z = _("gradientColorStopPositions"), m = _("inset"), h = _("margin"), g = _("opacity"), p = _("padding"), N = _("saturate"), j = _("scale"), $ = _("sepia"), Q = _("skew"), O = _("space"), ce = _("translate"), D = () => ["auto", "contain", "none"], de = () => ["auto", "hidden", "clip", "visible", "scroll"], ue = () => ["auto", f, r], i = () => [f, r], v = () => ["", W, q], b = () => ["auto", re, f], x = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], y = () => ["solid", "dashed", "dotted", "double", "none"], w = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], A = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], M = () => ["", "0", f], G = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], I = () => [re, f];
510
- return {
511
- cacheSize: 500,
512
- separator: ":",
513
- theme: {
514
- colors: [fe],
515
- spacing: [W, q],
516
- blur: ["none", "", K, f],
517
- brightness: I(),
518
- borderColor: [e],
519
- borderRadius: ["none", "", "full", K, f],
520
- borderSpacing: i(),
521
- borderWidth: v(),
522
- contrast: I(),
523
- grayscale: M(),
524
- hueRotate: I(),
525
- invert: M(),
526
- gap: i(),
527
- gradientColorStops: [e],
528
- gradientColorStopPositions: [rr, q],
529
- inset: ue(),
530
- margin: ue(),
531
- opacity: I(),
532
- padding: i(),
533
- saturate: I(),
534
- scale: I(),
535
- sepia: M(),
536
- skew: I(),
537
- space: i(),
538
- translate: i()
539
- },
540
- classGroups: {
541
- // Layout
542
- /**
543
- * Aspect Ratio
544
- * @see https://tailwindcss.com/docs/aspect-ratio
545
- */
546
- aspect: [{
547
- aspect: ["auto", "square", "video", f]
548
- }],
549
- /**
550
- * Container
551
- * @see https://tailwindcss.com/docs/container
552
- */
553
- container: ["container"],
554
- /**
555
- * Columns
556
- * @see https://tailwindcss.com/docs/columns
557
- */
558
- columns: [{
559
- columns: [K]
560
- }],
561
- /**
562
- * Break After
563
- * @see https://tailwindcss.com/docs/break-after
564
- */
565
- "break-after": [{
566
- "break-after": G()
567
- }],
568
- /**
569
- * Break Before
570
- * @see https://tailwindcss.com/docs/break-before
571
- */
572
- "break-before": [{
573
- "break-before": G()
574
- }],
575
- /**
576
- * Break Inside
577
- * @see https://tailwindcss.com/docs/break-inside
578
- */
579
- "break-inside": [{
580
- "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"]
581
- }],
582
- /**
583
- * Box Decoration Break
584
- * @see https://tailwindcss.com/docs/box-decoration-break
585
- */
586
- "box-decoration": [{
587
- "box-decoration": ["slice", "clone"]
588
- }],
589
- /**
590
- * Box Sizing
591
- * @see https://tailwindcss.com/docs/box-sizing
592
- */
593
- box: [{
594
- box: ["border", "content"]
595
- }],
596
- /**
597
- * Display
598
- * @see https://tailwindcss.com/docs/display
599
- */
600
- display: ["block", "inline-block", "inline", "flex", "inline-flex", "table", "inline-table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row-group", "table-row", "flow-root", "grid", "inline-grid", "contents", "list-item", "hidden"],
601
- /**
602
- * Floats
603
- * @see https://tailwindcss.com/docs/float
604
- */
605
- float: [{
606
- float: ["right", "left", "none", "start", "end"]
607
- }],
608
- /**
609
- * Clear
610
- * @see https://tailwindcss.com/docs/clear
611
- */
612
- clear: [{
613
- clear: ["left", "right", "both", "none", "start", "end"]
614
- }],
615
- /**
616
- * Isolation
617
- * @see https://tailwindcss.com/docs/isolation
618
- */
619
- isolation: ["isolate", "isolation-auto"],
620
- /**
621
- * Object Fit
622
- * @see https://tailwindcss.com/docs/object-fit
623
- */
624
- "object-fit": [{
625
- object: ["contain", "cover", "fill", "none", "scale-down"]
626
- }],
627
- /**
628
- * Object Position
629
- * @see https://tailwindcss.com/docs/object-position
630
- */
631
- "object-position": [{
632
- object: [...x(), f]
633
- }],
634
- /**
635
- * Overflow
636
- * @see https://tailwindcss.com/docs/overflow
637
- */
638
- overflow: [{
639
- overflow: de()
640
- }],
641
- /**
642
- * Overflow X
643
- * @see https://tailwindcss.com/docs/overflow
644
- */
645
- "overflow-x": [{
646
- "overflow-x": de()
647
- }],
648
- /**
649
- * Overflow Y
650
- * @see https://tailwindcss.com/docs/overflow
651
- */
652
- "overflow-y": [{
653
- "overflow-y": de()
654
- }],
655
- /**
656
- * Overscroll Behavior
657
- * @see https://tailwindcss.com/docs/overscroll-behavior
658
- */
659
- overscroll: [{
660
- overscroll: D()
661
- }],
662
- /**
663
- * Overscroll Behavior X
664
- * @see https://tailwindcss.com/docs/overscroll-behavior
665
- */
666
- "overscroll-x": [{
667
- "overscroll-x": D()
668
- }],
669
- /**
670
- * Overscroll Behavior Y
671
- * @see https://tailwindcss.com/docs/overscroll-behavior
672
- */
673
- "overscroll-y": [{
674
- "overscroll-y": D()
675
- }],
676
- /**
677
- * Position
678
- * @see https://tailwindcss.com/docs/position
679
- */
680
- position: ["static", "fixed", "absolute", "relative", "sticky"],
681
- /**
682
- * Top / Right / Bottom / Left
683
- * @see https://tailwindcss.com/docs/top-right-bottom-left
684
- */
685
- inset: [{
686
- inset: [m]
687
- }],
688
- /**
689
- * Right / Left
690
- * @see https://tailwindcss.com/docs/top-right-bottom-left
691
- */
692
- "inset-x": [{
693
- "inset-x": [m]
694
- }],
695
- /**
696
- * Top / Bottom
697
- * @see https://tailwindcss.com/docs/top-right-bottom-left
698
- */
699
- "inset-y": [{
700
- "inset-y": [m]
701
- }],
702
- /**
703
- * Start
704
- * @see https://tailwindcss.com/docs/top-right-bottom-left
705
- */
706
- start: [{
707
- start: [m]
708
- }],
709
- /**
710
- * End
711
- * @see https://tailwindcss.com/docs/top-right-bottom-left
712
- */
713
- end: [{
714
- end: [m]
715
- }],
716
- /**
717
- * Top
718
- * @see https://tailwindcss.com/docs/top-right-bottom-left
719
- */
720
- top: [{
721
- top: [m]
722
- }],
723
- /**
724
- * Right
725
- * @see https://tailwindcss.com/docs/top-right-bottom-left
726
- */
727
- right: [{
728
- right: [m]
729
- }],
730
- /**
731
- * Bottom
732
- * @see https://tailwindcss.com/docs/top-right-bottom-left
733
- */
734
- bottom: [{
735
- bottom: [m]
736
- }],
737
- /**
738
- * Left
739
- * @see https://tailwindcss.com/docs/top-right-bottom-left
740
- */
741
- left: [{
742
- left: [m]
743
- }],
744
- /**
745
- * Visibility
746
- * @see https://tailwindcss.com/docs/visibility
747
- */
748
- visibility: ["visible", "invisible", "collapse"],
749
- /**
750
- * Z-Index
751
- * @see https://tailwindcss.com/docs/z-index
752
- */
753
- z: [{
754
- z: ["auto", pe, f]
755
- }],
756
- // Flexbox and Grid
757
- /**
758
- * Flex Basis
759
- * @see https://tailwindcss.com/docs/flex-basis
760
- */
761
- basis: [{
762
- basis: ue()
763
- }],
764
- /**
765
- * Flex Direction
766
- * @see https://tailwindcss.com/docs/flex-direction
767
- */
768
- "flex-direction": [{
769
- flex: ["row", "row-reverse", "col", "col-reverse"]
770
- }],
771
- /**
772
- * Flex Wrap
773
- * @see https://tailwindcss.com/docs/flex-wrap
774
- */
775
- "flex-wrap": [{
776
- flex: ["wrap", "wrap-reverse", "nowrap"]
777
- }],
778
- /**
779
- * Flex
780
- * @see https://tailwindcss.com/docs/flex
781
- */
782
- flex: [{
783
- flex: ["1", "auto", "initial", "none", f]
784
- }],
785
- /**
786
- * Flex Grow
787
- * @see https://tailwindcss.com/docs/flex-grow
788
- */
789
- grow: [{
790
- grow: M()
791
- }],
792
- /**
793
- * Flex Shrink
794
- * @see https://tailwindcss.com/docs/flex-shrink
795
- */
796
- shrink: [{
797
- shrink: M()
798
- }],
799
- /**
800
- * Order
801
- * @see https://tailwindcss.com/docs/order
802
- */
803
- order: [{
804
- order: ["first", "last", "none", pe, f]
805
- }],
806
- /**
807
- * Grid Template Columns
808
- * @see https://tailwindcss.com/docs/grid-template-columns
809
- */
810
- "grid-cols": [{
811
- "grid-cols": [fe]
812
- }],
813
- /**
814
- * Grid Column Start / End
815
- * @see https://tailwindcss.com/docs/grid-column
816
- */
817
- "col-start-end": [{
818
- col: ["auto", {
819
- span: ["full", pe, f]
820
- }, f]
821
- }],
822
- /**
823
- * Grid Column Start
824
- * @see https://tailwindcss.com/docs/grid-column
825
- */
826
- "col-start": [{
827
- "col-start": b()
828
- }],
829
- /**
830
- * Grid Column End
831
- * @see https://tailwindcss.com/docs/grid-column
832
- */
833
- "col-end": [{
834
- "col-end": b()
835
- }],
836
- /**
837
- * Grid Template Rows
838
- * @see https://tailwindcss.com/docs/grid-template-rows
839
- */
840
- "grid-rows": [{
841
- "grid-rows": [fe]
842
- }],
843
- /**
844
- * Grid Row Start / End
845
- * @see https://tailwindcss.com/docs/grid-row
846
- */
847
- "row-start-end": [{
848
- row: ["auto", {
849
- span: [pe, f]
850
- }, f]
851
- }],
852
- /**
853
- * Grid Row Start
854
- * @see https://tailwindcss.com/docs/grid-row
855
- */
856
- "row-start": [{
857
- "row-start": b()
858
- }],
859
- /**
860
- * Grid Row End
861
- * @see https://tailwindcss.com/docs/grid-row
862
- */
863
- "row-end": [{
864
- "row-end": b()
865
- }],
866
- /**
867
- * Grid Auto Flow
868
- * @see https://tailwindcss.com/docs/grid-auto-flow
869
- */
870
- "grid-flow": [{
871
- "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"]
872
- }],
873
- /**
874
- * Grid Auto Columns
875
- * @see https://tailwindcss.com/docs/grid-auto-columns
876
- */
877
- "auto-cols": [{
878
- "auto-cols": ["auto", "min", "max", "fr", f]
879
- }],
880
- /**
881
- * Grid Auto Rows
882
- * @see https://tailwindcss.com/docs/grid-auto-rows
883
- */
884
- "auto-rows": [{
885
- "auto-rows": ["auto", "min", "max", "fr", f]
886
- }],
887
- /**
888
- * Gap
889
- * @see https://tailwindcss.com/docs/gap
890
- */
891
- gap: [{
892
- gap: [C]
893
- }],
894
- /**
895
- * Gap X
896
- * @see https://tailwindcss.com/docs/gap
897
- */
898
- "gap-x": [{
899
- "gap-x": [C]
900
- }],
901
- /**
902
- * Gap Y
903
- * @see https://tailwindcss.com/docs/gap
904
- */
905
- "gap-y": [{
906
- "gap-y": [C]
907
- }],
908
- /**
909
- * Justify Content
910
- * @see https://tailwindcss.com/docs/justify-content
911
- */
912
- "justify-content": [{
913
- justify: ["normal", ...A()]
914
- }],
915
- /**
916
- * Justify Items
917
- * @see https://tailwindcss.com/docs/justify-items
918
- */
919
- "justify-items": [{
920
- "justify-items": ["start", "end", "center", "stretch"]
921
- }],
922
- /**
923
- * Justify Self
924
- * @see https://tailwindcss.com/docs/justify-self
925
- */
926
- "justify-self": [{
927
- "justify-self": ["auto", "start", "end", "center", "stretch"]
928
- }],
929
- /**
930
- * Align Content
931
- * @see https://tailwindcss.com/docs/align-content
932
- */
933
- "align-content": [{
934
- content: ["normal", ...A(), "baseline"]
935
- }],
936
- /**
937
- * Align Items
938
- * @see https://tailwindcss.com/docs/align-items
939
- */
940
- "align-items": [{
941
- items: ["start", "end", "center", "baseline", "stretch"]
942
- }],
943
- /**
944
- * Align Self
945
- * @see https://tailwindcss.com/docs/align-self
946
- */
947
- "align-self": [{
948
- self: ["auto", "start", "end", "center", "stretch", "baseline"]
949
- }],
950
- /**
951
- * Place Content
952
- * @see https://tailwindcss.com/docs/place-content
953
- */
954
- "place-content": [{
955
- "place-content": [...A(), "baseline"]
956
- }],
957
- /**
958
- * Place Items
959
- * @see https://tailwindcss.com/docs/place-items
960
- */
961
- "place-items": [{
962
- "place-items": ["start", "end", "center", "baseline", "stretch"]
963
- }],
964
- /**
965
- * Place Self
966
- * @see https://tailwindcss.com/docs/place-self
967
- */
968
- "place-self": [{
969
- "place-self": ["auto", "start", "end", "center", "stretch"]
970
- }],
971
- // Spacing
972
- /**
973
- * Padding
974
- * @see https://tailwindcss.com/docs/padding
975
- */
976
- p: [{
977
- p: [p]
978
- }],
979
- /**
980
- * Padding X
981
- * @see https://tailwindcss.com/docs/padding
982
- */
983
- px: [{
984
- px: [p]
985
- }],
986
- /**
987
- * Padding Y
988
- * @see https://tailwindcss.com/docs/padding
989
- */
990
- py: [{
991
- py: [p]
992
- }],
993
- /**
994
- * Padding Start
995
- * @see https://tailwindcss.com/docs/padding
996
- */
997
- ps: [{
998
- ps: [p]
999
- }],
1000
- /**
1001
- * Padding End
1002
- * @see https://tailwindcss.com/docs/padding
1003
- */
1004
- pe: [{
1005
- pe: [p]
1006
- }],
1007
- /**
1008
- * Padding Top
1009
- * @see https://tailwindcss.com/docs/padding
1010
- */
1011
- pt: [{
1012
- pt: [p]
1013
- }],
1014
- /**
1015
- * Padding Right
1016
- * @see https://tailwindcss.com/docs/padding
1017
- */
1018
- pr: [{
1019
- pr: [p]
1020
- }],
1021
- /**
1022
- * Padding Bottom
1023
- * @see https://tailwindcss.com/docs/padding
1024
- */
1025
- pb: [{
1026
- pb: [p]
1027
- }],
1028
- /**
1029
- * Padding Left
1030
- * @see https://tailwindcss.com/docs/padding
1031
- */
1032
- pl: [{
1033
- pl: [p]
1034
- }],
1035
- /**
1036
- * Margin
1037
- * @see https://tailwindcss.com/docs/margin
1038
- */
1039
- m: [{
1040
- m: [h]
1041
- }],
1042
- /**
1043
- * Margin X
1044
- * @see https://tailwindcss.com/docs/margin
1045
- */
1046
- mx: [{
1047
- mx: [h]
1048
- }],
1049
- /**
1050
- * Margin Y
1051
- * @see https://tailwindcss.com/docs/margin
1052
- */
1053
- my: [{
1054
- my: [h]
1055
- }],
1056
- /**
1057
- * Margin Start
1058
- * @see https://tailwindcss.com/docs/margin
1059
- */
1060
- ms: [{
1061
- ms: [h]
1062
- }],
1063
- /**
1064
- * Margin End
1065
- * @see https://tailwindcss.com/docs/margin
1066
- */
1067
- me: [{
1068
- me: [h]
1069
- }],
1070
- /**
1071
- * Margin Top
1072
- * @see https://tailwindcss.com/docs/margin
1073
- */
1074
- mt: [{
1075
- mt: [h]
1076
- }],
1077
- /**
1078
- * Margin Right
1079
- * @see https://tailwindcss.com/docs/margin
1080
- */
1081
- mr: [{
1082
- mr: [h]
1083
- }],
1084
- /**
1085
- * Margin Bottom
1086
- * @see https://tailwindcss.com/docs/margin
1087
- */
1088
- mb: [{
1089
- mb: [h]
1090
- }],
1091
- /**
1092
- * Margin Left
1093
- * @see https://tailwindcss.com/docs/margin
1094
- */
1095
- ml: [{
1096
- ml: [h]
1097
- }],
1098
- /**
1099
- * Space Between X
1100
- * @see https://tailwindcss.com/docs/space
1101
- */
1102
- "space-x": [{
1103
- "space-x": [O]
1104
- }],
1105
- /**
1106
- * Space Between X Reverse
1107
- * @see https://tailwindcss.com/docs/space
1108
- */
1109
- "space-x-reverse": ["space-x-reverse"],
1110
- /**
1111
- * Space Between Y
1112
- * @see https://tailwindcss.com/docs/space
1113
- */
1114
- "space-y": [{
1115
- "space-y": [O]
1116
- }],
1117
- /**
1118
- * Space Between Y Reverse
1119
- * @see https://tailwindcss.com/docs/space
1120
- */
1121
- "space-y-reverse": ["space-y-reverse"],
1122
- // Sizing
1123
- /**
1124
- * Width
1125
- * @see https://tailwindcss.com/docs/width
1126
- */
1127
- w: [{
1128
- w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", f, r]
1129
- }],
1130
- /**
1131
- * Min-Width
1132
- * @see https://tailwindcss.com/docs/min-width
1133
- */
1134
- "min-w": [{
1135
- "min-w": [f, r, "min", "max", "fit"]
1136
- }],
1137
- /**
1138
- * Max-Width
1139
- * @see https://tailwindcss.com/docs/max-width
1140
- */
1141
- "max-w": [{
1142
- "max-w": [f, r, "none", "full", "min", "max", "fit", "prose", {
1143
- screen: [K]
1144
- }, K]
1145
- }],
1146
- /**
1147
- * Height
1148
- * @see https://tailwindcss.com/docs/height
1149
- */
1150
- h: [{
1151
- h: [f, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
1152
- }],
1153
- /**
1154
- * Min-Height
1155
- * @see https://tailwindcss.com/docs/min-height
1156
- */
1157
- "min-h": [{
1158
- "min-h": [f, r, "min", "max", "fit", "svh", "lvh", "dvh"]
1159
- }],
1160
- /**
1161
- * Max-Height
1162
- * @see https://tailwindcss.com/docs/max-height
1163
- */
1164
- "max-h": [{
1165
- "max-h": [f, r, "min", "max", "fit", "svh", "lvh", "dvh"]
1166
- }],
1167
- /**
1168
- * Size
1169
- * @see https://tailwindcss.com/docs/size
1170
- */
1171
- size: [{
1172
- size: [f, r, "auto", "min", "max", "fit"]
1173
- }],
1174
- // Typography
1175
- /**
1176
- * Font Size
1177
- * @see https://tailwindcss.com/docs/font-size
1178
- */
1179
- "font-size": [{
1180
- text: ["base", K, q]
1181
- }],
1182
- /**
1183
- * Font Smoothing
1184
- * @see https://tailwindcss.com/docs/font-smoothing
1185
- */
1186
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
1187
- /**
1188
- * Font Style
1189
- * @see https://tailwindcss.com/docs/font-style
1190
- */
1191
- "font-style": ["italic", "not-italic"],
1192
- /**
1193
- * Font Weight
1194
- * @see https://tailwindcss.com/docs/font-weight
1195
- */
1196
- "font-weight": [{
1197
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", Me]
1198
- }],
1199
- /**
1200
- * Font Family
1201
- * @see https://tailwindcss.com/docs/font-family
1202
- */
1203
- "font-family": [{
1204
- font: [fe]
1205
- }],
1206
- /**
1207
- * Font Variant Numeric
1208
- * @see https://tailwindcss.com/docs/font-variant-numeric
1209
- */
1210
- "fvn-normal": ["normal-nums"],
1211
- /**
1212
- * Font Variant Numeric
1213
- * @see https://tailwindcss.com/docs/font-variant-numeric
1214
- */
1215
- "fvn-ordinal": ["ordinal"],
1216
- /**
1217
- * Font Variant Numeric
1218
- * @see https://tailwindcss.com/docs/font-variant-numeric
1219
- */
1220
- "fvn-slashed-zero": ["slashed-zero"],
1221
- /**
1222
- * Font Variant Numeric
1223
- * @see https://tailwindcss.com/docs/font-variant-numeric
1224
- */
1225
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
1226
- /**
1227
- * Font Variant Numeric
1228
- * @see https://tailwindcss.com/docs/font-variant-numeric
1229
- */
1230
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
1231
- /**
1232
- * Font Variant Numeric
1233
- * @see https://tailwindcss.com/docs/font-variant-numeric
1234
- */
1235
- "fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
1236
- /**
1237
- * Letter Spacing
1238
- * @see https://tailwindcss.com/docs/letter-spacing
1239
- */
1240
- tracking: [{
1241
- tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", f]
1242
- }],
1243
- /**
1244
- * Line Clamp
1245
- * @see https://tailwindcss.com/docs/line-clamp
1246
- */
1247
- "line-clamp": [{
1248
- "line-clamp": ["none", re, Me]
1249
- }],
1250
- /**
1251
- * Line Height
1252
- * @see https://tailwindcss.com/docs/line-height
1253
- */
1254
- leading: [{
1255
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", W, f]
1256
- }],
1257
- /**
1258
- * List Style Image
1259
- * @see https://tailwindcss.com/docs/list-style-image
1260
- */
1261
- "list-image": [{
1262
- "list-image": ["none", f]
1263
- }],
1264
- /**
1265
- * List Style Type
1266
- * @see https://tailwindcss.com/docs/list-style-type
1267
- */
1268
- "list-style-type": [{
1269
- list: ["none", "disc", "decimal", f]
1270
- }],
1271
- /**
1272
- * List Style Position
1273
- * @see https://tailwindcss.com/docs/list-style-position
1274
- */
1275
- "list-style-position": [{
1276
- list: ["inside", "outside"]
1277
- }],
1278
- /**
1279
- * Placeholder Color
1280
- * @deprecated since Tailwind CSS v3.0.0
1281
- * @see https://tailwindcss.com/docs/placeholder-color
1282
- */
1283
- "placeholder-color": [{
1284
- placeholder: [e]
1285
- }],
1286
- /**
1287
- * Placeholder Opacity
1288
- * @see https://tailwindcss.com/docs/placeholder-opacity
1289
- */
1290
- "placeholder-opacity": [{
1291
- "placeholder-opacity": [g]
1292
- }],
1293
- /**
1294
- * Text Alignment
1295
- * @see https://tailwindcss.com/docs/text-align
1296
- */
1297
- "text-alignment": [{
1298
- text: ["left", "center", "right", "justify", "start", "end"]
1299
- }],
1300
- /**
1301
- * Text Color
1302
- * @see https://tailwindcss.com/docs/text-color
1303
- */
1304
- "text-color": [{
1305
- text: [e]
1306
- }],
1307
- /**
1308
- * Text Opacity
1309
- * @see https://tailwindcss.com/docs/text-opacity
1310
- */
1311
- "text-opacity": [{
1312
- "text-opacity": [g]
1313
- }],
1314
- /**
1315
- * Text Decoration
1316
- * @see https://tailwindcss.com/docs/text-decoration
1317
- */
1318
- "text-decoration": ["underline", "overline", "line-through", "no-underline"],
1319
- /**
1320
- * Text Decoration Style
1321
- * @see https://tailwindcss.com/docs/text-decoration-style
1322
- */
1323
- "text-decoration-style": [{
1324
- decoration: [...y(), "wavy"]
1325
- }],
1326
- /**
1327
- * Text Decoration Thickness
1328
- * @see https://tailwindcss.com/docs/text-decoration-thickness
1329
- */
1330
- "text-decoration-thickness": [{
1331
- decoration: ["auto", "from-font", W, q]
1332
- }],
1333
- /**
1334
- * Text Underline Offset
1335
- * @see https://tailwindcss.com/docs/text-underline-offset
1336
- */
1337
- "underline-offset": [{
1338
- "underline-offset": ["auto", W, f]
1339
- }],
1340
- /**
1341
- * Text Decoration Color
1342
- * @see https://tailwindcss.com/docs/text-decoration-color
1343
- */
1344
- "text-decoration-color": [{
1345
- decoration: [e]
1346
- }],
1347
- /**
1348
- * Text Transform
1349
- * @see https://tailwindcss.com/docs/text-transform
1350
- */
1351
- "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
1352
- /**
1353
- * Text Overflow
1354
- * @see https://tailwindcss.com/docs/text-overflow
1355
- */
1356
- "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
1357
- /**
1358
- * Text Wrap
1359
- * @see https://tailwindcss.com/docs/text-wrap
1360
- */
1361
- "text-wrap": [{
1362
- text: ["wrap", "nowrap", "balance", "pretty"]
1363
- }],
1364
- /**
1365
- * Text Indent
1366
- * @see https://tailwindcss.com/docs/text-indent
1367
- */
1368
- indent: [{
1369
- indent: i()
1370
- }],
1371
- /**
1372
- * Vertical Alignment
1373
- * @see https://tailwindcss.com/docs/vertical-align
1374
- */
1375
- "vertical-align": [{
1376
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", f]
1377
- }],
1378
- /**
1379
- * Whitespace
1380
- * @see https://tailwindcss.com/docs/whitespace
1381
- */
1382
- whitespace: [{
1383
- whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"]
1384
- }],
1385
- /**
1386
- * Word Break
1387
- * @see https://tailwindcss.com/docs/word-break
1388
- */
1389
- break: [{
1390
- break: ["normal", "words", "all", "keep"]
1391
- }],
1392
- /**
1393
- * Hyphens
1394
- * @see https://tailwindcss.com/docs/hyphens
1395
- */
1396
- hyphens: [{
1397
- hyphens: ["none", "manual", "auto"]
1398
- }],
1399
- /**
1400
- * Content
1401
- * @see https://tailwindcss.com/docs/content
1402
- */
1403
- content: [{
1404
- content: ["none", f]
1405
- }],
1406
- // Backgrounds
1407
- /**
1408
- * Background Attachment
1409
- * @see https://tailwindcss.com/docs/background-attachment
1410
- */
1411
- "bg-attachment": [{
1412
- bg: ["fixed", "local", "scroll"]
1413
- }],
1414
- /**
1415
- * Background Clip
1416
- * @see https://tailwindcss.com/docs/background-clip
1417
- */
1418
- "bg-clip": [{
1419
- "bg-clip": ["border", "padding", "content", "text"]
1420
- }],
1421
- /**
1422
- * Background Opacity
1423
- * @deprecated since Tailwind CSS v3.0.0
1424
- * @see https://tailwindcss.com/docs/background-opacity
1425
- */
1426
- "bg-opacity": [{
1427
- "bg-opacity": [g]
1428
- }],
1429
- /**
1430
- * Background Origin
1431
- * @see https://tailwindcss.com/docs/background-origin
1432
- */
1433
- "bg-origin": [{
1434
- "bg-origin": ["border", "padding", "content"]
1435
- }],
1436
- /**
1437
- * Background Position
1438
- * @see https://tailwindcss.com/docs/background-position
1439
- */
1440
- "bg-position": [{
1441
- bg: [...x(), nr]
1442
- }],
1443
- /**
1444
- * Background Repeat
1445
- * @see https://tailwindcss.com/docs/background-repeat
1446
- */
1447
- "bg-repeat": [{
1448
- bg: ["no-repeat", {
1449
- repeat: ["", "x", "y", "round", "space"]
1450
- }]
1451
- }],
1452
- /**
1453
- * Background Size
1454
- * @see https://tailwindcss.com/docs/background-size
1455
- */
1456
- "bg-size": [{
1457
- bg: ["auto", "cover", "contain", sr]
1458
- }],
1459
- /**
1460
- * Background Image
1461
- * @see https://tailwindcss.com/docs/background-image
1462
- */
1463
- "bg-image": [{
1464
- bg: ["none", {
1465
- "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1466
- }, lr]
1467
- }],
1468
- /**
1469
- * Background Color
1470
- * @see https://tailwindcss.com/docs/background-color
1471
- */
1472
- "bg-color": [{
1473
- bg: [e]
1474
- }],
1475
- /**
1476
- * Gradient Color Stops From Position
1477
- * @see https://tailwindcss.com/docs/gradient-color-stops
1478
- */
1479
- "gradient-from-pos": [{
1480
- from: [z]
1481
- }],
1482
- /**
1483
- * Gradient Color Stops Via Position
1484
- * @see https://tailwindcss.com/docs/gradient-color-stops
1485
- */
1486
- "gradient-via-pos": [{
1487
- via: [z]
1488
- }],
1489
- /**
1490
- * Gradient Color Stops To Position
1491
- * @see https://tailwindcss.com/docs/gradient-color-stops
1492
- */
1493
- "gradient-to-pos": [{
1494
- to: [z]
1495
- }],
1496
- /**
1497
- * Gradient Color Stops From
1498
- * @see https://tailwindcss.com/docs/gradient-color-stops
1499
- */
1500
- "gradient-from": [{
1501
- from: [S]
1502
- }],
1503
- /**
1504
- * Gradient Color Stops Via
1505
- * @see https://tailwindcss.com/docs/gradient-color-stops
1506
- */
1507
- "gradient-via": [{
1508
- via: [S]
1509
- }],
1510
- /**
1511
- * Gradient Color Stops To
1512
- * @see https://tailwindcss.com/docs/gradient-color-stops
1513
- */
1514
- "gradient-to": [{
1515
- to: [S]
1516
- }],
1517
- // Borders
1518
- /**
1519
- * Border Radius
1520
- * @see https://tailwindcss.com/docs/border-radius
1521
- */
1522
- rounded: [{
1523
- rounded: [o]
1524
- }],
1525
- /**
1526
- * Border Radius Start
1527
- * @see https://tailwindcss.com/docs/border-radius
1528
- */
1529
- "rounded-s": [{
1530
- "rounded-s": [o]
1531
- }],
1532
- /**
1533
- * Border Radius End
1534
- * @see https://tailwindcss.com/docs/border-radius
1535
- */
1536
- "rounded-e": [{
1537
- "rounded-e": [o]
1538
- }],
1539
- /**
1540
- * Border Radius Top
1541
- * @see https://tailwindcss.com/docs/border-radius
1542
- */
1543
- "rounded-t": [{
1544
- "rounded-t": [o]
1545
- }],
1546
- /**
1547
- * Border Radius Right
1548
- * @see https://tailwindcss.com/docs/border-radius
1549
- */
1550
- "rounded-r": [{
1551
- "rounded-r": [o]
1552
- }],
1553
- /**
1554
- * Border Radius Bottom
1555
- * @see https://tailwindcss.com/docs/border-radius
1556
- */
1557
- "rounded-b": [{
1558
- "rounded-b": [o]
1559
- }],
1560
- /**
1561
- * Border Radius Left
1562
- * @see https://tailwindcss.com/docs/border-radius
1563
- */
1564
- "rounded-l": [{
1565
- "rounded-l": [o]
1566
- }],
1567
- /**
1568
- * Border Radius Start Start
1569
- * @see https://tailwindcss.com/docs/border-radius
1570
- */
1571
- "rounded-ss": [{
1572
- "rounded-ss": [o]
1573
- }],
1574
- /**
1575
- * Border Radius Start End
1576
- * @see https://tailwindcss.com/docs/border-radius
1577
- */
1578
- "rounded-se": [{
1579
- "rounded-se": [o]
1580
- }],
1581
- /**
1582
- * Border Radius End End
1583
- * @see https://tailwindcss.com/docs/border-radius
1584
- */
1585
- "rounded-ee": [{
1586
- "rounded-ee": [o]
1587
- }],
1588
- /**
1589
- * Border Radius End Start
1590
- * @see https://tailwindcss.com/docs/border-radius
1591
- */
1592
- "rounded-es": [{
1593
- "rounded-es": [o]
1594
- }],
1595
- /**
1596
- * Border Radius Top Left
1597
- * @see https://tailwindcss.com/docs/border-radius
1598
- */
1599
- "rounded-tl": [{
1600
- "rounded-tl": [o]
1601
- }],
1602
- /**
1603
- * Border Radius Top Right
1604
- * @see https://tailwindcss.com/docs/border-radius
1605
- */
1606
- "rounded-tr": [{
1607
- "rounded-tr": [o]
1608
- }],
1609
- /**
1610
- * Border Radius Bottom Right
1611
- * @see https://tailwindcss.com/docs/border-radius
1612
- */
1613
- "rounded-br": [{
1614
- "rounded-br": [o]
1615
- }],
1616
- /**
1617
- * Border Radius Bottom Left
1618
- * @see https://tailwindcss.com/docs/border-radius
1619
- */
1620
- "rounded-bl": [{
1621
- "rounded-bl": [o]
1622
- }],
1623
- /**
1624
- * Border Width
1625
- * @see https://tailwindcss.com/docs/border-width
1626
- */
1627
- "border-w": [{
1628
- border: [s]
1629
- }],
1630
- /**
1631
- * Border Width X
1632
- * @see https://tailwindcss.com/docs/border-width
1633
- */
1634
- "border-w-x": [{
1635
- "border-x": [s]
1636
- }],
1637
- /**
1638
- * Border Width Y
1639
- * @see https://tailwindcss.com/docs/border-width
1640
- */
1641
- "border-w-y": [{
1642
- "border-y": [s]
1643
- }],
1644
- /**
1645
- * Border Width Start
1646
- * @see https://tailwindcss.com/docs/border-width
1647
- */
1648
- "border-w-s": [{
1649
- "border-s": [s]
1650
- }],
1651
- /**
1652
- * Border Width End
1653
- * @see https://tailwindcss.com/docs/border-width
1654
- */
1655
- "border-w-e": [{
1656
- "border-e": [s]
1657
- }],
1658
- /**
1659
- * Border Width Top
1660
- * @see https://tailwindcss.com/docs/border-width
1661
- */
1662
- "border-w-t": [{
1663
- "border-t": [s]
1664
- }],
1665
- /**
1666
- * Border Width Right
1667
- * @see https://tailwindcss.com/docs/border-width
1668
- */
1669
- "border-w-r": [{
1670
- "border-r": [s]
1671
- }],
1672
- /**
1673
- * Border Width Bottom
1674
- * @see https://tailwindcss.com/docs/border-width
1675
- */
1676
- "border-w-b": [{
1677
- "border-b": [s]
1678
- }],
1679
- /**
1680
- * Border Width Left
1681
- * @see https://tailwindcss.com/docs/border-width
1682
- */
1683
- "border-w-l": [{
1684
- "border-l": [s]
1685
- }],
1686
- /**
1687
- * Border Opacity
1688
- * @see https://tailwindcss.com/docs/border-opacity
1689
- */
1690
- "border-opacity": [{
1691
- "border-opacity": [g]
1692
- }],
1693
- /**
1694
- * Border Style
1695
- * @see https://tailwindcss.com/docs/border-style
1696
- */
1697
- "border-style": [{
1698
- border: [...y(), "hidden"]
1699
- }],
1700
- /**
1701
- * Divide Width X
1702
- * @see https://tailwindcss.com/docs/divide-width
1703
- */
1704
- "divide-x": [{
1705
- "divide-x": [s]
1706
- }],
1707
- /**
1708
- * Divide Width X Reverse
1709
- * @see https://tailwindcss.com/docs/divide-width
1710
- */
1711
- "divide-x-reverse": ["divide-x-reverse"],
1712
- /**
1713
- * Divide Width Y
1714
- * @see https://tailwindcss.com/docs/divide-width
1715
- */
1716
- "divide-y": [{
1717
- "divide-y": [s]
1718
- }],
1719
- /**
1720
- * Divide Width Y Reverse
1721
- * @see https://tailwindcss.com/docs/divide-width
1722
- */
1723
- "divide-y-reverse": ["divide-y-reverse"],
1724
- /**
1725
- * Divide Opacity
1726
- * @see https://tailwindcss.com/docs/divide-opacity
1727
- */
1728
- "divide-opacity": [{
1729
- "divide-opacity": [g]
1730
- }],
1731
- /**
1732
- * Divide Style
1733
- * @see https://tailwindcss.com/docs/divide-style
1734
- */
1735
- "divide-style": [{
1736
- divide: y()
1737
- }],
1738
- /**
1739
- * Border Color
1740
- * @see https://tailwindcss.com/docs/border-color
1741
- */
1742
- "border-color": [{
1743
- border: [l]
1744
- }],
1745
- /**
1746
- * Border Color X
1747
- * @see https://tailwindcss.com/docs/border-color
1748
- */
1749
- "border-color-x": [{
1750
- "border-x": [l]
1751
- }],
1752
- /**
1753
- * Border Color Y
1754
- * @see https://tailwindcss.com/docs/border-color
1755
- */
1756
- "border-color-y": [{
1757
- "border-y": [l]
1758
- }],
1759
- /**
1760
- * Border Color S
1761
- * @see https://tailwindcss.com/docs/border-color
1762
- */
1763
- "border-color-s": [{
1764
- "border-s": [l]
1765
- }],
1766
- /**
1767
- * Border Color E
1768
- * @see https://tailwindcss.com/docs/border-color
1769
- */
1770
- "border-color-e": [{
1771
- "border-e": [l]
1772
- }],
1773
- /**
1774
- * Border Color Top
1775
- * @see https://tailwindcss.com/docs/border-color
1776
- */
1777
- "border-color-t": [{
1778
- "border-t": [l]
1779
- }],
1780
- /**
1781
- * Border Color Right
1782
- * @see https://tailwindcss.com/docs/border-color
1783
- */
1784
- "border-color-r": [{
1785
- "border-r": [l]
1786
- }],
1787
- /**
1788
- * Border Color Bottom
1789
- * @see https://tailwindcss.com/docs/border-color
1790
- */
1791
- "border-color-b": [{
1792
- "border-b": [l]
1793
- }],
1794
- /**
1795
- * Border Color Left
1796
- * @see https://tailwindcss.com/docs/border-color
1797
- */
1798
- "border-color-l": [{
1799
- "border-l": [l]
1800
- }],
1801
- /**
1802
- * Divide Color
1803
- * @see https://tailwindcss.com/docs/divide-color
1804
- */
1805
- "divide-color": [{
1806
- divide: [l]
1807
- }],
1808
- /**
1809
- * Outline Style
1810
- * @see https://tailwindcss.com/docs/outline-style
1811
- */
1812
- "outline-style": [{
1813
- outline: ["", ...y()]
1814
- }],
1815
- /**
1816
- * Outline Offset
1817
- * @see https://tailwindcss.com/docs/outline-offset
1818
- */
1819
- "outline-offset": [{
1820
- "outline-offset": [W, f]
1821
- }],
1822
- /**
1823
- * Outline Width
1824
- * @see https://tailwindcss.com/docs/outline-width
1825
- */
1826
- "outline-w": [{
1827
- outline: [W, q]
1828
- }],
1829
- /**
1830
- * Outline Color
1831
- * @see https://tailwindcss.com/docs/outline-color
1832
- */
1833
- "outline-color": [{
1834
- outline: [e]
1835
- }],
1836
- /**
1837
- * Ring Width
1838
- * @see https://tailwindcss.com/docs/ring-width
1839
- */
1840
- "ring-w": [{
1841
- ring: v()
1842
- }],
1843
- /**
1844
- * Ring Width Inset
1845
- * @see https://tailwindcss.com/docs/ring-width
1846
- */
1847
- "ring-w-inset": ["ring-inset"],
1848
- /**
1849
- * Ring Color
1850
- * @see https://tailwindcss.com/docs/ring-color
1851
- */
1852
- "ring-color": [{
1853
- ring: [e]
1854
- }],
1855
- /**
1856
- * Ring Opacity
1857
- * @see https://tailwindcss.com/docs/ring-opacity
1858
- */
1859
- "ring-opacity": [{
1860
- "ring-opacity": [g]
1861
- }],
1862
- /**
1863
- * Ring Offset Width
1864
- * @see https://tailwindcss.com/docs/ring-offset-width
1865
- */
1866
- "ring-offset-w": [{
1867
- "ring-offset": [W, q]
1868
- }],
1869
- /**
1870
- * Ring Offset Color
1871
- * @see https://tailwindcss.com/docs/ring-offset-color
1872
- */
1873
- "ring-offset-color": [{
1874
- "ring-offset": [e]
1875
- }],
1876
- // Effects
1877
- /**
1878
- * Box Shadow
1879
- * @see https://tailwindcss.com/docs/box-shadow
1880
- */
1881
- shadow: [{
1882
- shadow: ["", "inner", "none", K, ir]
1883
- }],
1884
- /**
1885
- * Box Shadow Color
1886
- * @see https://tailwindcss.com/docs/box-shadow-color
1887
- */
1888
- "shadow-color": [{
1889
- shadow: [fe]
1890
- }],
1891
- /**
1892
- * Opacity
1893
- * @see https://tailwindcss.com/docs/opacity
1894
- */
1895
- opacity: [{
1896
- opacity: [g]
1897
- }],
1898
- /**
1899
- * Mix Blend Mode
1900
- * @see https://tailwindcss.com/docs/mix-blend-mode
1901
- */
1902
- "mix-blend": [{
1903
- "mix-blend": [...w(), "plus-lighter", "plus-darker"]
1904
- }],
1905
- /**
1906
- * Background Blend Mode
1907
- * @see https://tailwindcss.com/docs/background-blend-mode
1908
- */
1909
- "bg-blend": [{
1910
- "bg-blend": w()
1911
- }],
1912
- // Filters
1913
- /**
1914
- * Filter
1915
- * @deprecated since Tailwind CSS v3.0.0
1916
- * @see https://tailwindcss.com/docs/filter
1917
- */
1918
- filter: [{
1919
- filter: ["", "none"]
1920
- }],
1921
- /**
1922
- * Blur
1923
- * @see https://tailwindcss.com/docs/blur
1924
- */
1925
- blur: [{
1926
- blur: [t]
1927
- }],
1928
- /**
1929
- * Brightness
1930
- * @see https://tailwindcss.com/docs/brightness
1931
- */
1932
- brightness: [{
1933
- brightness: [n]
1934
- }],
1935
- /**
1936
- * Contrast
1937
- * @see https://tailwindcss.com/docs/contrast
1938
- */
1939
- contrast: [{
1940
- contrast: [d]
1941
- }],
1942
- /**
1943
- * Drop Shadow
1944
- * @see https://tailwindcss.com/docs/drop-shadow
1945
- */
1946
- "drop-shadow": [{
1947
- "drop-shadow": ["", "none", K, f]
1948
- }],
1949
- /**
1950
- * Grayscale
1951
- * @see https://tailwindcss.com/docs/grayscale
1952
- */
1953
- grayscale: [{
1954
- grayscale: [c]
1955
- }],
1956
- /**
1957
- * Hue Rotate
1958
- * @see https://tailwindcss.com/docs/hue-rotate
1959
- */
1960
- "hue-rotate": [{
1961
- "hue-rotate": [u]
1962
- }],
1963
- /**
1964
- * Invert
1965
- * @see https://tailwindcss.com/docs/invert
1966
- */
1967
- invert: [{
1968
- invert: [k]
1969
- }],
1970
- /**
1971
- * Saturate
1972
- * @see https://tailwindcss.com/docs/saturate
1973
- */
1974
- saturate: [{
1975
- saturate: [N]
1976
- }],
1977
- /**
1978
- * Sepia
1979
- * @see https://tailwindcss.com/docs/sepia
1980
- */
1981
- sepia: [{
1982
- sepia: [$]
1983
- }],
1984
- /**
1985
- * Backdrop Filter
1986
- * @deprecated since Tailwind CSS v3.0.0
1987
- * @see https://tailwindcss.com/docs/backdrop-filter
1988
- */
1989
- "backdrop-filter": [{
1990
- "backdrop-filter": ["", "none"]
1991
- }],
1992
- /**
1993
- * Backdrop Blur
1994
- * @see https://tailwindcss.com/docs/backdrop-blur
1995
- */
1996
- "backdrop-blur": [{
1997
- "backdrop-blur": [t]
1998
- }],
1999
- /**
2000
- * Backdrop Brightness
2001
- * @see https://tailwindcss.com/docs/backdrop-brightness
2002
- */
2003
- "backdrop-brightness": [{
2004
- "backdrop-brightness": [n]
2005
- }],
2006
- /**
2007
- * Backdrop Contrast
2008
- * @see https://tailwindcss.com/docs/backdrop-contrast
2009
- */
2010
- "backdrop-contrast": [{
2011
- "backdrop-contrast": [d]
2012
- }],
2013
- /**
2014
- * Backdrop Grayscale
2015
- * @see https://tailwindcss.com/docs/backdrop-grayscale
2016
- */
2017
- "backdrop-grayscale": [{
2018
- "backdrop-grayscale": [c]
2019
- }],
2020
- /**
2021
- * Backdrop Hue Rotate
2022
- * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2023
- */
2024
- "backdrop-hue-rotate": [{
2025
- "backdrop-hue-rotate": [u]
2026
- }],
2027
- /**
2028
- * Backdrop Invert
2029
- * @see https://tailwindcss.com/docs/backdrop-invert
2030
- */
2031
- "backdrop-invert": [{
2032
- "backdrop-invert": [k]
2033
- }],
2034
- /**
2035
- * Backdrop Opacity
2036
- * @see https://tailwindcss.com/docs/backdrop-opacity
2037
- */
2038
- "backdrop-opacity": [{
2039
- "backdrop-opacity": [g]
2040
- }],
2041
- /**
2042
- * Backdrop Saturate
2043
- * @see https://tailwindcss.com/docs/backdrop-saturate
2044
- */
2045
- "backdrop-saturate": [{
2046
- "backdrop-saturate": [N]
2047
- }],
2048
- /**
2049
- * Backdrop Sepia
2050
- * @see https://tailwindcss.com/docs/backdrop-sepia
2051
- */
2052
- "backdrop-sepia": [{
2053
- "backdrop-sepia": [$]
2054
- }],
2055
- // Tables
2056
- /**
2057
- * Border Collapse
2058
- * @see https://tailwindcss.com/docs/border-collapse
2059
- */
2060
- "border-collapse": [{
2061
- border: ["collapse", "separate"]
2062
- }],
2063
- /**
2064
- * Border Spacing
2065
- * @see https://tailwindcss.com/docs/border-spacing
2066
- */
2067
- "border-spacing": [{
2068
- "border-spacing": [a]
2069
- }],
2070
- /**
2071
- * Border Spacing X
2072
- * @see https://tailwindcss.com/docs/border-spacing
2073
- */
2074
- "border-spacing-x": [{
2075
- "border-spacing-x": [a]
2076
- }],
2077
- /**
2078
- * Border Spacing Y
2079
- * @see https://tailwindcss.com/docs/border-spacing
2080
- */
2081
- "border-spacing-y": [{
2082
- "border-spacing-y": [a]
2083
- }],
2084
- /**
2085
- * Table Layout
2086
- * @see https://tailwindcss.com/docs/table-layout
2087
- */
2088
- "table-layout": [{
2089
- table: ["auto", "fixed"]
2090
- }],
2091
- /**
2092
- * Caption Side
2093
- * @see https://tailwindcss.com/docs/caption-side
2094
- */
2095
- caption: [{
2096
- caption: ["top", "bottom"]
2097
- }],
2098
- // Transitions and Animation
2099
- /**
2100
- * Tranisition Property
2101
- * @see https://tailwindcss.com/docs/transition-property
2102
- */
2103
- transition: [{
2104
- transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", f]
2105
- }],
2106
- /**
2107
- * Transition Duration
2108
- * @see https://tailwindcss.com/docs/transition-duration
2109
- */
2110
- duration: [{
2111
- duration: I()
2112
- }],
2113
- /**
2114
- * Transition Timing Function
2115
- * @see https://tailwindcss.com/docs/transition-timing-function
2116
- */
2117
- ease: [{
2118
- ease: ["linear", "in", "out", "in-out", f]
2119
- }],
2120
- /**
2121
- * Transition Delay
2122
- * @see https://tailwindcss.com/docs/transition-delay
2123
- */
2124
- delay: [{
2125
- delay: I()
2126
- }],
2127
- /**
2128
- * Animation
2129
- * @see https://tailwindcss.com/docs/animation
2130
- */
2131
- animate: [{
2132
- animate: ["none", "spin", "ping", "pulse", "bounce", f]
2133
- }],
2134
- // Transforms
2135
- /**
2136
- * Transform
2137
- * @see https://tailwindcss.com/docs/transform
2138
- */
2139
- transform: [{
2140
- transform: ["", "gpu", "none"]
2141
- }],
2142
- /**
2143
- * Scale
2144
- * @see https://tailwindcss.com/docs/scale
2145
- */
2146
- scale: [{
2147
- scale: [j]
2148
- }],
2149
- /**
2150
- * Scale X
2151
- * @see https://tailwindcss.com/docs/scale
2152
- */
2153
- "scale-x": [{
2154
- "scale-x": [j]
2155
- }],
2156
- /**
2157
- * Scale Y
2158
- * @see https://tailwindcss.com/docs/scale
2159
- */
2160
- "scale-y": [{
2161
- "scale-y": [j]
2162
- }],
2163
- /**
2164
- * Rotate
2165
- * @see https://tailwindcss.com/docs/rotate
2166
- */
2167
- rotate: [{
2168
- rotate: [pe, f]
2169
- }],
2170
- /**
2171
- * Translate X
2172
- * @see https://tailwindcss.com/docs/translate
2173
- */
2174
- "translate-x": [{
2175
- "translate-x": [ce]
2176
- }],
2177
- /**
2178
- * Translate Y
2179
- * @see https://tailwindcss.com/docs/translate
2180
- */
2181
- "translate-y": [{
2182
- "translate-y": [ce]
2183
- }],
2184
- /**
2185
- * Skew X
2186
- * @see https://tailwindcss.com/docs/skew
2187
- */
2188
- "skew-x": [{
2189
- "skew-x": [Q]
2190
- }],
2191
- /**
2192
- * Skew Y
2193
- * @see https://tailwindcss.com/docs/skew
2194
- */
2195
- "skew-y": [{
2196
- "skew-y": [Q]
2197
- }],
2198
- /**
2199
- * Transform Origin
2200
- * @see https://tailwindcss.com/docs/transform-origin
2201
- */
2202
- "transform-origin": [{
2203
- origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", f]
2204
- }],
2205
- // Interactivity
2206
- /**
2207
- * Accent Color
2208
- * @see https://tailwindcss.com/docs/accent-color
2209
- */
2210
- accent: [{
2211
- accent: ["auto", e]
2212
- }],
2213
- /**
2214
- * Appearance
2215
- * @see https://tailwindcss.com/docs/appearance
2216
- */
2217
- appearance: [{
2218
- appearance: ["none", "auto"]
2219
- }],
2220
- /**
2221
- * Cursor
2222
- * @see https://tailwindcss.com/docs/cursor
2223
- */
2224
- cursor: [{
2225
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", f]
2226
- }],
2227
- /**
2228
- * Caret Color
2229
- * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
2230
- */
2231
- "caret-color": [{
2232
- caret: [e]
2233
- }],
2234
- /**
2235
- * Pointer Events
2236
- * @see https://tailwindcss.com/docs/pointer-events
2237
- */
2238
- "pointer-events": [{
2239
- "pointer-events": ["none", "auto"]
2240
- }],
2241
- /**
2242
- * Resize
2243
- * @see https://tailwindcss.com/docs/resize
2244
- */
2245
- resize: [{
2246
- resize: ["none", "y", "x", ""]
2247
- }],
2248
- /**
2249
- * Scroll Behavior
2250
- * @see https://tailwindcss.com/docs/scroll-behavior
2251
- */
2252
- "scroll-behavior": [{
2253
- scroll: ["auto", "smooth"]
2254
- }],
2255
- /**
2256
- * Scroll Margin
2257
- * @see https://tailwindcss.com/docs/scroll-margin
2258
- */
2259
- "scroll-m": [{
2260
- "scroll-m": i()
2261
- }],
2262
- /**
2263
- * Scroll Margin X
2264
- * @see https://tailwindcss.com/docs/scroll-margin
2265
- */
2266
- "scroll-mx": [{
2267
- "scroll-mx": i()
2268
- }],
2269
- /**
2270
- * Scroll Margin Y
2271
- * @see https://tailwindcss.com/docs/scroll-margin
2272
- */
2273
- "scroll-my": [{
2274
- "scroll-my": i()
2275
- }],
2276
- /**
2277
- * Scroll Margin Start
2278
- * @see https://tailwindcss.com/docs/scroll-margin
2279
- */
2280
- "scroll-ms": [{
2281
- "scroll-ms": i()
2282
- }],
2283
- /**
2284
- * Scroll Margin End
2285
- * @see https://tailwindcss.com/docs/scroll-margin
2286
- */
2287
- "scroll-me": [{
2288
- "scroll-me": i()
2289
- }],
2290
- /**
2291
- * Scroll Margin Top
2292
- * @see https://tailwindcss.com/docs/scroll-margin
2293
- */
2294
- "scroll-mt": [{
2295
- "scroll-mt": i()
2296
- }],
2297
- /**
2298
- * Scroll Margin Right
2299
- * @see https://tailwindcss.com/docs/scroll-margin
2300
- */
2301
- "scroll-mr": [{
2302
- "scroll-mr": i()
2303
- }],
2304
- /**
2305
- * Scroll Margin Bottom
2306
- * @see https://tailwindcss.com/docs/scroll-margin
2307
- */
2308
- "scroll-mb": [{
2309
- "scroll-mb": i()
2310
- }],
2311
- /**
2312
- * Scroll Margin Left
2313
- * @see https://tailwindcss.com/docs/scroll-margin
2314
- */
2315
- "scroll-ml": [{
2316
- "scroll-ml": i()
2317
- }],
2318
- /**
2319
- * Scroll Padding
2320
- * @see https://tailwindcss.com/docs/scroll-padding
2321
- */
2322
- "scroll-p": [{
2323
- "scroll-p": i()
2324
- }],
2325
- /**
2326
- * Scroll Padding X
2327
- * @see https://tailwindcss.com/docs/scroll-padding
2328
- */
2329
- "scroll-px": [{
2330
- "scroll-px": i()
2331
- }],
2332
- /**
2333
- * Scroll Padding Y
2334
- * @see https://tailwindcss.com/docs/scroll-padding
2335
- */
2336
- "scroll-py": [{
2337
- "scroll-py": i()
2338
- }],
2339
- /**
2340
- * Scroll Padding Start
2341
- * @see https://tailwindcss.com/docs/scroll-padding
2342
- */
2343
- "scroll-ps": [{
2344
- "scroll-ps": i()
2345
- }],
2346
- /**
2347
- * Scroll Padding End
2348
- * @see https://tailwindcss.com/docs/scroll-padding
2349
- */
2350
- "scroll-pe": [{
2351
- "scroll-pe": i()
2352
- }],
2353
- /**
2354
- * Scroll Padding Top
2355
- * @see https://tailwindcss.com/docs/scroll-padding
2356
- */
2357
- "scroll-pt": [{
2358
- "scroll-pt": i()
2359
- }],
2360
- /**
2361
- * Scroll Padding Right
2362
- * @see https://tailwindcss.com/docs/scroll-padding
2363
- */
2364
- "scroll-pr": [{
2365
- "scroll-pr": i()
2366
- }],
2367
- /**
2368
- * Scroll Padding Bottom
2369
- * @see https://tailwindcss.com/docs/scroll-padding
2370
- */
2371
- "scroll-pb": [{
2372
- "scroll-pb": i()
2373
- }],
2374
- /**
2375
- * Scroll Padding Left
2376
- * @see https://tailwindcss.com/docs/scroll-padding
2377
- */
2378
- "scroll-pl": [{
2379
- "scroll-pl": i()
2380
- }],
2381
- /**
2382
- * Scroll Snap Align
2383
- * @see https://tailwindcss.com/docs/scroll-snap-align
2384
- */
2385
- "snap-align": [{
2386
- snap: ["start", "end", "center", "align-none"]
2387
- }],
2388
- /**
2389
- * Scroll Snap Stop
2390
- * @see https://tailwindcss.com/docs/scroll-snap-stop
2391
- */
2392
- "snap-stop": [{
2393
- snap: ["normal", "always"]
2394
- }],
2395
- /**
2396
- * Scroll Snap Type
2397
- * @see https://tailwindcss.com/docs/scroll-snap-type
2398
- */
2399
- "snap-type": [{
2400
- snap: ["none", "x", "y", "both"]
2401
- }],
2402
- /**
2403
- * Scroll Snap Type Strictness
2404
- * @see https://tailwindcss.com/docs/scroll-snap-type
2405
- */
2406
- "snap-strictness": [{
2407
- snap: ["mandatory", "proximity"]
2408
- }],
2409
- /**
2410
- * Touch Action
2411
- * @see https://tailwindcss.com/docs/touch-action
2412
- */
2413
- touch: [{
2414
- touch: ["auto", "none", "manipulation"]
2415
- }],
2416
- /**
2417
- * Touch Action X
2418
- * @see https://tailwindcss.com/docs/touch-action
2419
- */
2420
- "touch-x": [{
2421
- "touch-pan": ["x", "left", "right"]
2422
- }],
2423
- /**
2424
- * Touch Action Y
2425
- * @see https://tailwindcss.com/docs/touch-action
2426
- */
2427
- "touch-y": [{
2428
- "touch-pan": ["y", "up", "down"]
2429
- }],
2430
- /**
2431
- * Touch Action Pinch Zoom
2432
- * @see https://tailwindcss.com/docs/touch-action
2433
- */
2434
- "touch-pz": ["touch-pinch-zoom"],
2435
- /**
2436
- * User Select
2437
- * @see https://tailwindcss.com/docs/user-select
2438
- */
2439
- select: [{
2440
- select: ["none", "text", "all", "auto"]
2441
- }],
2442
- /**
2443
- * Will Change
2444
- * @see https://tailwindcss.com/docs/will-change
2445
- */
2446
- "will-change": [{
2447
- "will-change": ["auto", "scroll", "contents", "transform", f]
2448
- }],
2449
- // SVG
2450
- /**
2451
- * Fill
2452
- * @see https://tailwindcss.com/docs/fill
2453
- */
2454
- fill: [{
2455
- fill: [e, "none"]
2456
- }],
2457
- /**
2458
- * Stroke Width
2459
- * @see https://tailwindcss.com/docs/stroke-width
2460
- */
2461
- "stroke-w": [{
2462
- stroke: [W, q, Me]
2463
- }],
2464
- /**
2465
- * Stroke
2466
- * @see https://tailwindcss.com/docs/stroke
2467
- */
2468
- stroke: [{
2469
- stroke: [e, "none"]
2470
- }],
2471
- // Accessibility
2472
- /**
2473
- * Screen Readers
2474
- * @see https://tailwindcss.com/docs/screen-readers
2475
- */
2476
- sr: ["sr-only", "not-sr-only"],
2477
- /**
2478
- * Forced Color Adjust
2479
- * @see https://tailwindcss.com/docs/forced-color-adjust
2480
- */
2481
- "forced-color-adjust": [{
2482
- "forced-color-adjust": ["auto", "none"]
2483
- }]
2484
- },
2485
- conflictingClassGroups: {
2486
- overflow: ["overflow-x", "overflow-y"],
2487
- overscroll: ["overscroll-x", "overscroll-y"],
2488
- inset: ["inset-x", "inset-y", "start", "end", "top", "right", "bottom", "left"],
2489
- "inset-x": ["right", "left"],
2490
- "inset-y": ["top", "bottom"],
2491
- flex: ["basis", "grow", "shrink"],
2492
- gap: ["gap-x", "gap-y"],
2493
- p: ["px", "py", "ps", "pe", "pt", "pr", "pb", "pl"],
2494
- px: ["pr", "pl"],
2495
- py: ["pt", "pb"],
2496
- m: ["mx", "my", "ms", "me", "mt", "mr", "mb", "ml"],
2497
- mx: ["mr", "ml"],
2498
- my: ["mt", "mb"],
2499
- size: ["w", "h"],
2500
- "font-size": ["leading"],
2501
- "fvn-normal": ["fvn-ordinal", "fvn-slashed-zero", "fvn-figure", "fvn-spacing", "fvn-fraction"],
2502
- "fvn-ordinal": ["fvn-normal"],
2503
- "fvn-slashed-zero": ["fvn-normal"],
2504
- "fvn-figure": ["fvn-normal"],
2505
- "fvn-spacing": ["fvn-normal"],
2506
- "fvn-fraction": ["fvn-normal"],
2507
- "line-clamp": ["display", "overflow"],
2508
- rounded: ["rounded-s", "rounded-e", "rounded-t", "rounded-r", "rounded-b", "rounded-l", "rounded-ss", "rounded-se", "rounded-ee", "rounded-es", "rounded-tl", "rounded-tr", "rounded-br", "rounded-bl"],
2509
- "rounded-s": ["rounded-ss", "rounded-es"],
2510
- "rounded-e": ["rounded-se", "rounded-ee"],
2511
- "rounded-t": ["rounded-tl", "rounded-tr"],
2512
- "rounded-r": ["rounded-tr", "rounded-br"],
2513
- "rounded-b": ["rounded-br", "rounded-bl"],
2514
- "rounded-l": ["rounded-tl", "rounded-bl"],
2515
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
2516
- "border-w": ["border-w-s", "border-w-e", "border-w-t", "border-w-r", "border-w-b", "border-w-l"],
2517
- "border-w-x": ["border-w-r", "border-w-l"],
2518
- "border-w-y": ["border-w-t", "border-w-b"],
2519
- "border-color": ["border-color-s", "border-color-e", "border-color-t", "border-color-r", "border-color-b", "border-color-l"],
2520
- "border-color-x": ["border-color-r", "border-color-l"],
2521
- "border-color-y": ["border-color-t", "border-color-b"],
2522
- "scroll-m": ["scroll-mx", "scroll-my", "scroll-ms", "scroll-me", "scroll-mt", "scroll-mr", "scroll-mb", "scroll-ml"],
2523
- "scroll-mx": ["scroll-mr", "scroll-ml"],
2524
- "scroll-my": ["scroll-mt", "scroll-mb"],
2525
- "scroll-p": ["scroll-px", "scroll-py", "scroll-ps", "scroll-pe", "scroll-pt", "scroll-pr", "scroll-pb", "scroll-pl"],
2526
- "scroll-px": ["scroll-pr", "scroll-pl"],
2527
- "scroll-py": ["scroll-pt", "scroll-pb"],
2528
- touch: ["touch-x", "touch-y", "touch-pz"],
2529
- "touch-x": ["touch"],
2530
- "touch-y": ["touch"],
2531
- "touch-pz": ["touch"]
2532
- },
2533
- conflictingClassGroupModifiers: {
2534
- "font-size": ["leading"]
2535
- }
2536
- };
2537
- }, pr = (e, {
2538
- cacheSize: r,
2539
- prefix: t,
2540
- separator: n,
2541
- experimentalParseClassName: l,
2542
- extend: o = {},
2543
- override: a = {}
2544
- }) => {
2545
- be(e, "cacheSize", r), be(e, "prefix", t), be(e, "separator", n), be(e, "experimentalParseClassName", l);
2546
- for (const s in a)
2547
- fr(e[s], a[s]);
2548
- for (const s in o)
2549
- gr(e[s], o[s]);
2550
- return e;
2551
- }, be = (e, r, t) => {
2552
- t !== void 0 && (e[r] = t);
2553
- }, fr = (e, r) => {
2554
- if (r)
2555
- for (const t in r)
2556
- be(e, t, r[t]);
2557
- }, gr = (e, r) => {
2558
- if (r)
2559
- for (const t in r) {
2560
- const n = r[t];
2561
- n !== void 0 && (e[t] = (e[t] || []).concat(n));
2562
- }
2563
- }, br = (e, ...r) => typeof e == "function" ? Ge(Pe, e, ...r) : Ge(() => pr(Pe(), e), ...r), hr = /* @__PURE__ */ Ge(Pe);
2564
- var mr = { twMerge: !0, twMergeConfig: {}, responsiveVariants: !1 }, st = (e) => e || void 0, ye = (...e) => st(Ye(e).filter(Boolean).join(" ")), _e = null, B = {}, Ne = !1, ge = (...e) => (r) => r.twMerge ? ((!_e || Ne) && (Ne = !1, _e = T(B) ? hr : br({ ...B, extend: { theme: B.theme, classGroups: B.classGroups, conflictingClassGroupModifiers: B.conflictingClassGroupModifiers, conflictingClassGroups: B.conflictingClassGroups, ...B.extend } })), st(_e(ye(e)))) : ye(e), Ue = (e, r) => {
2565
- for (let t in r) e.hasOwnProperty(t) ? e[t] = ye(e[t], r[t]) : e[t] = r[t];
2566
- return e;
2567
- }, nt = (e, r) => {
2568
- let { extend: t = null, slots: n = {}, variants: l = {}, compoundVariants: o = [], compoundSlots: a = [], defaultVariants: s = {} } = e, d = { ...mr, ...r }, c = t != null && t.base ? ye(t.base, e == null ? void 0 : e.base) : e == null ? void 0 : e.base, u = t != null && t.variants && !T(t.variants) ? Qe(l, t.variants) : l, k = t != null && t.defaultVariants && !T(t.defaultVariants) ? { ...t.defaultVariants, ...s } : s;
2569
- !T(d.twMergeConfig) && !Lt(d.twMergeConfig, B) && (Ne = !0, B = d.twMergeConfig);
2570
- let C = T(t == null ? void 0 : t.slots), S = T(n) ? {} : { base: ye(e == null ? void 0 : e.base, C && (t == null ? void 0 : t.base)), ...n }, z = C ? S : Ue({ ...t == null ? void 0 : t.slots }, T(S) ? { base: e == null ? void 0 : e.base } : S), m = T(t == null ? void 0 : t.compoundVariants) ? o : Ze(t == null ? void 0 : t.compoundVariants, o), h = (p) => {
2571
- if (T(u) && T(n) && C) return ge(c, p == null ? void 0 : p.class, p == null ? void 0 : p.className)(d);
2572
- if (m && !Array.isArray(m)) throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof m}`);
2573
- if (a && !Array.isArray(a)) throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof a}`);
2574
- let N = (i, v, b = [], x) => {
2575
- let y = b;
2576
- if (typeof v == "string") y = y.concat(Fe(v).split(" ").map((w) => `${i}:${w}`));
2577
- else if (Array.isArray(v)) y = y.concat(v.reduce((w, A) => w.concat(`${i}:${A}`), []));
2578
- else if (typeof v == "object" && typeof x == "string") {
2579
- for (let w in v) if (v.hasOwnProperty(w) && w === x) {
2580
- let A = v[w];
2581
- if (A && typeof A == "string") {
2582
- let M = Fe(A);
2583
- y[x] ? y[x] = y[x].concat(M.split(" ").map((G) => `${i}:${G}`)) : y[x] = M.split(" ").map((G) => `${i}:${G}`);
2584
- } else Array.isArray(A) && A.length > 0 && (y[x] = A.reduce((M, G) => M.concat(`${i}:${G}`), []));
2585
- }
2586
- }
2587
- return y;
2588
- }, j = (i, v = u, b = null, x = null) => {
2589
- var y;
2590
- let w = v[i];
2591
- if (!w || T(w)) return null;
2592
- let A = (y = x == null ? void 0 : x[i]) != null ? y : p == null ? void 0 : p[i];
2593
- if (A === null) return null;
2594
- let M = Oe(A), G = Array.isArray(d.responsiveVariants) && d.responsiveVariants.length > 0 || d.responsiveVariants === !0, I = k == null ? void 0 : k[i], E = [];
2595
- if (typeof M == "object" && G) for (let [Ae, Re] of Object.entries(M)) {
2596
- let it = w[Re];
2597
- if (Ae === "initial") {
2598
- I = Re;
2599
- continue;
2600
- }
2601
- Array.isArray(d.responsiveVariants) && !d.responsiveVariants.includes(Ae) || (E = N(Ae, it, E, b));
2602
- }
2603
- let xe = M != null && typeof M != "object" ? M : Oe(I), Ce = w[xe || "false"];
2604
- return typeof E == "object" && typeof b == "string" && E[b] ? Ue(E, Ce) : E.length > 0 ? (E.push(Ce), b === "base" ? E.join(" ") : E) : Ce;
2605
- }, $ = () => u ? Object.keys(u).map((i) => j(i, u)) : null, Q = (i, v) => {
2606
- if (!u || typeof u != "object") return null;
2607
- let b = new Array();
2608
- for (let x in u) {
2609
- let y = j(x, u, i, v), w = i === "base" && typeof y == "string" ? y : y && y[i];
2610
- w && (b[b.length] = w);
2611
- }
2612
- return b;
2613
- }, O = {};
2614
- for (let i in p) p[i] !== void 0 && (O[i] = p[i]);
2615
- let ce = (i, v) => {
2616
- var b;
2617
- let x = typeof (p == null ? void 0 : p[i]) == "object" ? { [i]: (b = p[i]) == null ? void 0 : b.initial } : {};
2618
- return { ...k, ...O, ...x, ...v };
2619
- }, D = (i = [], v) => {
2620
- let b = [];
2621
- for (let { class: x, className: y, ...w } of i) {
2622
- let A = !0;
2623
- for (let [M, G] of Object.entries(w)) {
2624
- let I = ce(M, v)[M];
2625
- if (Array.isArray(G)) {
2626
- if (!G.includes(I)) {
2627
- A = !1;
2628
- break;
2629
- }
2630
- } else {
2631
- let E = (xe) => xe == null || xe === !1;
2632
- if (E(G) && E(I)) continue;
2633
- if (I !== G) {
2634
- A = !1;
2635
- break;
2636
- }
2637
- }
2638
- }
2639
- A && (x && b.push(x), y && b.push(y));
2640
- }
2641
- return b;
2642
- }, de = (i) => {
2643
- let v = D(m, i);
2644
- if (!Array.isArray(v)) return v;
2645
- let b = {};
2646
- for (let x of v) if (typeof x == "string" && (b.base = ge(b.base, x)(d)), typeof x == "object") for (let [y, w] of Object.entries(x)) b[y] = ge(b[y], w)(d);
2647
- return b;
2648
- }, ue = (i) => {
2649
- if (a.length < 1) return null;
2650
- let v = {};
2651
- for (let { slots: b = [], class: x, className: y, ...w } of a) {
2652
- if (!T(w)) {
2653
- let A = !0;
2654
- for (let M of Object.keys(w)) {
2655
- let G = ce(M, i)[M];
2656
- if (G === void 0 || (Array.isArray(w[M]) ? !w[M].includes(G) : w[M] !== G)) {
2657
- A = !1;
2658
- break;
2659
- }
2660
- }
2661
- if (!A) continue;
2662
- }
2663
- for (let A of b) v[A] = v[A] || [], v[A].push([x, y]);
2664
- }
2665
- return v;
2666
- };
2667
- if (!T(n) || !C) {
2668
- let i = {};
2669
- if (typeof z == "object" && !T(z)) for (let v of Object.keys(z)) i[v] = (b) => {
2670
- var x, y;
2671
- return ge(z[v], Q(v, b), ((x = de(b)) != null ? x : [])[v], ((y = ue(b)) != null ? y : [])[v], b == null ? void 0 : b.class, b == null ? void 0 : b.className)(d);
2672
- };
2673
- return i;
2674
- }
2675
- return ge(c, $(), D(m), p == null ? void 0 : p.class, p == null ? void 0 : p.className)(d);
2676
- }, g = () => {
2677
- if (!(!u || typeof u != "object")) return Object.keys(u);
2678
- };
2679
- return h.variantKeys = g(), h.extend = t, h.base = c, h.slots = z, h.variants = u, h.defaultVariants = k, h.compoundSlots = a, h.compoundVariants = m, h;
2680
- }, vr = H("<li><!></li>"), yr = H("<li><!></li>"), xr = H("<ul></ul> <ul></ul>", 1);
2681
- function at(e, r) {
2682
- ae(r, !1);
2683
- const t = nt({
288
+ var Re = $("<li><!></li>"), De = $("<li><!></li>"), Ee = $("<ul></ul> <ul></ul>", 1);
289
+ function ne(d, e) {
290
+ I(e, !1);
291
+ const i = Y({
2684
292
  slots: {
2685
293
  list: "grid grid-rows-5 items-center gap-0 not-italic",
2686
294
  link: "flex h-full items-center"
2687
295
  }
2688
- }), { list: n, link: l } = t();
2689
- je();
2690
- var o = xr(), a = ze(o);
2691
- we(a, 5, () => Ee, ke, (d, c, u) => {
2692
- let k = () => L(c).href, C = () => L(c).title, S = () => L(c).text;
2693
- var z = Te(), m = ze(z);
296
+ }), { list: l, link: m } = i();
297
+ j();
298
+ var c = Ee(), f = W(c);
299
+ D(f, 5, () => ee, E, (r, t, v) => {
300
+ let o = () => h(t).href, w = () => h(t).attributes, x = () => h(t).text;
301
+ var b = J(), p = W(b);
2694
302
  {
2695
- var h = (g) => {
2696
- var p = vr(), N = R(p);
2697
- const j = he(l);
2698
- ne(N, {
2699
- get classes() {
2700
- return L(j);
2701
- },
2702
- get href() {
2703
- return k();
2704
- },
2705
- get title() {
2706
- return C();
2707
- },
2708
- children: ($, Q) => {
2709
- me();
2710
- var O = ve();
2711
- U(() => J(O, S())), P($, O);
303
+ var C = (a) => {
304
+ var _ = Re(), k = g(_);
305
+ const F = A(m);
306
+ P(k, K(
307
+ {
308
+ get class() {
309
+ return h(F);
310
+ },
311
+ get href() {
312
+ return o();
313
+ }
2712
314
  },
2713
- $$slots: { default: !0 }
2714
- }), V(p), P(g, p);
315
+ w,
316
+ {
317
+ children: (q, le) => {
318
+ O();
319
+ var G = R();
320
+ y(() => L(G, x())), u(q, G);
321
+ },
322
+ $$slots: { default: !0 }
323
+ }
324
+ )), n(_), u(a, _);
2715
325
  };
2716
- Se(m, (g) => {
2717
- u % 2 === 0 && g(h);
326
+ Z(p, (a) => {
327
+ v % 2 === 0 && a(C);
2718
328
  });
2719
329
  }
2720
- P(d, z);
2721
- }), V(a);
2722
- var s = F(a, 2);
2723
- we(s, 5, () => Ee, ke, (d, c, u) => {
2724
- let k = () => L(c).href, C = () => L(c).title, S = () => L(c).text;
2725
- var z = Te(), m = ze(z);
330
+ u(r, b);
331
+ }), n(f);
332
+ var s = M(f, 2);
333
+ D(s, 5, () => ee, E, (r, t, v) => {
334
+ let o = () => h(t).href, w = () => h(t).attributes, x = () => h(t).text;
335
+ var b = J(), p = W(b);
2726
336
  {
2727
- var h = (g) => {
2728
- var p = yr(), N = R(p);
2729
- const j = he(l);
2730
- ne(N, {
2731
- get classes() {
2732
- return L(j);
2733
- },
2734
- get href() {
2735
- return k();
2736
- },
2737
- get title() {
2738
- return C();
2739
- },
2740
- children: ($, Q) => {
2741
- me();
2742
- var O = ve();
2743
- U(() => J(O, S())), P($, O);
337
+ var C = (a) => {
338
+ var _ = De(), k = g(_);
339
+ const F = A(m);
340
+ P(k, K(
341
+ {
342
+ get class() {
343
+ return h(F);
344
+ },
345
+ get href() {
346
+ return o();
347
+ }
2744
348
  },
2745
- $$slots: { default: !0 }
2746
- }), V(p), P(g, p);
349
+ w,
350
+ {
351
+ children: (q, le) => {
352
+ O();
353
+ var G = R();
354
+ y(() => L(G, x())), u(q, G);
355
+ },
356
+ $$slots: { default: !0 }
357
+ }
358
+ )), n(_), u(a, _);
2747
359
  };
2748
- Se(m, (g) => {
2749
- u % 2 !== 0 && g(h);
360
+ Z(p, (a) => {
361
+ v % 2 !== 0 && a(C);
2750
362
  });
2751
363
  }
2752
- P(d, z);
2753
- }), V(s), U(
2754
- (d) => {
2755
- oe(a, 1, se(d)), oe(s, 1, se(d));
364
+ u(r, b);
365
+ }), n(s), y(
366
+ (r, t) => {
367
+ N(f, 1, r), N(s, 1, t);
2756
368
  },
2757
- [n],
2758
- he
2759
- ), P(e, o), le();
369
+ [
370
+ () => V(l()),
371
+ () => V(l())
372
+ ],
373
+ A
374
+ ), u(d, c), S();
2760
375
  }
2761
- X(at, {}, [], [], !0);
2762
- var wr = H('<address class="mt-6 grid grid-rows-5 items-center gap-0 not-italic md:col-[2] md:row-[1] md:mt-0 lg:col-[4] lg:row-[1]"><strong> </strong> <span> </span> <span> </span> <span> </span> <!></address>');
2763
- function lt(e, r) {
2764
- ae(r, !1), je();
2765
- var t = wr(), n = R(t), l = R(n, !0);
2766
- V(n);
2767
- var o = F(n, 2), a = R(o);
2768
- V(o);
2769
- var s = F(o, 2), d = R(s);
2770
- V(s);
2771
- var c = F(s, 2), u = R(c, !0);
2772
- V(c);
2773
- var k = F(c, 2);
2774
- const C = he(() => `tel:${ee.phoneNumber}`);
2775
- ne(k, {
376
+ z(ne, {}, [], [], !0);
377
+ var Ye = $('<address class="mt-6 grid grid-rows-5 items-center gap-0 not-italic md:col-[2] md:row-[1] md:mt-0 lg:col-[4] lg:row-[1]"><strong> </strong> <span> </span> <span> </span> <span> </span> <!></address>');
378
+ function ie(d, e) {
379
+ I(e, !1), j();
380
+ var i = Ye(), l = g(i), m = g(l, !0);
381
+ n(l);
382
+ var c = M(l, 2), f = g(c);
383
+ n(c);
384
+ var s = M(c, 2), r = g(s);
385
+ n(s);
386
+ var t = M(s, 2), v = g(t, !0);
387
+ n(t);
388
+ var o = M(t, 2);
389
+ const w = A(() => `tel:${H.phoneNumber}`);
390
+ P(o, {
2776
391
  get href() {
2777
- return L(C);
392
+ return h(w);
2778
393
  },
2779
- children: (S, z) => {
2780
- me();
2781
- var m = ve();
2782
- U(() => J(m, ee.phoneNumber)), P(S, m);
394
+ children: (x, b) => {
395
+ O();
396
+ var p = R();
397
+ y(() => L(p, H.phoneNumber)), u(x, p);
2783
398
  },
2784
399
  $$slots: { default: !0 }
2785
- }), V(t), U(() => {
2786
- J(l, ee.title), J(a, `${ee.street},`), J(d, `${ee.city}, Ontario, Canada`), J(u, ee.postalCode);
2787
- }), P(e, t), le();
400
+ }), n(i), y(() => {
401
+ L(m, H.title), L(f, `${H.street},`), L(r, `${H.city}, Ontario, Canada`), L(v, H.postalCode);
402
+ }), u(d, i), S();
2788
403
  }
2789
- X(lt, {}, [], [], !0);
2790
- var kr = H("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
2791
- function Cr(e, r) {
2792
- ae(r, !0);
2793
- let t = Y(r, "subFooter", 7);
2794
- const n = nt({
404
+ z(ie, {}, [], [], !0);
405
+ var qe = $("<footer><!> <div><div><!> <!> <!> <!></div> <!> <!></div></footer>");
406
+ function We(d, e) {
407
+ I(e, !0);
408
+ const i = Y({
2795
409
  slots: {
2796
410
  footer: "flex flex-col content-center gap-0 bg-black px-[max(calc((100%-1320px)/2),2rem)] py-12 text-black-contrast md:grid md:grid-cols-2 md:gap-6 lg:grid-cols-4",
2797
411
  wrapper: "mb-6 grid grid-rows-5 items-center gap-0 not-italic md:mb-0"
2798
412
  }
2799
- }), { footer: l, wrapper: o } = n();
2800
- var a = kr(), s = R(a);
413
+ });
414
+ let l = ye(Q([]));
415
+ Ce(() => {
416
+ const a = () => {
417
+ Me(l, Q(Array.from(e.$$host.children).filter((k) => k.tagName === "A").map((k) => ({
418
+ text: k.textContent ?? "",
419
+ href: k.getAttribute("href") ?? ""
420
+ }))));
421
+ };
422
+ a();
423
+ const _ = new MutationObserver(a);
424
+ return _.observe(e.$$host, { childList: !0, subtree: !0 }), () => {
425
+ _.disconnect();
426
+ };
427
+ });
428
+ const { footer: m, wrapper: c } = i();
429
+ var f = qe(), s = g(f);
2801
430
  {
2802
- var d = (g) => {
2803
- We(g, {
431
+ var r = (a) => {
432
+ te(a, {
2804
433
  get links() {
2805
- return t();
434
+ return h(l);
2806
435
  }
2807
436
  });
2808
437
  };
2809
- Se(s, (g) => {
2810
- Array.isArray(t()) && t().length > 0 && g(d);
438
+ Z(s, (a) => {
439
+ Array.isArray(h(l)) && h(l).length > 0 && a(r);
2811
440
  });
2812
441
  }
2813
- var c = F(s, 2), u = R(c), k = R(u);
2814
- Je(k);
2815
- var C = F(k, 2);
2816
- Ke(C, {});
2817
- var S = F(C, 2);
2818
- ne(S, {
442
+ var t = M(s, 2), v = g(t), o = g(v);
443
+ ae(o);
444
+ var w = M(o, 2);
445
+ oe(w, {});
446
+ var x = M(w, 2);
447
+ P(x, {
2819
448
  get href() {
2820
- return qe.directory;
449
+ return re.directory;
2821
450
  },
2822
- children: (g, p) => {
2823
- me();
2824
- var N = ve("Social Media Directory");
2825
- P(g, N);
451
+ children: (a, _) => {
452
+ O();
453
+ var k = R("Social Media Directory");
454
+ u(a, k);
2826
455
  },
2827
456
  $$slots: { default: !0 }
2828
457
  });
2829
- var z = F(S, 2);
2830
- ne(z, {
458
+ var b = M(x, 2);
459
+ P(b, {
2831
460
  href: "https://www.uoguelph.ca/web/",
2832
- children: (g, p) => {
2833
- me();
2834
- var N = ve();
2835
- U((j) => J(N, `© ${j ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), P(g, N);
461
+ children: (a, _) => {
462
+ O();
463
+ var k = R();
464
+ y((F) => L(k, `© ${F ?? ""} University of Guelph`), [() => (/* @__PURE__ */ new Date()).getFullYear()]), u(a, k);
2836
465
  },
2837
466
  $$slots: { default: !0 }
2838
- }), V(u);
2839
- var m = F(u, 2);
2840
- at(m, {});
2841
- var h = F(m, 2);
2842
- return lt(h, {}), V(c), V(a), U(
2843
- (g, p) => {
2844
- oe(c, 1, se(g)), oe(u, 1, se(p));
467
+ }), n(v);
468
+ var p = M(v, 2);
469
+ ne(p, {});
470
+ var C = M(p, 2);
471
+ ie(C, {}), n(t), n(f), y(
472
+ (a, _) => {
473
+ N(t, 1, a), N(v, 1, _);
2845
474
  },
2846
- [l, o]
2847
- ), P(e, a), le({
2848
- get subFooter() {
2849
- return t();
2850
- },
2851
- set subFooter(g) {
2852
- t(g), Z();
2853
- }
2854
- });
475
+ [
476
+ () => V(m()),
477
+ () => V(c())
478
+ ]
479
+ ), u(d, f), S();
2855
480
  }
2856
- customElements.define("uofg-footer", X(Cr, { subFooter: {} }, [], [], !0, (e) => class extends e {
481
+ customElements.define("uofg-footer", z(We, {}, [], [], !0, (d) => class extends d {
2857
482
  constructor() {
2858
- super(), wt(this.shadowRoot);
2859
- }
2860
- connectedCallback() {
2861
- super.connectedCallback(), this.updateSubFooter(), this.observer ?? (this.observer = new MutationObserver(() => {
2862
- this.updateSubFooter();
2863
- })), this.observer.observe(this, { childList: !0, subtree: !0 });
2864
- }
2865
- disconnectedCallback() {
2866
- super.disconnectedCallback(), this.observer.disconnect();
2867
- }
2868
- updateSubFooter() {
2869
- this.subFooter = Array.from(this.children).filter((r) => r.tagName === "A").map((r) => ({
2870
- text: r.textContent,
2871
- href: r.getAttribute("href")
2872
- }));
483
+ super(), $e(this.shadowRoot);
2873
484
  }
2874
485
  }));
2875
486
  export {
2876
- Cr as default
487
+ We as default
2877
488
  };