diff --git a/.github/workflows/test.build.lib.yml b/.github/workflows/test.build.lib.yml index 89651384..88e6868c 100644 --- a/.github/workflows/test.build.lib.yml +++ b/.github/workflows/test.build.lib.yml @@ -40,7 +40,7 @@ jobs: build-examples: if: needs.files-changed.outputs.build == 'true' name: Test Example Apps - needs: [build, files-changed] + needs: [files-changed, build] runs-on: ubuntu-latest strategy: matrix: diff --git a/app/src/pages/MapContainer.tsx b/app/src/pages/MapContainer.tsx index 14d96c71..fe3140a1 100644 --- a/app/src/pages/MapContainer.tsx +++ b/app/src/pages/MapContainer.tsx @@ -84,6 +84,8 @@ function MapContainer({ layers, map }: { layers: LayerProps[]; map: any }) { defaultTheme={map.default_theme} showZoomControl={map.show_zoom_control} expandLayerControl={map.expand_layer_control} + tileServerUrl={map.tile_server_url} + tileServerAttribution={map.tile_server_attribution} > {layers && apis && diff --git a/lib/src/Components/Input/InputLabel.tsx b/lib/src/Components/Input/InputLabel.tsx new file mode 100644 index 00000000..a8283b6b --- /dev/null +++ b/lib/src/Components/Input/InputLabel.tsx @@ -0,0 +1,9 @@ +export const InputLabel = ({ label }: { label: string }) => { + return ( + + ) +} diff --git a/lib/src/Components/Input/RichTextEditor.tsx b/lib/src/Components/Input/RichTextEditor.tsx index 268cbe04..539ad28b 100644 --- a/lib/src/Components/Input/RichTextEditor.tsx +++ b/lib/src/Components/Input/RichTextEditor.tsx @@ -10,6 +10,7 @@ import { StarterKit } from '@tiptap/starter-kit' import { useEffect } from 'react' import { Markdown } from 'tiptap-markdown' +import { InputLabel } from './InputLabel' import { TextEditorMenu } from './TextEditorMenu' interface RichTextEditorProps { @@ -27,7 +28,6 @@ interface RichTextEditorProps { */ export function RichTextEditor({ labelTitle, - labelStyle, containerStyle, defaultValue, placeholder, @@ -88,13 +88,7 @@ export function RichTextEditor({