@festo-ui/react-extra 9.0.0-dev.717 → 9.0.0-dev.719
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/dist/components/scroll-area/ScrollArea.d.ts +4 -0
- package/dist/components/scroll-area/ScrollArea.js +10 -0
- package/dist/components/scroll-area/ScrollArea.stories.css +9 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -2
- package/package.json +2 -1
- /package/dist/{forms → components}/color-indicator/ColorIndicator.css +0 -0
- /package/dist/{forms → components}/color-indicator/ColorIndicator.d.ts +0 -0
- /package/dist/{forms → components}/color-indicator/ColorIndicator.js +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import simplebar_react from "simplebar-react";
|
|
3
|
+
function ScrollArea({ children, scrollbarMinSize = 25, ...props }) {
|
|
4
|
+
return /*#__PURE__*/ jsx(simplebar_react, {
|
|
5
|
+
...props,
|
|
6
|
+
scrollbarMinSize: scrollbarMinSize,
|
|
7
|
+
children: children
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
export { ScrollArea };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { ColorIndicator, type ColorIndicatorProps, } from './
|
|
1
|
+
export { ColorIndicator, type ColorIndicatorProps, } from './components/color-indicator/ColorIndicator';
|
|
2
|
+
export { ScrollArea, type ScrollAreaProps, } from './components/scroll-area/ScrollArea';
|
|
2
3
|
export { ColorPicker, type ColorPickerProps, } from './forms/color-picker/ColorPicker';
|
|
3
4
|
export { DatePicker, type DatePickerOptions, type DatePickerProps, } from './forms/date-picker/DatePicker';
|
|
4
5
|
export { DateRangePicker, type DateRangePickerOptions, type DateRangePickerProps, } from './forms/date-range-picker/DateRangePicker';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { ColorIndicator } from "./
|
|
1
|
+
import { ColorIndicator } from "./components/color-indicator/ColorIndicator.js";
|
|
2
|
+
import { ScrollArea } from "./components/scroll-area/ScrollArea.js";
|
|
2
3
|
import { ColorPicker } from "./forms/color-picker/ColorPicker.js";
|
|
3
4
|
import { DatePicker } from "./forms/date-picker/DatePicker.js";
|
|
4
5
|
import { DateRangePicker } from "./forms/date-range-picker/DateRangePicker.js";
|
|
5
6
|
import { TextEditor } from "./forms/text-editor/TextEditor.js";
|
|
6
|
-
export { ColorIndicator, ColorPicker, DatePicker, DateRangePicker, TextEditor };
|
|
7
|
+
export { ColorIndicator, ColorPicker, DatePicker, DateRangePicker, ScrollArea, TextEditor };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@festo-ui/react-extra",
|
|
3
|
-
"version": "9.0.0-dev.
|
|
3
|
+
"version": "9.0.0-dev.719",
|
|
4
4
|
"license": "apache-2.0",
|
|
5
5
|
"author": "Festo UI (styleguide@festo.com)",
|
|
6
6
|
"type": "module",
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"classnames": "^2.5.1",
|
|
34
34
|
"flatpickr": "^4.6.9",
|
|
35
35
|
"react-draggable": "^4.4.6",
|
|
36
|
+
"simplebar-react": "^3.3.2",
|
|
36
37
|
"xss": "^1.0.10"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
File without changes
|
|
File without changes
|
|
File without changes
|