Skip to content

Commit 1c593ad

Browse files
authored
Merge pull request #118 from qikify/dev
Fix: Page component ts import issue
2 parents 51e79d8 + 52a8338 commit 1c593ad

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

src/components/Page/components/Header/HeaderWrapper.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import hasSlot from '@/utilities/has-slot';
3939
4040
const LONG_TITLE = 34;
4141
42-
interface PrimaryAction {
42+
type PrimaryAction = {
4343
id?: string;
4444
content?: string;
4545
accessibilityLabel?: string;

src/components/Page/components/Header/children/PrimaryAction.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { UseMediaQuery } from '@/utilities/media-query';
1919
import type { IconSource } from '@/utilities/type';
2020
import hasSlot from '@/utilities/has-slot';
2121
22-
interface PrimaryActionProps {
22+
type PrimaryActionProps = {
2323
id?: string;
2424
content?: string;
2525
accessibilityLabel?: string;

src/components/Pagination/Pagination.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ import ChevronRightMinor from '@icons/ChevronRightMinor.svg';
8585
import { Button, ButtonGroup, KeypressListener, TextStyle, Tooltip } from '@/components';
8686
import type { Key } from '../KeypressListener/utils';
8787
88-
interface AccessibilityLabels {
88+
type AccessibilityLabels = {
8989
previous: string;
9090
next: string;
9191
}

src/components/Pagination/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Key } from '../KeypressListener/utils';
22

3-
interface AccessibilityLabels {
3+
type AccessibilityLabels = {
44
previous: string;
55
next: string;
66
}

src/components/TextStyle/utils.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export enum VariationValue {
2+
Positive = 'positive',
3+
Negative = 'negative',
4+
Warning = 'warning',
5+
Strong = 'strong',
6+
Subdued = 'subdued',
7+
Code = 'code',
8+
}

0 commit comments

Comments
 (0)