+
{children}
diff --git a/packages/react/src/components/Toggletip/next/Toggletip.mdx b/packages/react/src/components/Toggletip/Toggletip.mdx
similarity index 97%
rename from packages/react/src/components/Toggletip/next/Toggletip.mdx
rename to packages/react/src/components/Toggletip/Toggletip.mdx
index b6ca8bfff8ad..55d1a5b6fbf2 100644
--- a/packages/react/src/components/Toggletip/next/Toggletip.mdx
+++ b/packages/react/src/components/Toggletip/Toggletip.mdx
@@ -83,4 +83,4 @@ example:
Help us improve this component by providing feedback, asking questions on Slack,
or updating this file on
-[GitHub](https://github.com/carbon-design-system/carbon/edit/main/packages/react/src/components/Toggletip/next/Toggletip.mdx).
+[GitHub](https://github.com/carbon-design-system/carbon/edit/main/packages/react/src/components/Toggletip/Toggletip.mdx).
diff --git a/packages/react/src/components/Toggletip/next/Toggletip.stories.js b/packages/react/src/components/Toggletip/Toggletip.stories.js
similarity index 95%
rename from packages/react/src/components/Toggletip/next/Toggletip.stories.js
rename to packages/react/src/components/Toggletip/Toggletip.stories.js
index b1163c54abbd..767b6bdc380c 100644
--- a/packages/react/src/components/Toggletip/next/Toggletip.stories.js
+++ b/packages/react/src/components/Toggletip/Toggletip.stories.js
@@ -7,15 +7,15 @@
import { Information } from '@carbon/icons-react';
import React from 'react';
-import { default as Button } from '../../Button';
-import { default as Link } from '../../Link';
+import { default as Button } from '../Button';
+import { default as Link } from '../Link';
import {
ToggletipLabel,
Toggletip,
ToggletipButton,
ToggletipContent,
ToggletipActions,
-} from '../../Toggletip';
+} from '../Toggletip';
import mdx from './Toggletip.mdx';
export default {
diff --git a/packages/styles/scss/__tests__/type-test.js b/packages/styles/scss/__tests__/type-test.js
index 009116fbe24c..87e7915d8213 100644
--- a/packages/styles/scss/__tests__/type-test.js
+++ b/packages/styles/scss/__tests__/type-test.js
@@ -27,19 +27,27 @@ describe('@carbon/styles/scss/type', () => {
reset: meta.mixin-exists('reset', 'type'),
type-style: meta.mixin-exists('type-style', 'type'),
font-family: meta.mixin-exists('font-family', 'type'),
+ font-weight: meta.mixin-exists('font-family', 'type'),
default-type: meta.mixin-exists('default-type', 'type'),
type-classes: meta.mixin-exists('type-classes', 'type'),
),
+ functions: (
+ font-weight: meta.function-exists('font-family', 'type'),
+ ),
));
`);
const { value: api } = get('api');
+ expect(api.functions).toEqual({
+ 'font-weight': true,
+ });
expect(api.mixins).toEqual({
reset: true,
'type-style': true,
'font-family': true,
'default-type': true,
'type-classes': true,
+ 'font-weight': true,
});
expect(api.variables).toMatchInlineSnapshot(`
Array [
@@ -73,6 +81,8 @@ describe('@carbon/styles/scss/type', () => {
"display-02",
"display-03",
"display-04",
+ "font-families",
+ "font-weights",
"tokens",
]
`);
diff --git a/packages/styles/scss/type/_index.scss b/packages/styles/scss/type/_index.scss
index 22bdb0f36324..717bef66a179 100644
--- a/packages/styles/scss/type/_index.scss
+++ b/packages/styles/scss/type/_index.scss
@@ -13,6 +13,7 @@
font-family,
default-type,
type-classes,
+ font-weight,
// Variables
$caption-01,
@@ -46,6 +47,8 @@
$display-02,
$display-03,
$display-04,
+ $font-families,
+ $font-weights,
$tokens;
@use '@carbon/type';