Skip to content

Commit

Permalink
fix(Storybook): adds back src to the import path for ui-components
Browse files Browse the repository at this point in the history
  • Loading branch information
arwehrman committed Oct 30, 2023
1 parent 2ceecb5 commit 6fe900f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
context,
utils,
TextBox
} from '@lightningjs/ui-components';
} from '@lightningjs/ui-components/src';
import { createApp, clearInspector } from '../../../index';

let previousID = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { useGlobals } from '@storybook/manager-api';
import { AddonPanel } from '@storybook/components';
import { OptionsControl, ColorControl } from '@storybook/blocks';
import { Table, TableRow, NumberRow } from '../components';
import { utils } from '@lightningjs/ui-components';
import { utils } from '@lightningjs/ui-components/src';
import debounce from 'debounce';

import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import React from 'react';
import lng from '@lightningjs/core';
import { ColorControl, NumberControl } from '@storybook/blocks';
import { utils } from '@lightningjs/ui-components';
import { utils } from '@lightningjs/ui-components/src';
import { useGlobals } from '@storybook/manager-api';
import {
colorUpdate,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import React from 'react';
import { DOWNLOAD_ID } from '../constants';
import { Icons, IconButton } from '@storybook/components';
import { convertNumToHexAlphaArray } from '../../utils/helpers';
import { utils } from '@lightningjs/ui-components';
import { utils } from '@lightningjs/ui-components/src';

export default () => {
const download = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { useGlobals } from '@storybook/manager-api';
import { TabButton, TooltipLinkList, WithTooltip } from '@storybook/components';
import { THEMEPICKER_ID } from '../constants';
import { setGlobalTheme } from '../../utils/themeUtils';
import { utils } from '@lightningjs/ui-components';
import { utils } from '@lightningjs/ui-components/src';

export default () => {
const [{ LUITheme }, updateGlobals] = useGlobals();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* SPDX-License-Identifier: Apache-2.0
*/

import { context } from '@lightningjs/ui-components';
import { context } from '@lightningjs/ui-components/src';

// creates an array of extensions
// added to the theme by setTheme in themeSelect
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/

import baseTheme from '@lightningjs/ui-components-theme-base';
import { utils } from '@lightningjs/ui-components';
import { utils } from '@lightningjs/ui-components/src';
import debounce from 'debounce';

// Component Styles Panel
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/lightning-ui-docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
Speech,
pool,
context
} from '@lightningjs/ui-components';
} from '@lightningjs/ui-components/src';
import {
themeSelect,
themeSelectFromMessageEvent
Expand Down

0 comments on commit 6fe900f

Please sign in to comment.