Skip to content

Commit

Permalink
fix: imports
Browse files Browse the repository at this point in the history
  • Loading branch information
denkristoffer committed Jan 11, 2024
1 parent cc98332 commit ed3b8fc
Show file tree
Hide file tree
Showing 15 changed files with 74 additions and 14 deletions.
59 changes: 59 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/components/icon/examples/AllIconsExample.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import * as f36icons from '@contentful/f36-icons';
import * as f36icons from '@contentful/f36-icons-v4';
import { Grid, Flex, Text } from '@contentful/f36-components';

export default function AllIconsExample() {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icon/examples/IconSizesExample.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CalendarIcon } from '@contentful/f36-icons';
import { CalendarIcon } from '@contentful/f36-icons-v4';
import { Stack, Flex, Text } from '@contentful/f36-components';

export default function IconSizesExample() {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icon/examples/IconVariantsExample.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';
import { CalendarIcon } from '@contentful/f36-icons';
import { CalendarIcon } from '@contentful/f36-icons-v4';
import { Stack, Flex, Text } from '@contentful/f36-components';

export default function IconVariantsExample() {
Expand Down
3 changes: 2 additions & 1 deletion packages/components/icon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"emotion": "^10.0.17"
},
"devDependencies": {
"react-icons": "^4.4.0"
"react-icons": "^4.4.0",
"@contentful/f36-icons-v4": "npm:@contentful/f36-icons@^4.0.0"
},
"peerDependencies": {
"react": ">=16.8",
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/EmbeddedBlockIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
IconVariant,
generateComponentWithVariants,
} from '@contentful/f36-icon';
import { generateIconComponent } from '@contentful/f36-icon/src';
import { generateIconComponent } from '@contentful/f36-icon';

export const EmbeddedBlockIcon = generateComponentWithVariants({
variants: {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/EmbeddedLineIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
IconVariant,
generateComponentWithVariants,
} from '@contentful/f36-icon';
import { generateIconComponent } from '@contentful/f36-icon/src';
import { generateIconComponent } from '@contentful/f36-icon';

export const EmbeddedLineIcon = generateComponentWithVariants({
variants: {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/EntryIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
IconVariant,
generateComponentWithVariants,
} from '@contentful/f36-icon';
import { generateIconComponent } from '@contentful/f36-icon/src';
import { generateIconComponent } from '@contentful/f36-icon';

export const EntryIcon = generateComponentWithVariants({
variants: {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/EnvironmentAliasIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
IconVariant,
generateComponentWithVariants,
} from '@contentful/f36-icon';
import { generateIconComponent } from '@contentful/f36-icon/src';
import { generateIconComponent } from '@contentful/f36-icon';

export const EnvironmentAliasIcon = generateComponentWithVariants({
variants: {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/EnvironmentIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
IconVariant,
generateComponentWithVariants,
} from '@contentful/f36-icon';
import { generateIconComponent } from '@contentful/f36-icon/src';
import { generateIconComponent } from '@contentful/f36-icon';

export const EnvironmentIcon = generateComponentWithVariants({
variants: {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/ReleaseIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
IconVariant,
generateComponentWithVariants,
} from '@contentful/f36-icon';
import { generateIconComponent } from '@contentful/f36-icon/src';
import { generateIconComponent } from '@contentful/f36-icon';

export const ReleaseIcon = generateComponentWithVariants({
variants: {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/RichTextIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
IconVariant,
generateComponentWithVariants,
} from '@contentful/f36-icon';
import { generateIconComponent } from '@contentful/f36-icon/src';
import { generateIconComponent } from '@contentful/f36-icon';

export const RichTextIcon = generateComponentWithVariants({
variants: {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/TextSubscriptIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
IconVariant,
generateComponentWithVariants,
} from '@contentful/f36-icon';
import { generateIconComponent } from '@contentful/f36-icon/src';
import { generateIconComponent } from '@contentful/f36-icon';

export const TextSubscriptIcon = generateComponentWithVariants({
variants: {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/TextSuperscriptIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
IconVariant,
generateComponentWithVariants,
} from '@contentful/f36-icon';
import { generateIconComponent } from '@contentful/f36-icon/src';
import { generateIconComponent } from '@contentful/f36-icon';

export const TextSuperscriptIcon = generateComponentWithVariants({
variants: {
Expand Down
2 changes: 1 addition & 1 deletion packages/components/icons/src/WorkflowsIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
IconVariant,
generateComponentWithVariants,
} from '@contentful/f36-icon';
import { generateIconComponent } from '@contentful/f36-icon/src';
import { generateIconComponent } from '@contentful/f36-icon';

export const WorkflowsIcon = generateComponentWithVariants({
variants: {
Expand Down

0 comments on commit ed3b8fc

Please sign in to comment.