utopia-ui 3.0.0-alpha.20 → 3.0.0-alpha.22
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/AppShell/SideBar.d.ts +2 -1
- package/dist/Components/Input/SelectBox.d.ts +17 -0
- package/dist/Components/Input/index.d.ts +1 -0
- package/dist/Components/Templates/CardPage.d.ts +5 -1
- package/dist/Components/Templates/TitleCard.d.ts +2 -1
- package/dist/Utils/DynamicHeroIcon.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +60 -25
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/Components/Auth/authDirectus.d.ts +0 -24
- package/dist/Components/Input/FancyTextAreaInput.d.ts +0 -13
- package/dist/Components/Input/InputText.d.ts +0 -13
- package/dist/Components/Input/TributeTextAreaInput copy.d.ts +0 -13
- package/dist/Components/Input/TributeTextAreaInput.d.ts +0 -13
- package/dist/Components/Map/ItemFormPopup.d.ts +0 -12
- package/dist/Components/Map/ItemViewPopup.d.ts +0 -8
- package/dist/Components/Map/Subcomponents/HeaderView.d.ts +0 -7
- package/dist/Components/Map/Subcomponents/LocateControl.d.ts +0 -1
- package/dist/Components/Map/Subcomponents/SearchBar.d.ts +0 -2
- package/dist/Components/Map/Subcomponents/StartEndView.d.ts +0 -6
- package/dist/Components/Map/Subcomponents/TagFilterControl.d.ts +0 -2
- package/dist/Components/Map/Subcomponents/TextView.d.ts +0 -5
- package/dist/Components/TitleCard.d.ts +0 -9
- package/dist/Utils/HeighlightTags.d.ts +0 -1
- package/dist/Utils/TaggedText.d.ts +0 -3
@@ -0,0 +1,17 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare type SelectBoxProps = {
|
3
|
+
labelTitle?: string;
|
4
|
+
labelStyle?: string;
|
5
|
+
type?: string;
|
6
|
+
containerStyle?: string;
|
7
|
+
defaultValue: string;
|
8
|
+
placeholder?: string;
|
9
|
+
updateFormValue: (value: string) => void;
|
10
|
+
options: {
|
11
|
+
name: string;
|
12
|
+
value: string;
|
13
|
+
}[];
|
14
|
+
labelDescription?: string;
|
15
|
+
};
|
16
|
+
export declare function SelectBox(props: SelectBoxProps): JSX.Element;
|
17
|
+
export {};
|
@@ -1,5 +1,9 @@
|
|
1
1
|
import * as React from "react";
|
2
|
-
export declare function CardPage({ title, children }: {
|
2
|
+
export declare function CardPage({ title, children, parent }: {
|
3
3
|
title: string;
|
4
4
|
children?: React.ReactNode;
|
5
|
+
parent?: {
|
6
|
+
name: string;
|
7
|
+
url: string;
|
8
|
+
};
|
5
9
|
}): JSX.Element;
|
@@ -3,7 +3,8 @@ interface TitleCardProps {
|
|
3
3
|
title: string;
|
4
4
|
children: React.ReactNode;
|
5
5
|
topMargin: string;
|
6
|
+
className?: string;
|
6
7
|
TopSideButtons?: any;
|
7
8
|
}
|
8
|
-
export declare function TitleCard({ title, children, topMargin, TopSideButtons }: TitleCardProps): JSX.Element;
|
9
|
+
export declare function TitleCard({ title, children, topMargin, TopSideButtons, className }: TitleCardProps): JSX.Element;
|
9
10
|
export {};
|
package/dist/index.d.ts
CHANGED
@@ -4,7 +4,7 @@ export { AuthProvider, useAuth, LoginPage, SignupPage } from "./Components/Auth"
|
|
4
4
|
export { Settings } from './Components/Profile';
|
5
5
|
export { Quests, Modal } from './Components/Gaming';
|
6
6
|
export { TitleCard, CardPage } from './Components/Templates';
|
7
|
-
export { TextInput, TextAreaInput } from './Components/Input';
|
7
|
+
export { TextInput, TextAreaInput, SelectBox } from './Components/Input';
|
8
8
|
import "./index.css";
|
9
9
|
declare global {
|
10
10
|
interface Window {
|