@likec4/styles 1.46.4 → 1.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/css/package.json +1 -1
- package/dev.d.mts +3 -0
- package/{dev.ts → dev.mjs} +8 -4
- package/dist/_chunks/libs/@radix-ui/colors.mjs +3788 -0
- package/dist/_chunks/libs/pandacss-preset-radix-colors.mjs +106 -0
- package/dist/_chunks/libs/remeda.mjs +164 -0
- package/dist/_chunks/rolldown-runtime.mjs +18 -0
- package/dist/css/conditions.mjs +1 -1
- package/dist/css/{css.d.ts → css.d.mts} +1 -1
- package/dist/css/{cva.d.ts → cva.d.mts} +2 -2
- package/dist/css/index.d.mts +5 -0
- package/dist/css/sva.d.mts +4 -0
- package/dist/jsx/{aspect-ratio.d.ts → aspect-ratio.d.mts} +3 -3
- package/dist/jsx/bleed.d.mts +10 -0
- package/dist/jsx/box.d.mts +10 -0
- package/dist/jsx/center.d.mts +10 -0
- package/dist/jsx/circle.d.mts +10 -0
- package/dist/jsx/{container.d.ts → container.d.mts} +3 -3
- package/dist/jsx/cq.d.mts +10 -0
- package/dist/jsx/{create-style-context.d.ts → create-style-context.d.mts} +3 -3
- package/dist/jsx/divider.d.mts +10 -0
- package/dist/jsx/factory.d.mts +3 -0
- package/dist/jsx/flex.d.mts +10 -0
- package/dist/jsx/float.d.mts +10 -0
- package/dist/jsx/grid-item.d.mts +10 -0
- package/dist/jsx/grid.d.mts +10 -0
- package/dist/jsx/hstack.d.mts +10 -0
- package/dist/jsx/index.d.mts +26 -0
- package/dist/jsx/index.mjs +2 -1
- package/dist/jsx/is-valid-prop.mjs +1 -1
- package/dist/jsx/{link-overlay.d.ts → link-overlay.d.mts} +3 -3
- package/dist/jsx/spacer.d.mts +10 -0
- package/dist/jsx/square.d.mts +10 -0
- package/dist/jsx/stack.d.mts +10 -0
- package/dist/jsx/txt.d.mts +10 -0
- package/dist/jsx/txt.mjs +14 -0
- package/dist/jsx/{visually-hidden.d.ts → visually-hidden.d.mts} +3 -3
- package/dist/jsx/vstack.d.mts +10 -0
- package/dist/jsx/wrap.d.mts +10 -0
- package/dist/patterns/{aspect-ratio.d.ts → aspect-ratio.d.mts} +5 -5
- package/dist/patterns/{bleed.d.ts → bleed.d.mts} +5 -5
- package/dist/patterns/{box.d.ts → box.d.mts} +5 -5
- package/dist/patterns/{center.d.ts → center.d.mts} +5 -5
- package/dist/patterns/{circle.d.ts → circle.d.mts} +5 -5
- package/dist/patterns/{container.d.ts → container.d.mts} +5 -5
- package/dist/patterns/{cq.d.ts → cq.d.mts} +5 -5
- package/dist/patterns/{divider.d.ts → divider.d.mts} +5 -5
- package/dist/patterns/{flex.d.ts → flex.d.mts} +5 -5
- package/dist/patterns/{float.d.ts → float.d.mts} +5 -5
- package/dist/patterns/{grid-item.d.ts → grid-item.d.mts} +5 -5
- package/dist/patterns/{grid.d.ts → grid.d.mts} +5 -5
- package/dist/patterns/{hstack.d.ts → hstack.d.mts} +5 -5
- package/dist/patterns/index.d.mts +22 -0
- package/dist/patterns/index.mjs +2 -1
- package/dist/patterns/{link-overlay.d.ts → link-overlay.d.mts} +5 -5
- package/dist/patterns/{spacer.d.ts → spacer.d.mts} +5 -5
- package/dist/patterns/{square.d.ts → square.d.mts} +5 -5
- package/dist/patterns/{stack.d.ts → stack.d.mts} +5 -5
- package/dist/patterns/txt.d.mts +24 -0
- package/dist/patterns/txt.mjs +28 -0
- package/dist/patterns/{visually-hidden.d.ts → visually-hidden.d.mts} +5 -5
- package/dist/patterns/{vstack.d.ts → vstack.d.mts} +5 -5
- package/dist/patterns/{wrap.d.ts → wrap.d.mts} +5 -5
- package/dist/preset.d.mts +1237 -1196
- package/dist/preset.mjs +3773 -7285
- package/dist/recipes/{action-btn.d.ts → action-btn.d.mts} +2 -2
- package/dist/recipes/action-buttons.d.mts +33 -0
- package/dist/recipes/action-buttons.mjs +24 -0
- package/dist/recipes/{compound-node.d.ts → compound-node.d.mts} +12 -3
- package/dist/recipes/compound-node.mjs +5 -1
- package/dist/recipes/{edge-action-btn.d.ts → edge-action-btn.d.mts} +2 -2
- package/dist/recipes/{edge-label.d.ts → edge-label.d.mts} +2 -2
- package/dist/recipes/{edge-path.d.ts → edge-path.d.mts} +2 -2
- package/dist/recipes/{element-node-data.d.ts → element-node-data.d.mts} +10 -3
- package/dist/recipes/element-node-data.mjs +16 -2
- package/dist/recipes/element-node.d.mts +31 -0
- package/dist/recipes/element-node.mjs +24 -0
- package/dist/recipes/{element-shape-recipe.d.ts → element-shape-recipe.d.mts} +7 -3
- package/dist/recipes/element-shape-recipe.mjs +23 -1
- package/dist/recipes/index.d.mts +16 -0
- package/dist/recipes/index.mjs +4 -1
- package/dist/recipes/{likec4tag.d.ts → likec4tag.d.mts} +2 -2
- package/dist/recipes/{markdown-block.d.ts → markdown-block.d.mts} +2 -2
- package/dist/recipes/{navigation-link.d.ts → navigation-link.d.mts} +2 -2
- package/dist/recipes/{navigation-panel-action-icon.d.ts → navigation-panel-action-icon.d.mts} +2 -2
- package/dist/recipes/navigation-panel.d.mts +40 -0
- package/dist/recipes/navigation-panel.mjs +64 -0
- package/dist/recipes/{overlay.d.ts → overlay.d.mts} +2 -2
- package/dist/tokens/{index.d.ts → index.d.mts} +2 -2
- package/dist/tokens/index.mjs +226 -182
- package/dist/tokens/tokens.d.mts +51 -0
- package/dist/types/{composition.d.ts → composition.d.mts} +4 -1
- package/dist/types/{conditions.d.ts → conditions.d.mts} +5 -1
- package/dist/types/{global.d.ts → global.d.mts} +5 -5
- package/dist/types/index.d.mts +8 -0
- package/dist/types/{jsx.d.ts → jsx.d.mts} +2 -2
- package/dist/types/{pattern.d.ts → pattern.d.mts} +2 -2
- package/dist/types/{prop-type.d.ts → prop-type.d.mts} +5 -5
- package/dist/types/{recipe.d.ts → recipe.d.mts} +2 -2
- package/dist/types/{selectors.d.ts → selectors.d.mts} +1 -1
- package/dist/types/{style-props.d.ts → style-props.d.mts} +38 -38
- package/dist/types/{system-types.d.ts → system-types.d.mts} +3 -3
- package/dist/vars/index.d.mts +417 -0
- package/dist/vars/index.mjs +426 -0
- package/jsx/package.json +1 -1
- package/package.json +41 -30
- package/patterns/package.json +1 -1
- package/recipes/package.json +1 -1
- package/tokens/package.json +1 -1
- package/types/package.json +1 -1
- package/vars/package.json +4 -0
- package/dist/css/index.d.ts +0 -5
- package/dist/css/sva.d.ts +0 -4
- package/dist/jsx/bleed.d.ts +0 -10
- package/dist/jsx/box.d.ts +0 -10
- package/dist/jsx/center.d.ts +0 -10
- package/dist/jsx/circle.d.ts +0 -10
- package/dist/jsx/cq.d.ts +0 -10
- package/dist/jsx/divider.d.ts +0 -10
- package/dist/jsx/factory.d.ts +0 -3
- package/dist/jsx/flex.d.ts +0 -10
- package/dist/jsx/float.d.ts +0 -10
- package/dist/jsx/grid-item.d.ts +0 -10
- package/dist/jsx/grid.d.ts +0 -10
- package/dist/jsx/hstack.d.ts +0 -10
- package/dist/jsx/index.d.ts +0 -25
- package/dist/jsx/spacer.d.ts +0 -10
- package/dist/jsx/square.d.ts +0 -10
- package/dist/jsx/stack.d.ts +0 -10
- package/dist/jsx/vstack.d.ts +0 -10
- package/dist/jsx/wrap.d.ts +0 -10
- package/dist/patterns/index.d.ts +0 -21
- package/dist/recipes/index.d.ts +0 -13
- package/dist/tokens/tokens.d.ts +0 -51
- package/dist/types/index.d.ts +0 -8
- package/panda.config.ts +0 -10
- package/preset.ts +0 -3
- /package/dist/css/{cx.d.ts → cx.d.mts} +0 -0
- /package/dist/jsx/{is-valid-prop.d.ts → is-valid-prop.d.mts} +0 -0
- /package/dist/types/{csstype.d.ts → csstype.d.mts} +0 -0
- /package/dist/types/{parts.d.ts → parts.d.mts} +0 -0
- /package/dist/types/{static-css.d.ts → static-css.d.mts} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue } from './conditions';
|
|
3
|
-
import type { OnlyKnown, UtilityValues, WithEscapeHatch } from './prop-type';
|
|
4
|
-
import type { CssProperties } from './system-types';
|
|
5
|
-
import type { Token } from '../tokens/index';
|
|
2
|
+
import type { ConditionalValue } from './conditions.d.mts';
|
|
3
|
+
import type { OnlyKnown, UtilityValues, WithEscapeHatch } from './prop-type.d.mts';
|
|
4
|
+
import type { CssProperties } from './system-types.d.mts';
|
|
5
|
+
import type { Token } from '../tokens/index.d.mts';
|
|
6
6
|
|
|
7
7
|
type AnyString = (string & {})
|
|
8
|
-
type CssVars = "var(--likec4-text-size)" | "var(--likec4-palette-fill)" | "var(--likec4-palette-stroke)" | "var(--likec4-palette-hiContrast)" | "var(--likec4-palette-loContrast)" | "var(--likec4-palette-relation-stroke)" | "var(--likec4-palette-relation-label)" | "var(--likec4-palette-relation-label-bg)" | "var(--mantine-scale)" | "var(--likec4-palette-outline)" | "var(--
|
|
8
|
+
type CssVars = "var(--likec4-app-font)" | "var(--likec4-spacing)" | "var(--likec4-text-size)" | "var(--likec4-palette-fill)" | "var(--likec4-palette-stroke)" | "var(--likec4-palette-hiContrast)" | "var(--likec4-palette-loContrast)" | "var(--likec4-palette-relation-stroke)" | "var(--likec4-palette-relation-label)" | "var(--likec4-palette-relation-label-bg)" | "var(--likec4-palette-relation-stroke-selected)" | "var(--mantine-scale)" | "var(--likec4-palette-outline)" | "var(--text-fz)" | "var(--likec4-icon-color)" | "var(--likec4-icon-size)"
|
|
9
9
|
type CssVarValue = ConditionalValue<Token | CssVars | AnyString | (number & {})>
|
|
10
10
|
|
|
11
|
-
type CssVarKeys = "--likec4-text-size" | "--likec4-palette-fill" | "--likec4-palette-stroke" | "--likec4-palette-hiContrast" | "--likec4-palette-loContrast" | "--likec4-palette-relation-stroke" | "--likec4-palette-relation-label" | "--likec4-palette-relation-label-bg" | "--mantine-scale" | "--likec4-palette-outline" | "--
|
|
11
|
+
type CssVarKeys = "--likec4-app-font" | "--likec4-spacing" | "--likec4-text-size" | "--likec4-palette-fill" | "--likec4-palette-stroke" | "--likec4-palette-hiContrast" | "--likec4-palette-loContrast" | "--likec4-palette-relation-stroke" | "--likec4-palette-relation-label" | "--likec4-palette-relation-label-bg" | "--likec4-palette-relation-stroke-selected" | "--mantine-scale" | "--likec4-palette-outline" | "--text-fz" | "--likec4-icon-color" | "--likec4-icon-size" | `--${string}` & {}
|
|
12
12
|
|
|
13
13
|
export type CssVarProperties = {
|
|
14
14
|
[key in CssVarKeys]?: CssVarValue
|
|
@@ -977,7 +977,7 @@ borderBottomColor?: ConditionalValue<WithEscapeHatch<UtilityValues["borderBottom
|
|
|
977
977
|
*
|
|
978
978
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius
|
|
979
979
|
*/
|
|
980
|
-
borderBottomLeftRadius?: ConditionalValue<UtilityValues["borderBottomLeftRadius"] | CssVars
|
|
980
|
+
borderBottomLeftRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderBottomLeftRadius"] | CssVars>>
|
|
981
981
|
/**
|
|
982
982
|
* The **`border-bottom-right-radius`** CSS property rounds the bottom-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
|
|
983
983
|
*
|
|
@@ -992,7 +992,7 @@ borderBottomLeftRadius?: ConditionalValue<UtilityValues["borderBottomLeftRadius"
|
|
|
992
992
|
*
|
|
993
993
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius
|
|
994
994
|
*/
|
|
995
|
-
borderBottomRightRadius?: ConditionalValue<UtilityValues["borderBottomRightRadius"] | CssVars
|
|
995
|
+
borderBottomRightRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderBottomRightRadius"] | CssVars>>
|
|
996
996
|
/**
|
|
997
997
|
* The **`border-bottom-style`** CSS property sets the line style of an element's bottom `border`.
|
|
998
998
|
*
|
|
@@ -1060,7 +1060,7 @@ borderColor?: ConditionalValue<WithEscapeHatch<UtilityValues["borderColor"] | Cs
|
|
|
1060
1060
|
*
|
|
1061
1061
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius
|
|
1062
1062
|
*/
|
|
1063
|
-
borderEndEndRadius?: ConditionalValue<UtilityValues["borderEndEndRadius"] | CssVars
|
|
1063
|
+
borderEndEndRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderEndEndRadius"] | CssVars>>
|
|
1064
1064
|
/**
|
|
1065
1065
|
* The **`border-end-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode.
|
|
1066
1066
|
*
|
|
@@ -1074,7 +1074,7 @@ borderEndEndRadius?: ConditionalValue<UtilityValues["borderEndEndRadius"] | CssV
|
|
|
1074
1074
|
*
|
|
1075
1075
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius
|
|
1076
1076
|
*/
|
|
1077
|
-
borderEndStartRadius?: ConditionalValue<UtilityValues["borderEndStartRadius"] | CssVars
|
|
1077
|
+
borderEndStartRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderEndStartRadius"] | CssVars>>
|
|
1078
1078
|
/**
|
|
1079
1079
|
* The **`border-image`** CSS property draws an image around a given element. It replaces the element's regular border.
|
|
1080
1080
|
*
|
|
@@ -1391,7 +1391,7 @@ borderLeftWidth?: ConditionalValue<WithEscapeHatch<CssProperties["borderLeftWidt
|
|
|
1391
1391
|
*
|
|
1392
1392
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-radius
|
|
1393
1393
|
*/
|
|
1394
|
-
borderRadius?: ConditionalValue<UtilityValues["borderRadius"] | CssVars
|
|
1394
|
+
borderRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderRadius"] | CssVars>>
|
|
1395
1395
|
/**
|
|
1396
1396
|
* The **`border-right`** shorthand CSS property sets all the properties of an element's right border.
|
|
1397
1397
|
*
|
|
@@ -1473,7 +1473,7 @@ borderSpacing?: ConditionalValue<WithEscapeHatch<UtilityValues["borderSpacing"]
|
|
|
1473
1473
|
*
|
|
1474
1474
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius
|
|
1475
1475
|
*/
|
|
1476
|
-
borderStartEndRadius?: ConditionalValue<UtilityValues["borderStartEndRadius"] | CssVars
|
|
1476
|
+
borderStartEndRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderStartEndRadius"] | CssVars>>
|
|
1477
1477
|
/**
|
|
1478
1478
|
* The **`border-start-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode.
|
|
1479
1479
|
*
|
|
@@ -1487,7 +1487,7 @@ borderStartEndRadius?: ConditionalValue<UtilityValues["borderStartEndRadius"] |
|
|
|
1487
1487
|
*
|
|
1488
1488
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius
|
|
1489
1489
|
*/
|
|
1490
|
-
borderStartStartRadius?: ConditionalValue<UtilityValues["borderStartStartRadius"] | CssVars
|
|
1490
|
+
borderStartStartRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderStartStartRadius"] | CssVars>>
|
|
1491
1491
|
/**
|
|
1492
1492
|
* The **`border-style`** shorthand CSS property sets the line style for all four sides of an element's border.
|
|
1493
1493
|
*
|
|
@@ -1540,7 +1540,7 @@ borderTopColor?: ConditionalValue<WithEscapeHatch<UtilityValues["borderTopColor"
|
|
|
1540
1540
|
*
|
|
1541
1541
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius
|
|
1542
1542
|
*/
|
|
1543
|
-
borderTopLeftRadius?: ConditionalValue<UtilityValues["borderTopLeftRadius"] | CssVars
|
|
1543
|
+
borderTopLeftRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderTopLeftRadius"] | CssVars>>
|
|
1544
1544
|
/**
|
|
1545
1545
|
* The **`border-top-right-radius`** CSS property rounds the top-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
|
|
1546
1546
|
*
|
|
@@ -1555,7 +1555,7 @@ borderTopLeftRadius?: ConditionalValue<UtilityValues["borderTopLeftRadius"] | Cs
|
|
|
1555
1555
|
*
|
|
1556
1556
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius
|
|
1557
1557
|
*/
|
|
1558
|
-
borderTopRightRadius?: ConditionalValue<UtilityValues["borderTopRightRadius"] | CssVars
|
|
1558
|
+
borderTopRightRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderTopRightRadius"] | CssVars>>
|
|
1559
1559
|
/**
|
|
1560
1560
|
* The **`border-top-style`** CSS property sets the line style of an element's top `border`.
|
|
1561
1561
|
*
|
|
@@ -2708,7 +2708,7 @@ fontVariationSettings?: ConditionalValue<WithEscapeHatch<CssProperties["fontVari
|
|
|
2708
2708
|
*
|
|
2709
2709
|
* @see https://developer.mozilla.org/docs/Web/CSS/font-weight
|
|
2710
2710
|
*/
|
|
2711
|
-
fontWeight?: ConditionalValue<UtilityValues["fontWeight"] | CssVars
|
|
2711
|
+
fontWeight?: ConditionalValue<WithEscapeHatch<UtilityValues["fontWeight"] | CssVars>>
|
|
2712
2712
|
/**
|
|
2713
2713
|
* The **`forced-color-adjust`** CSS property allows authors to opt certain elements out of forced colors mode. This then restores the control of those values to CSS.
|
|
2714
2714
|
*
|
|
@@ -7007,7 +7007,7 @@ bgSize?: ConditionalValue<WithEscapeHatch<CssProperties["backgroundSize"]>>
|
|
|
7007
7007
|
*
|
|
7008
7008
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-radius
|
|
7009
7009
|
*/
|
|
7010
|
-
rounded?: ConditionalValue<UtilityValues["borderRadius"] | CssVars
|
|
7010
|
+
rounded?: ConditionalValue<WithEscapeHatch<UtilityValues["borderRadius"] | CssVars>>
|
|
7011
7011
|
/**
|
|
7012
7012
|
* The **`border-top-left-radius`** CSS property rounds the top-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
|
|
7013
7013
|
*
|
|
@@ -7022,7 +7022,7 @@ rounded?: ConditionalValue<UtilityValues["borderRadius"] | CssVars | CssProperti
|
|
|
7022
7022
|
*
|
|
7023
7023
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-top-left-radius
|
|
7024
7024
|
*/
|
|
7025
|
-
roundedTopLeft?: ConditionalValue<UtilityValues["borderTopLeftRadius"] | CssVars
|
|
7025
|
+
roundedTopLeft?: ConditionalValue<WithEscapeHatch<UtilityValues["borderTopLeftRadius"] | CssVars>>
|
|
7026
7026
|
/**
|
|
7027
7027
|
* The **`border-top-right-radius`** CSS property rounds the top-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
|
|
7028
7028
|
*
|
|
@@ -7037,7 +7037,7 @@ roundedTopLeft?: ConditionalValue<UtilityValues["borderTopLeftRadius"] | CssVars
|
|
|
7037
7037
|
*
|
|
7038
7038
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-top-right-radius
|
|
7039
7039
|
*/
|
|
7040
|
-
roundedTopRight?: ConditionalValue<UtilityValues["borderTopRightRadius"] | CssVars
|
|
7040
|
+
roundedTopRight?: ConditionalValue<WithEscapeHatch<UtilityValues["borderTopRightRadius"] | CssVars>>
|
|
7041
7041
|
/**
|
|
7042
7042
|
* The **`border-bottom-right-radius`** CSS property rounds the bottom-right corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
|
|
7043
7043
|
*
|
|
@@ -7052,7 +7052,7 @@ roundedTopRight?: ConditionalValue<UtilityValues["borderTopRightRadius"] | CssVa
|
|
|
7052
7052
|
*
|
|
7053
7053
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-right-radius
|
|
7054
7054
|
*/
|
|
7055
|
-
roundedBottomRight?: ConditionalValue<UtilityValues["borderBottomRightRadius"] | CssVars
|
|
7055
|
+
roundedBottomRight?: ConditionalValue<WithEscapeHatch<UtilityValues["borderBottomRightRadius"] | CssVars>>
|
|
7056
7056
|
/**
|
|
7057
7057
|
* The **`border-bottom-left-radius`** CSS property rounds the bottom-left corner of an element by specifying the radius (or the radius of the semi-major and semi-minor axes) of the ellipse defining the curvature of the corner.
|
|
7058
7058
|
*
|
|
@@ -7067,11 +7067,11 @@ roundedBottomRight?: ConditionalValue<UtilityValues["borderBottomRightRadius"] |
|
|
|
7067
7067
|
*
|
|
7068
7068
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-bottom-left-radius
|
|
7069
7069
|
*/
|
|
7070
|
-
roundedBottomLeft?: ConditionalValue<UtilityValues["borderBottomLeftRadius"] | CssVars
|
|
7071
|
-
roundedTop?: ConditionalValue<UtilityValues["borderTopRadius"] | CssVars
|
|
7072
|
-
roundedRight?: ConditionalValue<UtilityValues["borderRightRadius"] | CssVars
|
|
7073
|
-
roundedBottom?: ConditionalValue<UtilityValues["borderBottomRadius"] | CssVars
|
|
7074
|
-
roundedLeft?: ConditionalValue<UtilityValues["borderLeftRadius"] | CssVars
|
|
7070
|
+
roundedBottomLeft?: ConditionalValue<WithEscapeHatch<UtilityValues["borderBottomLeftRadius"] | CssVars>>
|
|
7071
|
+
roundedTop?: ConditionalValue<WithEscapeHatch<UtilityValues["borderTopRadius"] | CssVars>>
|
|
7072
|
+
roundedRight?: ConditionalValue<WithEscapeHatch<UtilityValues["borderRightRadius"] | CssVars>>
|
|
7073
|
+
roundedBottom?: ConditionalValue<WithEscapeHatch<UtilityValues["borderBottomRadius"] | CssVars>>
|
|
7074
|
+
roundedLeft?: ConditionalValue<WithEscapeHatch<UtilityValues["borderLeftRadius"] | CssVars>>
|
|
7075
7075
|
/**
|
|
7076
7076
|
* The **`border-start-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode.
|
|
7077
7077
|
*
|
|
@@ -7085,7 +7085,7 @@ roundedBottomLeft?: ConditionalValue<UtilityValues["borderBottomLeftRadius"] | C
|
|
|
7085
7085
|
*
|
|
7086
7086
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-start-start-radius
|
|
7087
7087
|
*/
|
|
7088
|
-
roundedStartStart?: ConditionalValue<UtilityValues["borderStartStartRadius"] | CssVars
|
|
7088
|
+
roundedStartStart?: ConditionalValue<WithEscapeHatch<UtilityValues["borderStartStartRadius"] | CssVars>>
|
|
7089
7089
|
/**
|
|
7090
7090
|
* The **`border-start-end-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode.
|
|
7091
7091
|
*
|
|
@@ -7099,8 +7099,8 @@ roundedStartStart?: ConditionalValue<UtilityValues["borderStartStartRadius"] | C
|
|
|
7099
7099
|
*
|
|
7100
7100
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-start-end-radius
|
|
7101
7101
|
*/
|
|
7102
|
-
roundedStartEnd?: ConditionalValue<UtilityValues["borderStartEndRadius"] | CssVars
|
|
7103
|
-
roundedStart?: ConditionalValue<UtilityValues["borderStartRadius"] | CssVars
|
|
7102
|
+
roundedStartEnd?: ConditionalValue<WithEscapeHatch<UtilityValues["borderStartEndRadius"] | CssVars>>
|
|
7103
|
+
roundedStart?: ConditionalValue<WithEscapeHatch<UtilityValues["borderStartRadius"] | CssVars>>
|
|
7104
7104
|
/**
|
|
7105
7105
|
* The **`border-end-start-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius depending on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode.
|
|
7106
7106
|
*
|
|
@@ -7114,7 +7114,7 @@ roundedStartEnd?: ConditionalValue<UtilityValues["borderStartEndRadius"] | CssVa
|
|
|
7114
7114
|
*
|
|
7115
7115
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-end-start-radius
|
|
7116
7116
|
*/
|
|
7117
|
-
roundedEndStart?: ConditionalValue<UtilityValues["borderEndStartRadius"] | CssVars
|
|
7117
|
+
roundedEndStart?: ConditionalValue<WithEscapeHatch<UtilityValues["borderEndStartRadius"] | CssVars>>
|
|
7118
7118
|
/**
|
|
7119
7119
|
* The **`border-end-end-radius`** CSS property defines a logical border radius on an element, which maps to a physical border radius that depends on the element's `writing-mode`, `direction`, and `text-orientation`. This is useful when building styles to work regardless of the text orientation and writing mode.
|
|
7120
7120
|
*
|
|
@@ -7128,8 +7128,8 @@ roundedEndStart?: ConditionalValue<UtilityValues["borderEndStartRadius"] | CssVa
|
|
|
7128
7128
|
*
|
|
7129
7129
|
* @see https://developer.mozilla.org/docs/Web/CSS/border-end-end-radius
|
|
7130
7130
|
*/
|
|
7131
|
-
roundedEndEnd?: ConditionalValue<UtilityValues["borderEndEndRadius"] | CssVars
|
|
7132
|
-
roundedEnd?: ConditionalValue<UtilityValues["borderEndRadius"] | CssVars
|
|
7131
|
+
roundedEndEnd?: ConditionalValue<WithEscapeHatch<UtilityValues["borderEndEndRadius"] | CssVars>>
|
|
7132
|
+
roundedEnd?: ConditionalValue<WithEscapeHatch<UtilityValues["borderEndRadius"] | CssVars>>
|
|
7133
7133
|
/**
|
|
7134
7134
|
* The **`border-inline`** CSS property is a shorthand property for setting the individual logical inline border property values in a single place in the style sheet.
|
|
7135
7135
|
*
|
|
@@ -7386,12 +7386,12 @@ scrollPaddingX?: ConditionalValue<WithEscapeHatch<UtilityValues["scrollPaddingIn
|
|
|
7386
7386
|
gradientTo?: ConditionalValue<WithEscapeHatch<UtilityValues["gradientTo"] | CssVars>>
|
|
7387
7387
|
gradientVia?: ConditionalValue<WithEscapeHatch<UtilityValues["gradientVia"] | CssVars>>
|
|
7388
7388
|
gradientViaPosition?: ConditionalValue<string | number | CssProperties["gradientViaPosition"]>
|
|
7389
|
-
borderTopRadius?: ConditionalValue<UtilityValues["borderTopRadius"] | CssVars
|
|
7390
|
-
borderRightRadius?: ConditionalValue<UtilityValues["borderRightRadius"] | CssVars
|
|
7391
|
-
borderBottomRadius?: ConditionalValue<UtilityValues["borderBottomRadius"] | CssVars
|
|
7392
|
-
borderLeftRadius?: ConditionalValue<UtilityValues["borderLeftRadius"] | CssVars
|
|
7393
|
-
borderStartRadius?: ConditionalValue<UtilityValues["borderStartRadius"] | CssVars
|
|
7394
|
-
borderEndRadius?: ConditionalValue<UtilityValues["borderEndRadius"] | CssVars
|
|
7389
|
+
borderTopRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderTopRadius"] | CssVars>>
|
|
7390
|
+
borderRightRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderRightRadius"] | CssVars>>
|
|
7391
|
+
borderBottomRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderBottomRadius"] | CssVars>>
|
|
7392
|
+
borderLeftRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderLeftRadius"] | CssVars>>
|
|
7393
|
+
borderStartRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderStartRadius"] | CssVars>>
|
|
7394
|
+
borderEndRadius?: ConditionalValue<WithEscapeHatch<UtilityValues["borderEndRadius"] | CssVars>>
|
|
7395
7395
|
boxShadowColor?: ConditionalValue<WithEscapeHatch<UtilityValues["boxShadowColor"] | CssVars>>
|
|
7396
7396
|
brightness?: ConditionalValue<string | number | CssProperties["brightness"]>
|
|
7397
7397
|
contrast?: ConditionalValue<string | number | CssProperties["contrast"]>
|
|
@@ -7505,6 +7505,6 @@ scrollSnapMarginRight?: ConditionalValue<WithEscapeHatch<UtilityValues["scrollSn
|
|
|
7505
7505
|
animationStyle?: ConditionalValue<UtilityValues["animationStyle"] | CssVars | CssProperties["animationStyle"]>
|
|
7506
7506
|
}
|
|
7507
7507
|
|
|
7508
|
-
type StrictTokenProps = "top" | "left" | "inset" | "insetInline" | "insetX" | "insetBlock" | "insetY" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetEnd" | "end" | "insetInlineStart" | "insetStart" | "start" | "right" | "bottom" | "gap" | "gridGap" | "gridRowGap" | "gridColumnGap" | "rowGap" | "columnGap" | "padding" | "p" | "paddingLeft" | "pl" | "paddingRight" | "pr" | "paddingTop" | "pt" | "paddingBottom" | "pb" | "paddingBlock" | "py" | "paddingY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingInline" | "paddingX" | "px" | "paddingInlineEnd" | "pe" | "paddingEnd" | "paddingInlineStart" | "ps" | "paddingStart" | "marginLeft" | "ml" | "marginRight" | "mr" | "marginTop" | "mt" | "marginBottom" | "mb" | "margin" | "m" | "marginBlock" | "my" | "marginY" | "marginBlockEnd" | "marginBlockStart" | "marginInline" | "mx" | "marginX" | "marginInlineEnd" | "me" | "marginEnd" | "marginInlineStart" | "ms" | "marginStart" | "spaceX" | "spaceY" | "outlineColor" | "ringColor" | "outlineOffset" | "ringOffset" | "focusRingColor" | "focusRingOffset" | "divideColor" | "color" | "fontFamily" | "textDecorationColor" | "textEmphasisColor" | "textIndent" | "textShadowColor" | "WebkitTextFillColor" | "background" | "bg" | "backgroundColor" | "bgColor" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderColor" | "borderInlineColor" | "borderXColor" | "borderBlockColor" | "borderYColor" | "borderLeftColor" | "borderInlineStartColor" | "borderStartColor" | "borderRightColor" | "borderInlineEndColor" | "borderEndColor" | "borderTopColor" | "borderBottomColor" | "borderBlockEndColor" | "borderBlockStartColor" | "boxShadowColor" | "shadowColor" | "borderSpacing" | "borderSpacingX" | "borderSpacingY" | "transitionTimingFunction" | "animationTimingFunction" | "translateX" | "x" | "translateY" | "y" | "translateZ" | "z" | "accentColor" | "caretColor" | "scrollbarColor" | "scrollMargin" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollMarginBottom" | "scrollMarginBlock" | "scrollMarginY" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginInline" | "scrollMarginX" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingY" | "scrollPaddingBlockStart" | "scrollPaddingBlockEnd" | "scrollPaddingInline" | "scrollPaddingX" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollPaddingBottom" | "scrollSnapMargin" | "scrollSnapMarginTop" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "fill" | "stroke"
|
|
7508
|
+
type StrictTokenProps = "top" | "left" | "inset" | "insetInline" | "insetX" | "insetBlock" | "insetY" | "insetBlockEnd" | "insetBlockStart" | "insetInlineEnd" | "insetEnd" | "end" | "insetInlineStart" | "insetStart" | "start" | "right" | "bottom" | "gap" | "gridGap" | "gridRowGap" | "gridColumnGap" | "rowGap" | "columnGap" | "padding" | "p" | "paddingLeft" | "pl" | "paddingRight" | "pr" | "paddingTop" | "pt" | "paddingBottom" | "pb" | "paddingBlock" | "py" | "paddingY" | "paddingBlockEnd" | "paddingBlockStart" | "paddingInline" | "paddingX" | "px" | "paddingInlineEnd" | "pe" | "paddingEnd" | "paddingInlineStart" | "ps" | "paddingStart" | "marginLeft" | "ml" | "marginRight" | "mr" | "marginTop" | "mt" | "marginBottom" | "mb" | "margin" | "m" | "marginBlock" | "my" | "marginY" | "marginBlockEnd" | "marginBlockStart" | "marginInline" | "mx" | "marginX" | "marginInlineEnd" | "me" | "marginEnd" | "marginInlineStart" | "ms" | "marginStart" | "spaceX" | "spaceY" | "outlineColor" | "ringColor" | "outlineOffset" | "ringOffset" | "focusRingColor" | "focusRingOffset" | "divideColor" | "color" | "fontFamily" | "fontWeight" | "textDecorationColor" | "textEmphasisColor" | "textIndent" | "textShadowColor" | "WebkitTextFillColor" | "background" | "bg" | "backgroundColor" | "bgColor" | "gradientFrom" | "gradientTo" | "gradientVia" | "borderRadius" | "rounded" | "borderTopLeftRadius" | "roundedTopLeft" | "borderTopRightRadius" | "roundedTopRight" | "borderBottomRightRadius" | "roundedBottomRight" | "borderBottomLeftRadius" | "roundedBottomLeft" | "borderTopRadius" | "roundedTop" | "borderRightRadius" | "roundedRight" | "borderBottomRadius" | "roundedBottom" | "borderLeftRadius" | "roundedLeft" | "borderStartStartRadius" | "roundedStartStart" | "borderStartEndRadius" | "roundedStartEnd" | "borderStartRadius" | "roundedStart" | "borderEndStartRadius" | "roundedEndStart" | "borderEndEndRadius" | "roundedEndEnd" | "borderEndRadius" | "roundedEnd" | "borderColor" | "borderInlineColor" | "borderXColor" | "borderBlockColor" | "borderYColor" | "borderLeftColor" | "borderInlineStartColor" | "borderStartColor" | "borderRightColor" | "borderInlineEndColor" | "borderEndColor" | "borderTopColor" | "borderBottomColor" | "borderBlockEndColor" | "borderBlockStartColor" | "boxShadowColor" | "shadowColor" | "borderSpacing" | "borderSpacingX" | "borderSpacingY" | "transitionTimingFunction" | "animationTimingFunction" | "translateX" | "x" | "translateY" | "y" | "translateZ" | "z" | "accentColor" | "caretColor" | "scrollbarColor" | "scrollMargin" | "scrollMarginLeft" | "scrollMarginRight" | "scrollMarginTop" | "scrollMarginBottom" | "scrollMarginBlock" | "scrollMarginY" | "scrollMarginBlockEnd" | "scrollMarginBlockStart" | "scrollMarginInline" | "scrollMarginX" | "scrollMarginInlineEnd" | "scrollMarginInlineStart" | "scrollPadding" | "scrollPaddingBlock" | "scrollPaddingY" | "scrollPaddingBlockStart" | "scrollPaddingBlockEnd" | "scrollPaddingInline" | "scrollPaddingX" | "scrollPaddingInlineEnd" | "scrollPaddingInlineStart" | "scrollPaddingLeft" | "scrollPaddingRight" | "scrollPaddingTop" | "scrollPaddingBottom" | "scrollSnapMargin" | "scrollSnapMarginTop" | "scrollSnapMarginBottom" | "scrollSnapMarginLeft" | "scrollSnapMarginRight" | "fill" | "stroke"
|
|
7509
7509
|
|
|
7510
7510
|
type Restrict<Key, Value, Fallback> = Key extends StrictTokenProps ? Value : Value | Fallback
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable */
|
|
2
|
-
import type { ConditionalValue, Nested } from './conditions';
|
|
3
|
-
import type { AtRule, Globals, PropertiesFallback } from './csstype';
|
|
4
|
-
import type { SystemProperties, CssVarProperties } from './style-props';
|
|
2
|
+
import type { ConditionalValue, Nested } from './conditions.d.mts';
|
|
3
|
+
import type { AtRule, Globals, PropertiesFallback } from './csstype.d.mts';
|
|
4
|
+
import type { SystemProperties, CssVarProperties } from './style-props.d.mts';
|
|
5
5
|
|
|
6
6
|
type String = string & {}
|
|
7
7
|
type Number = number & {}
|