-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: removed subcomponent Link.Button * refactor: removed subcomponent Link.Button * feat: added polymorphic typing support to component * docs: added polymorphic typing support to component * test: added polymorphic typing support to component * refactor: removed subcomponent Button.Link * feat: added polymorphic typing support to component Button * docs: added polymorphic typing support to component Button * test: added polymorphic typing support to component Button * feat: added polymorphic typing support to components Button and Link * chore: adjusted component typing and documentation * feat: update versions * feat: update versions * feat: update versions
- Loading branch information
1 parent
c738a3d
commit c74c1ed
Showing
28 changed files
with
375 additions
and
339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
releases: | ||
"@nimbus-ds/box": minor | ||
"@nimbus-ds/button": minor | ||
"@nimbus-ds/components": minor | ||
"@nimbus-ds/link": minor | ||
|
||
declined: | ||
- nimbus-design-system | ||
- "@nimbus-ds/popover" | ||
- "@nimbus-ds/accordion" | ||
- "@nimbus-ds/alert" | ||
- "@nimbus-ds/card" | ||
- "@nimbus-ds/modal" | ||
- "@nimbus-ds/pagination" | ||
- "@nimbus-ds/sidebar" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { ReactNode, CSSProperties } from "react"; | ||
import { ReactNode, HTMLAttributes } from "react"; | ||
import { BoxSprinkle } from "@nimbus-ds/styles"; | ||
|
||
export interface BoxProps extends BoxSprinkle { | ||
className?: string; | ||
style?: CSSProperties; | ||
type BoxExtends = BoxSprinkle & HTMLAttributes<HTMLElement>; | ||
|
||
export interface BoxProps extends BoxExtends { | ||
/** Element to be rendered inside the Box component */ | ||
children?: ReactNode; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.