Skip to content

Commit

Permalink
fix: restore missing React button CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert authored and Yolijn committed Oct 13, 2024
1 parent 39ea138 commit ecaf6a6
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/young-taxis-invent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@utrecht/component-library-react": patch
---

Fix missing CSS when loading `Button` from `dist/css-module/`.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
*/

import '@utrecht/accordion-css/src/index.scss';
import './Button';

export * from '../Accordion';
2 changes: 1 addition & 1 deletion packages/component-library-react/src/css-module/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
* Copyright (c) 2021 Robbert Broersma
*/

export * from '@utrecht/button-react';
export * from '@utrecht/button-react/dist/css';
4 changes: 2 additions & 2 deletions packages/component-library-react/src/css-module/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ export type { BlockquoteProps } from '../Blockquote';
export { Blockquote } from './Blockquote';
export type { BreadcrumbNavProps, BreadcrumbNavLinkProps, BreadcrumbNavSeparatorProps } from '../BreadcrumbNav';
export { BreadcrumbNav, BreadcrumbNavLink, BreadcrumbNavSeparator } from './BreadcrumbNav';
export type { ButtonProps } from '@utrecht/button-react';
export { Button, PrimaryActionButton, SecondaryActionButton, SubtleButton } from '@utrecht/button-react';
export type { ButtonProps } from './Button';
export { Button, PrimaryActionButton, SecondaryActionButton, SubtleButton } from './Button';
export type { ButtonGroupProps } from '../ButtonGroup';
export { ButtonGroup } from './ButtonGroup';
export type { ButtonLinkProps } from '../ButtonLink';
Expand Down

0 comments on commit ecaf6a6

Please sign in to comment.