Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarlosn committed Jul 5, 2024
2 parents 23f2915 + 0ed5b75 commit 05005dc
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 7 deletions.
9 changes: 7 additions & 2 deletions packages/protolib/bundles/users/adminPages.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
import { UserModel } from '.'
import { z } from 'protolib/base'
import { DataTable2, Chip, DataView, usePrompt, AdminPage, useWorkspaceEnv } from 'protolib'
import moment from 'moment'
import { usePrompt } from 'protolib/context/PromptAtom';
import { DataTable2 } from 'protolib/components/DataTable2';
import { Chip } from 'protolib/components/Chip';
import { DataView } from 'protolib/components/DataView';
import { AdminPage } from 'protolib/components/AdminPage';
import { useWorkspaceEnv } from 'protolib/lib/useWorkspaceEnv';
import moment from 'moment';
import { Mail, Tag, Key, User } from '@tamagui/lucide-icons';
import { API } from '../../base/Api'
import { SelectList } from '../../components/SelectList'
Expand Down
7 changes: 6 additions & 1 deletion packages/protolib/components/AdminPage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { useSession, Page, Tinted, usePrompt, SearchContext, AdminPanel } from 'protolib'
import { useSession } from 'protolib/lib/Session';
import { Page } from 'protolib/components/Page';
import { Tinted } from 'protolib/components/Tinted';
import { usePrompt } from 'protolib/context/PromptAtom';
import { SearchContext } from 'protolib/context/SearchContext';
import { AdminPanel } from 'protolib/components/AdminPanel';
import dynamic from 'next/dynamic';
import { forwardRef, useState } from 'react';
import { AppState } from './AdminPanel'
Expand Down
5 changes: 4 additions & 1 deletion packages/protolib/components/AdminPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { XStack } from 'tamagui'
import { PanelLayout } from 'app/layout/PanelLayout'
import { SelectList, useWorkspaces, useUserSettings, PanelMenu, MainPanel } from 'protolib'
import { SelectList } from 'protolib/components/SelectList';
import { useWorkspaces, useUserSettings } from 'protolib/lib/Session';
import { PanelMenu } from 'protolib/components/PanelMenu';
import { MainPanel } from 'protolib/components/MainPanel';
import Workspaces from 'app/bundles/workspaces'
import { InteractiveIcon } from './InteractiveIcon'
import { Activity } from '@tamagui/lucide-icons'
Expand Down
2 changes: 1 addition & 1 deletion packages/protolib/components/AnounceBubble.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ThemeTintAlt } from 'protolib'
import { ThemeTintAlt } from 'protolib/lib/Tints'
import Link from 'next/link'
import {
Button,
Expand Down
1 change: 0 additions & 1 deletion packages/protolib/components/AppBar.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { ThemeTint, useTint } from 'protolib'
import * as React from 'react'
import {
StackProps,
Expand Down
2 changes: 1 addition & 1 deletion packages/protolib/components/MainPanel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type Props = {
borderLess?:boolean
};

const MainPanel = ({ borderLess, rightPanelSize,setRightPanelSize,rightPanelStyle={}, rightPanelWidth=0, actionContent, rightPanelContent, leftPanelContent, centerPanelContent, rightPanelResizable = false, rightPanelVisible = true, openPanel, setOpenPanel=()=>{}, height = "100vh"}: Props) => {
export const MainPanel = ({ borderLess, rightPanelSize,setRightPanelSize,rightPanelStyle={}, rightPanelWidth=0, actionContent, rightPanelContent, leftPanelContent, centerPanelContent, rightPanelResizable = false, rightPanelVisible = true, openPanel, setOpenPanel=()=>{}, height = "100vh"}: Props) => {
const rightRef = useRef()
const resizerRef = useRef()
const resizerBarRef = useRef()
Expand Down

0 comments on commit 05005dc

Please sign in to comment.