@opalkelly/frontpanel-react-components 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +4 -8
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/FrontPanel/FrontPanel.props.d.ts +1 -1
- package/dist/cjs/types/components/types.d.ts +1 -1
- package/dist/cjs/types/contexts/FrontPanelContext.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/FrontPanel/FrontPanel.props.d.ts +1 -1
- package/dist/esm/types/components/types.d.ts +1 -1
- package/dist/esm/types/contexts/FrontPanelContext.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +24 -27
- package/src/components/FrontPanel/FrontPanel.props.ts +1 -1
- package/src/components/FrontPanelIndicator/FrontPanelIndicator.tsx +1 -1
- package/src/components/FrontPanelNumberDisplay/FrontPanelNumberDisplay.tsx +1 -1
- package/src/components/FrontPanelNumberEntry/FrontPanelNumberEntry.stories.tsx +1 -1
- package/src/components/FrontPanelNumberEntry/FrontPanelNumberEntry.tsx +1 -1
- package/src/components/FrontPanelRangeSlider/FrontPanelRangeSlider.stories.tsx +1 -1
- package/src/components/FrontPanelRangeSlider/FrontPanelRangeSlider.tsx +1 -1
- package/src/components/FrontPanelSelectEntry/FrontPanelSelectEntry.stories.tsx +1 -1
- package/src/components/FrontPanelSelectEntry/FrontPanelSelectEntryRoot.tsx +1 -1
- package/src/components/FrontPanelToggleSwitch/FrontPanelToggleSwitch.tsx +1 -1
- package/src/components/types.ts +1 -1
- package/src/contexts/FrontPanelContext.ts +1 -1
- package/src/stories/decorators/FrontPanel.decorator.tsx +1 -1
@@ -13,7 +13,7 @@ import FrontPanelIndicatorProps from "./FrontPanelIndicator.props";
|
|
13
13
|
|
14
14
|
import { FrontPanelContext } from "../../contexts";
|
15
15
|
|
16
|
-
import { IFrontPanel } from "@opalkelly/frontpanel-
|
16
|
+
import { IFrontPanel } from "@opalkelly/frontpanel-platform-api";
|
17
17
|
|
18
18
|
type FrontPanelIndicatorElement = React.ElementRef<typeof Indicator>;
|
19
19
|
|
@@ -17,7 +17,7 @@ import { FrontPanelContext } from "../../contexts";
|
|
17
17
|
|
18
18
|
import { CalculateBitLength } from "../../core";
|
19
19
|
|
20
|
-
import { IFrontPanel, WIREOUT_ADDRESS_RANGE } from "@opalkelly/frontpanel-
|
20
|
+
import { IFrontPanel, WIREOUT_ADDRESS_RANGE } from "@opalkelly/frontpanel-platform-api";
|
21
21
|
|
22
22
|
type FrontPanelNumberDisplayElement = React.ElementRef<typeof NumberDisplay>;
|
23
23
|
|
@@ -18,7 +18,7 @@ import { FrontPanelContext } from "../../contexts";
|
|
18
18
|
|
19
19
|
import { NumeralSystem } from "../../core";
|
20
20
|
|
21
|
-
import { WireValue } from "@opalkelly/frontpanel-
|
21
|
+
import { WireValue } from "@opalkelly/frontpanel-platform-api";
|
22
22
|
|
23
23
|
// Configure Story metadata
|
24
24
|
const meta = {
|
@@ -17,7 +17,7 @@ import { FrontPanelContext } from "../../contexts";
|
|
17
17
|
|
18
18
|
import { CalculateBitLength } from "../../core";
|
19
19
|
|
20
|
-
import { IFrontPanel, WIREIN_ADDRESS_RANGE } from "@opalkelly/frontpanel-
|
20
|
+
import { IFrontPanel, WIREIN_ADDRESS_RANGE } from "@opalkelly/frontpanel-platform-api";
|
21
21
|
|
22
22
|
type FrontPanelNumberEntryElement = React.ElementRef<typeof NumberEntry>;
|
23
23
|
|
@@ -16,7 +16,7 @@ import FrontPanelRangeSlider from "./FrontPanelRangeSlider";
|
|
16
16
|
|
17
17
|
import { FrontPanelContext } from "../../contexts";
|
18
18
|
|
19
|
-
import { WireValue } from "@opalkelly/frontpanel-
|
19
|
+
import { WireValue } from "@opalkelly/frontpanel-platform-api";
|
20
20
|
|
21
21
|
// Configure Story metadata
|
22
22
|
const meta = {
|
@@ -15,7 +15,7 @@ import { FrontPanelContext } from "../../contexts";
|
|
15
15
|
|
16
16
|
import { CalculateBitLength } from "../../core";
|
17
17
|
|
18
|
-
import { IFrontPanel } from "@opalkelly/frontpanel-
|
18
|
+
import { IFrontPanel } from "@opalkelly/frontpanel-platform-api";
|
19
19
|
|
20
20
|
type FrontPanelRangeSliderElement = React.ElementRef<typeof RangeSlider>;
|
21
21
|
|
@@ -16,7 +16,7 @@ import FrontPanelSelectEntry from "./FrontPanelSelectEntry";
|
|
16
16
|
|
17
17
|
import { FrontPanelContext } from "../../contexts";
|
18
18
|
|
19
|
-
import { WireValue } from "@opalkelly/frontpanel-
|
19
|
+
import { WireValue } from "@opalkelly/frontpanel-platform-api";
|
20
20
|
|
21
21
|
// Configure Story metadata
|
22
22
|
const meta = {
|
@@ -15,7 +15,7 @@ import { FrontPanelContext } from "../../contexts";
|
|
15
15
|
|
16
16
|
import { CalculateBitLength } from "../../core";
|
17
17
|
|
18
|
-
import { IFrontPanel, WIREIN_ADDRESS_RANGE } from "@opalkelly/frontpanel-
|
18
|
+
import { IFrontPanel, WIREIN_ADDRESS_RANGE } from "@opalkelly/frontpanel-platform-api";
|
19
19
|
|
20
20
|
interface FrontPanelSelectEntryRootCombinedProps
|
21
21
|
extends React.ComponentPropsWithoutRef<typeof SelectEntry.Root>,
|
package/src/components/types.ts
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
* See the LICENSE file found in the root directory of this project.
|
6
6
|
*/
|
7
7
|
|
8
|
-
import { BitCount } from "@opalkelly/frontpanel-
|
8
|
+
import { BitCount } from "@opalkelly/frontpanel-platform-api";
|
9
9
|
|
10
10
|
export interface EndpointAddressProps {
|
11
11
|
epAddress: number;
|
@@ -11,7 +11,7 @@ import type { Decorator } from "@storybook/react";
|
|
11
11
|
|
12
12
|
import { FrontPanel } from "../../components";
|
13
13
|
|
14
|
-
import { MockFrontPanel, ByteCount } from "@opalkelly/frontpanel-
|
14
|
+
import { MockFrontPanel, ByteCount } from "@opalkelly/frontpanel-platform-api";
|
15
15
|
|
16
16
|
const mockDevice: MockFrontPanel = new MockFrontPanel(32, 32);
|
17
17
|
|