dirk-cfx-react 1.1.71 → 1.1.73

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.
@@ -5,6 +5,7 @@ import React__default, { ReactNode, ComponentType } from 'react';
5
5
  import * as framer_motion from 'framer-motion';
6
6
  import { Variants } from 'framer-motion';
7
7
  import * as _fortawesome_fontawesome_svg_core from '@fortawesome/fontawesome-svg-core';
8
+ import * as zustand from 'zustand';
8
9
  import { StoreApi } from 'zustand';
9
10
  import { LucideProps } from 'lucide-react';
10
11
 
@@ -677,6 +678,7 @@ type ButtonProps = {
677
678
  icon: string;
678
679
  onClick?: () => void;
679
680
  };
681
+ type TitleSize = "xs" | "sm" | "md" | "lg" | "xl";
680
682
  type TitleProps = {
681
683
  title: string;
682
684
  description: string;
@@ -687,6 +689,12 @@ type TitleProps = {
687
689
  removeBorder?: boolean;
688
690
  borderColor?: string;
689
691
  p?: string;
692
+ /**
693
+ * Scale of the whole block — icon, title text, description text, and inner
694
+ * spacing all follow this single value. Defaults to "md" to preserve the
695
+ * historical look so existing consumers don't shift.
696
+ */
697
+ size?: TitleSize;
690
698
  rightSection?: React.ReactNode;
691
699
  };
692
700
  declare function Title(props: TitleProps): react_jsx_runtime.JSX.Element;
@@ -813,6 +821,10 @@ interface ConfigPanelProps<T extends Record<string, any> = Record<string, any>>
813
821
  resetConfirmText?: string;
814
822
  width?: string;
815
823
  height?: string;
824
+ /** Skip the auto-mounted MissingItemsBanner. Default: false (banner shown).
825
+ The banner self-hides when nothing is missing, so leaving it on costs
826
+ nothing visually. */
827
+ suppressMissingItemsBanner?: boolean;
816
828
  }
817
829
  declare function ConfigPanel<T extends Record<string, any>>(props: ConfigPanelProps<T>): react_jsx_runtime.JSX.Element | null;
818
830
 
@@ -959,12 +971,36 @@ type AdminPageTitleProps = {
959
971
  };
960
972
  declare function AdminPageTitle(props: AdminPageTitleProps): react_jsx_runtime.JSX.Element;
961
973
 
974
+ type MissingItem = {
975
+ name: string;
976
+ label?: string;
977
+ weight?: number;
978
+ description?: string;
979
+ };
980
+ type AuditPayload = {
981
+ missing: MissingItem[];
982
+ snippets: {
983
+ ox: string;
984
+ qb: string;
985
+ esx: string;
986
+ };
987
+ };
988
+ type AuditStore = {
989
+ data: AuditPayload | null;
990
+ loaded: boolean;
991
+ inFlight: boolean;
992
+ refresh: () => Promise<void>;
993
+ };
994
+ declare const useMissingItemsAudit: zustand.UseBoundStore<zustand.StoreApi<AuditStore>>;
995
+ declare function MissingItemsBanner(): react_jsx_runtime.JSX.Element | null;
996
+
962
997
  interface TestBedItem {
963
998
  key: string;
964
999
  label: string;
965
1000
  active: boolean;
966
1001
  onToggle: (next: boolean) => void;
967
1002
  }
