@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.
Files changed (27) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +4 -8
  3. package/dist/cjs/index.js +1 -1
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/cjs/types/components/FrontPanel/FrontPanel.props.d.ts +1 -1
  6. package/dist/cjs/types/components/types.d.ts +1 -1
  7. package/dist/cjs/types/contexts/FrontPanelContext.d.ts +1 -1
  8. package/dist/esm/index.js +1 -1
  9. package/dist/esm/index.js.map +1 -1
  10. package/dist/esm/types/components/FrontPanel/FrontPanel.props.d.ts +1 -1
  11. package/dist/esm/types/components/types.d.ts +1 -1
  12. package/dist/esm/types/contexts/FrontPanelContext.d.ts +1 -1
  13. package/dist/index.d.ts +1 -1
  14. package/package.json +24 -27
  15. package/src/components/FrontPanel/FrontPanel.props.ts +1 -1
  16. package/src/components/FrontPanelIndicator/FrontPanelIndicator.tsx +1 -1
  17. package/src/components/FrontPanelNumberDisplay/FrontPanelNumberDisplay.tsx +1 -1
  18. package/src/components/FrontPanelNumberEntry/FrontPanelNumberEntry.stories.tsx +1 -1
  19. package/src/components/FrontPanelNumberEntry/FrontPanelNumberEntry.tsx +1 -1
  20. package/src/components/FrontPanelRangeSlider/FrontPanelRangeSlider.stories.tsx +1 -1
  21. package/src/components/FrontPanelRangeSlider/FrontPanelRangeSlider.tsx +1 -1
  22. package/src/components/FrontPanelSelectEntry/FrontPanelSelectEntry.stories.tsx +1 -1
  23. package/src/components/FrontPanelSelectEntry/FrontPanelSelectEntryRoot.tsx +1 -1
  24. package/src/components/FrontPanelToggleSwitch/FrontPanelToggleSwitch.tsx +1 -1
  25. package/src/components/types.ts +1 -1
  26. package/src/contexts/FrontPanelContext.ts +1 -1
  27. 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-alloy-core";
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-alloy-core";
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-alloy-core";
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-alloy-core";
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-alloy-core";
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-alloy-core";
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-alloy-core";
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-alloy-core";
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>,
@@ -7,7 +7,7 @@
7
7
 
8
8
  import React from "react";
9
9
 
10
- import { IFrontPanel, WireValue } from "@opalkelly/frontpanel-alloy-core";
10
+ import { IFrontPanel, WireValue } from "@opalkelly/frontpanel-platform-api";
11
11
 
12
12
  import { ToggleState } from "../../core";
13
13
 
@@ -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-alloy-core";
8
+ import { BitCount } from "@opalkelly/frontpanel-platform-api";
9
9
 
10
10
  export interface EndpointAddressProps {
11
11
  epAddress: number;
@@ -11,7 +11,7 @@ import {
11
11
  IFrontPanel,
12
12
  IFrontPanelEventSource,
13
13
  WorkQueue
14
- } from "@opalkelly/frontpanel-alloy-core";
14
+ } from "@opalkelly/frontpanel-platform-api";
15
15
 
16
16
  export type FrontPanelContextValue = {
17
17
  device?: IFrontPanel;
@@ -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-alloy-core";
14
+ import { MockFrontPanel, ByteCount } from "@opalkelly/frontpanel-platform-api";
15
15
 
16
16
  const mockDevice: MockFrontPanel = new MockFrontPanel(32, 32);
17
17