| 1 |
/** |
| 2 |
* @sliderberg/shared |
| 3 |
* Shared components and utilities for the Sliderberg monorepo. |
| 4 |
* Import from "@sliderberg/shared" in any workspace package. |
| 5 |
*/ |
| 6 |
|
| 7 |
// --- UI Components --- |
| 8 |
export { default as BorderControl } from "./components/BorderControl"; |
| 9 |
export { default as CustomToggleGroupControl } from "./components/ToggleGroupControl"; |
| 10 |
export { default as CustomFontSizePicker } from "./components/FontSizePicker"; |
| 11 |
export { default as FontAppearanceControl } from "./components/FontAppearanceControl"; |
| 12 |
export { default as SpacingControl } from "./components/SpacingControl"; |
| 13 |
export { default as ColorSettings } from "./components/ColorSettings"; |
| 14 |
export { default as ColorSettingsWithGradient } from "./components/ColorSettingsWithGradient"; |
| 15 |
export { default as BackgroundImageControl } from "./components/BackgroundImageControl"; |
| 16 |
export { default as ToolsPanelWrapper } from "./components/ToolsPanelWrapper"; |
| 17 |
export { default as ToolsPanelItemWrapper } from "./components/ToolsPanelItemWrapper"; |
| 18 |
export { default as UBSelectControl } from "./components/SelectControl"; |
| 19 |
export { default as TabsPanelControl } from "./components/TabsPanelControl"; |
| 20 |
export { default as SpacingControlWithToolsPanel } from "./components/SpacingControlWithToolsPanel"; |
| 21 |
export { default as BorderControlWithToolsPanel } from "./components/BorderControlWithToolsPanel"; |
| 22 |
export { default as ColorSettingsWithToolsPanel } from "./components/ColorSettingsWithToolsPanel"; |
| 23 |
export { default as ColorSettingsWithGradientWithToolsPanel } from "./components/ColorSettingsWithGradientWithToolsPanel"; |
| 24 |
export { default as RangeControlWithToolsPanel } from "./components/RangeControlWithToolsPanel"; |
| 25 |
export { default as SelectControlWithToolsPanel } from "./components/SelectControlWithToolsPanel"; |
| 26 |
export { default as ToggleGroupControlWithToolsPanel } from "./components/ToggleGroupControlWithToolsPanel"; |
| 27 |
export { default as ToggleControlWithToolsPanel } from "./components/ToggleControlWithToolsPanel"; |
| 28 |
export { default as CustomFontSizePickerWithToolsPanel } from "./components/CustomFontSizePickerWithToolsPanel"; |
| 29 |
export { default as FontAppearanceControlWithToolsPanel } from "./components/FontAppearanceControlWithToolsPanel"; |
| 30 |
export { ErrorBoundary } from "./components/ErrorBoundary"; |
| 31 |
export { ReviewRequest } from "./components/ReviewRequest"; |
| 32 |
|
| 33 |
// --- Styling Utilities --- |
| 34 |
export { |
| 35 |
getBackgroundColorVar, |
| 36 |
generateStyles, |
| 37 |
getBorderCSS, |
| 38 |
getSingleSideBorderValue, |
| 39 |
splitBorderRadius, |
| 40 |
} from "./components/utils/styling-helpers"; |
| 41 |
|
| 42 |
// --- Component Types --- |
| 43 |
export type { |
| 44 |
BaseControlProps, |
| 45 |
ToolsPanelControlProps, |
| 46 |
BorderControlProps, |
| 47 |
ColorSettingsProps, |
| 48 |
ColorSettingsWithGradientProps, |
| 49 |
CustomFontSizePickerProps, |
| 50 |
FontAppearanceControlProps, |
| 51 |
FontAppearanceValue, |
| 52 |
BackgroundImageControlProps, |
| 53 |
SelectControlProps, |
| 54 |
SpacingControlProps, |
| 55 |
SpacingControlWithToolsPanelProps, |
| 56 |
TabDefinition, |
| 57 |
TabsPanelControlProps, |
| 58 |
ToggleGroupOption, |
| 59 |
ToggleGroupControlProps, |
| 60 |
WordPressColorPalette, |
| 61 |
ToolsPanelWrapperProps, |
| 62 |
ToolsPanelItemWrapperProps, |
| 63 |
BorderControlWithToolsPanelProps, |
| 64 |
ColorSettingsWithToolsPanelProps, |
| 65 |
ColorSettingsWithGradientWithToolsPanelProps, |
| 66 |
RangeControlWithToolsPanelProps, |
| 67 |
SelectControlWithToolsPanelProps, |
| 68 |
ToggleGroupControlWithToolsPanelProps, |
| 69 |
ToggleControlWithToolsPanelProps, |
| 70 |
CustomFontSizePickerWithToolsPanelProps, |
| 71 |
FontAppearanceControlWithToolsPanelProps, |
| 72 |
} from "./components/types"; |
| 73 |
|