@nivaro/react 0.1.154 → 0.1.156
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 +27 -1
- package/dist/index.js +24032 -22957
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CascadeFilterRule } from '@nivaro/sdk';
|
|
2
2
|
import { Context } from 'react';
|
|
3
|
+
import type { CSSProperties } from 'react';
|
|
3
4
|
import { default as default_2 } from 'react';
|
|
4
5
|
import { FieldDependencyConfig } from '@nivaro/sdk';
|
|
5
6
|
import { ImportParseResponse } from '@nivaro/sdk';
|
|
@@ -1931,6 +1932,11 @@ declare interface JsonMapEditorConfig {
|
|
|
1931
1932
|
};
|
|
1932
1933
|
}
|
|
1933
1934
|
|
|
1935
|
+
declare interface LadderTier {
|
|
1936
|
+
after_hours: number;
|
|
1937
|
+
notify: string;
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1934
1940
|
declare interface LayoutAssignment {
|
|
1935
1941
|
field: string;
|
|
1936
1942
|
group_key: string | null;
|
|
@@ -3672,6 +3678,24 @@ declare type SkipLookupFilter = {
|
|
|
3672
3678
|
|
|
3673
3679
|
declare type SkipOp = 'eq' | 'neq' | 'lt' | 'lte' | 'gt' | 'gte' | 'in' | 'notin';
|
|
3674
3680
|
|
|
3681
|
+
export declare interface SlaRule {
|
|
3682
|
+
id: number;
|
|
3683
|
+
workflow_template: string;
|
|
3684
|
+
state_key: string;
|
|
3685
|
+
name: string;
|
|
3686
|
+
duration_hours: number;
|
|
3687
|
+
warning_threshold_pct: number;
|
|
3688
|
+
business_hours_only: boolean;
|
|
3689
|
+
notify_on_warning: boolean;
|
|
3690
|
+
notify_on_breach: boolean;
|
|
3691
|
+
escalation_user: string | null;
|
|
3692
|
+
escalation_ladder?: LadderTier[];
|
|
3693
|
+
is_active: boolean;
|
|
3694
|
+
template_name?: string;
|
|
3695
|
+
}
|
|
3696
|
+
|
|
3697
|
+
export declare function SlaRulesView(): JSX.Element;
|
|
3698
|
+
|
|
3675
3699
|
export declare type SlotRendererProps = {
|
|
3676
3700
|
slot: string;
|
|
3677
3701
|
collection: string;
|
|
@@ -4098,11 +4122,13 @@ export declare function usePeerReadAt(room: string | null): string | null;
|
|
|
4098
4122
|
* exact colors/ring/size, and this component must never change how a user
|
|
4099
4123
|
* without a photo renders.
|
|
4100
4124
|
*/
|
|
4101
|
-
export declare function UserAvatar({ userId, fallback, className, alt }: {
|
|
4125
|
+
export declare function UserAvatar({ userId, fallback, className, style, alt }: {
|
|
4102
4126
|
userId: string | number | null | undefined;
|
|
4103
4127
|
fallback: ReactNode;
|
|
4104
4128
|
/** Applied to the <img> when a photo exists — size + ring classes of the site's disc. */
|
|
4105
4129
|
className?: string;
|
|
4130
|
+
/** Inline size for sites whose disc dimensions are dynamic (px-based avatars). */
|
|
4131
|
+
style?: CSSProperties;
|
|
4106
4132
|
alt?: string;
|
|
4107
4133
|
}): JSX.Element;
|
|
4108
4134
|
|