Skip to content

Commit

Permalink
feat(tailwind): remove deprecated spacing classes
Browse files Browse the repository at this point in the history
BREAKING CHANGE: these classes were deprecated. New number level classes can be used.
  • Loading branch information
DSil committed Jan 3, 2025
1 parent 512b0a9 commit e98ce58
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 203 deletions.
9 changes: 0 additions & 9 deletions packages/orbit-tailwind-preset/src/__fixtures__/Spacings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ const Spacings = () => {
<div className="px-1200">space1200</div>
<div className="px-1300">space1300</div>
<div className="px-1600">space1600</div>
<div className="px-xxxs">spaceXXXSmall</div>
<div className="px-xxs">spaceXXSmall</div>
<div className="px-xs">spaceXSmall</div>
<div className="px-sm">spaceSmall</div>
<div className="px-md">spaceMedium</div>
<div className="px-lg">spaceLarge</div>
<div className="px-xl">spaceXLarge</div>
<div className="px-xxl">spaceXXLarge</div>
<div className="px-xxxl">spaceXXXLarge</div>
</div>
);
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -386,17 +386,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"600": "24px",
"700": "28px",
"800": "32px",
"lg": "24px",
"md": "16px",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"transitionDuration": {
"fast": "0.15s",
Expand Down Expand Up @@ -1039,17 +1030,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"600": "24px",
"700": "28px",
"800": "32px",
"lg": "24px",
"md": "16px",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"borderWidth": {
"0": "0px",
Expand Down Expand Up @@ -1787,17 +1769,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"9/12": "75%",
"auto": "auto",
"full": "100%",
"lg": "24px",
"md": "16px",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"flexGrow": {
"0": "0",
Expand Down Expand Up @@ -1859,17 +1832,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"600": "24px",
"700": "28px",
"800": "32px",
"lg": "24px",
"md": "16px",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"gradientColorStopPositions": {
"0%": "0%",
Expand Down Expand Up @@ -2182,22 +2146,13 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"icon-large": "24px",
"icon-medium": "20px",
"icon-small": "16px",
"lg": "24px",
"lvh": "100lvh",
"max": "max-content",
"md": "16px",
"min": "min-content",
"none": "0px",
"px": "1px",
"screen": "100vh",
"sm": "12px",
"svh": "100svh",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"hueRotate": {
"0": "0deg",
Expand Down Expand Up @@ -2231,17 +2186,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"800": "32px",
"auto": "auto",
"full": "100%",
"lg": "24px",
"md": "16px",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"invert": {
"0": "0",
Expand Down Expand Up @@ -2424,17 +2370,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"700": "28px",
"800": "32px",
"auto": "auto",
"lg": "24px",
"md": "16px",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"maxHeight": {
"0": "0px",
Expand All @@ -2460,22 +2397,13 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"illustration-large": "280px",
"illustration-medium": "200px",
"illustration-small": "120px",
"lg": "24px",
"lvh": "100lvh",
"max": "max-content",
"md": "16px",
"min": "min-content",
"none": "none",
"px": "1px",
"screen": "100vh",
"sm": "12px",
"svh": "100svh",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"maxWidth": {
"0": "0px",
Expand Down Expand Up @@ -2522,10 +2450,6 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"sm": "24rem",
"xl": "36rem",
"xs": "20rem",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"minHeight": {
"0": "0px",
Expand All @@ -2552,22 +2476,13 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"icon-large": "24px",
"icon-medium": "20px",
"icon-small": "16px",
"lg": "24px",
"lvh": "100lvh",
"max": "max-content",
"md": "16px",
"min": "min-content",
"none": "0px",
"px": "1px",
"screen": "100vh",
"sm": "12px",
"svh": "100svh",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"minWidth": {
"0": "0px",
Expand All @@ -2591,19 +2506,10 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"icon-large": "24px",
"icon-medium": "20px",
"icon-small": "16px",
"lg": "24px",
"max": "max-content",
"md": "16px",
"min": "min-content",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"objectPosition": {
"bottom": "bottom",
Expand Down Expand Up @@ -2794,18 +2700,9 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"button-without-text-padding": "0",
"form-element-normal-padding": "0 12px",
"form-element-small-padding": "0 12px",
"lg": "24px",
"md": "16px",
"none": "0px",
"px": "1px",
"sm": "12px",
"table": "12px 16px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"placeholderColor": {
"blue": {
Expand Down Expand Up @@ -3227,17 +3124,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"600": "24px",
"700": "28px",
"800": "32px",
"lg": "24px",
"md": "16px",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"scrollPadding": {
"0": "0px",
Expand All @@ -3255,17 +3143,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"600": "24px",
"700": "28px",
"800": "32px",
"lg": "24px",
"md": "16px",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"sepia": {
"0": "0",
Expand Down Expand Up @@ -3324,19 +3203,10 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"icon-large": "24px",
"icon-medium": "20px",
"icon-small": "16px",
"lg": "24px",
"max": "max-content",
"md": "16px",
"min": "min-content",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"skew": {
"0": "0deg",
Expand All @@ -3362,17 +3232,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"600": "24px",
"700": "28px",
"800": "32px",
"lg": "24px",
"md": "16px",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"spacing": {
"0": "0px",
Expand All @@ -3390,17 +3251,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"600": "24px",
"700": "28px",
"800": "32px",
"lg": "24px",
"md": "16px",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"stroke": {
"blue": {
Expand Down Expand Up @@ -3832,17 +3684,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"600": "24px",
"700": "28px",
"800": "32px",
"lg": "24px",
"md": "16px",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"textOpacity": {
"0": "0",
Expand Down Expand Up @@ -3941,17 +3784,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"700": "28px",
"800": "32px",
"full": "100%",
"lg": "24px",
"md": "16px",
"none": "0px",
"px": "1px",
"sm": "12px",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"width": {
"0": "0px",
Expand Down Expand Up @@ -4007,22 +3841,13 @@ exports[`orbitPreset should have preflight disabled 1`] = `
"icon-large": "24px",
"icon-medium": "20px",
"icon-small": "16px",
"lg": "24px",
"lvw": "100lvw",
"max": "max-content",
"md": "16px",
"min": "min-content",
"none": "0px",
"px": "1px",
"screen": "100vw",
"sm": "12px",
"svw": "100svw",
"xl": "32px",
"xs": "8px",
"xxl": "40px",
"xxs": "4px",
"xxxl": "52px",
"xxxs": "2px",
},
"willChange": {
"auto": "auto",
Expand Down
Loading

0 comments on commit e98ce58

Please sign in to comment.