@factorialco/f0-react 1.311.0 → 1.311.2

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.
@@ -1670,8 +1670,6 @@ declare type Content = (ComponentProps<typeof DataList.Item> & {
1670
1670
  type: "dot-tag";
1671
1671
  });
1672
1672
 
1673
- declare type ContentPadding = (typeof modalContentPaddings)[number];
1674
-
1675
1673
  declare type CopyActionType = {
1676
1674
  type: "copy";
1677
1675
  text?: string;
@@ -4013,8 +4011,6 @@ declare interface MetadataProps {
4013
4011
 
4014
4012
  export declare const MobileDropdown: ({ items, children }: DropdownProps) => JSX_2.Element;
4015
4013
 
4016
- declare const modalContentPaddings: readonly ["sm", "md"];
4017
-
4018
4014
  declare type ModalPosition = (typeof modalPositions)[number];
4019
4015
 
4020
4016
  declare const modalPositions: readonly ["center", "left", "right", "fullscreen"];
@@ -4585,8 +4581,6 @@ declare type OneModalProps = {
4585
4581
  onClose: () => void;
4586
4582
  /** Whether to render the modal as a bottom sheet on mobile */
4587
4583
  asBottomSheetInMobile?: boolean;
4588
- /** the padding of internal content areas (header, content, footer) */
4589
- contentPadding?: ContentPadding;
4590
4584
  /** The position of the modal */
4591
4585
  position?: ModalPosition;
4592
4586
  /** The width of the modal. Only applies to center position but we can NOT use narrowing as position undefined is valid */
@@ -6438,6 +6432,23 @@ declare global {
6438
6432
  }
6439
6433
  }
6440
6434
 
6435
+ declare module "gridstack" {
6436
+ interface GridStackWidget {
6437
+ id?: string;
6438
+ allowedSizes?: Array<{
6439
+ w: number;
6440
+ h: number;
6441
+ }>;
6442
+ meta?: Record<string, unknown>;
6443
+ }
6444
+ interface GridStackNode {
6445
+ allowedSizes?: Array<{
6446
+ w: number;
6447
+ h: number;
6448
+ }>;
6449
+ }
6450
+ }
6451
+
6441
6452
 
6442
6453
  declare module "@tiptap/core" {
6443
6454
  interface Commands<ReturnType> {
@@ -6450,8 +6461,8 @@ declare module "@tiptap/core" {
6450
6461
 
6451
6462
  declare module "@tiptap/core" {
6452
6463
  interface Commands<ReturnType> {
6453
- liveCompanion: {
6454
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6464
+ transcript: {
6465
+ insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
6455
6466
  };
6456
6467
  }
6457
6468
  }
@@ -6459,34 +6470,12 @@ declare module "@tiptap/core" {
6459
6470
 
6460
6471
  declare module "@tiptap/core" {
6461
6472
  interface Commands<ReturnType> {
6462
- transcript: {
6463
- insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
6473
+ liveCompanion: {
6474
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6464
6475
  };
6465
6476
  }
6466
6477
  }
6467
6478
 
6468
- declare module "gridstack" {
6469
- interface GridStackWidget {
6470
- id?: string;
6471
- allowedSizes?: Array<{
6472
- w: number;
6473
- h: number;
6474
- }>;
6475
- meta?: Record<string, unknown>;
6476
- }
6477
- interface GridStackNode {
6478
- allowedSizes?: Array<{
6479
- w: number;
6480
- h: number;
6481
- }>;
6482
- }
6483
- }
6484
-
6485
-
6486
- declare namespace Calendar {
6487
- var displayName: string;
6488
- }
6489
-
6490
6479
 
6491
6480
  declare module "@tiptap/core" {
6492
6481
  interface Commands<ReturnType> {
@@ -6495,3 +6484,8 @@ declare module "@tiptap/core" {
6495
6484
  };
6496
6485
  }
6497
6486
  }
6487
+
6488
+
6489
+ declare namespace Calendar {
6490
+ var displayName: string;
6491
+ }