@codecademy/styleguide 79.2.4-alpha.ee1acd.0 → 79.2.5-alpha.38010e.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/.storybook/components/Elements/DocsContainer.tsx +2 -2
- package/.storybook/components/Elements/StorySource.tsx +2 -2
- package/.storybook/components/Headers/ComponentHeader.tsx +1 -1
- package/.storybook/components/ImageWrapper.tsx +4 -2
- package/.storybook/main.ts +3 -20
- package/.storybook/manager.ts +1 -1
- package/.storybook/preview.ts +33 -11
- package/.storybook/theming/GamutTheme.ts +1 -1
- package/CHANGELOG.md +5 -4
- package/package.json +2 -2
- package/project.json +0 -9
- package/src/lib/About.mdx +1 -1
- package/src/lib/Atoms/About.mdx +1 -1
- package/src/lib/Atoms/Animations/About.mdx +1 -1
- package/src/lib/Atoms/Animations/ExpandInCollapseOut/ExpandInCollapseOut.mdx +1 -1
- package/src/lib/Atoms/Animations/FadeInSlideOut/FadeInSlideOut.mdx +1 -1
- package/src/lib/Atoms/Animations/Rotation/Rotation.mdx +1 -1
- package/src/lib/Atoms/Badge/Badge.mdx +1 -1
- package/src/lib/Atoms/Buttons/About.mdx +1 -1
- package/src/lib/Atoms/Buttons/Button/Button.mdx +1 -1
- package/src/lib/Atoms/Buttons/CTAButton/CTAButton.mdx +1 -1
- package/src/lib/Atoms/Buttons/FillButton/FillButton.mdx +1 -1
- package/src/lib/Atoms/Buttons/IconButton/IconButton.mdx +1 -1
- package/src/lib/Atoms/Buttons/StrokeButton/StrokeButton.mdx +1 -1
- package/src/lib/Atoms/Buttons/TextButton/TextButton.mdx +1 -1
- package/src/lib/Atoms/Card/Card.mdx +1 -1
- package/src/lib/Atoms/Drawer/Drawer.mdx +1 -1
- package/src/lib/Atoms/FeatureShimmer/FeatureShimmer.mdx +1 -1
- package/src/lib/Atoms/FormElements/About.mdx +1 -1
- package/src/lib/Atoms/FormElements/Form/Form.mdx +1 -1
- package/src/lib/Atoms/FormElements/FormGroup/FormGroup.mdx +1 -1
- package/src/lib/Atoms/FormElements/FormGroupDescription/FormGroupDescription.mdx +1 -1
- package/src/lib/Atoms/FormElements/FormGroupLabel/FormGroupLabel.mdx +1 -1
- package/src/lib/Atoms/FormElements/FormRequiredText/FormRequiredText.mdx +1 -1
- package/src/lib/Atoms/FormInputs/About.mdx +1 -1
- package/src/lib/Atoms/FormInputs/Checkbox/Checkbox.mdx +1 -1
- package/src/lib/Atoms/FormInputs/Input/Input.mdx +1 -1
- package/src/lib/Atoms/FormInputs/Radio/Radio.mdx +1 -1
- package/src/lib/Atoms/FormInputs/Select/Select.mdx +1 -1
- package/src/lib/Atoms/FormInputs/SelectDropdown/SelectDropdown.mdx +1 -1
- package/src/lib/Atoms/FormInputs/TextArea/TextArea.mdx +1 -1
- package/src/lib/Atoms/Icons/About.mdx +1 -1
- package/src/lib/Atoms/Icons/Mini/Mini.mdx +1 -1
- package/src/lib/Atoms/Icons/Regular/Regular.mdx +1 -1
- package/src/lib/Atoms/Illustrations/Illustrations.mdx +1 -1
- package/src/lib/Atoms/InternalFloatingCard/InternalFloatingCard.mdx +1 -1
- package/src/lib/Atoms/Loaders/About.mdx +1 -1
- package/src/lib/Atoms/Loaders/Shimmer/Shimmer.mdx +1 -1
- package/src/lib/Atoms/Loaders/Spinner/Spinner.mdx +1 -1
- package/src/lib/Atoms/Patterns/Patterns.mdx +1 -1
- package/src/lib/Atoms/PopoverContainer/PopoverContainer.mdx +1 -1
- package/src/lib/Atoms/ProgressBar/ProgressBar.mdx +1 -1
- package/src/lib/Atoms/RadialProgress/RadialProgress.mdx +1 -1
- package/src/lib/Atoms/SkipToContent/SkipToContent.mdx +1 -1
- package/src/lib/Atoms/Tag/Tag.mdx +1 -1
- package/src/lib/Atoms/Toggle/Toggle.mdx +1 -1
- package/src/lib/Atoms/UtilityComponents/About.mdx +1 -1
- package/src/lib/Atoms/UtilityComponents/DelayedRenderWrapper/DelayedRenderWrapper.mdx +1 -1
- package/src/lib/Atoms/UtilityComponents/FocusTrap/FocusTrap.mdx +1 -1
- package/src/lib/Foundations/About.mdx +1 -1
- package/src/lib/Foundations/ColorMode/ColorMode.mdx +1 -1
- package/src/lib/Foundations/Layout.mdx +1 -1
- package/src/lib/Foundations/System/About.mdx +1 -1
- package/src/lib/Foundations/System/Compose.mdx +1 -1
- package/src/lib/Foundations/System/Props/About.mdx +1 -1
- package/src/lib/Foundations/System/Props/Background.mdx +1 -1
- package/src/lib/Foundations/System/Props/Border.mdx +1 -1
- package/src/lib/Foundations/System/Props/Color.mdx +1 -1
- package/src/lib/Foundations/System/Props/Flex.mdx +1 -1
- package/src/lib/Foundations/System/Props/Grid.mdx +1 -1
- package/src/lib/Foundations/System/Props/Layout.mdx +1 -1
- package/src/lib/Foundations/System/Props/List.mdx +1 -1
- package/src/lib/Foundations/System/Props/Positioning.mdx +1 -1
- package/src/lib/Foundations/System/Props/Shadow.mdx +1 -1
- package/src/lib/Foundations/System/Props/Space.mdx +1 -1
- package/src/lib/Foundations/System/Props/Typography.mdx +1 -1
- package/src/lib/Foundations/System/ResponsiveProperties/ResponsiveProperties.mdx +1 -1
- package/src/lib/Foundations/System/Variants.mdx +1 -1
- package/src/lib/Foundations/Theme/About.mdx +1 -1
- package/src/lib/Foundations/Theme/AdminTheme.mdx +1 -1
- package/src/lib/Foundations/Theme/CoreTheme.mdx +1 -1
- package/src/lib/Foundations/Theme/CreatingThemes.mdx +1 -1
- package/src/lib/Foundations/Theme/LXStudioTheme.mdx +1 -1
- package/src/lib/Foundations/Theme/PercipioTheme.mdx +1 -1
- package/src/lib/Foundations/Theme/PlatformTheme.mdx +1 -1
- package/src/lib/Foundations/Typography.mdx +1 -1
- package/src/lib/Foundations/Utilities/Utilities.mdx +1 -1
- package/src/lib/Layouts/About.mdx +1 -1
- package/src/lib/Layouts/Boxes/About.mdx +1 -1
- package/src/lib/Layouts/Boxes/Box/Box.mdx +1 -1
- package/src/lib/Layouts/Boxes/FlexBox/FlexBox.mdx +1 -1
- package/src/lib/Layouts/Boxes/GridBox/GridBox.mdx +1 -1
- package/src/lib/Layouts/ContentContainer/ContentContainer.mdx +1 -1
- package/src/lib/Layouts/LayoutGrid/LayoutGrid.mdx +1 -1
- package/src/lib/Meta/About.mdx +6 -6
- package/src/lib/Meta/{Best Practices.mdx → Best practices.mdx } +4 -4
- package/src/lib/Meta/Brand.mdx +1 -1
- package/src/lib/Meta/Contributing.mdx +1 -1
- package/src/lib/Meta/{Deep Controls Add-On.mdx → Deep Controls add-on.mdx } +1 -1
- package/src/lib/Meta/ESLint rules.mdx +1 -1
- package/src/lib/Meta/FAQs.mdx +1 -1
- package/src/lib/Meta/Gamut writing guide/About.mdx +43 -0
- package/src/lib/Meta/Gamut writing guide/Documentation in code.mdx +134 -0
- package/src/lib/Meta/Gamut writing guide/Formatting.mdx +69 -0
- package/src/lib/Meta/Gamut writing guide/General principles.mdx +46 -0
- package/src/lib/Meta/Gamut writing guide/Language and grammar.mdx +54 -0
- package/src/lib/Meta/Gamut writing guide/Linking.mdx +60 -0
- package/src/lib/Meta/Gamut writing guide/Referencing code.mdx +86 -0
- package/src/lib/Meta/Gamut writing guide/Stories/About pages.mdx +49 -0
- package/src/lib/Meta/Gamut writing guide/Stories/About.mdx +57 -0
- package/src/lib/Meta/Gamut writing guide/Stories/Component code examples.mdx +79 -0
- package/src/lib/Meta/{Stories.mdx → Gamut writing guide/Stories/Component story documentation.mdx } +22 -88
- package/src/lib/Meta/Installation.mdx +1 -1
- package/src/lib/Meta/Logical and physical CSS properties.mdx +1 -1
- package/src/lib/Meta/MCP/About.mdx +1 -1
- package/src/lib/Meta/MCP/Code Connect.mdx +1 -1
- package/src/lib/Meta/MCP/Figma MCP.mdx +1 -1
- package/src/lib/Meta/{Usage Guide.mdx → Usage guide.mdx } +4 -4
- package/src/lib/Molecules/About.mdx +1 -1
- package/src/lib/Molecules/AccordionButtonDeprecated/AccordionButtonDeprecated.mdx +1 -1
- package/src/lib/Molecules/AccordionDeprecated/AccordionDeprecated.mdx +1 -1
- package/src/lib/Molecules/Alert/Alert.mdx +1 -1
- package/src/lib/Molecules/Breadcrumbs/Breadcrumbs.mdx +1 -1
- package/src/lib/Molecules/Coachmark/Coachmark.mdx +1 -1
- package/src/lib/Molecules/Disclosure/Disclosure.mdx +1 -1
- package/src/lib/Molecules/Flyout/Flyout.mdx +1 -1
- package/src/lib/Molecules/Menu/Menu.mdx +1 -1
- package/src/lib/Molecules/Modals/About.mdx +1 -1
- package/src/lib/Molecules/Modals/Dialog/Dialog.mdx +1 -1
- package/src/lib/Molecules/Modals/Modal/Modal.mdx +1 -1
- package/src/lib/Molecules/Modals/Overlay/Overlay.mdx +1 -1
- package/src/lib/Molecules/Pagination/Pagination.mdx +1 -1
- package/src/lib/Molecules/Popover/Popover.mdx +1 -1
- package/src/lib/Molecules/Tabs/Tabs.mdx +1 -1
- package/src/lib/Molecules/Tips/About.mdx +1 -1
- package/src/lib/Molecules/Tips/InfoTip/InfoTip.mdx +2 -2
- package/src/lib/Molecules/Tips/PreviewTip/PreviewTip.mdx +1 -1
- package/src/lib/Molecules/Tips/ToolTip/ToolTip.mdx +1 -1
- package/src/lib/Molecules/Toasts/About.mdx +1 -1
- package/src/lib/Molecules/Toasts/Toast/Toast.mdx +1 -1
- package/src/lib/Molecules/Toasts/Toaster/Toaster.mdx +1 -1
- package/src/lib/Molecules/Video/Video.mdx +1 -1
- package/src/lib/Organisms/About.mdx +1 -1
- package/src/lib/Organisms/BarChart/BarChart.mdx +463 -0
- package/src/lib/Organisms/BarChart/BarChart.stories.tsx +352 -0
- package/src/lib/Organisms/ConnectedForm/About.mdx +1 -1
- package/src/lib/Organisms/ConnectedForm/ConnectedForm/ConnectedForm.mdx +1 -1
- package/src/lib/Organisms/ConnectedForm/ConnectedForm/ConnectedForm.stories.tsx +1 -1
- package/src/lib/Organisms/ConnectedForm/ConnectedFormGroup/ConnectedFormGroup.mdx +1 -1
- package/src/lib/Organisms/ConnectedForm/ConnectedFormGroup/ConnectedFormGroup.stories.tsx +1 -1
- package/src/lib/Organisms/ConnectedForm/ConnectedFormInputs/ConnectedFormInputs.mdx +1 -1
- package/src/lib/Organisms/ConnectedForm/SubmitButton/SubmitButton.mdx +1 -1
- package/src/lib/Organisms/ConnectedForm/SubmitButton/SubmitButton.stories.tsx +1 -1
- package/src/lib/Organisms/GridForm/About.mdx +1 -1
- package/src/lib/Organisms/GridForm/Buttons.mdx +1 -1
- package/src/lib/Organisms/GridForm/Buttons.stories.tsx +1 -1
- package/src/lib/Organisms/GridForm/Fields.mdx +1 -1
- package/src/lib/Organisms/GridForm/Fields.stories.tsx +1 -1
- package/src/lib/Organisms/GridForm/Layout.mdx +1 -1
- package/src/lib/Organisms/GridForm/Layout.stories.tsx +1 -1
- package/src/lib/Organisms/GridForm/States.mdx +1 -1
- package/src/lib/Organisms/GridForm/States.stories.tsx +1 -1
- package/src/lib/Organisms/GridForm/Usage.mdx +1 -1
- package/src/lib/Organisms/GridForm/Usage.stories.tsx +1 -1
- package/src/lib/Organisms/GridForm/Validation.mdx +1 -1
- package/src/lib/Organisms/Lists & Tables/About.mdx +1 -1
- package/src/lib/Organisms/Lists & Tables/DataList/DataList.mdx +1 -1
- package/src/lib/Organisms/Lists & Tables/DataTable/DataTable.mdx +1 -1
- package/src/lib/Organisms/Lists & Tables/List/List.mdx +1 -1
- package/src/lib/Organisms/Markdown/Markdown.mdx +1 -1
- package/src/lib/Typography/About.mdx +1 -1
- package/src/lib/Typography/Anchor/Anchor.mdx +1 -1
- package/src/lib/Typography/HiddenText/HiddenText.mdx +1 -1
- package/src/lib/Typography/Text/Text.mdx +1 -1
- package/src/lib/UX Writing/About.mdx +1 -1
- package/src/lib/UX Writing/Accessibility guidelines.mdx +1 -1
- package/src/lib/UX Writing/Component guidelines/About.mdx +1 -1
- package/src/lib/UX Writing/Component guidelines/Alerts.mdx +1 -1
- package/src/lib/UX Writing/Component guidelines/Alternative text.mdx +1 -1
- package/src/lib/UX Writing/Component guidelines/Buttons.mdx +1 -1
- package/src/lib/UX Writing/Component guidelines/Confirmation dialogs.mdx +1 -1
- package/src/lib/UX Writing/Component guidelines/Error messages.mdx +1 -1
- package/src/lib/UX Writing/Component guidelines/Notifications.mdx +1 -1
- package/src/lib/UX Writing/Component guidelines/Toasts.mdx +1 -1
- package/src/lib/UX Writing/Component guidelines/Tooltips.mdx +1 -1
- package/src/lib/UX Writing/DIY UX writing in 8 steps.mdx +1 -1
- package/src/static/organisms/barchart.png +0 -0
|
@@ -15,8 +15,8 @@ import {
|
|
|
15
15
|
DocsContainer as StorybookDocsContainer,
|
|
16
16
|
DocsContextProps,
|
|
17
17
|
SourceContainer,
|
|
18
|
-
} from '@storybook/
|
|
19
|
-
import { ThemeProvider } from 'storybook/theming';
|
|
18
|
+
} from '@storybook/blocks';
|
|
19
|
+
import { ThemeProvider } from '@storybook/theming';
|
|
20
20
|
import { useMemo } from 'react';
|
|
21
21
|
import { HelmetProvider } from 'react-helmet-async';
|
|
22
22
|
import theme from '../../theming/GamutTheme';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Source } from '@storybook/
|
|
2
|
-
import { SourceType } from 'storybook/
|
|
1
|
+
import { Source } from '@storybook/blocks';
|
|
2
|
+
import { SourceType } from '@storybook/docs-tools';
|
|
3
3
|
import { ComponentProps } from 'react';
|
|
4
4
|
|
|
5
5
|
export const StorySource = ({
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
Text,
|
|
7
7
|
} from '@codecademy/gamut';
|
|
8
8
|
import { Figma } from '@storybook/addon-designs/blocks';
|
|
9
|
-
import { Title } from '@storybook/
|
|
9
|
+
import { Title } from '@storybook/blocks';
|
|
10
10
|
import * as React from 'react';
|
|
11
11
|
|
|
12
12
|
import { StatusIndicator } from '../Elements/StatusIndicator';
|
|
@@ -3,8 +3,9 @@ import * as React from 'react';
|
|
|
3
3
|
import styled from '@emotion/styled';
|
|
4
4
|
|
|
5
5
|
interface ImageWrapperProps {
|
|
6
|
-
src: string;
|
|
7
6
|
alt: string;
|
|
7
|
+
height: number | string;
|
|
8
|
+
src: string;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
const StyledImage = styled.img`
|
|
@@ -15,12 +16,13 @@ const StyledImage = styled.img`
|
|
|
15
16
|
export const ImageWrapper: React.FC<ImageWrapperProps & BoxProps> = ({
|
|
16
17
|
src,
|
|
17
18
|
alt,
|
|
19
|
+
height = '216px',
|
|
18
20
|
...props
|
|
19
21
|
}) => {
|
|
20
22
|
return (
|
|
21
23
|
<Box
|
|
22
24
|
width={'100%'}
|
|
23
|
-
height=
|
|
25
|
+
height={height}
|
|
24
26
|
display="flex"
|
|
25
27
|
justifyContent={'center'}
|
|
26
28
|
alignItems="center"
|
package/.storybook/main.ts
CHANGED
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
// This file has been automatically migrated to valid ESM format by Storybook.
|
|
2
|
-
import { fileURLToPath } from 'node:url';
|
|
3
|
-
import { createRequire } from 'node:module';
|
|
4
1
|
import type { StorybookConfig } from '@storybook/react-webpack5';
|
|
5
|
-
import { resolve, dirname, join } from '
|
|
6
|
-
|
|
7
|
-
const __filename = fileURLToPath(import.meta.url);
|
|
8
|
-
const __dirname = dirname(__filename);
|
|
9
|
-
const require = createRequire(import.meta.url);
|
|
2
|
+
import { resolve, dirname, join } from 'path';
|
|
10
3
|
|
|
11
4
|
const config: StorybookConfig = {
|
|
12
5
|
stories: [
|
|
@@ -15,14 +8,9 @@ const config: StorybookConfig = {
|
|
|
15
8
|
],
|
|
16
9
|
staticDirs: ['../src/static'],
|
|
17
10
|
addons: [
|
|
18
|
-
getAbsolutePath('@storybook/addon-
|
|
19
|
-
|
|
20
|
-
// so getting the absolute path of the package.json won't work. they do expose
|
|
21
|
-
// a require export though, so we can just use that directly
|
|
22
|
-
require.resolve('@nx/react/plugins/storybook'),
|
|
11
|
+
getAbsolutePath('@storybook/addon-essentials'),
|
|
12
|
+
getAbsolutePath('@nx/react/plugins/storybook', ''),
|
|
23
13
|
getAbsolutePath('@storybook/addon-links'),
|
|
24
|
-
getAbsolutePath('@storybook/addon-docs'),
|
|
25
|
-
getAbsolutePath('@storybook/addon-a11y'),
|
|
26
14
|
getAbsolutePath('@storybook/addon-designs'),
|
|
27
15
|
getAbsolutePath('storybook-addon-deep-controls'),
|
|
28
16
|
],
|
|
@@ -69,11 +57,6 @@ const config: StorybookConfig = {
|
|
|
69
57
|
__dirname,
|
|
70
58
|
'../../gamut-illustrations/src'
|
|
71
59
|
),
|
|
72
|
-
'@codecademy/gamut-icons$': resolve(__dirname, '../../gamut-icons/src'),
|
|
73
|
-
'@codecademy/gamut-patterns$': resolve(
|
|
74
|
-
__dirname,
|
|
75
|
-
'../../gamut-patterns/src'
|
|
76
|
-
),
|
|
77
60
|
'@codecademy/variance$': resolve(__dirname, '../../variance/src'),
|
|
78
61
|
},
|
|
79
62
|
};
|
package/.storybook/manager.ts
CHANGED
package/.storybook/preview.ts
CHANGED
|
@@ -4,9 +4,9 @@ import theme from './theming/GamutTheme';
|
|
|
4
4
|
import { withEmotion } from './theming/GamutThemeProvider';
|
|
5
5
|
import { breakpoints, css } from '@codecademy/gamut-styles';
|
|
6
6
|
import { DocsContainer } from './components/Elements/DocsContainer';
|
|
7
|
-
import { CodeOrSourceMdx, HeadersMdx } from '@storybook/
|
|
8
|
-
import { components as htmlComponents } from 'storybook/
|
|
9
|
-
import { styled } from 'storybook/theming';
|
|
7
|
+
import { CodeOrSourceMdx, HeadersMdx } from '@storybook/blocks';
|
|
8
|
+
import { components as htmlComponents } from '@storybook/components';
|
|
9
|
+
import { styled } from '@storybook/theming';
|
|
10
10
|
import { Link } from './components/Elements/Markdown';
|
|
11
11
|
|
|
12
12
|
const WrappedPre = styled(htmlComponents.pre)(
|
|
@@ -26,9 +26,6 @@ const mdxComponents = {
|
|
|
26
26
|
|
|
27
27
|
const preview: Preview = {
|
|
28
28
|
parameters: {
|
|
29
|
-
a11y: {
|
|
30
|
-
test: 'todo',
|
|
31
|
-
},
|
|
32
29
|
backgrounds: {
|
|
33
30
|
disable: true,
|
|
34
31
|
},
|
|
@@ -48,15 +45,35 @@ const preview: Preview = {
|
|
|
48
45
|
'Meta',
|
|
49
46
|
[
|
|
50
47
|
'About',
|
|
51
|
-
'
|
|
48
|
+
'Brand',
|
|
49
|
+
'Best practices',
|
|
52
50
|
'Contributing',
|
|
51
|
+
'Deep Controls add-on',
|
|
53
52
|
'ESLint rules',
|
|
54
53
|
'FAQs',
|
|
55
54
|
'Logical and physical CSS properties',
|
|
56
55
|
'Stories',
|
|
57
56
|
'Brand',
|
|
58
57
|
'Installation',
|
|
59
|
-
'
|
|
58
|
+
'Stories',
|
|
59
|
+
'Usage guide',
|
|
60
|
+
'Gamut writing guide',
|
|
61
|
+
[
|
|
62
|
+
'About',
|
|
63
|
+
'General principles',
|
|
64
|
+
'Documentation in code',
|
|
65
|
+
'Formatting',
|
|
66
|
+
'Language and grammar',
|
|
67
|
+
'Linking',
|
|
68
|
+
'Referencing code',
|
|
69
|
+
'Stories',
|
|
70
|
+
[
|
|
71
|
+
'About',
|
|
72
|
+
'About pages',
|
|
73
|
+
'Component story documentation',
|
|
74
|
+
'Component code examples',
|
|
75
|
+
],
|
|
76
|
+
],
|
|
60
77
|
'MCP',
|
|
61
78
|
],
|
|
62
79
|
'Foundations',
|
|
@@ -88,7 +105,12 @@ const preview: Preview = {
|
|
|
88
105
|
},
|
|
89
106
|
},
|
|
90
107
|
viewport: {
|
|
91
|
-
|
|
108
|
+
defaultViewport: 'responsive',
|
|
109
|
+
viewports: {
|
|
110
|
+
responsive: {
|
|
111
|
+
name: 'Responsive',
|
|
112
|
+
type: 'desktop',
|
|
113
|
+
},
|
|
92
114
|
xs: {
|
|
93
115
|
name: `XS - ${breakpoints.xs}`,
|
|
94
116
|
styles: {
|
|
@@ -143,8 +165,8 @@ export const globalTypes = {
|
|
|
143
165
|
icon: 'circlehollow',
|
|
144
166
|
// Array of plain string values or MenuItem shape (see below)
|
|
145
167
|
items: [
|
|
146
|
-
{ value: 'light', icon: 'circlehollow', title: '
|
|
147
|
-
{ value: 'dark', icon: 'circle', title: '
|
|
168
|
+
{ value: 'light', icon: 'circlehollow', title: 'light' },
|
|
169
|
+
{ value: 'dark', icon: 'circle', title: 'dark' },
|
|
148
170
|
],
|
|
149
171
|
// Property that specifies if the name of the item will be displayed
|
|
150
172
|
showName: true,
|
package/CHANGELOG.md
CHANGED
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
### [79.2.
|
|
6
|
+
### [79.2.5-alpha.38010e.0](https://github.com/Codecademy/gamut/compare/@codecademy/styleguide@79.2.4...@codecademy/styleguide@79.2.5-alpha.38010e.0) (2026-03-25)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
**Note:** Version bump only for package @codecademy/styleguide
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
### [79.2.4](https://github.com/Codecademy/gamut/compare/@codecademy/styleguide@79.2.3...@codecademy/styleguide@79.2.4) (2026-03-23)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @codecademy/styleguide
|
|
12
13
|
|
|
13
14
|
### [79.2.3](https://github.com/Codecademy/gamut/compare/@codecademy/styleguide@79.2.2...@codecademy/styleguide@79.2.3) (2026-03-19)
|
|
14
15
|
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/styleguide",
|
|
3
3
|
"description": "Styleguide & Component library for codecademy.com",
|
|
4
|
-
"version": "79.2.
|
|
4
|
+
"version": "79.2.5-alpha.38010e.0",
|
|
5
5
|
"author": "Codecademy Engineering",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
10
10
|
"repository": "git@github.com:Codecademy/gamut.git",
|
|
11
|
-
"gitHead": "
|
|
11
|
+
"gitHead": "87f5f03f060c24f5423088e532843aa73c369d35"
|
|
12
12
|
}
|
package/project.json
CHANGED
|
@@ -32,15 +32,6 @@
|
|
|
32
32
|
"quiet": true
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
},
|
|
36
|
-
"storybook-test": {
|
|
37
|
-
"executor": "nx:run-commands",
|
|
38
|
-
"dependsOn": ["build-storybook"],
|
|
39
|
-
"options": {
|
|
40
|
-
"cwd": "{workspaceRoot}",
|
|
41
|
-
"forwardAllArgs": false,
|
|
42
|
-
"command": "start-server-and-test \"http-server dist/storybook/styleguide -p 6007 --silent\" http://127.0.0.1:6007 \"test-storybook --url http://127.0.0.1:6007 --config-dir packages/styleguide/.storybook\""
|
|
43
|
-
}
|
|
44
35
|
}
|
|
45
36
|
}
|
|
46
37
|
}
|
package/src/lib/About.mdx
CHANGED
package/src/lib/Atoms/About.mdx
CHANGED