@foldkit/ui 0.155.0 → 0.156.0-canary.0053b7691fcd
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/anchor/anchor.d.ts +18 -18
- package/dist/anchor/anchor.d.ts.map +1 -1
- package/dist/anchor/anchor.js +16 -16
- package/dist/animation/index.js +6 -6
- package/dist/animation/schema.d.ts +6 -6
- package/dist/animation/schema.d.ts.map +1 -1
- package/dist/animation/schema.js +5 -5
- package/dist/animation/update.d.ts +2 -2
- package/dist/animation/update.d.ts.map +1 -1
- package/dist/animation/update.js +9 -9
- package/dist/calendar/index.d.ts +56 -56
- package/dist/calendar/index.d.ts.map +1 -1
- package/dist/calendar/index.js +49 -37
- package/dist/checkbox/index.js +2 -2
- package/dist/combobox/multi.d.ts +19 -19
- package/dist/combobox/multi.d.ts.map +1 -1
- package/dist/combobox/multi.js +2 -2
- package/dist/combobox/shared.d.ts +61 -61
- package/dist/combobox/shared.d.ts.map +1 -1
- package/dist/combobox/shared.js +51 -51
- package/dist/combobox/single.d.ts +19 -19
- package/dist/combobox/single.d.ts.map +1 -1
- package/dist/combobox/single.js +2 -2
- package/dist/datePicker/index.d.ts +72 -72
- package/dist/datePicker/index.d.ts.map +1 -1
- package/dist/datePicker/index.js +9 -9
- package/dist/dialog/index.d.ts +14 -14
- package/dist/dialog/index.d.ts.map +1 -1
- package/dist/dialog/index.js +14 -14
- package/dist/disclosure/index.js +2 -2
- package/dist/dragAndDrop/index.d.ts +61 -61
- package/dist/dragAndDrop/index.d.ts.map +1 -1
- package/dist/dragAndDrop/index.js +85 -85
- package/dist/fileDrop/index.d.ts +6 -6
- package/dist/fileDrop/index.d.ts.map +1 -1
- package/dist/fileDrop/index.js +6 -6
- package/dist/hoverIntent/hoverIntent.d.ts +19 -16
- package/dist/hoverIntent/hoverIntent.d.ts.map +1 -1
- package/dist/hoverIntent/hoverIntent.js +49 -46
- package/dist/hoverIntent/message.d.ts +4 -4
- package/dist/hoverIntent/message.d.ts.map +1 -1
- package/dist/hoverIntent/message.js +4 -4
- package/dist/hoverIntent/public.d.ts +1 -1
- package/dist/hoverIntent/public.d.ts.map +1 -1
- package/dist/hoverIntent/public.js +1 -1
- package/dist/keyboard.js +2 -2
- package/dist/listbox/multi.d.ts +19 -19
- package/dist/listbox/multi.d.ts.map +1 -1
- package/dist/listbox/multi.js +2 -2
- package/dist/listbox/shared.d.ts +58 -58
- package/dist/listbox/shared.d.ts.map +1 -1
- package/dist/listbox/shared.js +52 -52
- package/dist/listbox/single.d.ts +19 -19
- package/dist/listbox/single.d.ts.map +1 -1
- package/dist/listbox/single.js +2 -2
- package/dist/menu/index.d.ts +67 -67
- package/dist/menu/index.d.ts.map +1 -1
- package/dist/menu/index.js +60 -57
- package/dist/popover/index.d.ts +34 -34
- package/dist/popover/index.d.ts.map +1 -1
- package/dist/popover/index.js +27 -27
- package/dist/radioGroup/index.d.ts +12 -12
- package/dist/radioGroup/index.d.ts.map +1 -1
- package/dist/radioGroup/index.js +16 -16
- package/dist/slider/index.d.ts +14 -14
- package/dist/slider/index.d.ts.map +1 -1
- package/dist/slider/index.js +31 -31
- package/dist/switch/index.js +2 -2
- package/dist/tabs/index.d.ts +14 -14
- package/dist/tabs/index.d.ts.map +1 -1
- package/dist/tabs/index.js +18 -18
- package/dist/test/apps/disabledButton.d.ts +12 -12
- package/dist/test/apps/disabledButton.d.ts.map +1 -1
- package/dist/test/apps/disabledButton.js +4 -4
- package/dist/toast/index.d.ts +63 -63
- package/dist/toast/index.d.ts.map +1 -1
- package/dist/toast/index.js +19 -19
- package/dist/toast/schema.d.ts +55 -55
- package/dist/toast/schema.d.ts.map +1 -1
- package/dist/toast/schema.js +25 -25
- package/dist/toast/update.d.ts +61 -61
- package/dist/toast/update.d.ts.map +1 -1
- package/dist/toast/update.js +5 -5
- package/dist/tooltip/message.d.ts +3 -3
- package/dist/tooltip/message.d.ts.map +1 -1
- package/dist/tooltip/message.js +3 -3
- package/dist/tooltip/tooltip.d.ts +24 -24
- package/dist/tooltip/tooltip.d.ts.map +1 -1
- package/dist/tooltip/tooltip.js +13 -13
- package/dist/typeahead.d.ts.map +1 -1
- package/dist/typeahead.js +3 -3
- package/dist/virtualList/index.d.ts +15 -15
- package/dist/virtualList/index.d.ts.map +1 -1
- package/dist/virtualList/index.js +13 -13
- package/package.json +4 -4
package/dist/anchor/anchor.d.ts
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { Schema
|
|
1
|
+
import { Schema } from 'effect';
|
|
2
2
|
/** Schema mirroring `@floating-ui/dom`'s `Placement` literal union: a side
|
|
3
3
|
* (`top`/`right`/`bottom`/`left`) optionally suffixed with `-start` or `-end`. */
|
|
4
|
-
export declare const Placement:
|
|
4
|
+
export declare const Placement: Schema.Literals<readonly ["top", "right", "bottom", "left", "top-start", "top-end", "right-start", "right-end", "bottom-start", "bottom-end", "left-start", "left-end"]>;
|
|
5
5
|
export type Placement = typeof Placement.Type;
|
|
6
6
|
/** Schema mirroring `@floating-ui/dom`'s `Padding` type: a uniform number or a
|
|
7
7
|
* partial per-side object (`top`/`right`/`bottom`/`left`). */
|
|
8
|
-
export declare const Padding:
|
|
9
|
-
readonly top:
|
|
10
|
-
readonly right:
|
|
11
|
-
readonly bottom:
|
|
12
|
-
readonly left:
|
|
8
|
+
export declare const Padding: Schema.Union<readonly [Schema.Number, Schema.Struct<{
|
|
9
|
+
readonly top: Schema.optionalKey<Schema.Number>;
|
|
10
|
+
readonly right: Schema.optionalKey<Schema.Number>;
|
|
11
|
+
readonly bottom: Schema.optionalKey<Schema.Number>;
|
|
12
|
+
readonly left: Schema.optionalKey<Schema.Number>;
|
|
13
13
|
}>]>;
|
|
14
14
|
export type Padding = typeof Padding.Type;
|
|
15
15
|
/** Static configuration for anchor-based positioning of a floating element relative to a button. */
|
|
16
|
-
export declare const AnchorConfig:
|
|
17
|
-
readonly placement:
|
|
18
|
-
readonly gap:
|
|
19
|
-
readonly offset:
|
|
20
|
-
readonly padding:
|
|
21
|
-
readonly top:
|
|
22
|
-
readonly right:
|
|
23
|
-
readonly bottom:
|
|
24
|
-
readonly left:
|
|
16
|
+
export declare const AnchorConfig: Schema.Struct<{
|
|
17
|
+
readonly placement: Schema.optional<Schema.Literals<readonly ["top", "right", "bottom", "left", "top-start", "top-end", "right-start", "right-end", "bottom-start", "bottom-end", "left-start", "left-end"]>>;
|
|
18
|
+
readonly gap: Schema.optional<Schema.Number>;
|
|
19
|
+
readonly offset: Schema.optional<Schema.Number>;
|
|
20
|
+
readonly padding: Schema.optional<Schema.Union<readonly [Schema.Number, Schema.Struct<{
|
|
21
|
+
readonly top: Schema.optionalKey<Schema.Number>;
|
|
22
|
+
readonly right: Schema.optionalKey<Schema.Number>;
|
|
23
|
+
readonly bottom: Schema.optionalKey<Schema.Number>;
|
|
24
|
+
readonly left: Schema.optionalKey<Schema.Number>;
|
|
25
25
|
}>]>>;
|
|
26
|
-
readonly portal:
|
|
27
|
-
readonly isPlacementLocked:
|
|
26
|
+
readonly portal: Schema.optional<Schema.Boolean>;
|
|
27
|
+
readonly isPlacementLocked: Schema.optional<Schema.Boolean>;
|
|
28
28
|
}>;
|
|
29
29
|
export type AnchorConfig = typeof AnchorConfig.Type;
|
|
30
30
|
/** Relocates an element into the shared `foldkit-portal-root` div within its
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"anchor.d.ts","sourceRoot":"","sources":["../../src/anchor/anchor.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,MAAM,
|
|
1
|
+
{"version":3,"file":"anchor.d.ts","sourceRoot":"","sources":["../../src/anchor/anchor.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,MAAM,EAAgB,MAAM,QAAQ,CAAA;AAatE;mFACmF;AACnF,eAAO,MAAM,SAAS,0KAapB,CAAA;AAEF,MAAM,MAAM,SAAS,GAAG,OAAO,SAAS,CAAC,IAAI,CAAA;AAE7C;+DAC+D;AAC/D,eAAO,MAAM,OAAO;;;;;IAQlB,CAAA;AAEF,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC,IAAI,CAAA;AAEzC,oGAAoG;AACpG,eAAO,MAAM,YAAY;;;;;;;;;;;;EAOvB,CAAA;AAEF,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,IAAI,CAAA;AAkCnD;;;;;;0DAM0D;AAC1D,eAAO,MAAM,sBAAsB,YAAa,OAAO,KAAG,CAAC,MAAM,IAAI,CAWpE,CAAA;AAKD;;;;;;;;;;;;;;;;;;;;;0BAqB0B;AAC1B,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC;IACjC,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,YAAY,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAC,CAAA;AAsBF;;;;;;;;;;;;;;;gFAegF;AAChF,eAAO,MAAM,WAAW,YACb,OAAO,UACR,WAAW,KAClB,CAAC,MAAM,IAAI,CAyOb,CAAA"}
|
package/dist/anchor/anchor.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
-
import { Array, Function, Option, Schema
|
|
2
|
+
import { Array, Function, Option, Schema, String, pipe } from 'effect';
|
|
3
3
|
import { arrow, autoUpdate, computePosition, flip, offset as floatingOffset, shift, size, } from '@floating-ui/dom';
|
|
4
4
|
/** Schema mirroring `@floating-ui/dom`'s `Placement` literal union: a side
|
|
5
5
|
* (`top`/`right`/`bottom`/`left`) optionally suffixed with `-start` or `-end`. */
|
|
6
|
-
export const Placement =
|
|
6
|
+
export const Placement = Schema.Literals([
|
|
7
7
|
'top',
|
|
8
8
|
'right',
|
|
9
9
|
'bottom',
|
|
@@ -19,23 +19,23 @@ export const Placement = S.Literals([
|
|
|
19
19
|
]);
|
|
20
20
|
/** Schema mirroring `@floating-ui/dom`'s `Padding` type: a uniform number or a
|
|
21
21
|
* partial per-side object (`top`/`right`/`bottom`/`left`). */
|
|
22
|
-
export const Padding =
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
top:
|
|
26
|
-
right:
|
|
27
|
-
bottom:
|
|
28
|
-
left:
|
|
22
|
+
export const Padding = Schema.Union([
|
|
23
|
+
Schema.Number,
|
|
24
|
+
Schema.Struct({
|
|
25
|
+
top: Schema.optionalKey(Schema.Number),
|
|
26
|
+
right: Schema.optionalKey(Schema.Number),
|
|
27
|
+
bottom: Schema.optionalKey(Schema.Number),
|
|
28
|
+
left: Schema.optionalKey(Schema.Number),
|
|
29
29
|
}),
|
|
30
30
|
]);
|
|
31
31
|
/** Static configuration for anchor-based positioning of a floating element relative to a button. */
|
|
32
|
-
export const AnchorConfig =
|
|
33
|
-
placement:
|
|
34
|
-
gap:
|
|
35
|
-
offset:
|
|
36
|
-
padding:
|
|
37
|
-
portal:
|
|
38
|
-
isPlacementLocked:
|
|
32
|
+
export const AnchorConfig = Schema.Struct({
|
|
33
|
+
placement: Schema.optional(Placement),
|
|
34
|
+
gap: Schema.optional(Schema.Number),
|
|
35
|
+
offset: Schema.optional(Schema.Number),
|
|
36
|
+
padding: Schema.optional(Padding),
|
|
37
|
+
portal: Schema.optional(Schema.Boolean),
|
|
38
|
+
isPlacementLocked: Schema.optional(Schema.Boolean),
|
|
39
39
|
});
|
|
40
40
|
const PORTAL_ROOT_ID = 'foldkit-portal-root';
|
|
41
41
|
const getOrCreatePortalRoot = (element) => {
|
package/dist/animation/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
-
import { Match
|
|
2
|
+
import { Match } from 'effect';
|
|
3
3
|
import { defineView } from 'foldkit/submodel';
|
|
4
4
|
import { Message, Model, OutMessage, TransitionState, init } from './schema.js';
|
|
5
5
|
import { WaitForAnimationSettled, WaitForPaint, defaultLeaveCommand, update, } from './update.js';
|
|
@@ -19,21 +19,21 @@ export const view = defineView((model, viewInputs, h) => {
|
|
|
19
19
|
const { content, className, attributes = [], element = 'div', animateSize = false, } = viewInputs;
|
|
20
20
|
const isLeaving = transitionState === 'LeaveStart' || transitionState === 'LeaveAnimating';
|
|
21
21
|
const isVisible = isShowing || isLeaving;
|
|
22
|
-
const transitionAttributes =
|
|
22
|
+
const transitionAttributes = Match.value(transitionState).pipe(Match.when('EnterStart', () => __foldkitBrandViewResult(([
|
|
23
23
|
h.DataAttribute('closed', ''),
|
|
24
24
|
h.DataAttribute('enter', ''),
|
|
25
25
|
h.DataAttribute('transition', ''),
|
|
26
|
-
]), "@foldkit/ui/animation/index.js#anonymous~2")),
|
|
26
|
+
]), "@foldkit/ui/animation/index.js#anonymous~2")), Match.when('EnterAnimating', () => __foldkitBrandViewResult(([
|
|
27
27
|
h.DataAttribute('enter', ''),
|
|
28
28
|
h.DataAttribute('transition', ''),
|
|
29
|
-
]), "@foldkit/ui/animation/index.js#anonymous~3")),
|
|
29
|
+
]), "@foldkit/ui/animation/index.js#anonymous~3")), Match.when('LeaveStart', () => __foldkitBrandViewResult(([
|
|
30
30
|
h.DataAttribute('leave', ''),
|
|
31
31
|
h.DataAttribute('transition', ''),
|
|
32
|
-
]), "@foldkit/ui/animation/index.js#anonymous~4")),
|
|
32
|
+
]), "@foldkit/ui/animation/index.js#anonymous~4")), Match.when('LeaveAnimating', () => __foldkitBrandViewResult(([
|
|
33
33
|
h.DataAttribute('closed', ''),
|
|
34
34
|
h.DataAttribute('leave', ''),
|
|
35
35
|
h.DataAttribute('transition', ''),
|
|
36
|
-
]), "@foldkit/ui/animation/index.js#anonymous~5")),
|
|
36
|
+
]), "@foldkit/ui/animation/index.js#anonymous~5")), Match.orElse(() => __foldkitBrandViewResult(([]), "@foldkit/ui/animation/index.js#anonymous~6")));
|
|
37
37
|
if (animateSize) {
|
|
38
38
|
const isClosed = transitionState === 'EnterStart' ||
|
|
39
39
|
transitionState === 'LeaveAnimating' ||
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Schema
|
|
1
|
+
import { Schema } from 'effect';
|
|
2
2
|
/** Schema for the animation lifecycle state, tracking enter/leave phases. */
|
|
3
|
-
export declare const TransitionState:
|
|
3
|
+
export declare const TransitionState: Schema.Literals<readonly ["Idle", "EnterStart", "EnterAnimating", "LeaveStart", "LeaveAnimating"]>;
|
|
4
4
|
export type TransitionState = typeof TransitionState.Type;
|
|
5
5
|
/** Schema for the animation component's state, tracking its unique ID, visibility intent, and lifecycle phase. */
|
|
6
|
-
export declare const Model:
|
|
7
|
-
readonly id:
|
|
8
|
-
readonly isShowing:
|
|
9
|
-
readonly transitionState:
|
|
6
|
+
export declare const Model: Schema.Struct<{
|
|
7
|
+
readonly id: Schema.String;
|
|
8
|
+
readonly isShowing: Schema.Boolean;
|
|
9
|
+
readonly transitionState: Schema.Literals<readonly ["Idle", "EnterStart", "EnterAnimating", "LeaveStart", "LeaveAnimating"]>;
|
|
10
10
|
}>;
|
|
11
11
|
export type Model = typeof Model.Type;
|
|
12
12
|
/** Union of all messages the animation component can produce. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/animation/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../src/animation/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAK/B,6EAA6E;AAC7E,eAAO,MAAM,eAAe,oGAM1B,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,OAAO,eAAe,CAAC,IAAI,CAAA;AAIzD,kHAAkH;AAClH,eAAO,MAAM,KAAK;;;;EAIhB,CAAA;AAEF,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAC,IAAI,CAAA;AAIrC,iEAAiE;AACjE,eAAO,MAAM,OAAO;;;;;EAKlB,CAAA;AACF,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC,IAAI,CAAA;AAEzC,MAAM,MAAM,MAAM,GAAG,OAAO,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA;AAC/C,MAAM,MAAM,GAAG,GAAG,OAAO,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA;AAIzC,eAAO,MAAM,UAAU;;;EAGrB,CAAA;AACF,MAAM,MAAM,UAAU,GAAG,OAAO,UAAU,CAAC,IAAI,CAAA;AAI/C,iEAAiE;AACjE,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;IAChC,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAC,CAAA;AAEF,4EAA4E;AAC5E,eAAO,MAAM,IAAI,WAAY,UAAU,KAAG,KAIxC,CAAA"}
|
package/dist/animation/schema.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
-
import { Schema
|
|
2
|
+
import { Schema } from 'effect';
|
|
3
3
|
import { defineMessageUnion } from 'foldkit/message';
|
|
4
4
|
// TRANSITION STATE
|
|
5
5
|
/** Schema for the animation lifecycle state, tracking enter/leave phases. */
|
|
6
|
-
export const TransitionState =
|
|
6
|
+
export const TransitionState = Schema.Literals([
|
|
7
7
|
'Idle',
|
|
8
8
|
'EnterStart',
|
|
9
9
|
'EnterAnimating',
|
|
@@ -12,9 +12,9 @@ export const TransitionState = S.Literals([
|
|
|
12
12
|
]);
|
|
13
13
|
// MODEL
|
|
14
14
|
/** Schema for the animation component's state, tracking its unique ID, visibility intent, and lifecycle phase. */
|
|
15
|
-
export const Model =
|
|
16
|
-
id:
|
|
17
|
-
isShowing:
|
|
15
|
+
export const Model = Schema.Struct({
|
|
16
|
+
id: Schema.String,
|
|
17
|
+
isShowing: Schema.Boolean,
|
|
18
18
|
transitionState: TransitionState,
|
|
19
19
|
});
|
|
20
20
|
// MESSAGE
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Effect, Schema
|
|
1
|
+
import { Effect, Schema } from 'effect';
|
|
2
2
|
import { type Update } from 'foldkit';
|
|
3
3
|
import * as Command from 'foldkit/command';
|
|
4
4
|
import { type Hid, Message, type Model, OutMessage, type Showed } from './schema.js';
|
|
@@ -9,7 +9,7 @@ export declare const WaitForPaint: Command.CommandDefinitionNoArgs<"WaitForPaint
|
|
|
9
9
|
}, never, never>>;
|
|
10
10
|
/** Waits for all CSS animations on the element to settle. Covers both CSS transitions and CSS keyframe animations. */
|
|
11
11
|
export declare const WaitForAnimationSettled: Command.CommandDefinitionWithArgs<"WaitForAnimationSettled", {
|
|
12
|
-
id:
|
|
12
|
+
id: Schema.String;
|
|
13
13
|
}, Effect.Effect<{
|
|
14
14
|
readonly _tag: "EndedAnimation";
|
|
15
15
|
}, never, never>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/animation/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"update.d.ts","sourceRoot":"","sources":["../../src/animation/update.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAS,MAAM,EAAE,MAAM,QAAQ,CAAA;AAC9C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,SAAS,CAAA;AACrC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAA;AAM1C,OAAO,EACL,KAAK,GAAG,EACR,OAAO,EACP,KAAK,KAAK,EACV,UAAU,EACV,KAAK,MAAM,EACZ,MAAM,aAAa,CAAA;AAMpB,KAAK,YAAY,GAAG,MAAM,CAAC,oBAAoB,CAAC,KAAK,EAAE,OAAO,EAAE,UAAU,CAAC,CAAA;AAG3E,gFAAgF;AAChF,eAAO,MAAM,YAAY;;iBAGvB,CAAA;AACF,sHAAsH;AACtH,eAAO,MAAM,uBAAuB;;;;iBAUnC,CAAA;AAED;;;qBAGqB;AACrB,wBAAgB,MAAM,CACpB,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,MAAM,GAAG,GAAG,GACpB,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;AAChC,wBAAgB,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,YAAY,CAAA;AAkEpE,2NAA2N;AAC3N,eAAO,MAAM,mBAAmB,UAAW,KAAK,KAAG,OAAO,CAAC,OAAO,CAAC,OAAO,CAC/B,CAAA"}
|
package/dist/animation/update.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { brandViewResult as __foldkitBrandViewResult } from 'foldkit/brand'
|
|
2
|
-
import { Effect, Match
|
|
2
|
+
import { Effect, Match, Schema } from 'effect';
|
|
3
3
|
import * as Command from 'foldkit/command';
|
|
4
4
|
import * as Dom from 'foldkit/dom';
|
|
5
5
|
import * as Render from 'foldkit/render';
|
|
@@ -8,7 +8,7 @@ import { idSelector } from '../internal/selectors.js';
|
|
|
8
8
|
import { Message, OutMessage, } from './schema.js';
|
|
9
9
|
// UPDATE
|
|
10
10
|
const elementSelector = (id) => __foldkitBrandViewResult((idSelector(id)), "@foldkit/ui/animation/update.js#elementSelector");
|
|
11
|
-
const withUpdateReturn =
|
|
11
|
+
const withUpdateReturn = Match.withReturnType();
|
|
12
12
|
/** Waits for paint via double-rAF before the enter/leave lifecycle advances. */
|
|
13
13
|
export const WaitForPaint = Command.define('WaitForPaint', {
|
|
14
14
|
messages: [Message.CompletedWaitForPaint],
|
|
@@ -16,7 +16,7 @@ export const WaitForPaint = Command.define('WaitForPaint', {
|
|
|
16
16
|
});
|
|
17
17
|
/** Waits for all CSS animations on the element to settle. Covers both CSS transitions and CSS keyframe animations. */
|
|
18
18
|
export const WaitForAnimationSettled = Command.define('WaitForAnimationSettled', {
|
|
19
|
-
args: { id:
|
|
19
|
+
args: { id: Schema.String },
|
|
20
20
|
messages: [Message.EndedAnimation],
|
|
21
21
|
execute: ({ id }) => __foldkitBrandViewResult((Dom.waitForAnimationSettled(elementSelector(id)).pipe(Effect.as(Message.EndedAnimation()))), "@foldkit/ui/animation/update.js#execute"),
|
|
22
22
|
});
|
|
@@ -49,19 +49,19 @@ export function update(model, message) {
|
|
|
49
49
|
commands: [maybeNextFrame],
|
|
50
50
|
}), "@foldkit/ui/animation/update.js#Hid");
|
|
51
51
|
},
|
|
52
|
-
CompletedWaitForPaint: () => __foldkitBrandViewResult((
|
|
52
|
+
CompletedWaitForPaint: () => __foldkitBrandViewResult((Match.value(model.transitionState).pipe(withUpdateReturn, Match.when('EnterStart', () => (__foldkitBrandViewResult(({
|
|
53
53
|
model: evo(model, { transitionState: () => __foldkitBrandViewResult(('EnterAnimating'), "@foldkit/ui/animation/update.js#transitionState~3") }),
|
|
54
54
|
commands: [WaitForAnimationSettled({ id: model.id })],
|
|
55
|
-
}), "@foldkit/ui/animation/update.js#anonymous"))),
|
|
55
|
+
}), "@foldkit/ui/animation/update.js#anonymous"))), Match.when('LeaveStart', () => (__foldkitBrandViewResult(({
|
|
56
56
|
model: evo(model, { transitionState: () => __foldkitBrandViewResult(('LeaveAnimating'), "@foldkit/ui/animation/update.js#transitionState~4") }),
|
|
57
57
|
outMessage: OutMessage.StartedLeaveAnimating(),
|
|
58
|
-
}), "@foldkit/ui/animation/update.js#anonymous~2"))),
|
|
59
|
-
EndedAnimation: () => __foldkitBrandViewResult((
|
|
58
|
+
}), "@foldkit/ui/animation/update.js#anonymous~2"))), Match.orElse(() => (__foldkitBrandViewResult(({ model }), "@foldkit/ui/animation/update.js#anonymous~3"))))), "@foldkit/ui/animation/update.js#CompletedWaitForPaint"),
|
|
59
|
+
EndedAnimation: () => __foldkitBrandViewResult((Match.value(model.transitionState).pipe(withUpdateReturn, Match.when('EnterAnimating', () => (__foldkitBrandViewResult(({
|
|
60
60
|
model: evo(model, { transitionState: () => __foldkitBrandViewResult(('Idle'), "@foldkit/ui/animation/update.js#transitionState~5") }),
|
|
61
|
-
}), "@foldkit/ui/animation/update.js#anonymous~4"))),
|
|
61
|
+
}), "@foldkit/ui/animation/update.js#anonymous~4"))), Match.when('LeaveAnimating', () => (__foldkitBrandViewResult(({
|
|
62
62
|
model: evo(model, { transitionState: () => __foldkitBrandViewResult(('Idle'), "@foldkit/ui/animation/update.js#transitionState~6") }),
|
|
63
63
|
outMessage: OutMessage.TransitionedOut(),
|
|
64
|
-
}), "@foldkit/ui/animation/update.js#anonymous~5"))),
|
|
64
|
+
}), "@foldkit/ui/animation/update.js#anonymous~5"))), Match.orElse(() => (__foldkitBrandViewResult(({ model }), "@foldkit/ui/animation/update.js#anonymous~6"))))), "@foldkit/ui/animation/update.js#EndedAnimation"),
|
|
65
65
|
})), "@foldkit/ui/animation/update.js#update");
|
|
66
66
|
}
|
|
67
67
|
/** Creates the standard leave-phase command that waits for CSS animations on the element to settle. Use this when handling the `StartedLeaveAnimating` OutMessage for components that don't need custom leave behavior. */
|
package/dist/calendar/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Effect, Option, Schema
|
|
1
|
+
import { Effect, Option, Schema } from 'effect';
|
|
2
2
|
import * as Calendar from 'foldkit/calendar';
|
|
3
3
|
import type { CalendarDate } from 'foldkit/calendar';
|
|
4
4
|
import * as Command from 'foldkit/command';
|
|
@@ -8,85 +8,85 @@ import * as Update from 'foldkit/update';
|
|
|
8
8
|
/** Which grid the calendar is currently displaying. `Days` is the standard
|
|
9
9
|
* 6×7 day grid; `Months` is a 3×4 month-name grid for fast month jumps;
|
|
10
10
|
* `Years` is a 3×4 year grid paged in 12-year windows for fast year jumps. */
|
|
11
|
-
export declare const ViewMode:
|
|
11
|
+
export declare const ViewMode: Schema.Literals<readonly ["Days", "Months", "Years"]>;
|
|
12
12
|
export type ViewMode = typeof ViewMode.Type;
|
|
13
13
|
/** Schema for the calendar component's state. Tracks the visible month/year,
|
|
14
14
|
* the keyboard-focused and user-selected dates, the active view mode, and
|
|
15
15
|
* the configuration that governs navigation (locale, min/max, disabled
|
|
16
16
|
* days). */
|
|
17
|
-
export declare const Model:
|
|
18
|
-
readonly id:
|
|
19
|
-
readonly today:
|
|
20
|
-
readonly year:
|
|
21
|
-
readonly month:
|
|
22
|
-
readonly day:
|
|
17
|
+
export declare const Model: Schema.Struct<{
|
|
18
|
+
readonly id: Schema.String;
|
|
19
|
+
readonly today: Schema.Struct<{
|
|
20
|
+
readonly year: Schema.Int;
|
|
21
|
+
readonly month: Schema.Int;
|
|
22
|
+
readonly day: Schema.Int;
|
|
23
23
|
}>;
|
|
24
|
-
readonly viewYear:
|
|
25
|
-
readonly viewMonth:
|
|
26
|
-
readonly viewMode:
|
|
27
|
-
readonly maybeFocusedDate:
|
|
28
|
-
readonly year:
|
|
29
|
-
readonly month:
|
|
30
|
-
readonly day:
|
|
24
|
+
readonly viewYear: Schema.Int;
|
|
25
|
+
readonly viewMonth: Schema.Int;
|
|
26
|
+
readonly viewMode: Schema.Literals<readonly ["Days", "Months", "Years"]>;
|
|
27
|
+
readonly maybeFocusedDate: Schema.Option<Schema.Struct<{
|
|
28
|
+
readonly year: Schema.Int;
|
|
29
|
+
readonly month: Schema.Int;
|
|
30
|
+
readonly day: Schema.Int;
|
|
31
31
|
}>>;
|
|
32
|
-
readonly isGridFocused:
|
|
33
|
-
readonly locale:
|
|
34
|
-
readonly firstDayOfWeek:
|
|
35
|
-
readonly monthNames:
|
|
36
|
-
readonly shortMonthNames:
|
|
37
|
-
readonly dayNames:
|
|
38
|
-
readonly shortDayNames:
|
|
32
|
+
readonly isGridFocused: Schema.Boolean;
|
|
33
|
+
readonly locale: Schema.Struct<{
|
|
34
|
+
readonly firstDayOfWeek: Schema.Literals<readonly ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]>;
|
|
35
|
+
readonly monthNames: Schema.Tuple<readonly [Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String]>;
|
|
36
|
+
readonly shortMonthNames: Schema.Tuple<readonly [Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String]>;
|
|
37
|
+
readonly dayNames: Schema.Tuple<readonly [Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String]>;
|
|
38
|
+
readonly shortDayNames: Schema.Tuple<readonly [Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String, Schema.String]>;
|
|
39
39
|
}>;
|
|
40
|
-
readonly maybeMinDate:
|
|
41
|
-
readonly year:
|
|
42
|
-
readonly month:
|
|
43
|
-
readonly day:
|
|
40
|
+
readonly maybeMinDate: Schema.Option<Schema.Struct<{
|
|
41
|
+
readonly year: Schema.Int;
|
|
42
|
+
readonly month: Schema.Int;
|
|
43
|
+
readonly day: Schema.Int;
|
|
44
44
|
}>>;
|
|
45
|
-
readonly maybeMaxDate:
|
|
46
|
-
readonly year:
|
|
47
|
-
readonly month:
|
|
48
|
-
readonly day:
|
|
45
|
+
readonly maybeMaxDate: Schema.Option<Schema.Struct<{
|
|
46
|
+
readonly year: Schema.Int;
|
|
47
|
+
readonly month: Schema.Int;
|
|
48
|
+
readonly day: Schema.Int;
|
|
49
49
|
}>>;
|
|
50
|
-
readonly disabledDaysOfWeek:
|
|
51
|
-
readonly disabledDates:
|
|
52
|
-
readonly year:
|
|
53
|
-
readonly month:
|
|
54
|
-
readonly day:
|
|
50
|
+
readonly disabledDaysOfWeek: Schema.$Array<Schema.Literals<readonly ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]>>;
|
|
51
|
+
readonly disabledDates: Schema.$Array<Schema.Struct<{
|
|
52
|
+
readonly year: Schema.Int;
|
|
53
|
+
readonly month: Schema.Int;
|
|
54
|
+
readonly day: Schema.Int;
|
|
55
55
|
}>>;
|
|
56
56
|
}>;
|
|
57
57
|
export type Model = typeof Model.Type;
|
|
58
58
|
/** Union of all messages the calendar component can produce. */
|
|
59
59
|
export declare const Message: import("foldkit/message").MessageUnion<{
|
|
60
60
|
readonly ClickedDay: {
|
|
61
|
-
date:
|
|
62
|
-
readonly year:
|
|
63
|
-
readonly month:
|
|
64
|
-
readonly day:
|
|
61
|
+
date: Schema.Struct<{
|
|
62
|
+
readonly year: Schema.Int;
|
|
63
|
+
readonly month: Schema.Int;
|
|
64
|
+
readonly day: Schema.Int;
|
|
65
65
|
}>;
|
|
66
66
|
};
|
|
67
67
|
readonly PressedKeyOnGrid: {
|
|
68
|
-
key:
|
|
69
|
-
isShift:
|
|
68
|
+
key: Schema.String;
|
|
69
|
+
isShift: Schema.Boolean;
|
|
70
70
|
};
|
|
71
71
|
readonly ClickedPreviousMonthButton: {};
|
|
72
72
|
readonly ClickedNextMonthButton: {};
|
|
73
73
|
readonly ClickedHeading: {};
|
|
74
74
|
readonly SelectedMonth: {
|
|
75
|
-
month:
|
|
75
|
+
month: Schema.Int;
|
|
76
76
|
};
|
|
77
77
|
readonly SelectedYear: {
|
|
78
|
-
year:
|
|
78
|
+
year: Schema.Int;
|
|
79
79
|
};
|
|
80
80
|
readonly PagedYears: {
|
|
81
|
-
direction:
|
|
81
|
+
direction: Schema.Literals<readonly [1, -1]>;
|
|
82
82
|
};
|
|
83
83
|
readonly FocusedGrid: {};
|
|
84
84
|
readonly BlurredGrid: {};
|
|
85
85
|
readonly RefreshedToday: {
|
|
86
|
-
today:
|
|
87
|
-
readonly year:
|
|
88
|
-
readonly month:
|
|
89
|
-
readonly day:
|
|
86
|
+
today: Schema.Struct<{
|
|
87
|
+
readonly year: Schema.Int;
|
|
88
|
+
readonly month: Schema.Int;
|
|
89
|
+
readonly day: Schema.Int;
|
|
90
90
|
}>;
|
|
91
91
|
};
|
|
92
92
|
readonly CompletedFocusGrid: {};
|
|
@@ -99,14 +99,14 @@ export type SelectedYear = typeof Message.SelectedYear.Type;
|
|
|
99
99
|
/** Union of the calendar's OutMessages. */
|
|
100
100
|
export declare const OutMessage: import("foldkit/message").MessageUnion<{
|
|
101
101
|
readonly ChangedViewMonth: {
|
|
102
|
-
year:
|
|
103
|
-
month:
|
|
102
|
+
year: Schema.Int;
|
|
103
|
+
month: Schema.Int;
|
|
104
104
|
};
|
|
105
105
|
readonly SelectedDate: {
|
|
106
|
-
date:
|
|
107
|
-
readonly year:
|
|
108
|
-
readonly month:
|
|
109
|
-
readonly day:
|
|
106
|
+
date: Schema.Struct<{
|
|
107
|
+
readonly year: Schema.Int;
|
|
108
|
+
readonly month: Schema.Int;
|
|
109
|
+
readonly day: Schema.Int;
|
|
110
110
|
}>;
|
|
111
111
|
};
|
|
112
112
|
}>;
|
|
@@ -133,7 +133,7 @@ type UpdateReturn = Update.ReturnWithOutMessage<Model, Message, OutMessage>;
|
|
|
133
133
|
/** Focuses the calendar grid container. Parent components like DatePicker
|
|
134
134
|
* dispatch this after opening to hand focus to the grid's keyboard layer. */
|
|
135
135
|
export declare const FocusGrid: Command.CommandDefinitionWithArgs<"FocusGrid", {
|
|
136
|
-
id:
|
|
136
|
+
id: Schema.String;
|
|
137
137
|
}, Effect.Effect<{
|
|
138
138
|
readonly _tag: "CompletedFocusGrid";
|
|
139
139
|
}, never, never>>;
|
|
@@ -372,7 +372,7 @@ export type YearsModeAttributes = Readonly<{
|
|
|
372
372
|
}>;
|
|
373
373
|
/** Discriminated union of attribute groups and derived data the calendar
|
|
374
374
|
* component provides to the consumer's `toView` callback. The variant
|
|
375
|
-
* matches `model.viewMode`. Pattern-match on `_tag` with `
|
|
375
|
+
* matches `model.viewMode`. Pattern-match on `_tag` with `Match.tagsExhaustive`
|
|
376
376
|
* to render each mode. */
|
|
377
377
|
export type CalendarAttributes = DaysModeAttributes | MonthsModeAttributes | YearsModeAttributes;
|
|
378
378
|
/** Per-render view inputs passed to `view` via `h.submodel`'s `viewInputs` field.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EAIN,MAAM,EACN,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,MAAM,EAIN,MAAM,EACN,MAAM,EAEP,MAAM,QAAQ,CAAA;AACf,OAAO,KAAK,QAAQ,MAAM,kBAAkB,CAAA;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAA;AAE1C,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,IAAI,EAGV,MAAM,cAAc,CAAA;AAGrB,OAAO,EAAE,KAAK,OAAO,EAAc,MAAM,kBAAkB,CAAA;AAC3D,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAA;AAOxC;;8EAE8E;AAC9E,eAAO,MAAM,QAAQ,uDAA+C,CAAA;AACpE,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAC,IAAI,CAAA;AAE3C;;;YAGY;AACZ,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAahB,CAAA;AAEF,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAC,IAAI,CAAA;AAIrC,gEAAgE;AAChE,eAAO,MAAM,OAAO;;QACJ,IAAI;;;;;;;QAEhB,GAAG;QACH,OAAO;;;;;;QAKQ,KAAK;;;QACN,IAAI;;;QACN,SAAS;;;;;QAGL,KAAK;;;;;;;EAEvB,CAAA;AACF,MAAM,MAAM,OAAO,GAAG,OAAO,OAAO,CAAC,IAAI,CAAA;AAEzC,MAAM,MAAM,UAAU,GAAG,OAAO,OAAO,CAAC,UAAU,CAAC,IAAI,CAAA;AACvD,MA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