@nivaro/react 0.1.110 → 0.1.112
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/full.css +1 -1
- package/dist/index.d.ts +46 -0
- package/dist/index.js +12498 -12154
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -246,6 +246,36 @@ declare type AutoAllocateConfig = {
|
|
|
246
246
|
};
|
|
247
247
|
};
|
|
248
248
|
|
|
249
|
+
export declare function BaseMap({ pins, bubbles, statusLine, onPinClick, onBubbleClick, minHeight }: {
|
|
250
|
+
pins: BaseMapPin[];
|
|
251
|
+
bubbles?: BaseMapBubble[];
|
|
252
|
+
/** Bottom-left caption ("214 pinned · © OpenStreetMap"). */
|
|
253
|
+
statusLine?: string;
|
|
254
|
+
onPinClick?: (id: string) => void;
|
|
255
|
+
onBubbleClick?: (id: string) => void;
|
|
256
|
+
minHeight?: number;
|
|
257
|
+
}): JSX.Element;
|
|
258
|
+
|
|
259
|
+
declare interface BaseMapBubble {
|
|
260
|
+
id: string;
|
|
261
|
+
lat: number;
|
|
262
|
+
lng: number;
|
|
263
|
+
count: number;
|
|
264
|
+
label: string;
|
|
265
|
+
color?: string;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
declare interface BaseMapPin {
|
|
269
|
+
id: string;
|
|
270
|
+
lat: number;
|
|
271
|
+
lng: number;
|
|
272
|
+
label: string;
|
|
273
|
+
/** Marker fill — defaults to the brand cyan. */
|
|
274
|
+
color?: string;
|
|
275
|
+
/** Pulsing ring — SLA breach / needs-eyes markers. */
|
|
276
|
+
pulse?: boolean;
|
|
277
|
+
}
|
|
278
|
+
|
|
249
279
|
declare type BinaryOp = '+' | '-' | '*' | '/' | '==' | '!=' | '<' | '<=' | '>' | '>=' | '&&' | '||';
|
|
250
280
|
|
|
251
281
|
export declare function BooleanField({ field, value, onChange, error, disabled, readOnly, inputId, errorId }: FieldComponentProps): JSX.Element;
|
|
@@ -681,6 +711,14 @@ declare interface ColumnPreset {
|
|
|
681
711
|
columns: string[];
|
|
682
712
|
}
|
|
683
713
|
|
|
714
|
+
export declare function CommandCenterView({
|
|
715
|
+
/** Geo collections offered in the map layer picker; first is the default. */
|
|
716
|
+
geoCollections, recordUrl }: {
|
|
717
|
+
geoCollections?: string[];
|
|
718
|
+
/** Host route for a clicked pin's record — defaults to the admin shape. */
|
|
719
|
+
recordUrl?: (collection: string, id: string) => string;
|
|
720
|
+
}): JSX.Element;
|
|
721
|
+
|
|
684
722
|
export declare function CommentPanel({ collection, item, title, defaultExpanded, queuedComments, onQueueComment }: {
|
|
685
723
|
collection: string;
|
|
686
724
|
item: string | number;
|
|
@@ -812,6 +850,8 @@ declare interface DirectoryChannel {
|
|
|
812
850
|
members: number;
|
|
813
851
|
}
|
|
814
852
|
|
|
853
|
+
export declare function DisplayPrefsCard(): JSX.Element;
|
|
854
|
+
|
|
815
855
|
declare type DmOpener = (userId: string, displayName?: string) => void;
|
|
816
856
|
|
|
817
857
|
export declare function dmPeer(room: string, self: string): string | null;
|
|
@@ -2104,6 +2144,8 @@ export declare interface NotificationRouteMap {
|
|
|
2104
2144
|
issues?: () => string | null;
|
|
2105
2145
|
}
|
|
2106
2146
|
|
|
2147
|
+
export declare function NotificationRulesCard(): JSX.Element;
|
|
2148
|
+
|
|
2107
2149
|
export declare function NotificationSourcesCard(): JSX.Element | null;
|
|
2108
2150
|
|
|
2109
2151
|
export declare type NotificationTarget = {
|
|
@@ -3084,6 +3126,10 @@ export declare function TextareaField({ field, value, onChange, error, disabled,
|
|
|
3084
3126
|
|
|
3085
3127
|
export declare function TextField({ field, value, onChange, error, disabled, readOnly, inputId, errorId }: FieldComponentProps): JSX.Element;
|
|
3086
3128
|
|
|
3129
|
+
/** Timezone preference (#31): applied to every datetime the shared
|
|
3130
|
+
* formatters render. Defaults to the browser's zone. */
|
|
3131
|
+
export declare function TimezoneCard(): JSX.Element;
|
|
3132
|
+
|
|
3087
3133
|
export declare function TipLayer(): ReactPortal | null;
|
|
3088
3134
|
|
|
3089
3135
|
export declare function titleCase(str: string): string;
|