@frontile/theme 0.18.0-beta.3 → 0.18.0-beta.4
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/declarations/components/segmented-control.d.ts.map +1 -1
- package/dist/colors.js +1 -1
- package/dist/index.js +9 -6
- package/dist/index.js.map +1 -1
- package/dist/plugin.js +2 -2
- package/dist/{util-Dp_dlOPq.js → util-PU966Q_x.js} +2 -2
- package/dist/{util-Dp_dlOPq.js.map → util-PU966Q_x.js.map} +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"segmented-control.d.ts","sourceRoot":"","sources":["../../src/components/segmented-control.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"segmented-control.d.ts","sourceRoot":"","sources":["../../src/components/segmented-control.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAE1C,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+LpB,CAAC;AAEH,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,MAAM,MAAM,qBAAqB,GAAG,MAAM,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC9E,MAAM,MAAM,wBAAwB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC"}
|
package/dist/colors.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { b as blue, g as getContrastingColor, a as gray, c as green, o as orange, p as pink, r as red, s as semanticColors, d as swapColorValues, t as teal, v as violet, y as yellow } from './util-
|
|
1
|
+
export { b as blue, g as getContrastingColor, a as gray, c as green, o as orange, p as pink, r as red, s as semanticColors, d as swapColorValues, t as teal, v as violet, y as yellow } from './util-PU966Q_x.js';
|
|
2
2
|
export { parse, wcagContrast } from 'culori';
|
|
3
3
|
//# sourceMappingURL=colors.js.map
|
package/dist/index.js
CHANGED
|
@@ -2220,10 +2220,13 @@ const segmentedControl = tv({
|
|
|
2220
2220
|
hasSeparators: {
|
|
2221
2221
|
true: {
|
|
2222
2222
|
item: [
|
|
2223
|
-
// A hairline before every item except the first.
|
|
2224
|
-
//
|
|
2225
|
-
//
|
|
2226
|
-
|
|
2223
|
+
// A hairline before every item except the first. `divider` is the
|
|
2224
|
+
// token for rules, and it is translucent -- ink over whatever track
|
|
2225
|
+
// is behind it -- so one value reads on both modes. The opaque
|
|
2226
|
+
// neutral levels this used to carry could not: neither the neutral
|
|
2227
|
+
// scale nor the track is symmetric across modes, which is why it
|
|
2228
|
+
// needed a `dark:` override at all.
|
|
2229
|
+
'before:absolute before:content-[""]', 'before:bg-divider', 'before:transition-opacity before:duration-200', 'motion-reduce:before:transition-none',
|
|
2227
2230
|
// The indicator's `<span>` is the container's true first child, so
|
|
2228
2231
|
// `first:` would never match an item; `first-of-type:` does.
|
|
2229
2232
|
'first-of-type:before:content-none',
|
|
@@ -2437,7 +2440,7 @@ const tabs = tv({
|
|
|
2437
2440
|
// bar stays welded to the rule at `bottom-0` while the padding pushes
|
|
2438
2441
|
// the tabs -- and with them their hover chips -- clear of it. A chip
|
|
2439
2442
|
// that runs into the rule is the thing this buys off.
|
|
2440
|
-
list: 'gap-1 pb-2 border-b border-
|
|
2443
|
+
list: 'gap-1 pb-2 border-b border-divider',
|
|
2441
2444
|
indicator: ['top-auto bottom-0 h-0.5 rounded-full', 'w-[var(--fr-si-width)]', 'translate-x-[var(--fr-si-x)]']
|
|
2442
2445
|
}
|
|
2443
2446
|
}, {
|
|
@@ -2445,7 +2448,7 @@ const tabs = tv({
|
|
|
2445
2448
|
orientation: 'vertical',
|
|
2446
2449
|
class: {
|
|
2447
2450
|
// The same gap, on the axis this orientation puts the rule on.
|
|
2448
|
-
list: 'gap-1 ps-2 border-l border-
|
|
2451
|
+
list: 'gap-1 ps-2 border-l border-divider',
|
|
2449
2452
|
indicator: ['left-0 w-0.5 rounded-full', 'h-[var(--fr-si-height)]', 'translate-y-[var(--fr-si-y)]']
|
|
2450
2453
|
}
|
|
2451
2454
|
}],
|