@wandelbots/wandelbots-js-react-components 2.35.0-pr.feature-replace-forwardref.376.d3a302b → 2.35.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/README.md +1 -1
- package/dist/components/CopyableText.d.ts +2 -3
- package/dist/components/CopyableText.d.ts.map +1 -1
- package/dist/components/SelectableFab.d.ts +1 -2
- package/dist/components/SelectableFab.d.ts.map +1 -1
- package/dist/components/TabBar.d.ts +0 -2
- package/dist/components/TabBar.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +208 -208
- package/dist/index.js.map +1 -1
- package/package.json +5 -5
- package/src/components/CopyableText.tsx +73 -70
- package/src/components/LogViewer.tsx +1 -1
- package/src/components/SelectableFab.tsx +15 -14
- package/src/components/TabBar.tsx +1 -4
package/README.md
CHANGED
|
@@ -84,7 +84,7 @@ type WandelscriptEditorProps = {
|
|
|
84
84
|
|
|
85
85
|
#### Theming
|
|
86
86
|
|
|
87
|
-
The UI components presented in this library will respect the Material UI theme of the application they are rendered within, allowing customization with the [MUI theming system](
|
|
87
|
+
The UI components presented in this library will respect the Material UI theme of the application they are rendered within, allowing customization with the [MUI theming system](mui.com/material-ui).
|
|
88
88
|
|
|
89
89
|
Using the Wandelbots MUI theme
|
|
90
90
|
To make the components look exactly like they do in the storybook, pass the [Wandelbots MUI theme](https://wandelbotsgmbh.github.io/wandelbots-js-react-components/?path=/docs/theming-wandelbots-mui-theme--docs) to ThemeProvider.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export declare const CopyableText: (
|
|
1
|
+
export declare const CopyableText: import("react").ForwardRefExoticComponent<{
|
|
2
2
|
label?: string;
|
|
3
3
|
value: string;
|
|
4
|
-
|
|
5
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
5
|
//# sourceMappingURL=CopyableText.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CopyableText.d.ts","sourceRoot":"","sources":["../../src/components/CopyableText.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"CopyableText.d.ts","sourceRoot":"","sources":["../../src/components/CopyableText.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;YAMX,MAAM;WACP,MAAM;kDA4ElB,CAAA"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { type FabProps } from "@mui/material";
|
|
2
2
|
type CodeFabProps = {
|
|
3
3
|
selected?: boolean;
|
|
4
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
5
4
|
} & Omit<FabProps, "variant" | "color">;
|
|
6
|
-
export declare const SelectableFab: (
|
|
5
|
+
export declare const SelectableFab: import("react").ForwardRefExoticComponent<Omit<CodeFabProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
|
|
7
6
|
export {};
|
|
8
7
|
//# sourceMappingURL=SelectableFab.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectableFab.d.ts","sourceRoot":"","sources":["../../src/components/SelectableFab.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"SelectableFab.d.ts","sourceRoot":"","sources":["../../src/components/SelectableFab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,QAAQ,EAAE,MAAM,eAAe,CAAA;AAkC1D,KAAK,YAAY,GAAG;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,GAAG,IAAI,CAAC,QAAQ,EAAE,SAAS,GAAG,OAAO,CAAC,CAAA;AAEvC,eAAO,MAAM,aAAa,yHAYzB,CAAA"}
|
|
@@ -18,8 +18,6 @@ export interface TabBarProps {
|
|
|
18
18
|
onTabChange?: (index: number) => void;
|
|
19
19
|
/** Additional styling */
|
|
20
20
|
sx?: SxProps;
|
|
21
|
-
/** Ref to the root container element */
|
|
22
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
23
21
|
}
|
|
24
22
|
/**
|
|
25
23
|
* A styled tab bar component with configurable tabs and content.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../src/components/TabBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAM5C,MAAM,WAAW,OAAO;IACtB,oCAAoC;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,4CAA4C;IAC5C,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,sDAAsD;IACtD,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAA;CAC1B;AAED,MAAM,WAAW,WAAW;IAC1B,oCAAoC;IACpC,KAAK,EAAE,OAAO,EAAE,CAAA;IAChB,+BAA+B;IAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,gCAAgC;IAChC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,yBAAyB;IACzB,EAAE,CAAC,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"TabBar.d.ts","sourceRoot":"","sources":["../../src/components/TabBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAM5C,MAAM,WAAW,OAAO;IACtB,oCAAoC;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAA;IACb,4CAA4C;IAC5C,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,sDAAsD;IACtD,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAA;CAC1B;AAED,MAAM,WAAW,WAAW;IAC1B,oCAAoC;IACpC,KAAK,EAAE,OAAO,EAAE,CAAA;IAChB,+BAA+B;IAC/B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,gCAAgC;IAChC,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,yBAAyB;IACzB,EAAE,CAAC,EAAE,OAAO,CAAA;CACb;AAwBD;;;;GAIG;AACH,eAAO,MAAM,MAAM,WACA,WAAW;;CAuF7B,CAAA"}
|