@codecademy/styleguide 79.2.2-alpha.191283.0 → 79.2.2-alpha.40e3a3.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/CHANGELOG.md +1 -1
- package/package.json +2 -2
- package/src/lib/Atoms/PopoverContainer/PopoverContainer.stories.tsx +1 -1
- package/src/lib/Molecules/Tips/TipsTable.tsx +2 -2
- package/src/lib/Molecules/Tips/ToolTip/ToolTip.stories.tsx +1 -0
- package/src/lib/Organisms/ConnectedForm/ConnectedFormInputs/ConnectedFormInputsTable.tsx +1 -1
- package/src/lib/Organisms/Lists & Tables/List/List.stories.tsx +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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.2-alpha.
|
|
6
|
+
### [79.2.2-alpha.40e3a3.0](https://github.com/Codecademy/gamut/compare/@codecademy/styleguide@79.2.1...@codecademy/styleguide@79.2.2-alpha.40e3a3.0) (2026-03-24)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @codecademy/styleguide
|
|
9
9
|
|
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.2-alpha.
|
|
4
|
+
"version": "79.2.2-alpha.40e3a3.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": "cf6124f51a2e9835858e248aa86efe757e1653f6"
|
|
12
12
|
}
|
|
@@ -77,7 +77,7 @@ const ComponentRow = ({ array }: { array: typeof colTitles }) => {
|
|
|
77
77
|
const badgeVariant = status === 'New' ? 'accent' : 'tertiary';
|
|
78
78
|
|
|
79
79
|
return (
|
|
80
|
-
<BorderRow size="xl">
|
|
80
|
+
<BorderRow key={title} size="xl">
|
|
81
81
|
<FlexBox alignItems="center" flexWrap="wrap" pl={8}>
|
|
82
82
|
<Text mr={8} variant="title-sm">
|
|
83
83
|
{!skipTitle && title} {component}
|
|
@@ -110,7 +110,7 @@ const FeatureRow = ({
|
|
|
110
110
|
<Text fontWeight="bold">{title}</Text>
|
|
111
111
|
</ListCol>
|
|
112
112
|
{features.map((details) => (
|
|
113
|
-
<DetailRow size="xl">
|
|
113
|
+
<DetailRow key={details} size="xl">
|
|
114
114
|
<Text>{details}</Text>
|
|
115
115
|
</DetailRow>
|
|
116
116
|
))}
|
|
@@ -65,7 +65,7 @@ const ListExample: React.FC = (args) => {
|
|
|
65
65
|
return (
|
|
66
66
|
<List {...args}>
|
|
67
67
|
{rows.map(({ name, ship }) => (
|
|
68
|
-
<ListRow>
|
|
68
|
+
<ListRow key={name}>
|
|
69
69
|
<ListCol size="md" type="header">
|
|
70
70
|
{name}
|
|
71
71
|
</ListCol>
|
|
@@ -99,7 +99,7 @@ export const Table: Story = {
|
|
|
99
99
|
export const Plain: Story = {
|
|
100
100
|
args: { spacing: 'condensed', variant: 'plain' },
|
|
101
101
|
render: (args) => (
|
|
102
|
-
<Box width={1}>
|
|
102
|
+
<Box bg="red" width={1}>
|
|
103
103
|
<ListExample {...args} />
|
|
104
104
|
</Box>
|
|
105
105
|
),
|
|
@@ -157,7 +157,7 @@ const ListCardExample: React.FC = (args) => {
|
|
|
157
157
|
return (
|
|
158
158
|
<List {...args}>
|
|
159
159
|
{rows.map(({ name, ship, role }) => (
|
|
160
|
-
<ListRow>
|
|
160
|
+
<ListRow key={name}>
|
|
161
161
|
<ListCol fill>
|
|
162
162
|
<Text truncate="ellipsis" truncateLines={1} variant="title-lg">
|
|
163
163
|
{name}
|
|
@@ -218,7 +218,7 @@ const ColumnExample: React.FC<ListProps> = (args) => {
|
|
|
218
218
|
return (
|
|
219
219
|
<List {...args}>
|
|
220
220
|
{sizes.map((size: 'content' | 'sm' | 'md' | 'lg' | 'xl') => (
|
|
221
|
-
<ListRow>
|
|
221
|
+
<ListRow key={size}>
|
|
222
222
|
<ListCol size={size}>
|
|
223
223
|
<Box bg="background-selected" flex={1} height={1} p={8}>
|
|
224
224
|
{size}
|