1003
+ type TestBedPlacement = "top-left" | "top-center" | "top-right";
968
1004
  interface TestBedProps {
969
1005
  items: TestBedItem[];
970
1006
  /** localStorage key used to persist toggled state across reloads. Default: "testbed:open-state". */
@@ -973,7 +1009,9 @@ interface TestBedProps {
973
1009
  disablePersistence?: boolean;
974
1010
  /** Header label shown in the collapsed pill. Default: "TestBed". */
975
1011
  title?: string;
1012
+ /** Where to anchor the floating panel. Default: "top-left". */
1013
+ placement?: TestBedPlacement;
976
1014
  }
977
- declare function TestBed({ items, storageKey, disablePersistence, title, }: TestBedProps): react_jsx_runtime.JSX.Element | null;
1015
+ declare function TestBed({ items, storageKey, disablePersistence, title, placement, }: TestBedProps): react_jsx_runtime.JSX.Element | null;
978
1016
 
979
- export { AdminPageTitle, type AdminPageTitleProps, AsyncSaveButton, BlipColorSelect, type BlipColorSelectProps, BlipDisplaySelect, type BlipDisplaySelectProps, BlipIconSelect, type BlipIconSelectProps, BorderedIcon, type BorderedIconProps, type ButtonProps, ConfigPanel, type ConfigPanelProps, ConfirmModal, type ConfirmModalProps, ControlMultiSelect, type ControlMultiSelectProps, ControlSelect, type ControlSelectProps, Counter, type FiveMControls, FiveMKeyBindInput, FloatingParticles, type FloatingParticlesProps, GroupName, type GroupNameProps, GroupRank, type GroupRankProps, GroupSelect, type GroupSelectProps, type GroupType, type GroupValue, InfoBox, type InfoBoxProps, InputContainer, type InputContainerProps, LevelBanner, LevelPanel, Modal, ModalContext, type ModalProps, ModalProvider, MotionFlex, MotionIcon, MotionImage, MotionText, NavBar, type NavItem, NavigationContext, NavigationProvider, type NavigationStore, type ParticleState, PositionPicker, type PositionPickerProps, type ProgressProps, type Prompt, type PromptButton, PromptModal, type SegmentProps, SegmentedControl, type SegmentedControlProps, SegmentedProgress, SelectItem, type SelectItemProps, type StoreModalProps, TestBed, type TestBedItem, type TestBedProps, Title, type TitleProps, Vector4DeleteButton, Vector4Display, type Vector4Value, WorldPositionGotoButton, WorldPositionSetButton, useModal, useModalActions, useNavigation, useNavigationStore };
1017
+ export { AdminPageTitle, type AdminPageTitleProps, AsyncSaveButton, BlipColorSelect, type BlipColorSelectProps, BlipDisplaySelect, type BlipDisplaySelectProps, BlipIconSelect, type BlipIconSelectProps, BorderedIcon, type BorderedIconProps, type ButtonProps, ConfigPanel, type ConfigPanelProps, ConfirmModal, type ConfirmModalProps, ControlMultiSelect, type ControlMultiSelectProps, ControlSelect, type ControlSelectProps, Counter, type FiveMControls, FiveMKeyBindInput, FloatingParticles, type FloatingParticlesProps, GroupName, type GroupNameProps, GroupRank, type GroupRankProps, GroupSelect, type GroupSelectProps, type GroupType, type GroupValue, InfoBox, type InfoBoxProps, InputContainer, type InputContainerProps, LevelBanner, LevelPanel, MissingItemsBanner, Modal, ModalContext, type ModalProps, ModalProvider, MotionFlex, MotionIcon, MotionImage, MotionText, NavBar, type NavItem, NavigationContext, NavigationProvider, type NavigationStore, type ParticleState, PositionPicker, type PositionPickerProps, type ProgressProps, type Prompt, type PromptButton, PromptModal, type SegmentProps, SegmentedControl, type SegmentedControlProps, SegmentedProgress, SelectItem, type SelectItemProps, type StoreModalProps, TestBed, type TestBedItem, type TestBedPlacement, type TestBedProps, Title, type TitleProps, type TitleSize, Vector4DeleteButton, Vector4Display, type Vector4Value, WorldPositionGotoButton, WorldPositionSetButton, useMissingItemsAudit, useModal, useModalActions, useNavigation, useNavigationStore };
@@ -5,6 +5,7 @@ import React__default, { ReactNode, ComponentType } from 'react';
5
5
  import * as framer_motion from 'framer-motion';
6
6
  import { Variants } from 'framer-motion';
7
7
  import * as _fortawesome_fontawesome_svg_core from '@fortawesome/fontawesome-svg-core';
8
+ import * as zustand from 'zustand';
8
9
  import { StoreApi } from 'zustand';
9
10
  import { LucideProps } from 'lucide-react';
10
11
 
@@ -677,6 +678,7 @@ type ButtonProps = {
677
678
  icon: string;
678
679
  onClick?: () => void;
679
680
  };
681
+ type TitleSize = "xs" | "sm" | "md" | "lg" | "xl";
680
682
  type TitleProps = {
681
683
  title: string;
682
684
  description: string;
@@ -687,6 +689,12 @@ type TitleProps = {
687
689
  removeBorder?: boolean;
688
690
  borderColor?: string;
689
691
  p?: string;
692
+ /**
693
+ * Scale of the whole block — icon, title text, description text, and inner
694
+ * spacing all follow this single value. Defaults to "md" to preserve the
695
+ * historical look so existing consumers don't shift.
696
+ */
697
+ size?: TitleSize;
690
698
  rightSection?: React.ReactNode;
691
699
  };
692
700
  declare function Title(props: TitleProps): react_jsx_runtime.JSX.Element;
@@ -813,6 +821,10 @@ interface ConfigPanelProps<T extends Record<string, any> = Record<string, any>>
813
821
  resetConfirmText?: string;
814
822
  width?: string;
815
823
  height?: string;
824
+ /** Skip the auto-mounted MissingItemsBanner. Default: false (banner shown).
825
+ The banner self-hides when nothing is missing, so leaving it on costs
826
+ nothing visually. */
827
+ suppressMissingItemsBanner?: boolean;
816
828
  }
817
829
  declare function ConfigPanel<T extends Record<string, any>>(props: ConfigPanelProps<T>): react_jsx_runtime.JSX.Element | null;
818
830
 
@@ -959,12 +971,36 @@ type AdminPageTitleProps = {
959
971
  };
960
972
  declare function AdminPageTitle(props: AdminPageTitleProps): react_jsx_runtime.JSX.Element;
961
973
 
974
+ type MissingItem = {
975
+ name: string;
976
+ label?: string;
977
+ weight?: number;
978
+ description?: string;
979
+ };
980
+ type AuditPayload = {
981
+ missing: MissingItem[];
982
+ snippets: {
983
+ ox: string;
984
+ qb: string;
985
+ esx: string;
986
+ };
987
+ };
988
+ type AuditStore = {
989
+ data: AuditPayload | null;
990
+ loaded: boolean;
991
+ inFlight: boolean;
992
+ refresh: () => Promise<void>;
993
+ };
994
+ declare const useMissingItemsAudit: zustand.UseBoundStore<zustand.StoreApi<AuditStore>>;
995
+ declare function MissingItemsBanner(): react_jsx_runtime.JSX.Element | null;
996
+
962
997
  interface TestBedItem {
963
998
  key: string;
964
999
  label: string;
965
1000
  active: boolean;
966
1001
  onToggle: (next: boolean) => void;
967
1002
  }
1003
+ type TestBedPlacement = "top-left" | "top-center" | "top-right";
968
1004
  interface TestBedProps {
969
1005
  items: TestBedItem[];
970
1006
  /** localStorage key used to persist toggled state across reloads. Default: "testbed:open-state". */
@@ -973,7 +1009,9 @@ interface TestBedProps {
973
1009
  disablePersistence?: boolean;
974
1010
  /** Header label shown in the collapsed pill. Default: "TestBed". */
975
1011
  title?: string;
1012
+ /** Where to anchor the floating panel. Default: "top-left". */
1013
+ placement?: TestBedPlacement;
976
1014
  }
977
- declare function TestBed({ items, storageKey, disablePersistence, title, }: TestBedProps): react_jsx_runtime.JSX.Element | null;
1015
+ declare function TestBed({ items, storageKey, disablePersistence, title, placement, }: TestBedProps): react_jsx_runtime.JSX.Element | null;
978
1016
 
979
- export { AdminPageTitle, type AdminPageTitleProps, AsyncSaveButton, BlipColorSelect, type BlipColorSelectProps, BlipDisplaySelect, type BlipDisplaySelectProps, BlipIconSelect, type BlipIconSelectProps, BorderedIcon, type BorderedIconProps, type ButtonProps, ConfigPanel, type ConfigPanelProps, ConfirmModal, type ConfirmModalProps, ControlMultiSelect, type ControlMultiSelectProps, ControlSelect, type ControlSelectProps, Counter, type FiveMControls, FiveMKeyBindInput, FloatingParticles, type FloatingParticlesProps, GroupName, type GroupNameProps, GroupRank, type GroupRankProps, GroupSelect, type GroupSelectProps, type GroupType, type GroupValue, InfoBox, type InfoBoxProps, InputContainer, type InputContainerProps, LevelBanner, LevelPanel, Modal, ModalContext, type ModalProps, ModalProvider, MotionFlex, MotionIcon, MotionImage, MotionText, NavBar, type NavItem, NavigationContext, NavigationProvider, type NavigationStore, type ParticleState, PositionPicker, type PositionPickerProps, type ProgressProps, type Prompt, type PromptButton, PromptModal, type SegmentProps, SegmentedControl, type SegmentedControlProps, SegmentedProgress, SelectItem, type SelectItemProps, type StoreModalProps, TestBed, type TestBedItem, type TestBedProps, Title, type TitleProps, Vector4DeleteButton, Vector4Display, type Vector4Value, WorldPositionGotoButton, WorldPositionSetButton, useModal, useModalActions, useNavigation, useNavigationStore };
1017
+ export { AdminPageTitle, type AdminPageTitleProps, AsyncSaveButton, BlipColorSelect, type BlipColorSelectProps, BlipDisplaySelect, type BlipDisplaySelectProps, BlipIconSelect, type BlipIconSelectProps, BorderedIcon, type BorderedIconProps, type ButtonProps, ConfigPanel, type ConfigPanelProps, ConfirmModal, type ConfirmModalProps, ControlMultiSelect, type ControlMultiSelectProps, ControlSelect, type ControlSelectProps, Counter, type FiveMControls, FiveMKeyBindInput, FloatingParticles, type FloatingParticlesProps, GroupName, type GroupNameProps, GroupRank, type GroupRankProps, GroupSelect, type GroupSelectProps, type GroupType, type GroupValue, InfoBox, type InfoBoxProps, InputContainer, type InputContainerProps, LevelBanner, LevelPanel, MissingItemsBanner, Modal, ModalContext, type ModalProps, ModalProvider, MotionFlex, MotionIcon, MotionImage, MotionText, NavBar, type NavItem, NavigationContext, NavigationProvider, type NavigationStore, type ParticleState, PositionPicker, type PositionPickerProps, type ProgressProps, type Prompt, type PromptButton, PromptModal, type SegmentProps, SegmentedControl, type SegmentedControlProps, SegmentedProgress, SelectItem, type SelectItemProps, type StoreModalProps, TestBed, type TestBedItem, type TestBedPlacement, type TestBedProps, Title, type TitleProps, type TitleSize, Vector4DeleteButton, Vector4Display, type Vector4Value, WorldPositionGotoButton, WorldPositionSetButton, useMissingItemsAudit, useModal, useModalActions, useNavigation, useNavigationStore };