Skip to content

Commit c38c62e

Browse files
committed
feat(tailwind): remove deprecated border radius classes
BREAKING CHANGE: these classes were deprecated and are not meant to be used.
1 parent e34d389 commit c38c62e

File tree

3 files changed

+0
-18
lines changed

3 files changed

+0
-18
lines changed

packages/orbit-tailwind-preset/src/__fixtures__/BorderRadius.tsx

-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ const BorderRadius = () => {
1111
<div className="rounded-400">400</div>
1212
<div className="rounded-none">none</div>
1313
<div className="rounded-full">full</div>
14-
{/* Deprecated values */}
15-
<div className="rounded-small">small</div>
16-
<div className="rounded-normal">normal</div>
17-
<div className="rounded-large">large</div>
18-
<div className="rounded-circle">circle</div>
1914
</div>
2015
);
2116
};

packages/orbit-tailwind-preset/src/__tests__/__snapshots__/configs.test.ts.snap

-8
Original file line numberDiff line numberDiff line change
@@ -216,12 +216,8 @@ exports[`orbitPreset should have preflight disabled 1`] = `
216216
"300": "12px",
217217
"400": "16px",
218218
"50": "2px",
219-
"circle": "50%",
220219
"full": "9999px",
221-
"large": "6px",
222220
"none": "0",
223-
"normal": "3px",
224-
"small": "2px",
225221
},
226222
"boxShadow": {
227223
"fixed": "0 0 2px 0 rgba(37, 42, 49, 0.16),0 2px 4px 0 rgba(37, 42, 49, 0.12)",
@@ -1030,18 +1026,14 @@ exports[`orbitPreset should have preflight disabled 1`] = `
10301026
"400": "16px",
10311027
"50": "2px",
10321028
"badge": "12px",
1033-
"circle": "50%",
10341029
"dialog-desktop": "9px",
10351030
"dialog-mobile": "12px",
10361031
"form-box-large": "52px",
10371032
"form-box-normal": "44px",
10381033
"form-box-small": "32px",
10391034
"full": "9999px",
1040-
"large": "6px",
10411035
"modal": "12px",
10421036
"none": "0",
1043-
"normal": "3px",
1044-
"small": "2px",
10451037
},
10461038
"borderSpacing": {
10471039
"0": "0px",

packages/orbit-tailwind-preset/src/foundation/getTailwindTheme.ts

-5
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,6 @@ const getTailwindTheme = (theme: typeof defaultTokens) => {
163163
400: defaultFoundation.borderRadius["400"],
164164
none: defaultFoundation.borderRadius.none,
165165
full: defaultFoundation.borderRadius.full,
166-
/* Deprecated values */
167-
small: defaultFoundation.borderRadius.small,
168-
normal: defaultFoundation.borderRadius.normal,
169-
large: defaultFoundation.borderRadius.large,
170-
circle: defaultFoundation.borderRadius.circle,
171166
},
172167
screens: {
173168
sm: toPx(defaultFoundation.breakpoint.smallMobile),

0 commit comments

Comments
 (0)