diff --git a/.changeset/smart-terms-ring.md b/.changeset/smart-terms-ring.md new file mode 100644 index 000000000..c514d21ed --- /dev/null +++ b/.changeset/smart-terms-ring.md @@ -0,0 +1,6 @@ +--- +"@orbit-ui/transition-components": patch +"@workleap/orbiter-ui": patch +--- + +Fixed intellisence for border-radius, font-family and line-height in the styled system diff --git a/packages/components/src/styling/src/styled-system/props-handler.ts b/packages/components/src/styling/src/styled-system/props-handler.ts index 223d4129c..edcef8aa3 100644 --- a/packages/components/src/styling/src/styled-system/props-handler.ts +++ b/packages/components/src/styling/src/styled-system/props-handler.ts @@ -83,7 +83,7 @@ export const SemanticSimpleMarginSpace = [ "inline-xl" ] as const; -export const SemanticComplexMarginSpace = []; +export const SemanticComplexMarginSpace = [] as const; export const OrbiterColors = [ "coastal-25", @@ -515,7 +515,7 @@ export const BorderRadiusAliases = [ "rounded-lg", "pill", "circle" -]; +] as const; export const BoxShadowScale = [ "none", @@ -535,7 +535,7 @@ export const FontFamilyScale = [ "primary", "secondary", "tertiary" -]; +] as const; export const FontFamilyAliases = [ "heading-3xl", @@ -571,7 +571,7 @@ export const FontFamilyAliases = [ "body-xs-underline", "accent-lg", "accent-sm" -]; +] as const; export const FontSizeScale = [ 480, @@ -712,7 +712,7 @@ export const LineHeightAliases = [ "body-xs-underline", "accent-lg", "accent-sm" -]; +] as const; function createValuesMapping(values: T, template: (value: T[number]) => string) { const mapping = {} as Record;