@ptlm-azulejo/segmented-control 0.1.2-alpha.99 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -14
- package/dist/index.js +62 -64
- package/dist/index.umd.cjs +1 -1
- package/dist/packages/SegmentedControl/src/index.vue.d.ts.map +1 -1
- package/package.json +1 -1
- package/CHANGELOG.md +0 -78
package/README.md
CHANGED
|
@@ -30,17 +30,17 @@ CSS variables at runtime. Those tokens come from `@ptlm-azulejo/themes`, and **t
|
|
|
30
30
|
brand is selected by a class on your app's `<html>` element**, so switching brand
|
|
31
31
|
never touches component code.
|
|
32
32
|
|
|
33
|
-
| Project
|
|
34
|
-
|
|
|
35
|
-
| Leroy Merlin | `@ptlm-azulejo/themes/presets/leroy-merlin.css` | `preset-lm`
|
|
36
|
-
| Adeo
|
|
33
|
+
| Project | Preset stylesheet | Root class | Typeface | Font package |
|
|
34
|
+
| ------------ | ----------------------------------------------- | ------------- | --------------- | ---------------------------------- |
|
|
35
|
+
| Leroy Merlin | `@ptlm-azulejo/themes/presets/leroy-merlin.css` | `preset-lm` | LeroyMerlinSans | `@ptlm-azulejo/fonts-leroy-merlin` |
|
|
36
|
+
| Adeo | `@ptlm-azulejo/themes/presets/adeo.css` | `preset-adeo` | Roboto | `@ptlm-azulejo/fonts-adeo` |
|
|
37
37
|
|
|
38
38
|
**Leroy Merlin projects**
|
|
39
39
|
|
|
40
40
|
```js
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import
|
|
41
|
+
import '@ptlm-azulejo/themes/presets/leroy-merlin.css'
|
|
42
|
+
import '@ptlm-azulejo/fonts-leroy-merlin'
|
|
43
|
+
import '@ptlm-azulejo/segmented-control/style.css'
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
```html
|
|
@@ -50,9 +50,9 @@ import "@ptlm-azulejo/segmented-control/style.css";
|
|
|
50
50
|
**Adeo projects**
|
|
51
51
|
|
|
52
52
|
```js
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import
|
|
53
|
+
import '@ptlm-azulejo/themes/presets/adeo.css'
|
|
54
|
+
import '@ptlm-azulejo/fonts-adeo'
|
|
55
|
+
import '@ptlm-azulejo/segmented-control/style.css'
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
```html
|
|
@@ -75,7 +75,7 @@ and the preset follows the OS `prefers-color-scheme`:
|
|
|
75
75
|
|
|
76
76
|
### Why the font package is separate
|
|
77
77
|
|
|
78
|
-
The preset only
|
|
78
|
+
The preset only _names_ its typeface in `--font-family` and ships no font files.
|
|
79
79
|
[Loading them is your app's job](../themes/README.md#fonts), as with upstream
|
|
80
80
|
Mozaic, so you keep control of hosting, subsetting and preload. Without the
|
|
81
81
|
matching font package, `font-sans` falls back to a generic sans-serif. A
|
|
@@ -98,10 +98,10 @@ only the active brand's file is ever downloaded.
|
|
|
98
98
|
|
|
99
99
|
```vue
|
|
100
100
|
<script setup>
|
|
101
|
-
import { ref } from
|
|
102
|
-
import { AzSegmentedControl } from
|
|
101
|
+
import { ref } from 'vue'
|
|
102
|
+
import { AzSegmentedControl } from '@ptlm-azulejo/segmented-control'
|
|
103
103
|
|
|
104
|
-
const view = ref(
|
|
104
|
+
const view = ref('list')
|
|
105
105
|
</script>
|
|
106
106
|
|
|
107
107
|
<template>
|
package/dist/index.js
CHANGED
|
@@ -2032,10 +2032,10 @@ function uc(t, r = {}, s, i) {
|
|
|
2032
2032
|
let [b, P, w = {}] = y;
|
|
2033
2033
|
w.at !== void 0 && (d = ks(d, w.at, f, h));
|
|
2034
2034
|
let V = 0;
|
|
2035
|
-
const S = (v, k, p, M = 0,
|
|
2035
|
+
const S = (v, k, p, M = 0, R = 0) => {
|
|
2036
2036
|
const j = hc(v), At = k, { delay: et = 0, times: K = Lo(j), type: St = "keyframes", repeat: q, repeatType: Z, repeatDelay: gt = 0 } = At, Wt = X(At, ["delay", "times", "type", "repeat", "repeatType", "repeatDelay"]);
|
|
2037
2037
|
let { ease: J = e.ease || "easeOut", duration: C } = k;
|
|
2038
|
-
const Kt = typeof et == "function" ? et(M,
|
|
2038
|
+
const Kt = typeof et == "function" ? et(M, R) : et, Yt = j.length, Ht = zn(St) ? St : i == null ? void 0 : i[St || "keyframes"];
|
|
2039
2039
|
if (Yt <= 2 && Ht) {
|
|
2040
2040
|
let yt = 100;
|
|
2041
2041
|
if (Yt === 2 && pc(j)) {
|
|
@@ -2073,9 +2073,9 @@ function uc(t, r = {}, s, i) {
|
|
|
2073
2073
|
const v = Vo(b, P, s, u), k = v.length;
|
|
2074
2074
|
for (let p = 0; p < k; p++) {
|
|
2075
2075
|
P = P, w = w;
|
|
2076
|
-
const M = v[p],
|
|
2076
|
+
const M = v[p], R = Vs(M, c);
|
|
2077
2077
|
for (const j in P)
|
|
2078
|
-
S(P[j], dc(w, j), Ms(j,
|
|
2078
|
+
S(P[j], dc(w, j), Ms(j, R), p, k);
|
|
2079
2079
|
}
|
|
2080
2080
|
}
|
|
2081
2081
|
f = d, d += V;
|
|
@@ -2086,8 +2086,8 @@ function uc(t, r = {}, s, i) {
|
|
|
2086
2086
|
P.sort(ac);
|
|
2087
2087
|
const w = [], V = [], S = [];
|
|
2088
2088
|
for (let k = 0; k < P.length; k++) {
|
|
2089
|
-
const { at: p, value: M, easing:
|
|
2090
|
-
w.push(M), V.push(/* @__PURE__ */ zt(0, m, p)), S.push(
|
|
2089
|
+
const { at: p, value: M, easing: R } = P[k];
|
|
2090
|
+
w.push(M), V.push(/* @__PURE__ */ zt(0, m, p)), S.push(R || "easeOut");
|
|
2091
2091
|
}
|
|
2092
2092
|
V[0] !== 0 && (V.unshift(0), w.unshift(w[0]), S.unshift(lc)), V[V.length - 1] !== 1 && (V.push(1), w.push(null)), l.has(y) || l.set(y, {
|
|
2093
2093
|
keyframes: {},
|
|
@@ -2452,8 +2452,8 @@ function wn({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: s = 3
|
|
|
2452
2452
|
const y = h + g, b = o === void 0 ? y : o(y);
|
|
2453
2453
|
b !== y && (g = b - h);
|
|
2454
2454
|
const P = (p) => -g * Math.exp(-p / s), w = (p) => b + P(p), V = (p) => {
|
|
2455
|
-
const M = P(p),
|
|
2456
|
-
f.done = Math.abs(M) <= c, f.value = f.done ? b :
|
|
2455
|
+
const M = P(p), R = w(p);
|
|
2456
|
+
f.done = Math.abs(M) <= c, f.value = f.done ? b : R;
|
|
2457
2457
|
};
|
|
2458
2458
|
let S, v;
|
|
2459
2459
|
const k = (p) => {
|
|
@@ -2643,8 +2643,8 @@ class Hn extends Yn {
|
|
|
2643
2643
|
let w = this.currentTime, V = s;
|
|
2644
2644
|
if (h) {
|
|
2645
2645
|
const p = Math.min(this.currentTime, i) / a;
|
|
2646
|
-
let M = Math.floor(p),
|
|
2647
|
-
!
|
|
2646
|
+
let M = Math.floor(p), R = p % 1;
|
|
2647
|
+
!R && p >= 1 && (R = 1), R === 1 && M--, M = Math.min(M, h + 1), !!(M % 2) && (f === "reverse" ? (R = 1 - R, d && (R -= d / a)) : f === "mirror" && (V = o)), w = ut(0, 1, R) * a;
|
|
2648
2648
|
}
|
|
2649
2649
|
const S = P ? { done: !1, value: u[0] } : V.next(w);
|
|
2650
2650
|
r && (S.value = r(S.value));
|
|
@@ -5928,12 +5928,12 @@ const Md = (t, e) => {
|
|
|
5928
5928
|
}, Zd = [], z = (t) => {
|
|
5929
5929
|
const e = (n) => n[t] || Zd;
|
|
5930
5930
|
return e.isThemeGetter = !0, e;
|
|
5931
|
-
}, Rr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Lr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Jd = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Qd = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tf = /\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$/, ef = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, nf = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, sf = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, vt = (t) => Jd.test(t),
|
|
5931
|
+
}, Rr = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Lr = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Jd = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Qd = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, tf = /\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$/, ef = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, nf = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, sf = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, vt = (t) => Jd.test(t), D = (t) => !!t && !Number.isNaN(Number(t)), at = (t) => !!t && Number.isInteger(Number(t)), rn = (t) => t.endsWith("%") && D(t.slice(0, -1)), dt = (t) => Qd.test(t), Br = () => !0, of = (t) => (
|
|
5932
5932
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
5933
5933
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
5934
5934
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
5935
5935
|
tf.test(t) && !ef.test(t)
|
|
5936
|
-
), ts = () => !1, rf = (t) => nf.test(t), af = (t) => sf.test(t), lf = (t) => !A(t) && !E(t), cf = (t) => t.startsWith("@container") && (t[10] === "/" && t[11] !== void 0 || t[11] === "s" && t[16] !== void 0 && t.startsWith("-size/", 10) || t[11] === "n" && t[18] !== void 0 && t.startsWith("-normal/", 10)), uf = (t) => Tt(t, Or, ts), A = (t) => Rr.test(t), Et = (t) => Tt(t, jr, of), _i = (t) => Tt(t, vf,
|
|
5936
|
+
), ts = () => !1, rf = (t) => nf.test(t), af = (t) => sf.test(t), lf = (t) => !A(t) && !E(t), cf = (t) => t.startsWith("@container") && (t[10] === "/" && t[11] !== void 0 || t[11] === "s" && t[16] !== void 0 && t.startsWith("-size/", 10) || t[11] === "n" && t[18] !== void 0 && t.startsWith("-normal/", 10)), uf = (t) => Tt(t, Or, ts), A = (t) => Rr.test(t), Et = (t) => Tt(t, jr, of), _i = (t) => Tt(t, vf, D), hf = (t) => Tt(t, Nr, Br), df = (t) => Tt(t, _r, ts), Ni = (t) => Tt(t, Ir, ts), ff = (t) => Tt(t, Fr, af), we = (t) => Tt(t, zr, rf), E = (t) => Lr.test(t), qt = (t) => Rt(t, jr), pf = (t) => Rt(t, _r), zi = (t) => Rt(t, Ir), mf = (t) => Rt(t, Or), gf = (t) => Rt(t, Fr), Te = (t) => Rt(t, zr, !0), yf = (t) => Rt(t, Nr, !0), Tt = (t, e, n) => {
|
|
5937
5937
|
const s = Rr.exec(t);
|
|
5938
5938
|
return s ? s[1] ? e(s[1]) : n(s[2]) : !1;
|
|
5939
5939
|
}, Rt = (t, e, n = !1) => {
|
|
@@ -5958,7 +5958,7 @@ const Md = (t, e) => {
|
|
|
5958
5958
|
"bottom-left",
|
|
5959
5959
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
5960
5960
|
"left-bottom"
|
|
5961
|
-
], S = () => [...V(), E, A], v = () => ["auto", "hidden", "clip", "visible", "scroll"], k = () => ["auto", "contain", "none"], p = () => [E, A, l], M = () => [vt, "full", "auto", ...p()],
|
|
5961
|
+
], S = () => [...V(), E, A], v = () => ["auto", "hidden", "clip", "visible", "scroll"], k = () => ["auto", "contain", "none"], p = () => [E, A, l], M = () => [vt, "full", "auto", ...p()], R = () => [at, "none", "subgrid", E, A], j = () => ["auto", {
|
|
5962
5962
|
span: ["full", at, E, A]
|
|
5963
5963
|
}, at, E, A], et = () => [at, "auto", E, A], K = () => ["auto", "min", "max", "fr", E, A], St = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], q = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], Z = () => ["auto", ...p()], gt = () => [vt, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...p()], Wt = () => [vt, "screen", "full", "dvw", "lvw", "svw", "min", "max", "fit", ...p()], J = () => [vt, "screen", "full", "lh", "dvh", "lvh", "svh", "min", "max", "fit", ...p()], C = () => [t, E, A], Kt = () => [...V(), zi, Ni, {
|
|
5964
5964
|
position: [E, A]
|
|
@@ -5974,14 +5974,14 @@ const Md = (t, e) => {
|
|
|
5974
5974
|
c,
|
|
5975
5975
|
E,
|
|
5976
5976
|
A
|
|
5977
|
-
], G = () => ["",
|
|
5977
|
+
], G = () => ["", D, qt, Et], At = () => ["solid", "dashed", "dotted", "double"], yt = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], F = () => [D, rn, zi, Ni], Pt = () => [
|
|
5978
5978
|
// Deprecated since Tailwind CSS v4.0.0
|
|
5979
5979
|
"",
|
|
5980
5980
|
"none",
|
|
5981
5981
|
m,
|
|
5982
5982
|
E,
|
|
5983
5983
|
A
|
|
5984
|
-
], it = () => ["none",
|
|
5984
|
+
], it = () => ["none", D, E, A], ot = () => ["none", D, E, A], ze = () => [D, E, A], fe = () => [vt, "full", ...p()];
|
|
5985
5985
|
return {
|
|
5986
5986
|
cacheSize: 500,
|
|
5987
5987
|
theme: {
|
|
@@ -6000,7 +6000,7 @@ const Md = (t, e) => {
|
|
|
6000
6000
|
perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
|
|
6001
6001
|
radius: [dt],
|
|
6002
6002
|
shadow: [dt],
|
|
6003
|
-
spacing: ["px",
|
|
6003
|
+
spacing: ["px", D],
|
|
6004
6004
|
text: [dt],
|
|
6005
6005
|
"text-shadow": [dt],
|
|
6006
6006
|
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
|
|
@@ -6039,7 +6039,7 @@ const Md = (t, e) => {
|
|
|
6039
6039
|
* @see https://tailwindcss.com/docs/columns
|
|
6040
6040
|
*/
|
|
6041
6041
|
columns: [{
|
|
6042
|
-
columns: [
|
|
6042
|
+
columns: [D, A, E, a]
|
|
6043
6043
|
}],
|
|
6044
6044
|
/**
|
|
6045
6045
|
* Break After
|
|
@@ -6296,21 +6296,21 @@ const Md = (t, e) => {
|
|
|
6296
6296
|
* @see https://tailwindcss.com/docs/flex
|
|
6297
6297
|
*/
|
|
6298
6298
|
flex: [{
|
|
6299
|
-
flex: [
|
|
6299
|
+
flex: [D, vt, "auto", "initial", "none", A]
|
|
6300
6300
|
}],
|
|
6301
6301
|
/**
|
|
6302
6302
|
* Flex Grow
|
|
6303
6303
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
6304
6304
|
*/
|
|
6305
6305
|
grow: [{
|
|
6306
|
-
grow: ["",
|
|
6306
|
+
grow: ["", D, E, A]
|
|
6307
6307
|
}],
|
|
6308
6308
|
/**
|
|
6309
6309
|
* Flex Shrink
|
|
6310
6310
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
6311
6311
|
*/
|
|
6312
6312
|
shrink: [{
|
|
6313
|
-
shrink: ["",
|
|
6313
|
+
shrink: ["", D, E, A]
|
|
6314
6314
|
}],
|
|
6315
6315
|
/**
|
|
6316
6316
|
* Order
|
|
@@ -6324,7 +6324,7 @@ const Md = (t, e) => {
|
|
|
6324
6324
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
6325
6325
|
*/
|
|
6326
6326
|
"grid-cols": [{
|
|
6327
|
-
"grid-cols":
|
|
6327
|
+
"grid-cols": R()
|
|
6328
6328
|
}],
|
|
6329
6329
|
/**
|
|
6330
6330
|
* Grid Column Start / End
|
|
@@ -6352,7 +6352,7 @@ const Md = (t, e) => {
|
|
|
6352
6352
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
6353
6353
|
*/
|
|
6354
6354
|
"grid-rows": [{
|
|
6355
|
-
"grid-rows":
|
|
6355
|
+
"grid-rows": R()
|
|
6356
6356
|
}],
|
|
6357
6357
|
/**
|
|
6358
6358
|
* Grid Row Start / End
|
|
@@ -6864,7 +6864,7 @@ const Md = (t, e) => {
|
|
|
6864
6864
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
6865
6865
|
*/
|
|
6866
6866
|
"line-clamp": [{
|
|
6867
|
-
"line-clamp": [
|
|
6867
|
+
"line-clamp": [D, "none", E, _i]
|
|
6868
6868
|
}],
|
|
6869
6869
|
/**
|
|
6870
6870
|
* Line Height
|
|
@@ -6937,7 +6937,7 @@ const Md = (t, e) => {
|
|
|
6937
6937
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
6938
6938
|
*/
|
|
6939
6939
|
"text-decoration-thickness": [{
|
|
6940
|
-
decoration: [
|
|
6940
|
+
decoration: [D, "from-font", "auto", E, Et]
|
|
6941
6941
|
}],
|
|
6942
6942
|
/**
|
|
6943
6943
|
* Text Decoration Color
|
|
@@ -6951,7 +6951,7 @@ const Md = (t, e) => {
|
|
|
6951
6951
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
6952
6952
|
*/
|
|
6953
6953
|
"underline-offset": [{
|
|
6954
|
-
"underline-offset": [
|
|
6954
|
+
"underline-offset": [D, "auto", E, A]
|
|
6955
6955
|
}],
|
|
6956
6956
|
/**
|
|
6957
6957
|
* Text Transform
|
|
@@ -7452,14 +7452,14 @@ const Md = (t, e) => {
|
|
|
7452
7452
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
7453
7453
|
*/
|
|
7454
7454
|
"outline-offset": [{
|
|
7455
|
-
"outline-offset": [
|
|
7455
|
+
"outline-offset": [D, E, A]
|
|
7456
7456
|
}],
|
|
7457
7457
|
/**
|
|
7458
7458
|
* Outline Width
|
|
7459
7459
|
* @see https://tailwindcss.com/docs/outline-width
|
|
7460
7460
|
*/
|
|
7461
7461
|
"outline-w": [{
|
|
7462
|
-
outline: ["",
|
|
7462
|
+
outline: ["", D, qt, Et]
|
|
7463
7463
|
}],
|
|
7464
7464
|
/**
|
|
7465
7465
|
* Outline Color
|
|
@@ -7534,7 +7534,7 @@ const Md = (t, e) => {
|
|
|
7534
7534
|
* @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
|
|
7535
7535
|
*/
|
|
7536
7536
|
"ring-offset-w": [{
|
|
7537
|
-
"ring-offset": [
|
|
7537
|
+
"ring-offset": [D, Et]
|
|
7538
7538
|
}],
|
|
7539
7539
|
/**
|
|
7540
7540
|
* Ring Offset Color
|
|
@@ -7578,7 +7578,7 @@ const Md = (t, e) => {
|
|
|
7578
7578
|
* @see https://tailwindcss.com/docs/opacity
|
|
7579
7579
|
*/
|
|
7580
7580
|
opacity: [{
|
|
7581
|
-
opacity: [
|
|
7581
|
+
opacity: [D, E, A]
|
|
7582
7582
|
}],
|
|
7583
7583
|
/**
|
|
7584
7584
|
* Mix Blend Mode
|
|
@@ -7613,7 +7613,7 @@ const Md = (t, e) => {
|
|
|
7613
7613
|
* @see https://tailwindcss.com/docs/mask-image
|
|
7614
7614
|
*/
|
|
7615
7615
|
"mask-image-linear-pos": [{
|
|
7616
|
-
"mask-linear": [
|
|
7616
|
+
"mask-linear": [D]
|
|
7617
7617
|
}],
|
|
7618
7618
|
"mask-image-linear-from-pos": [{
|
|
7619
7619
|
"mask-linear-from": F()
|
|
@@ -7727,7 +7727,7 @@ const Md = (t, e) => {
|
|
|
7727
7727
|
"mask-radial-at": V()
|
|
7728
7728
|
}],
|
|
7729
7729
|
"mask-image-conic-pos": [{
|
|
7730
|
-
"mask-conic": [
|
|
7730
|
+
"mask-conic": [D]
|
|
7731
7731
|
}],
|
|
7732
7732
|
"mask-image-conic-from-pos": [{
|
|
7733
7733
|
"mask-conic-from": F()
|
|
@@ -7818,14 +7818,14 @@ const Md = (t, e) => {
|
|
|
7818
7818
|
* @see https://tailwindcss.com/docs/brightness
|
|
7819
7819
|
*/
|
|
7820
7820
|
brightness: [{
|
|
7821
|
-
brightness: [
|
|
7821
|
+
brightness: [D, E, A]
|
|
7822
7822
|
}],
|
|
7823
7823
|
/**
|
|
7824
7824
|
* Contrast
|
|
7825
7825
|
* @see https://tailwindcss.com/docs/contrast
|
|
7826
7826
|
*/
|
|
7827
7827
|
contrast: [{
|
|
7828
|
-
contrast: [
|
|
7828
|
+
contrast: [D, E, A]
|
|
7829
7829
|
}],
|
|
7830
7830
|
/**
|
|
7831
7831
|
* Drop Shadow
|
|
@@ -7853,35 +7853,35 @@ const Md = (t, e) => {
|
|
|
7853
7853
|
* @see https://tailwindcss.com/docs/grayscale
|
|
7854
7854
|
*/
|
|
7855
7855
|
grayscale: [{
|
|
7856
|
-
grayscale: ["",
|
|
7856
|
+
grayscale: ["", D, E, A]
|
|
7857
7857
|
}],
|
|
7858
7858
|
/**
|
|
7859
7859
|
* Hue Rotate
|
|
7860
7860
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
7861
7861
|
*/
|
|
7862
7862
|
"hue-rotate": [{
|
|
7863
|
-
"hue-rotate": [
|
|
7863
|
+
"hue-rotate": [D, E, A]
|
|
7864
7864
|
}],
|
|
7865
7865
|
/**
|
|
7866
7866
|
* Invert
|
|
7867
7867
|
* @see https://tailwindcss.com/docs/invert
|
|
7868
7868
|
*/
|
|
7869
7869
|
invert: [{
|
|
7870
|
-
invert: ["",
|
|
7870
|
+
invert: ["", D, E, A]
|
|
7871
7871
|
}],
|
|
7872
7872
|
/**
|
|
7873
7873
|
* Saturate
|
|
7874
7874
|
* @see https://tailwindcss.com/docs/saturate
|
|
7875
7875
|
*/
|
|
7876
7876
|
saturate: [{
|
|
7877
|
-
saturate: [
|
|
7877
|
+
saturate: [D, E, A]
|
|
7878
7878
|
}],
|
|
7879
7879
|
/**
|
|
7880
7880
|
* Sepia
|
|
7881
7881
|
* @see https://tailwindcss.com/docs/sepia
|
|
7882
7882
|
*/
|
|
7883
7883
|
sepia: [{
|
|
7884
|
-
sepia: ["",
|
|
7884
|
+
sepia: ["", D, E, A]
|
|
7885
7885
|
}],
|
|
7886
7886
|
/**
|
|
7887
7887
|
* Backdrop Filter
|
|
@@ -7908,56 +7908,56 @@ const Md = (t, e) => {
|
|
|
7908
7908
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
7909
7909
|
*/
|
|
7910
7910
|
"backdrop-brightness": [{
|
|
7911
|
-
"backdrop-brightness": [
|
|
7911
|
+
"backdrop-brightness": [D, E, A]
|
|
7912
7912
|
}],
|
|
7913
7913
|
/**
|
|
7914
7914
|
* Backdrop Contrast
|
|
7915
7915
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
7916
7916
|
*/
|
|
7917
7917
|
"backdrop-contrast": [{
|
|
7918
|
-
"backdrop-contrast": [
|
|
7918
|
+
"backdrop-contrast": [D, E, A]
|
|
7919
7919
|
}],
|
|
7920
7920
|
/**
|
|
7921
7921
|
* Backdrop Grayscale
|
|
7922
7922
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
7923
7923
|
*/
|
|
7924
7924
|
"backdrop-grayscale": [{
|
|
7925
|
-
"backdrop-grayscale": ["",
|
|
7925
|
+
"backdrop-grayscale": ["", D, E, A]
|
|
7926
7926
|
}],
|
|
7927
7927
|
/**
|
|
7928
7928
|
* Backdrop Hue Rotate
|
|
7929
7929
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
7930
7930
|
*/
|
|
7931
7931
|
"backdrop-hue-rotate": [{
|
|
7932
|
-
"backdrop-hue-rotate": [
|
|
7932
|
+
"backdrop-hue-rotate": [D, E, A]
|
|
7933
7933
|
}],
|
|
7934
7934
|
/**
|
|
7935
7935
|
* Backdrop Invert
|
|
7936
7936
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
7937
7937
|
*/
|
|
7938
7938
|
"backdrop-invert": [{
|
|
7939
|
-
"backdrop-invert": ["",
|
|
7939
|
+
"backdrop-invert": ["", D, E, A]
|
|
7940
7940
|
}],
|
|
7941
7941
|
/**
|
|
7942
7942
|
* Backdrop Opacity
|
|
7943
7943
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
7944
7944
|
*/
|
|
7945
7945
|
"backdrop-opacity": [{
|
|
7946
|
-
"backdrop-opacity": [
|
|
7946
|
+
"backdrop-opacity": [D, E, A]
|
|
7947
7947
|
}],
|
|
7948
7948
|
/**
|
|
7949
7949
|
* Backdrop Saturate
|
|
7950
7950
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
7951
7951
|
*/
|
|
7952
7952
|
"backdrop-saturate": [{
|
|
7953
|
-
"backdrop-saturate": [
|
|
7953
|
+
"backdrop-saturate": [D, E, A]
|
|
7954
7954
|
}],
|
|
7955
7955
|
/**
|
|
7956
7956
|
* Backdrop Sepia
|
|
7957
7957
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
7958
7958
|
*/
|
|
7959
7959
|
"backdrop-sepia": [{
|
|
7960
|
-
"backdrop-sepia": ["",
|
|
7960
|
+
"backdrop-sepia": ["", D, E, A]
|
|
7961
7961
|
}],
|
|
7962
7962
|
// --------------
|
|
7963
7963
|
// --- Tables ---
|
|
@@ -8026,7 +8026,7 @@ const Md = (t, e) => {
|
|
|
8026
8026
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
8027
8027
|
*/
|
|
8028
8028
|
duration: [{
|
|
8029
|
-
duration: [
|
|
8029
|
+
duration: [D, "initial", E, A]
|
|
8030
8030
|
}],
|
|
8031
8031
|
/**
|
|
8032
8032
|
* Transition Timing Function
|
|
@@ -8040,7 +8040,7 @@ const Md = (t, e) => {
|
|
|
8040
8040
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
8041
8041
|
*/
|
|
8042
8042
|
delay: [{
|
|
8043
|
-
delay: [
|
|
8043
|
+
delay: [D, E, A]
|
|
8044
8044
|
}],
|
|
8045
8045
|
/**
|
|
8046
8046
|
* Animation
|
|
@@ -8547,7 +8547,7 @@ const Md = (t, e) => {
|
|
|
8547
8547
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
8548
8548
|
*/
|
|
8549
8549
|
"stroke-w": [{
|
|
8550
|
-
stroke: [
|
|
8550
|
+
stroke: [D, qt, Et, _i]
|
|
8551
8551
|
}],
|
|
8552
8552
|
/**
|
|
8553
8553
|
* Stroke
|
|
@@ -8723,36 +8723,36 @@ const Tf = ["aria-label", "aria-disabled"], Sf = ["aria-checked", "aria-label",
|
|
|
8723
8723
|
}, d = (v, k) => {
|
|
8724
8724
|
const p = i.items;
|
|
8725
8725
|
let M = v;
|
|
8726
|
-
for (let
|
|
8726
|
+
for (let R = 0; R < p.length; R++)
|
|
8727
8727
|
if (M = (M + k + p.length) % p.length, !c(p[M])) return M;
|
|
8728
8728
|
return v;
|
|
8729
8729
|
}, m = (v, k) => {
|
|
8730
8730
|
var et;
|
|
8731
8731
|
const p = i.items, M = p[k];
|
|
8732
8732
|
if (!M || c(M)) return;
|
|
8733
|
-
let
|
|
8733
|
+
let R;
|
|
8734
8734
|
switch (v.key) {
|
|
8735
8735
|
case "ArrowRight":
|
|
8736
8736
|
case "ArrowDown":
|
|
8737
|
-
|
|
8737
|
+
R = d(k, 1);
|
|
8738
8738
|
break;
|
|
8739
8739
|
case "ArrowLeft":
|
|
8740
8740
|
case "ArrowUp":
|
|
8741
|
-
|
|
8741
|
+
R = d(k, -1);
|
|
8742
8742
|
break;
|
|
8743
8743
|
case "Home":
|
|
8744
|
-
|
|
8744
|
+
R = p.findIndex((K) => !c(K));
|
|
8745
8745
|
break;
|
|
8746
8746
|
case "End":
|
|
8747
|
-
|
|
8747
|
+
R = [...p].reverse().findIndex((K) => !c(K)), R >= 0 && (R = p.length - 1 - R);
|
|
8748
8748
|
break;
|
|
8749
8749
|
default:
|
|
8750
8750
|
return;
|
|
8751
8751
|
}
|
|
8752
|
-
if (
|
|
8752
|
+
if (R < 0 || R === k) return;
|
|
8753
8753
|
v.preventDefault();
|
|
8754
|
-
const j = p[
|
|
8755
|
-
j && (u(j), (et = o.value[
|
|
8754
|
+
const j = p[R];
|
|
8755
|
+
j && (u(j), (et = o.value[R]) == null || et.focus());
|
|
8756
8756
|
}, g = Zt(() => {
|
|
8757
8757
|
const v = i.items.findIndex((k) => k.value === i.modelValue);
|
|
8758
8758
|
return v >= 0 ? v : 0;
|
|
@@ -8777,9 +8777,7 @@ const Tf = ["aria-label", "aria-disabled"], Sf = ["aria-checked", "aria-label",
|
|
|
8777
8777
|
i.ui.label,
|
|
8778
8778
|
l(v) && n.labelSelected,
|
|
8779
8779
|
l(v) && i.ui.labelSelected
|
|
8780
|
-
), V = Zt(
|
|
8781
|
-
() => Pe(n.indicator, i.ui.indicator)
|
|
8782
|
-
), S = {
|
|
8780
|
+
), V = Zt(() => Pe(n.indicator, i.ui.indicator)), S = {
|
|
8783
8781
|
type: "spring",
|
|
8784
8782
|
visualDuration: 0.2,
|
|
8785
8783
|
bounce: 0.2
|
|
@@ -8805,7 +8803,7 @@ const Tf = ["aria-label", "aria-disabled"], Sf = ["aria-checked", "aria-label",
|
|
|
8805
8803
|
(me(!0), $e(la, null, ca(t.items, (p, M) => (me(), $e("button", {
|
|
8806
8804
|
key: p.value,
|
|
8807
8805
|
ref_for: !0,
|
|
8808
|
-
ref: (
|
|
8806
|
+
ref: (R) => a(R, M),
|
|
8809
8807
|
type: "button",
|
|
8810
8808
|
role: "radio",
|
|
8811
8809
|
"data-testid": "segmented-control-segment",
|
|
@@ -8815,8 +8813,8 @@ const Tf = ["aria-label", "aria-disabled"], Sf = ["aria-checked", "aria-label",
|
|
|
8815
8813
|
"aria-label": p.label,
|
|
8816
8814
|
tabindex: f(M),
|
|
8817
8815
|
disabled: c(p),
|
|
8818
|
-
onClick: (
|
|
8819
|
-
onKeydown: (
|
|
8816
|
+
onClick: (R) => u(p),
|
|
8817
|
+
onKeydown: (R) => m(R, M)
|
|
8820
8818
|
}, [
|
|
8821
8819
|
ua("span", {
|
|
8822
8820
|
"data-testid": "segmented-control-label",
|