Skip to content

Commit 08b1647

Browse files
authored
chore: add className prop to NavigationLink component (#139)
1 parent a89aab1 commit 08b1647

17 files changed

Lines changed: 30 additions & 24 deletions

File tree

apps/csk-marketing-site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uniformdev/csk-marketing-site",
3-
"version": "6.0.76",
3+
"version": "6.0.77",
44
"private": true,
55
"engines": {
66
"yarn": "please-use-npm",

apps/csk-storybook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uniformdev/csk-storybook",
3-
"version": "6.0.76",
3+
"version": "6.0.77",
44
"description": "CSK vNext Storybook is an interactive Storybook build showcasing components from the CSK vNext component starter kit. It provides detailed documentation, live previews, and testing capabilities for easy integration into your projects.",
55
"main": "index.js",
66
"scripts": {

apps/csk/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uniformdev/component-starter-kit",
3-
"version": "6.0.76",
3+
"version": "6.0.77",
44
"private": true,
55
"engines": {
66
"yarn": "please-use-npm",

package-lock.json

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "csk-packages",
3-
"version": "6.0.76",
3+
"version": "6.0.77",
44
"private": true,
55
"scripts": {
66
"build": "turbo build",

packages/csk-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uniformdev/csk-cli",
3-
"version": "6.0.76",
3+
"version": "6.0.77",
44
"description": "Command-line interface (CLI) tool designed to streamline the development workflow within Uniform projects. It provides commands for pulling additional data and generating components based on Canvas data",
55
"license": "SEE LICENSE IN LICENSE.txt",
66
"engines": {

packages/csk-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@uniformdev/csk-components",
3-
"version": "6.0.76",
3+
"version": "6.0.77",
44
"description": "Components Starter Kit that provides a set of basic components for building websites within a Uniform project",
55
"license": "SEE LICENSE IN LICENSE.txt",
66
"engines": {

packages/csk-components/src/components/canvas/NavigationFlyout/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export type NavigationFlyoutParameters = TextParameters & {
1212
border?: string | ViewPort<string>;
1313
caretIcon?: AssetParamValue;
1414
hoverEffect?: string | ViewPort<string>;
15+
className?: string;
1516
};
1617

1718
export enum NavigationFlyoutSlots {

packages/csk-components/src/components/canvas/NavigationFlyout/navigation-flyout.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ export const NavigationFlyout: FC<NavigationFlyoutProps> = ({
3030
context,
3131
slots,
3232
hoverEffect = '',
33+
className,
3334
}) => {
3435
const [isOpen, setIsOpen] = useState(false);
3536

@@ -62,7 +63,7 @@ export const NavigationFlyout: FC<NavigationFlyoutProps> = ({
6263
<button onMouseEnter={openFlyout} className={getButtonClasses({ color })}>
6364
<BaseIconLabel
6465
icon={renderUrl()}
65-
className="group"
66+
className={cn('group', className)}
6667
iconClassName={actionClassName}
6768
textClassName={actionClassName}
6869
{...{ size, tag, color, weight, font, transform, decoration, letterSpacing, alignment }}

packages/csk-components/src/components/canvas/NavigationGroup/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export type NavigationGroupParameters = TextParameters & {
1212
backgroundColor?: string;
1313
border?: string | ViewPort<string>;
1414
hoverEffect?: string | ViewPort<string>;
15+
className?: string;
1516
};
1617

1718
export enum NavigationGroupSlots {

0 commit comments

Comments
 (0)