@factorialco/f0-react 1.317.1 → 1.317.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.
- package/dist/experimental.d.ts +25 -25
- package/dist/experimental.js +7 -5
- package/dist/f0.d.ts +25 -25
- package/dist/i18n-provider-defaults.d.ts +25 -25
- package/package.json +2 -2
package/dist/experimental.d.ts
CHANGED
|
@@ -6466,20 +6466,12 @@ declare global {
|
|
|
6466
6466
|
}
|
|
6467
6467
|
}
|
|
6468
6468
|
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
}>;
|
|
6476
|
-
meta?: Record<string, unknown>;
|
|
6477
|
-
}
|
|
6478
|
-
interface GridStackNode {
|
|
6479
|
-
allowedSizes?: Array<{
|
|
6480
|
-
w: number;
|
|
6481
|
-
h: number;
|
|
6482
|
-
}>;
|
|
6469
|
+
|
|
6470
|
+
declare module "@tiptap/core" {
|
|
6471
|
+
interface Commands<ReturnType> {
|
|
6472
|
+
liveCompanion: {
|
|
6473
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
6474
|
+
};
|
|
6483
6475
|
}
|
|
6484
6476
|
}
|
|
6485
6477
|
|
|
@@ -6501,18 +6493,21 @@ declare module "@tiptap/core" {
|
|
|
6501
6493
|
}
|
|
6502
6494
|
}
|
|
6503
6495
|
|
|
6504
|
-
|
|
6505
|
-
|
|
6506
|
-
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
|
|
6496
|
+
declare module "gridstack" {
|
|
6497
|
+
interface GridStackWidget {
|
|
6498
|
+
id?: string;
|
|
6499
|
+
allowedSizes?: Array<{
|
|
6500
|
+
w: number;
|
|
6501
|
+
h: number;
|
|
6502
|
+
}>;
|
|
6503
|
+
meta?: Record<string, unknown>;
|
|
6504
|
+
}
|
|
6505
|
+
interface GridStackNode {
|
|
6506
|
+
allowedSizes?: Array<{
|
|
6507
|
+
w: number;
|
|
6508
|
+
h: number;
|
|
6509
|
+
}>;
|
|
6510
6510
|
}
|
|
6511
|
-
}
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
declare namespace Calendar {
|
|
6515
|
-
var displayName: string;
|
|
6516
6511
|
}
|
|
6517
6512
|
|
|
6518
6513
|
|
|
@@ -6523,3 +6518,8 @@ declare module "@tiptap/core" {
|
|
|
6523
6518
|
};
|
|
6524
6519
|
}
|
|
6525
6520
|
}
|
|
6521
|
+
|
|
6522
|
+
|
|
6523
|
+
declare namespace Calendar {
|
|
6524
|
+
var displayName: string;
|
|
6525
|
+
}
|
package/dist/experimental.js
CHANGED
|
@@ -39751,21 +39751,23 @@ const sne = {
|
|
|
39751
39751
|
})
|
|
39752
39752
|
});
|
|
39753
39753
|
}, gne = (t, e) => {
|
|
39754
|
-
const { rowWithChildren: n, nestedVariant: i, onLoadMoreChildren: r } = e ?? {}, o = i === "detailed", s = r ? Z_ / 2 - i1 : fu / 2 - i1, a = n && !r ? cne : o ? V2 - 6 : V2
|
|
39754
|
+
const { rowWithChildren: n, nestedVariant: i, onLoadMoreChildren: r } = e ?? {}, o = i === "detailed", s = r ? Z_ / 2 - i1 : fu / 2 - i1, a = n && !r ? cne : o ? V2 - 6 : V2, l = t !== 0 && `calc(${t}px - ${fu + i1}px )`;
|
|
39755
39755
|
return {
|
|
39756
39756
|
"--line-left": `-${2 * n1}px`,
|
|
39757
39757
|
"--line-width": lne,
|
|
39758
39758
|
"--horizontal-offset": `${s}px`,
|
|
39759
39759
|
"--horizontal-left": "4px",
|
|
39760
39760
|
"--horizontal-height": `${G0 / 2}px`,
|
|
39761
|
-
"--
|
|
39762
|
-
|
|
39761
|
+
"--connector-width": `${a}px`,
|
|
39762
|
+
...l ? {
|
|
39763
|
+
"--line-height": l
|
|
39764
|
+
} : {}
|
|
39763
39765
|
};
|
|
39764
39766
|
}, vne = "h-full overflow-visible before:absolute before:-left-[var(--line-left)] before:top-[40px] before:h-[var(--line-height)] before:w-[var(--line-width)] before:bg-f1-foreground-disabled before:content-['']", yne = "after:absolute after:left-[var(--horizontal-left)] after:top-[var(--horizontal-offset)] after:h-[var(--horizontal-height)] after:w-[var(--connector-width)] after:rounded-bl-[var(--horizontal-height)] after:content-[''] after:shadow-[inset_1px_-1px_0_0_hsl(var(--neutral-30))]", xne = ({ firstCell: t, nestedRowProps: e }) => {
|
|
39765
39767
|
const n = J_(t, e?.depth ?? 0), i = dne(e?.expanded ?? !1, t), r = e === void 0 || e?.nestedVariant === "basic", o = e?.nestedVariant === "detailed", s = r || e?.rowWithChildren, a = o && e?.onLoadMoreChildren, l = n ? ig({
|
|
39766
39768
|
depth: e?.depth ?? 0,
|
|
39767
39769
|
padding: 0
|
|
39768
|
-
}) : void 0, c = e?.connectorHeight
|
|
39770
|
+
}) : void 0, c = e?.connectorHeight ?? 0;
|
|
39769
39771
|
return !i && !n && !e?.rowWithChildren ? null : f("div", {
|
|
39770
39772
|
className: F("absolute inset-0 h-full", e?.parentHasChildren && i && vne, e?.parentHasChildren && n && s && !a && yne),
|
|
39771
39773
|
style: {
|
|
@@ -40100,7 +40102,7 @@ const eS = (t, e, n) => {
|
|
|
40100
40102
|
);
|
|
40101
40103
|
return vs(() => {
|
|
40102
40104
|
const u = e?.previousElementSibling;
|
|
40103
|
-
if (!e || !i || !u) {
|
|
40105
|
+
if (!e || !i || e === i || !u) {
|
|
40104
40106
|
s(0);
|
|
40105
40107
|
return;
|
|
40106
40108
|
}
|
package/dist/f0.d.ts
CHANGED
|
@@ -4955,20 +4955,12 @@ declare global {
|
|
|
4955
4955
|
}
|
|
4956
4956
|
}
|
|
4957
4957
|
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
}>;
|
|
4965
|
-
meta?: Record<string, unknown>;
|
|
4966
|
-
}
|
|
4967
|
-
interface GridStackNode {
|
|
4968
|
-
allowedSizes?: Array<{
|
|
4969
|
-
w: number;
|
|
4970
|
-
h: number;
|
|
4971
|
-
}>;
|
|
4958
|
+
|
|
4959
|
+
declare module "@tiptap/core" {
|
|
4960
|
+
interface Commands<ReturnType> {
|
|
4961
|
+
liveCompanion: {
|
|
4962
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
4963
|
+
};
|
|
4972
4964
|
}
|
|
4973
4965
|
}
|
|
4974
4966
|
|
|
@@ -4990,18 +4982,21 @@ declare module "@tiptap/core" {
|
|
|
4990
4982
|
}
|
|
4991
4983
|
}
|
|
4992
4984
|
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4985
|
+
declare module "gridstack" {
|
|
4986
|
+
interface GridStackWidget {
|
|
4987
|
+
id?: string;
|
|
4988
|
+
allowedSizes?: Array<{
|
|
4989
|
+
w: number;
|
|
4990
|
+
h: number;
|
|
4991
|
+
}>;
|
|
4992
|
+
meta?: Record<string, unknown>;
|
|
4993
|
+
}
|
|
4994
|
+
interface GridStackNode {
|
|
4995
|
+
allowedSizes?: Array<{
|
|
4996
|
+
w: number;
|
|
4997
|
+
h: number;
|
|
4998
|
+
}>;
|
|
4999
4999
|
}
|
|
5000
|
-
}
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
declare namespace Calendar {
|
|
5004
|
-
var displayName: string;
|
|
5005
5000
|
}
|
|
5006
5001
|
|
|
5007
5002
|
|
|
@@ -5012,3 +5007,8 @@ declare module "@tiptap/core" {
|
|
|
5012
5007
|
};
|
|
5013
5008
|
}
|
|
5014
5009
|
}
|
|
5010
|
+
|
|
5011
|
+
|
|
5012
|
+
declare namespace Calendar {
|
|
5013
|
+
var displayName: string;
|
|
5014
|
+
}
|
|
@@ -458,20 +458,12 @@ declare global {
|
|
|
458
458
|
}
|
|
459
459
|
}
|
|
460
460
|
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
}>;
|
|
468
|
-
meta?: Record<string, unknown>;
|
|
469
|
-
}
|
|
470
|
-
interface GridStackNode {
|
|
471
|
-
allowedSizes?: Array<{
|
|
472
|
-
w: number;
|
|
473
|
-
h: number;
|
|
474
|
-
}>;
|
|
461
|
+
|
|
462
|
+
declare module "@tiptap/core" {
|
|
463
|
+
interface Commands<ReturnType> {
|
|
464
|
+
liveCompanion: {
|
|
465
|
+
insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
|
|
466
|
+
};
|
|
475
467
|
}
|
|
476
468
|
}
|
|
477
469
|
|
|
@@ -493,18 +485,21 @@ declare module "@tiptap/core" {
|
|
|
493
485
|
}
|
|
494
486
|
}
|
|
495
487
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
488
|
+
declare module "gridstack" {
|
|
489
|
+
interface GridStackWidget {
|
|
490
|
+
id?: string;
|
|
491
|
+
allowedSizes?: Array<{
|
|
492
|
+
w: number;
|
|
493
|
+
h: number;
|
|
494
|
+
}>;
|
|
495
|
+
meta?: Record<string, unknown>;
|
|
496
|
+
}
|
|
497
|
+
interface GridStackNode {
|
|
498
|
+
allowedSizes?: Array<{
|
|
499
|
+
w: number;
|
|
500
|
+
h: number;
|
|
501
|
+
}>;
|
|
502
502
|
}
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
declare namespace Calendar {
|
|
507
|
-
var displayName: string;
|
|
508
503
|
}
|
|
509
504
|
|
|
510
505
|
|
|
@@ -515,3 +510,8 @@ declare module "@tiptap/core" {
|
|
|
515
510
|
};
|
|
516
511
|
}
|
|
517
512
|
}
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
declare namespace Calendar {
|
|
516
|
+
var displayName: string;
|
|
517
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factorialco/f0-react",
|
|
3
|
-
"version": "1.317.
|
|
3
|
+
"version": "1.317.2",
|
|
4
4
|
"main": "dist/f0.js",
|
|
5
5
|
"typings": "dist/f0.d.ts",
|
|
6
6
|
"private": false,
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"remark-gfm": "^4.0.1",
|
|
136
136
|
"rollup-plugin-jsx-remove-attributes": "^3.1.1",
|
|
137
137
|
"size-limit": "^11.2.0",
|
|
138
|
-
"storybook": "^10.1.
|
|
138
|
+
"storybook": "^10.1.11",
|
|
139
139
|
"tsup": "^8.3.5",
|
|
140
140
|
"typescript": "^5.7.2",
|
|
141
141
|
"user-agent-data-types": "^0.4.2",
|