foldkit 0.74.0 → 0.74.1
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/calendar/arithmetic.d.ts +1 -1
- package/dist/calendar/arithmetic.d.ts.map +1 -1
- package/dist/calendar/arithmetic.js +1 -1
- package/dist/calendar/comparison.d.ts +1 -1
- package/dist/calendar/comparison.d.ts.map +1 -1
- package/dist/calendar/index.d.ts +6 -6
- package/dist/calendar/index.d.ts.map +1 -1
- package/dist/calendar/index.js +6 -6
- package/dist/calendar/info.d.ts +1 -1
- package/dist/calendar/info.d.ts.map +1 -1
- package/dist/calendar/info.js +2 -2
- package/dist/calendar/locale.d.ts +1 -1
- package/dist/calendar/locale.d.ts.map +1 -1
- package/dist/calendar/locale.js +1 -1
- package/dist/calendar/public.d.ts +1 -1
- package/dist/calendar/public.d.ts.map +1 -1
- package/dist/calendar/public.js +1 -1
- package/dist/calendar/today.js +1 -1
- package/dist/command/public.d.ts +2 -2
- package/dist/command/public.d.ts.map +1 -1
- package/dist/command/public.js +1 -1
- package/dist/devtools/overlay.d.ts +3 -3
- package/dist/devtools/overlay.d.ts.map +1 -1
- package/dist/devtools/overlay.js +12 -12
- package/dist/effectExtensions/index.d.ts +2 -2
- package/dist/effectExtensions/index.d.ts.map +1 -1
- package/dist/effectExtensions/index.js +2 -2
- package/dist/effectExtensions/stringExtensions.js +1 -1
- package/dist/fieldValidation/index.d.ts +8 -8
- package/dist/fieldValidation/index.js +2 -2
- package/dist/fieldValidation/public.d.ts +2 -2
- package/dist/fieldValidation/public.d.ts.map +1 -1
- package/dist/fieldValidation/public.js +1 -1
- package/dist/file/index.d.ts +4 -4
- package/dist/file/index.d.ts.map +1 -1
- package/dist/file/index.js +4 -4
- package/dist/file/public.d.ts +1 -1
- package/dist/file/public.d.ts.map +1 -1
- package/dist/file/public.js +1 -1
- package/dist/file/reader.d.ts +2 -2
- package/dist/file/reader.d.ts.map +1 -1
- package/dist/file/reader.js +1 -1
- package/dist/file/select.d.ts +1 -1
- package/dist/file/select.d.ts.map +1 -1
- package/dist/html/index.d.ts +4 -4
- package/dist/html/index.d.ts.map +1 -1
- package/dist/html/index.js +3 -3
- package/dist/html/lazy.d.ts +1 -1
- package/dist/html/lazy.d.ts.map +1 -1
- package/dist/html/lazy.js +1 -1
- package/dist/html/public.d.ts +2 -2
- package/dist/html/public.d.ts.map +1 -1
- package/dist/html/public.js +1 -1
- package/dist/index.d.ts +18 -18
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +18 -18
- package/dist/managedResource/public.d.ts +4 -4
- package/dist/managedResource/public.d.ts.map +1 -1
- package/dist/managedResource/public.js +2 -2
- package/dist/message/index.d.ts +1 -1
- package/dist/message/index.d.ts.map +1 -1
- package/dist/message/index.js +1 -1
- package/dist/message/public.d.ts +1 -1
- package/dist/message/public.d.ts.map +1 -1
- package/dist/message/public.js +1 -1
- package/dist/navigation/public.d.ts +1 -1
- package/dist/navigation/public.d.ts.map +1 -1
- package/dist/navigation/public.js +1 -1
- package/dist/route/index.d.ts +2 -2
- package/dist/route/index.d.ts.map +1 -1
- package/dist/route/index.js +2 -2
- package/dist/route/parser.d.ts +1 -1
- package/dist/route/parser.d.ts.map +1 -1
- package/dist/route/public.d.ts +2 -2
- package/dist/route/public.d.ts.map +1 -1
- package/dist/route/public.js +1 -1
- package/dist/runtime/browserListeners.d.ts +1 -1
- package/dist/runtime/browserListeners.d.ts.map +1 -1
- package/dist/runtime/browserListeners.js +2 -2
- package/dist/runtime/crashUI.d.ts +1 -1
- package/dist/runtime/crashUI.d.ts.map +1 -1
- package/dist/runtime/crashUI.js +1 -1
- package/dist/runtime/index.d.ts +2 -2
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +2 -2
- package/dist/runtime/managedResource.d.ts +1 -1
- package/dist/runtime/managedResource.d.ts.map +1 -1
- package/dist/runtime/public.d.ts +4 -4
- package/dist/runtime/public.d.ts.map +1 -1
- package/dist/runtime/public.js +2 -2
- package/dist/runtime/runtime.d.ts +7 -7
- package/dist/runtime/runtime.d.ts.map +1 -1
- package/dist/runtime/runtime.js +8 -8
- package/dist/runtime/urlRequest.d.ts +4 -4
- package/dist/runtime/urlRequest.js +2 -2
- package/dist/schema/public.d.ts +2 -2
- package/dist/schema/public.d.ts.map +1 -1
- package/dist/schema/public.js +1 -1
- package/dist/struct/public.d.ts +1 -1
- package/dist/struct/public.d.ts.map +1 -1
- package/dist/struct/public.js +1 -1
- package/dist/subscription/public.d.ts +2 -2
- package/dist/subscription/public.d.ts.map +1 -1
- package/dist/subscription/public.js +1 -1
- package/dist/task/dom.d.ts +1 -1
- package/dist/task/dom.d.ts.map +1 -1
- package/dist/task/dom.js +1 -1
- package/dist/task/index.d.ts +9 -9
- package/dist/task/index.d.ts.map +1 -1
- package/dist/task/index.js +8 -8
- package/dist/task/public.d.ts +1 -1
- package/dist/task/public.d.ts.map +1 -1
- package/dist/task/public.js +1 -1
- package/dist/task/time.d.ts +1 -1
- package/dist/task/time.d.ts.map +1 -1
- package/dist/task/time.js +1 -1
- package/dist/test/apps/bubbling.d.ts +2 -2
- package/dist/test/apps/bubbling.d.ts.map +1 -1
- package/dist/test/apps/bubbling.js +2 -2
- package/dist/test/apps/counter.d.ts +8 -8
- package/dist/test/apps/counter.d.ts.map +1 -1
- package/dist/test/apps/counter.js +2 -2
- package/dist/test/apps/disabledButton.d.ts +10 -10
- package/dist/test/apps/disabledButton.d.ts.map +1 -1
- package/dist/test/apps/disabledButton.js +4 -4
- package/dist/test/apps/fileUpload.d.ts +4 -4
- package/dist/test/apps/fileUpload.d.ts.map +1 -1
- package/dist/test/apps/fileUpload.js +3 -3
- package/dist/test/apps/formChild.d.ts +19 -19
- package/dist/test/apps/formChild.d.ts.map +1 -1
- package/dist/test/apps/formChild.js +2 -2
- package/dist/test/apps/interactions.d.ts +8 -8
- package/dist/test/apps/interactions.d.ts.map +1 -1
- package/dist/test/apps/interactions.js +2 -2
- package/dist/test/apps/keypress.d.ts +5 -5
- package/dist/test/apps/keypress.d.ts.map +1 -1
- package/dist/test/apps/keypress.js +2 -2
- package/dist/test/apps/login.d.ts +13 -13
- package/dist/test/apps/login.d.ts.map +1 -1
- package/dist/test/apps/login.js +3 -3
- package/dist/test/apps/logoutButton.d.ts +6 -6
- package/dist/test/apps/logoutButton.d.ts.map +1 -1
- package/dist/test/apps/logoutButton.js +2 -2
- package/dist/test/apps/multiRole.d.ts +3 -3
- package/dist/test/apps/multiRole.d.ts.map +1 -1
- package/dist/test/apps/multiRole.js +2 -2
- package/dist/test/apps/pointer.d.ts +3 -3
- package/dist/test/apps/pointer.d.ts.map +1 -1
- package/dist/test/apps/pointer.js +2 -2
- package/dist/test/apps/resumeUpload.d.ts +11 -11
- package/dist/test/apps/resumeUpload.d.ts.map +1 -1
- package/dist/test/apps/resumeUpload.js +5 -5
- package/dist/test/internal.d.ts +1 -1
- package/dist/test/internal.d.ts.map +1 -1
- package/dist/test/matchers.d.ts +1 -1
- package/dist/test/matchers.d.ts.map +1 -1
- package/dist/test/matchers.js +1 -1
- package/dist/test/public.d.ts +2 -2
- package/dist/test/public.d.ts.map +1 -1
- package/dist/test/public.js +2 -2
- package/dist/test/query.d.ts +1 -1
- package/dist/test/query.d.ts.map +1 -1
- package/dist/test/query.js +1 -1
- package/dist/test/scene.d.ts +9 -9
- package/dist/test/scene.d.ts.map +1 -1
- package/dist/test/scene.js +7 -7
- package/dist/test/story.d.ts +2 -2
- package/dist/test/story.d.ts.map +1 -1
- package/dist/test/story.js +1 -1
- package/dist/test/vitest-setup.js +1 -1
- package/dist/test/vitest.js +1 -1
- package/dist/ui/animation/index.d.ts +4 -4
- package/dist/ui/animation/index.d.ts.map +1 -1
- package/dist/ui/animation/index.js +3 -3
- package/dist/ui/animation/public.d.ts +2 -2
- package/dist/ui/animation/public.d.ts.map +1 -1
- package/dist/ui/animation/public.js +1 -1
- package/dist/ui/animation/schema.d.ts +7 -7
- package/dist/ui/animation/schema.d.ts.map +1 -1
- package/dist/ui/animation/schema.js +1 -1
- package/dist/ui/animation/update.d.ts +2 -2
- package/dist/ui/animation/update.d.ts.map +1 -1
- package/dist/ui/animation/update.js +4 -4
- package/dist/ui/button/index.d.ts +2 -2
- package/dist/ui/button/index.d.ts.map +1 -1
- package/dist/ui/button/index.js +1 -1
- package/dist/ui/button/public.d.ts +2 -2
- package/dist/ui/button/public.d.ts.map +1 -1
- package/dist/ui/button/public.js +1 -1
- package/dist/ui/calendar/index.d.ts +22 -22
- package/dist/ui/calendar/index.d.ts.map +1 -1
- package/dist/ui/calendar/index.js +7 -7
- package/dist/ui/calendar/public.d.ts +2 -2
- package/dist/ui/calendar/public.d.ts.map +1 -1
- package/dist/ui/calendar/public.js +1 -1
- package/dist/ui/checkbox/index.d.ts +4 -4
- package/dist/ui/checkbox/index.d.ts.map +1 -1
- package/dist/ui/checkbox/index.js +3 -3
- package/dist/ui/checkbox/public.d.ts +2 -2
- package/dist/ui/checkbox/public.d.ts.map +1 -1
- package/dist/ui/checkbox/public.js +1 -1
- package/dist/ui/combobox/multi.d.ts +13 -13
- package/dist/ui/combobox/multi.d.ts.map +1 -1
- package/dist/ui/combobox/multi.js +3 -3
- package/dist/ui/combobox/multiPublic.d.ts +2 -2
- package/dist/ui/combobox/multiPublic.d.ts.map +1 -1
- package/dist/ui/combobox/multiPublic.js +1 -1
- package/dist/ui/combobox/public.d.ts +6 -6
- package/dist/ui/combobox/public.d.ts.map +1 -1
- package/dist/ui/combobox/public.js +3 -3
- package/dist/ui/combobox/shared.d.ts +23 -23
- package/dist/ui/combobox/shared.d.ts.map +1 -1
- package/dist/ui/combobox/shared.js +11 -11
- package/dist/ui/combobox/single.d.ts +13 -13
- package/dist/ui/combobox/single.d.ts.map +1 -1
- package/dist/ui/combobox/single.js +3 -3
- package/dist/ui/datePicker/index.d.ts +23 -23
- package/dist/ui/datePicker/index.d.ts.map +1 -1
- package/dist/ui/datePicker/index.js +7 -7
- package/dist/ui/datePicker/public.d.ts +2 -2
- package/dist/ui/datePicker/public.d.ts.map +1 -1
- package/dist/ui/datePicker/public.js +1 -1
- package/dist/ui/dialog/index.d.ts +8 -8
- package/dist/ui/dialog/index.d.ts.map +1 -1
- package/dist/ui/dialog/index.js +7 -7
- package/dist/ui/dialog/public.d.ts +2 -2
- package/dist/ui/dialog/public.d.ts.map +1 -1
- package/dist/ui/dialog/public.js +1 -1
- package/dist/ui/disclosure/index.d.ts +5 -5
- package/dist/ui/disclosure/index.d.ts.map +1 -1
- package/dist/ui/disclosure/index.js +5 -5
- package/dist/ui/disclosure/public.d.ts +2 -2
- package/dist/ui/disclosure/public.d.ts.map +1 -1
- package/dist/ui/disclosure/public.js +1 -1
- package/dist/ui/dragAndDrop/index.d.ts +20 -20
- package/dist/ui/dragAndDrop/index.d.ts.map +1 -1
- package/dist/ui/dragAndDrop/index.js +7 -7
- package/dist/ui/dragAndDrop/public.d.ts +2 -2
- package/dist/ui/dragAndDrop/public.d.ts.map +1 -1
- package/dist/ui/dragAndDrop/public.js +1 -1
- package/dist/ui/fieldset/index.d.ts +2 -2
- package/dist/ui/fieldset/index.d.ts.map +1 -1
- package/dist/ui/fieldset/index.js +1 -1
- package/dist/ui/fieldset/public.d.ts +2 -2
- package/dist/ui/fieldset/public.d.ts.map +1 -1
- package/dist/ui/fieldset/public.js +1 -1
- package/dist/ui/fileDrop/index.d.ts +11 -11
- package/dist/ui/fileDrop/index.d.ts.map +1 -1
- package/dist/ui/fileDrop/index.js +4 -4
- package/dist/ui/fileDrop/public.d.ts +2 -2
- package/dist/ui/fileDrop/public.d.ts.map +1 -1
- package/dist/ui/fileDrop/public.js +1 -1
- package/dist/ui/index.d.ts +23 -23
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +23 -23
- package/dist/ui/input/index.d.ts +2 -2
- package/dist/ui/input/index.d.ts.map +1 -1
- package/dist/ui/input/index.js +1 -1
- package/dist/ui/input/public.d.ts +2 -2
- package/dist/ui/input/public.d.ts.map +1 -1
- package/dist/ui/input/public.js +1 -1
- package/dist/ui/listbox/multi.d.ts +11 -11
- package/dist/ui/listbox/multi.d.ts.map +1 -1
- package/dist/ui/listbox/multi.js +3 -3
- package/dist/ui/listbox/multiPublic.d.ts +2 -2
- package/dist/ui/listbox/multiPublic.d.ts.map +1 -1
- package/dist/ui/listbox/multiPublic.js +1 -1
- package/dist/ui/listbox/public.d.ts +6 -6
- package/dist/ui/listbox/public.d.ts.map +1 -1
- package/dist/ui/listbox/public.js +3 -3
- package/dist/ui/listbox/shared.d.ts +27 -27
- package/dist/ui/listbox/shared.d.ts.map +1 -1
- package/dist/ui/listbox/shared.js +12 -12
- package/dist/ui/listbox/single.d.ts +11 -11
- package/dist/ui/listbox/single.d.ts.map +1 -1
- package/dist/ui/listbox/single.js +3 -3
- package/dist/ui/menu/index.d.ts +30 -30
- package/dist/ui/menu/index.d.ts.map +1 -1
- package/dist/ui/menu/index.js +12 -12
- package/dist/ui/menu/public.d.ts +3 -3
- package/dist/ui/menu/public.d.ts.map +1 -1
- package/dist/ui/menu/public.js +1 -1
- package/dist/ui/popover/index.d.ts +17 -17
- package/dist/ui/popover/index.d.ts.map +1 -1
- package/dist/ui/popover/index.js +9 -9
- package/dist/ui/popover/public.d.ts +3 -3
- package/dist/ui/popover/public.d.ts.map +1 -1
- package/dist/ui/popover/public.js +1 -1
- package/dist/ui/radioGroup/index.d.ts +4 -4
- package/dist/ui/radioGroup/index.d.ts.map +1 -1
- package/dist/ui/radioGroup/index.js +6 -6
- package/dist/ui/radioGroup/public.d.ts +2 -2
- package/dist/ui/radioGroup/public.d.ts.map +1 -1
- package/dist/ui/radioGroup/public.js +1 -1
- package/dist/ui/select/index.d.ts +2 -2
- package/dist/ui/select/index.d.ts.map +1 -1
- package/dist/ui/select/index.js +1 -1
- package/dist/ui/select/public.d.ts +2 -2
- package/dist/ui/select/public.d.ts.map +1 -1
- package/dist/ui/select/public.js +1 -1
- package/dist/ui/slider/index.d.ts +12 -12
- package/dist/ui/slider/index.d.ts.map +1 -1
- package/dist/ui/slider/index.js +5 -5
- package/dist/ui/slider/public.d.ts +2 -2
- package/dist/ui/slider/public.d.ts.map +1 -1
- package/dist/ui/slider/public.js +1 -1
- package/dist/ui/switch/index.d.ts +4 -4
- package/dist/ui/switch/index.d.ts.map +1 -1
- package/dist/ui/switch/index.js +3 -3
- package/dist/ui/switch/public.d.ts +2 -2
- package/dist/ui/switch/public.d.ts.map +1 -1
- package/dist/ui/switch/public.js +1 -1
- package/dist/ui/tabs/index.d.ts +6 -6
- package/dist/ui/tabs/index.d.ts.map +1 -1
- package/dist/ui/tabs/index.js +7 -7
- package/dist/ui/tabs/public.d.ts +2 -2
- package/dist/ui/tabs/public.d.ts.map +1 -1
- package/dist/ui/tabs/public.js +1 -1
- package/dist/ui/textarea/index.d.ts +2 -2
- package/dist/ui/textarea/index.d.ts.map +1 -1
- package/dist/ui/textarea/index.js +1 -1
- package/dist/ui/textarea/public.d.ts +2 -2
- package/dist/ui/textarea/public.d.ts.map +1 -1
- package/dist/ui/textarea/public.js +1 -1
- package/dist/ui/toast/index.d.ts +13 -13
- package/dist/ui/toast/index.d.ts.map +1 -1
- package/dist/ui/toast/index.js +3 -3
- package/dist/ui/toast/public.d.ts +3 -3
- package/dist/ui/toast/public.d.ts.map +1 -1
- package/dist/ui/toast/public.js +1 -1
- package/dist/ui/toast/schema.d.ts +15 -15
- package/dist/ui/toast/schema.d.ts.map +1 -1
- package/dist/ui/toast/schema.js +2 -2
- package/dist/ui/toast/update.d.ts +10 -10
- package/dist/ui/toast/update.d.ts.map +1 -1
- package/dist/ui/toast/update.js +7 -7
- package/dist/ui/tooltip/index.d.ts +11 -11
- package/dist/ui/tooltip/index.d.ts.map +1 -1
- package/dist/ui/tooltip/index.js +7 -7
- package/dist/ui/tooltip/public.d.ts +3 -3
- package/dist/ui/tooltip/public.d.ts.map +1 -1
- package/dist/ui/tooltip/public.js +1 -1
- package/dist/ui/typeahead.js +1 -1
- package/dist/url/index.js +1 -1
- package/dist/url/public.d.ts +1 -1
- package/dist/url/public.d.ts.map +1 -1
- package/dist/url/public.js +1 -1
- package/dist/vdom.js +1 -1
- package/package.json +2 -2
package/dist/ui/menu/public.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { init, update, open, close, selectItem, view, lazy, Model, Message, SelectedItem, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, CompletedFocusItems, CompletedFocusButton, CompletedScrollIntoView, CompletedClickItem, ClearedSearch, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusItems, FocusButton, ScrollIntoView, ClickItem, DelayClearSearch, DetectMovementOrAnimationEnd, } from './index';
|
|
2
|
-
export type { ActivationTrigger, Opened, Closed, ClosedByTab, ActivatedItem, DeactivatedItem, MovedPointerOverItem, RequestedItemClick, Searched, PressedPointerOnButton, ReleasedPointerOnItems, IgnoredMouseClick, SuppressedSpaceScroll, InitConfig, ViewConfig, ItemConfig, GroupHeading, } from './index';
|
|
3
|
-
export type { AnchorConfig } from '../anchor';
|
|
1
|
+
export { init, update, open, close, selectItem, view, lazy, Model, Message, SelectedItem, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, CompletedFocusItems, CompletedFocusButton, CompletedScrollIntoView, CompletedClickItem, ClearedSearch, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusItems, FocusButton, ScrollIntoView, ClickItem, DelayClearSearch, DetectMovementOrAnimationEnd, } from './index.js';
|
|
2
|
+
export type { ActivationTrigger, Opened, Closed, ClosedByTab, ActivatedItem, DeactivatedItem, MovedPointerOverItem, RequestedItemClick, Searched, PressedPointerOnButton, ReleasedPointerOnItems, IgnoredMouseClick, SuppressedSpaceScroll, InitConfig, ViewConfig, ItemConfig, GroupHeading, } from './index.js';
|
|
3
|
+
export type { AnchorConfig } from '../anchor.js';
|
|
4
4
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/menu/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,kBAAkB,EAClB,aAAa,EACb,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,UAAU,EACV,WAAW,EACX,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,4BAA4B,GAC7B,MAAM,
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/menu/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,UAAU,EACV,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,YAAY,EACZ,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,uBAAuB,EACvB,kBAAkB,EAClB,aAAa,EACb,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,UAAU,EACV,WAAW,EACX,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,4BAA4B,GAC7B,MAAM,YAAY,CAAA;AAEnB,YAAY,EACV,iBAAiB,EACjB,MAAM,EACN,MAAM,EACN,WAAW,EACX,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,kBAAkB,EAClB,QAAQ,EACR,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,UAAU,EACV,UAAU,EACV,UAAU,EACV,YAAY,GACb,MAAM,YAAY,CAAA;AAEnB,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA"}
|
package/dist/ui/menu/public.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { init, update, open, close, selectItem, view, lazy, Model, Message, SelectedItem, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, CompletedFocusItems, CompletedFocusButton, CompletedScrollIntoView, CompletedClickItem, ClearedSearch, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusItems, FocusButton, ScrollIntoView, ClickItem, DelayClearSearch, DetectMovementOrAnimationEnd, } from './index';
|
|
1
|
+
export { init, update, open, close, selectItem, view, lazy, Model, Message, SelectedItem, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, CompletedFocusItems, CompletedFocusButton, CompletedScrollIntoView, CompletedClickItem, ClearedSearch, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusItems, FocusButton, ScrollIntoView, ClickItem, DelayClearSearch, DetectMovementOrAnimationEnd, } from './index.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Schema as S } from 'effect';
|
|
2
|
-
import * as Command from '../../command';
|
|
3
|
-
import { type Attribute, type Html } from '../../html';
|
|
4
|
-
import type { AnchorConfig } from '../anchor';
|
|
2
|
+
import * as Command from '../../command/index.js';
|
|
3
|
+
import { type Attribute, type Html } from '../../html/index.js';
|
|
4
|
+
import type { AnchorConfig } from '../anchor.js';
|
|
5
5
|
/** Schema for the popover component's state, tracking open/closed status and animation lifecycle. */
|
|
6
6
|
export declare const Model: S.Struct<{
|
|
7
7
|
id: typeof S.String;
|
|
@@ -18,35 +18,35 @@ export declare const Model: S.Struct<{
|
|
|
18
18
|
}>;
|
|
19
19
|
export type Model = typeof Model.Type;
|
|
20
20
|
/** Sent when the popover opens via button click or keyboard activation. */
|
|
21
|
-
export declare const Opened: import("../../schema").CallableTaggedStruct<"Opened", {}>;
|
|
21
|
+
export declare const Opened: import("../../schema/index.js").CallableTaggedStruct<"Opened", {}>;
|
|
22
22
|
/** Sent when the popover closes via Escape key or backdrop click. Returns focus to the button. */
|
|
23
|
-
export declare const Closed: import("../../schema").CallableTaggedStruct<"Closed", {}>;
|
|
23
|
+
export declare const Closed: import("../../schema/index.js").CallableTaggedStruct<"Closed", {}>;
|
|
24
24
|
/** Sent when focus leaves the popover panel via Tab key. Does NOT return focus to the button. */
|
|
25
|
-
export declare const ClosedByTab: import("../../schema").CallableTaggedStruct<"ClosedByTab", {}>;
|
|
25
|
+
export declare const ClosedByTab: import("../../schema/index.js").CallableTaggedStruct<"ClosedByTab", {}>;
|
|
26
26
|
/** Sent when the user presses a pointer device on the popover button. Records pointer type and toggles for mouse. */
|
|
27
|
-
export declare const PressedPointerOnButton: import("../../schema").CallableTaggedStruct<"PressedPointerOnButton", {
|
|
27
|
+
export declare const PressedPointerOnButton: import("../../schema/index.js").CallableTaggedStruct<"PressedPointerOnButton", {
|
|
28
28
|
pointerType: typeof S.String;
|
|
29
29
|
button: typeof S.Number;
|
|
30
30
|
}>;
|
|
31
31
|
/** Sent when the focus-panel command completes after opening the popover. */
|
|
32
|
-
export declare const CompletedFocusPanel: import("../../schema").CallableTaggedStruct<"CompletedFocusPanel", {}>;
|
|
32
|
+
export declare const CompletedFocusPanel: import("../../schema/index.js").CallableTaggedStruct<"CompletedFocusPanel", {}>;
|
|
33
33
|
/** Sent when the focus-button command completes after closing. */
|
|
34
|
-
export declare const CompletedFocusButton: import("../../schema").CallableTaggedStruct<"CompletedFocusButton", {}>;
|
|
34
|
+
export declare const CompletedFocusButton: import("../../schema/index.js").CallableTaggedStruct<"CompletedFocusButton", {}>;
|
|
35
35
|
/** Sent when the scroll lock command completes. */
|
|
36
|
-
export declare const CompletedLockScroll: import("../../schema").CallableTaggedStruct<"CompletedLockScroll", {}>;
|
|
36
|
+
export declare const CompletedLockScroll: import("../../schema/index.js").CallableTaggedStruct<"CompletedLockScroll", {}>;
|
|
37
37
|
/** Sent when the scroll unlock command completes. */
|
|
38
|
-
export declare const CompletedUnlockScroll: import("../../schema").CallableTaggedStruct<"CompletedUnlockScroll", {}>;
|
|
38
|
+
export declare const CompletedUnlockScroll: import("../../schema/index.js").CallableTaggedStruct<"CompletedUnlockScroll", {}>;
|
|
39
39
|
/** Sent when the inert-others command completes. */
|
|
40
|
-
export declare const CompletedSetupInert: import("../../schema").CallableTaggedStruct<"CompletedSetupInert", {}>;
|
|
40
|
+
export declare const CompletedSetupInert: import("../../schema/index.js").CallableTaggedStruct<"CompletedSetupInert", {}>;
|
|
41
41
|
/** Sent when the restore-inert command completes. */
|
|
42
|
-
export declare const CompletedTeardownInert: import("../../schema").CallableTaggedStruct<"CompletedTeardownInert", {}>;
|
|
42
|
+
export declare const CompletedTeardownInert: import("../../schema/index.js").CallableTaggedStruct<"CompletedTeardownInert", {}>;
|
|
43
43
|
/** Sent when a mouse click on the button is ignored because pointer-down already handled the toggle. */
|
|
44
|
-
export declare const IgnoredMouseClick: import("../../schema").CallableTaggedStruct<"IgnoredMouseClick", {}>;
|
|
44
|
+
export declare const IgnoredMouseClick: import("../../schema/index.js").CallableTaggedStruct<"IgnoredMouseClick", {}>;
|
|
45
45
|
/** Sent when a Space key-up is captured to prevent page scrolling. */
|
|
46
|
-
export declare const SuppressedSpaceScroll: import("../../schema").CallableTaggedStruct<"SuppressedSpaceScroll", {}>;
|
|
46
|
+
export declare const SuppressedSpaceScroll: import("../../schema/index.js").CallableTaggedStruct<"SuppressedSpaceScroll", {}>;
|
|
47
47
|
/** Wraps an Animation submodel message for delegation. */
|
|
48
|
-
export declare const GotAnimationMessage: import("../../schema").CallableTaggedStruct<"GotAnimationMessage", {
|
|
49
|
-
message: S.Union<[import("../../schema").CallableTaggedStruct<"Showed", {}>, import("../../schema").CallableTaggedStruct<"Hid", {}>, import("../../schema").CallableTaggedStruct<"AdvancedAnimationFrame", {}>, import("../../schema").CallableTaggedStruct<"EndedAnimation", {}>]>;
|
|
48
|
+
export declare const GotAnimationMessage: import("../../schema/index.js").CallableTaggedStruct<"GotAnimationMessage", {
|
|
49
|
+
message: S.Union<[import("../../schema/index.js").CallableTaggedStruct<"Showed", {}>, import("../../schema/index.js").CallableTaggedStruct<"Hid", {}>, import("../../schema/index.js").CallableTaggedStruct<"AdvancedAnimationFrame", {}>, import("../../schema/index.js").CallableTaggedStruct<"EndedAnimation", {}>]>;
|
|
50
50
|
}>;
|
|
51
51
|
/** Union of all messages the popover component can produce. */
|
|
52
52
|
export declare const Message: S.Union<[
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE9E,OAAO,KAAK,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4C,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAA;AAE9E,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAA;AAEjD,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EAGV,MAAM,qBAAqB,CAAA;AAK5B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAiBhD,qGAAqG;AACrG,eAAO,MAAM,KAAK;;;;;;;;;;;;EAQhB,CAAA;AAEF,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAC,IAAI,CAAA;AAIrC,2EAA2E;AAC3E,eAAO,MAAM,MAAM,oEAAc,CAAA;AACjC,kGAAkG;AAClG,eAAO,MAAM,MAAM,oEAAc,CAAA;AACjC,iGAAiG;AACjG,eAAO,MAAM,WAAW,yEAAmB,CAAA;AAC3C,qHAAqH;AACrH,eAAO,MAAM,sBAAsB;;;EAGjC,CAAA;AACF,6EAA6E;AAC7E,eAAO,MAAM,mBAAmB,iFAA2B,CAAA;AAC3D,kEAAkE;AACl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BAAiB,CAAC,KACpD,IAAI,CAgBR,CAAA"}
|
package/dist/ui/popover/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Array, Effect, Equal, Match as M, Option, Schema as S } from 'effect';
|
|
2
|
-
import * as Command from '../../command';
|
|
3
|
-
import { OptionExt } from '../../effectExtensions';
|
|
4
|
-
import { createLazy, html } from '../../html';
|
|
5
|
-
import { m } from '../../message';
|
|
6
|
-
import { evo } from '../../struct';
|
|
7
|
-
import * as Task from '../../task';
|
|
8
|
-
import { anchorHooks } from '../anchor';
|
|
2
|
+
import * as Command from '../../command/index.js';
|
|
3
|
+
import { OptionExt } from '../../effectExtensions/index.js';
|
|
4
|
+
import { createLazy, html, } from '../../html/index.js';
|
|
5
|
+
import { m } from '../../message/index.js';
|
|
6
|
+
import { evo } from '../../struct/index.js';
|
|
7
|
+
import * as Task from '../../task/index.js';
|
|
8
|
+
import { anchorHooks } from '../anchor.js';
|
|
9
9
|
// NOTE: Animation imports are split across schema + update to avoid a circular
|
|
10
10
|
// dependency: animation → html → runtime → devtools → popover → animation.
|
|
11
11
|
// The barrel (../animation) imports from html, which starts the cycle.
|
|
12
|
-
import { EndedAnimation as AnimationEndedAnimation, Hid as AnimationHid, Message as AnimationMessage, Model as AnimationModel, Showed as AnimationShowed, init as animationInit, } from '../animation/schema';
|
|
13
|
-
import { update as animationUpdate } from '../animation/update';
|
|
12
|
+
import { EndedAnimation as AnimationEndedAnimation, Hid as AnimationHid, Message as AnimationMessage, Model as AnimationModel, Showed as AnimationShowed, init as animationInit, } from '../animation/schema.js';
|
|
13
|
+
import { update as animationUpdate } from '../animation/update.js';
|
|
14
14
|
// MODEL
|
|
15
15
|
/** Schema for the popover component's state, tracking open/closed status and animation lifecycle. */
|
|
16
16
|
export const Model = S.Struct({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { init, update, open, close, view, lazy, Model, Message, Opened, Closed, CompletedFocusPanel, CompletedFocusButton, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusPanel, FocusButton, DetectMovementOrAnimationEnd, } from './index';
|
|
2
|
-
export type { ClosedByTab, PressedPointerOnButton, IgnoredMouseClick, SuppressedSpaceScroll, InitConfig, ViewConfig, } from './index';
|
|
3
|
-
export type { AnchorConfig } from '../anchor';
|
|
1
|
+
export { init, update, open, close, view, lazy, Model, Message, Opened, Closed, CompletedFocusPanel, CompletedFocusButton, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusPanel, FocusButton, DetectMovementOrAnimationEnd, } from './index.js';
|
|
2
|
+
export type { ClosedByTab, PressedPointerOnButton, IgnoredMouseClick, SuppressedSpaceScroll, InitConfig, ViewConfig, } from './index.js';
|
|
3
|
+
export type { AnchorConfig } from '../anchor.js';
|
|
4
4
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/popover/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,MAAM,EACN,MAAM,EACN,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,UAAU,EACV,WAAW,EACX,4BAA4B,GAC7B,MAAM,
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/popover/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,MAAM,EACN,MAAM,EACN,mBAAmB,EACnB,oBAAoB,EACpB,mBAAmB,EACnB,qBAAqB,EACrB,mBAAmB,EACnB,sBAAsB,EACtB,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,UAAU,EACV,WAAW,EACX,4BAA4B,GAC7B,MAAM,YAAY,CAAA;AAEnB,YAAY,EACV,WAAW,EACX,sBAAsB,EACtB,iBAAiB,EACjB,qBAAqB,EACrB,UAAU,EACV,UAAU,GACX,MAAM,YAAY,CAAA;AAEnB,YAAY,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { init, update, open, close, view, lazy, Model, Message, Opened, Closed, CompletedFocusPanel, CompletedFocusButton, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusPanel, FocusButton, DetectMovementOrAnimationEnd, } from './index';
|
|
1
|
+
export { init, update, open, close, view, lazy, Model, Message, Opened, Closed, CompletedFocusPanel, CompletedFocusButton, CompletedLockScroll, CompletedUnlockScroll, CompletedSetupInert, CompletedTeardownInert, GotAnimationMessage, LockScroll, UnlockScroll, InertOthers, RestoreInert, FocusPanel, FocusButton, DetectMovementOrAnimationEnd, } from './index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema as S } from 'effect';
|
|
2
|
-
import * as Command from '../../command';
|
|
3
|
-
import { type Attribute, type Html } from '../../html';
|
|
2
|
+
import * as Command from '../../command/index.js';
|
|
3
|
+
import { type Attribute, type Html } from '../../html/index.js';
|
|
4
4
|
/** Controls the radio group layout direction and which arrow keys navigate between options. */
|
|
5
5
|
export declare const Orientation: S.Literal<["Horizontal", "Vertical"]>;
|
|
6
6
|
export type Orientation = typeof Orientation.Type;
|
|
@@ -12,12 +12,12 @@ export declare const Model: S.Struct<{
|
|
|
12
12
|
}>;
|
|
13
13
|
export type Model = typeof Model.Type;
|
|
14
14
|
/** Sent when a radio option is selected via click or keyboard navigation. */
|
|
15
|
-
export declare const SelectedOption: import("../../schema").CallableTaggedStruct<"SelectedOption", {
|
|
15
|
+
export declare const SelectedOption: import("../../schema/index.js").CallableTaggedStruct<"SelectedOption", {
|
|
16
16
|
value: typeof S.String;
|
|
17
17
|
index: typeof S.Number;
|
|
18
18
|
}>;
|
|
19
19
|
/** Sent when the focus-option command completes. */
|
|
20
|
-
export declare const CompletedFocusOption: import("../../schema").CallableTaggedStruct<"CompletedFocusOption", {}>;
|
|
20
|
+
export declare const CompletedFocusOption: import("../../schema/index.js").CallableTaggedStruct<"CompletedFocusOption", {}>;
|
|
21
21
|
/** Union of all messages the radio group component can produce. */
|
|
22
22
|
export declare const Message: S.Union<[
|
|
23
23
|
typeof SelectedOption,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/radioGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,MAAM,IAAI,CAAC,EAGZ,MAAM,QAAQ,CAAA;AAEf,OAAO,KAAK,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/radioGroup/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,MAAM,IAAI,CAAC,EAGZ,MAAM,QAAQ,CAAA;AAEf,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAA;AACjD,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EAGV,MAAM,qBAAqB,CAAA;AAQ5B,+FAA+F;AAC/F,eAAO,MAAM,WAAW,uCAAsC,CAAA;AAC9D,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC,IAAI,CAAA;AAEjD,iGAAiG;AACjG,eAAO,MAAM,KAAK;;;;EAIhB,CAAA;AAEF,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAC,IAAI,CAAA;AAIrC,6EAA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AC,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,KAAK,OAAO,CAAA;IAClE,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;IAC9C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB,CAAC,CAAA;AAQF,6IAA6I;AAC7I,eAAO,MAAM,IAAI,GAAI,OAAO,EAAE,WAAW,SAAS,MAAM,EACtD,QAAQ,UAAU,CAAC,OAAO,EAAE,WAAW,CAAC,KACvC,IAiOF,CAAA;AAED;mFACmF;AACnF,eAAO,MAAM,IAAI,GAAI,OAAO,EAAE,WAAW,SAAS,MAAM,EACtD,cAAc,IAAI,CAChB,UAAU,CAAC,OAAO,EAAE,WAAW,CAAC,EAChC,OAAO,GAAG,iBAAiB,GAAG,YAAY,CAC3C,KACA,CAAC,CACF,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,UAAU,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC,iBAAiB,CAAC,KACjE,IAAI,CAgBR,CAAA"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Array, Effect, Match as M, Option, Predicate, Schema as S, String, pipe, } from 'effect';
|
|
2
|
-
import * as Command from '../../command';
|
|
3
|
-
import { createLazy, html } from '../../html';
|
|
4
|
-
import { m } from '../../message';
|
|
5
|
-
import { evo } from '../../struct';
|
|
6
|
-
import * as Task from '../../task';
|
|
7
|
-
import { keyToIndex } from '../keyboard';
|
|
2
|
+
import * as Command from '../../command/index.js';
|
|
3
|
+
import { createLazy, html, } from '../../html/index.js';
|
|
4
|
+
import { m } from '../../message/index.js';
|
|
5
|
+
import { evo } from '../../struct/index.js';
|
|
6
|
+
import * as Task from '../../task/index.js';
|
|
7
|
+
import { keyToIndex } from '../keyboard.js';
|
|
8
8
|
// MODEL
|
|
9
9
|
/** Controls the radio group layout direction and which arrow keys navigate between options. */
|
|
10
10
|
export const Orientation = S.Literal('Horizontal', 'Vertical');
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { init, update, select, view, lazy, Model, Message, SelectedOption, CompletedFocusOption, FocusOption, } from './index';
|
|
2
|
-
export type { NarrowedSelectedOption, Orientation, InitConfig, ViewConfig, OptionAttributes, OptionConfig, } from './index';
|
|
1
|
+
export { init, update, select, view, lazy, Model, Message, SelectedOption, CompletedFocusOption, FocusOption, } from './index.js';
|
|
2
|
+
export type { NarrowedSelectedOption, Orientation, InitConfig, ViewConfig, OptionAttributes, OptionConfig, } from './index.js';
|
|
3
3
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/radioGroup/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,cAAc,EACd,oBAAoB,EACpB,WAAW,GACZ,MAAM,
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/radioGroup/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,cAAc,EACd,oBAAoB,EACpB,WAAW,GACZ,MAAM,YAAY,CAAA;AAEnB,YAAY,EACV,sBAAsB,EACtB,WAAW,EACX,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,YAAY,GACb,MAAM,YAAY,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { init, update, select, view, lazy, Model, Message, SelectedOption, CompletedFocusOption, FocusOption, } from './index';
|
|
1
|
+
export { init, update, select, view, lazy, Model, Message, SelectedOption, CompletedFocusOption, FocusOption, } from './index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Attribute } from '../../html';
|
|
2
|
-
import type { Html } from '../../html';
|
|
1
|
+
import type { Attribute } from '../../html/index.js';
|
|
2
|
+
import type { Html } from '../../html/index.js';
|
|
3
3
|
/** Attribute groups the select component provides to the consumer's `toView` callback. */
|
|
4
4
|
export type SelectAttributes<Message> = Readonly<{
|
|
5
5
|
select: ReadonlyArray<Attribute<Message>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/select/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/select/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAEpD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAI/C,0FAA0F;AAC1F,MAAM,MAAM,gBAAgB,CAAC,OAAO,IAAI,QAAQ,CAAC;IAC/C,MAAM,EAAE,aAAa,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;IACzC,KAAK,EAAE,aAAa,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;IACxC,WAAW,EAAE,aAAa,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;CAC/C,CAAC,CAAA;AAEF,wDAAwD;AACxD,MAAM,MAAM,UAAU,CAAC,OAAO,IAAI,QAAQ,CAAC;IACzC,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;IACvD,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAA;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC,CAAA;AAEF,sEAAsE;AACtE,eAAO,MAAM,aAAa,GAAI,IAAI,MAAM,KAAG,MAA6B,CAAA;AAExE,gIAAgI;AAChI,eAAO,MAAM,IAAI,GAAI,OAAO,EAAE,QAAQ,UAAU,CAAC,OAAO,CAAC,KAAG,IAiE3D,CAAA"}
|
package/dist/ui/select/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Predicate } from 'effect';
|
|
2
|
-
import { html } from '../../html';
|
|
2
|
+
import { html } from '../../html/index.js';
|
|
3
3
|
/** Generates the description element ID from the select's base ID. */
|
|
4
4
|
export const descriptionId = (id) => `${id}-description`;
|
|
5
5
|
/** Renders an accessible select by building ARIA attribute groups and delegating layout to the consumer's `toView` callback. */
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { view, descriptionId } from './index';
|
|
2
|
-
export type { ViewConfig, SelectAttributes } from './index';
|
|
1
|
+
export { view, descriptionId } from './index.js';
|
|
2
|
+
export type { ViewConfig, SelectAttributes } from './index.js';
|
|
3
3
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/select/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/select/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAEhD,YAAY,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA"}
|
package/dist/ui/select/public.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { view, descriptionId } from './index';
|
|
1
|
+
export { view, descriptionId } from './index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Option, Schema as S } from 'effect';
|
|
2
|
-
import type { Command } from '../../command';
|
|
3
|
-
import { type Attribute, type Html } from '../../html';
|
|
2
|
+
import type { Command } from '../../command/index.js';
|
|
3
|
+
import { type Attribute, type Html } from '../../html/index.js';
|
|
4
4
|
/** Schema for the slider component's state. Tracks the current value, the
|
|
5
5
|
* range (min/max/step), and the active drag phase. */
|
|
6
6
|
export declare const Model: S.Struct<{
|
|
@@ -9,30 +9,30 @@ export declare const Model: S.Struct<{
|
|
|
9
9
|
min: typeof S.Number;
|
|
10
10
|
max: typeof S.Number;
|
|
11
11
|
step: typeof S.Number;
|
|
12
|
-
dragState: S.Union<[import("../../schema").CallableTaggedStruct<"Idle", {}>, import("../../schema").CallableTaggedStruct<"Dragging", {
|
|
12
|
+
dragState: S.Union<[import("../../schema/index.js").CallableTaggedStruct<"Idle", {}>, import("../../schema/index.js").CallableTaggedStruct<"Dragging", {
|
|
13
13
|
originValue: typeof S.Number;
|
|
14
14
|
}>]>;
|
|
15
15
|
}>;
|
|
16
16
|
export type Model = typeof Model.Type;
|
|
17
17
|
/** The user pressed the thumb. Starts a drag without changing the value. */
|
|
18
|
-
export declare const PressedThumb: import("../../schema").CallableTaggedStruct<"PressedThumb", {}>;
|
|
18
|
+
export declare const PressedThumb: import("../../schema/index.js").CallableTaggedStruct<"PressedThumb", {}>;
|
|
19
19
|
/** The user pressed the track. Starts a drag and snaps the value to the
|
|
20
20
|
* cursor position. Ignored while already dragging, which absorbs the bubble
|
|
21
21
|
* from a thumb press so the value is not shifted. */
|
|
22
|
-
export declare const PressedPointer: import("../../schema").CallableTaggedStruct<"PressedPointer", {
|
|
22
|
+
export declare const PressedPointer: import("../../schema/index.js").CallableTaggedStruct<"PressedPointer", {
|
|
23
23
|
value: typeof S.Number;
|
|
24
24
|
}>;
|
|
25
25
|
/** The pointer moved during a drag, producing a new snapped value from the
|
|
26
26
|
* cursor position within the track. */
|
|
27
|
-
export declare const MovedDragPointer: import("../../schema").CallableTaggedStruct<"MovedDragPointer", {
|
|
27
|
+
export declare const MovedDragPointer: import("../../schema/index.js").CallableTaggedStruct<"MovedDragPointer", {
|
|
28
28
|
value: typeof S.Number;
|
|
29
29
|
}>;
|
|
30
30
|
/** The pointer was released during a drag. Commits the current value. */
|
|
31
|
-
export declare const ReleasedDragPointer: import("../../schema").CallableTaggedStruct<"ReleasedDragPointer", {}>;
|
|
31
|
+
export declare const ReleasedDragPointer: import("../../schema/index.js").CallableTaggedStruct<"ReleasedDragPointer", {}>;
|
|
32
32
|
/** Escape was pressed during a drag. Restores the value from the drag origin. */
|
|
33
|
-
export declare const CancelledDrag: import("../../schema").CallableTaggedStruct<"CancelledDrag", {}>;
|
|
33
|
+
export declare const CancelledDrag: import("../../schema/index.js").CallableTaggedStruct<"CancelledDrag", {}>;
|
|
34
34
|
/** The user pressed a keyboard navigation key on the focused thumb. */
|
|
35
|
-
export declare const PressedKeyboardNavigation: import("../../schema").CallableTaggedStruct<"PressedKeyboardNavigation", {
|
|
35
|
+
export declare const PressedKeyboardNavigation: import("../../schema/index.js").CallableTaggedStruct<"PressedKeyboardNavigation", {
|
|
36
36
|
direction: S.Literal<["StepDecrement", "StepIncrement", "PageDecrement", "PageIncrement", "Min", "Max"]>;
|
|
37
37
|
}>;
|
|
38
38
|
/** Union of all messages the slider component can produce. */
|
|
@@ -53,11 +53,11 @@ export type CancelledDrag = typeof CancelledDrag.Type;
|
|
|
53
53
|
export type PressedKeyboardNavigation = typeof PressedKeyboardNavigation.Type;
|
|
54
54
|
/** Emitted when the slider value changes. The parent uses this to react to
|
|
55
55
|
* value updates — e.g. to run validation or trigger a side effect. */
|
|
56
|
-
export declare const ChangedValue: import("../../schema").CallableTaggedStruct<"ChangedValue", {
|
|
56
|
+
export declare const ChangedValue: import("../../schema/index.js").CallableTaggedStruct<"ChangedValue", {
|
|
57
57
|
value: typeof S.Number;
|
|
58
58
|
}>;
|
|
59
59
|
/** Union of all out-messages the slider component can emit to its parent. */
|
|
60
|
-
export declare const OutMessage: import("../../schema").CallableTaggedStruct<"ChangedValue", {
|
|
60
|
+
export declare const OutMessage: import("../../schema/index.js").CallableTaggedStruct<"ChangedValue", {
|
|
61
61
|
value: typeof S.Number;
|
|
62
62
|
}>;
|
|
63
63
|
export type OutMessage = typeof OutMessage.Type;
|
|
@@ -98,7 +98,7 @@ export declare const SubscriptionDeps: S.Struct<{
|
|
|
98
98
|
}>;
|
|
99
99
|
/** Document-level subscriptions for pointer and keyboard events during slider
|
|
100
100
|
* drag. */
|
|
101
|
-
export declare const subscriptions: import("../../runtime/subscription").Subscriptions<{
|
|
101
|
+
export declare const subscriptions: import("../../runtime/subscription.js").Subscriptions<{
|
|
102
102
|
readonly value: number;
|
|
103
103
|
readonly id: string;
|
|
104
104
|
readonly max: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,MAAM,EACN,MAAM,IAAI,CAAC,EAIZ,MAAM,QAAQ,CAAA;AAEf,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,MAAM,EACN,MAAM,IAAI,CAAC,EAIZ,MAAM,QAAQ,CAAA;AAEf,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EAGV,MAAM,qBAAqB,CAAA;AAa5B;uDACuD;AACvD,eAAO,MAAM,KAAK;;;;;;;;;EAOhB,CAAA;AAEF,MAAM,MAAM,KAAK,GAAG,OAAO,KAAK,CAAC,IAAI,CAAA;AAIrC,4EAA4E;AAC5E,eAAO,MAAM,YAAY,0EA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IACZ,eAAe,EAAE,CACf,OAAO,EACH,YAAY,GACZ,cAAc,GACd,gBAAgB,GAChB,mBAAmB,GACnB,aAAa,GACb,yBAAyB,KAC1B,OAAO,CAAA;IACZ,MAAM,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;IACvD,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IACvC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;CACd,CAAC,CAAA;AAEF;;;;;qBAKqB;AACrB,eAAO,MAAM,IAAI,GAAI,OAAO,EAAE,QAAQ,UAAU,CAAC,OAAO,CAAC,KAAG,IAkK3D,CAAA;AAED;mFACmF;AACnF,eAAO,MAAM,IAAI,GAAI,OAAO,EAC1B,cAAc,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,iBAAiB,CAAC,KACnE,CAAC,CACF,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,iBAAiB,CAAC,KACpD,IAAI,CAgBR,CAAA"}
|
package/dist/ui/slider/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Effect, Equal, Function, Match as M, Option, Schema as S, Stream, String as String_, pipe, } from 'effect';
|
|
2
|
-
import { createLazy, html } from '../../html';
|
|
3
|
-
import { m } from '../../message';
|
|
4
|
-
import { makeSubscriptions } from '../../runtime/subscription';
|
|
5
|
-
import { ts } from '../../schema';
|
|
6
|
-
import { evo } from '../../struct';
|
|
2
|
+
import { createLazy, html, } from '../../html/index.js';
|
|
3
|
+
import { m } from '../../message/index.js';
|
|
4
|
+
import { makeSubscriptions } from '../../runtime/subscription.js';
|
|
5
|
+
import { ts } from '../../schema/index.js';
|
|
6
|
+
import { evo } from '../../struct/index.js';
|
|
7
7
|
// MODEL
|
|
8
8
|
const Idle = ts('Idle');
|
|
9
9
|
const Dragging = ts('Dragging', { originValue: S.Number });
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { init, update, view, lazy, subscriptions, fractionOfValue, Model, Message, OutMessage, SubscriptionDeps, } from './index';
|
|
2
|
-
export type { InitConfig, ViewConfig, SliderAttributes, PressedThumb, PressedPointer, MovedDragPointer, ReleasedDragPointer, CancelledDrag, PressedKeyboardNavigation, } from './index';
|
|
1
|
+
export { init, update, view, lazy, subscriptions, fractionOfValue, Model, Message, OutMessage, SubscriptionDeps, } from './index.js';
|
|
2
|
+
export type { InitConfig, ViewConfig, SliderAttributes, PressedThumb, PressedPointer, MovedDragPointer, ReleasedDragPointer, CancelledDrag, PressedKeyboardNavigation, } from './index.js';
|
|
3
3
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/slider/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,aAAa,EACb,eAAe,EACf,KAAK,EACL,OAAO,EACP,UAAU,EACV,gBAAgB,GACjB,MAAM,
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/slider/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,IAAI,EACJ,aAAa,EACb,eAAe,EACf,KAAK,EACL,OAAO,EACP,UAAU,EACV,gBAAgB,GACjB,MAAM,YAAY,CAAA;AAEnB,YAAY,EACV,UAAU,EACV,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,cAAc,EACd,gBAAgB,EAChB,mBAAmB,EACnB,aAAa,EACb,yBAAyB,GAC1B,MAAM,YAAY,CAAA"}
|
package/dist/ui/slider/public.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { init, update, view, lazy, subscriptions, fractionOfValue, Model, Message, OutMessage, SubscriptionDeps, } from './index';
|
|
1
|
+
export { init, update, view, lazy, subscriptions, fractionOfValue, Model, Message, OutMessage, SubscriptionDeps, } from './index.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema as S } from 'effect';
|
|
2
|
-
import type { Command } from '../../command';
|
|
3
|
-
import { type Attribute, type Html } from '../../html';
|
|
2
|
+
import type { Command } from '../../command/index.js';
|
|
3
|
+
import { type Attribute, type Html } from '../../html/index.js';
|
|
4
4
|
/** Schema for the switch component's state, tracking the toggle's checked status. */
|
|
5
5
|
export declare const Model: S.Struct<{
|
|
6
6
|
id: typeof S.String;
|
|
@@ -8,9 +8,9 @@ export declare const Model: S.Struct<{
|
|
|
8
8
|
}>;
|
|
9
9
|
export type Model = typeof Model.Type;
|
|
10
10
|
/** Sent when the user toggles the switch via click or Space key. */
|
|
11
|
-
export declare const Toggled: import("../../schema").CallableTaggedStruct<"Toggled", {}>;
|
|
11
|
+
export declare const Toggled: import("../../schema/index.js").CallableTaggedStruct<"Toggled", {}>;
|
|
12
12
|
/** Schema for all messages the switch component can produce. */
|
|
13
|
-
export declare const Message: import("../../schema").CallableTaggedStruct<"Toggled", {}>;
|
|
13
|
+
export declare const Message: import("../../schema/index.js").CallableTaggedStruct<"Toggled", {}>;
|
|
14
14
|
export type Toggled = typeof Toggled.Type;
|
|
15
15
|
export type Message = typeof Message.Type;
|
|
16
16
|
/** Configuration for creating a switch model with `init`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/switch/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,MAAM,IAAI,CAAC,EAAE,MAAM,QAAQ,CAAA;AAExD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/switch/index.ts"],"names":[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AS,CAAC,OAAO,CAAC,CAAC,CAAA;CAC/C,CAAC,CAAA;AAEF,wDAAwD;AACxD,MAAM,MAAM,UAAU,CAAC,OAAO,IAAI,QAAQ,CAAC;IACzC,KAAK,EAAE,KAAK,CAAA;IACZ,eAAe,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,OAAO,CAAA;IAC9C,MAAM,EAAE,CAAC,UAAU,EAAE,gBAAgB,CAAC,OAAO,CAAC,KAAK,IAAI,CAAA;IACvD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAC,CAAA;AAKF,uIAAuI;AACvI,eAAO,MAAM,IAAI,GAAI,OAAO,EAAE,QAAQ,UAAU,CAAC,OAAO,CAAC,KAAG,IAsE3D,CAAA;AAED;mFACmF;AACnF,eAAO,MAAM,IAAI,GAAI,OAAO,EAC1B,cAAc,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,OAAO,GAAG,iBAAiB,CAAC,KACnE,CAAC,CACF,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC,iBAAiB,CAAC,KACpD,IAAI,CAgBR,CAAA"}
|
package/dist/ui/switch/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Match as M, Option, Schema as S } from 'effect';
|
|
2
|
-
import { createLazy, html } from '../../html';
|
|
3
|
-
import { m } from '../../message';
|
|
4
|
-
import { evo } from '../../struct';
|
|
2
|
+
import { createLazy, html, } from '../../html/index.js';
|
|
3
|
+
import { m } from '../../message/index.js';
|
|
4
|
+
import { evo } from '../../struct/index.js';
|
|
5
5
|
// MODEL
|
|
6
6
|
/** Schema for the switch component's state, tracking the toggle's checked status. */
|
|
7
7
|
export const Model = S.Struct({
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { init, update, view, lazy, Model, Message } from './index';
|
|
2
|
-
export type { Toggled, InitConfig, ViewConfig, SwitchAttributes } from './index';
|
|
1
|
+
export { init, update, view, lazy, Model, Message } from './index.js';
|
|
2
|
+
export type { Toggled, InitConfig, ViewConfig, SwitchAttributes, } from './index.js';
|
|
3
3
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/switch/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/switch/public.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAErE,YAAY,EACV,OAAO,EACP,UAAU,EACV,UAAU,EACV,gBAAgB,GACjB,MAAM,YAAY,CAAA"}
|
package/dist/ui/switch/public.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { init, update, view, lazy, Model, Message } from './index';
|
|
1
|
+
export { init, update, view, lazy, Model, Message } from './index.js';
|
package/dist/ui/tabs/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Schema as S } from 'effect';
|
|
2
|
-
import * as Command from '../../command';
|
|
3
|
-
import { type Attribute, type Html, type TagName } from '../../html';
|
|
4
|
-
export { wrapIndex, findFirstEnabledIndex, keyToIndex } from '../keyboard';
|
|
2
|
+
import * as Command from '../../command/index.js';
|
|
3
|
+
import { type Attribute, type Html, type TagName } from '../../html/index.js';
|
|
4
|
+
export { wrapIndex, findFirstEnabledIndex, keyToIndex } from '../keyboard.js';
|
|
5
5
|
/** Controls the tab list layout direction and which arrow keys navigate between tabs. */
|
|
6
6
|
export declare const Orientation: S.Literal<["Horizontal", "Vertical"]>;
|
|
7
7
|
export type Orientation = typeof Orientation.Type;
|
|
@@ -17,15 +17,15 @@ export declare const Model: S.Struct<{
|
|
|
17
17
|
}>;
|
|
18
18
|
export type Model = typeof Model.Type;
|
|
19
19
|
/** Sent when a tab is selected via click or keyboard. Updates both the active and focused indices. */
|
|
20
|
-
export declare const TabSelected: import("../../schema").CallableTaggedStruct<"TabSelected", {
|
|
20
|
+
export declare const TabSelected: import("../../schema/index.js").CallableTaggedStruct<"TabSelected", {
|
|
21
21
|
index: typeof S.Number;
|
|
22
22
|
}>;
|
|
23
23
|
/** Sent when a tab receives keyboard focus in `Manual` mode without being activated. */
|
|
24
|
-
export declare const TabFocused: import("../../schema").CallableTaggedStruct<"TabFocused", {
|
|
24
|
+
export declare const TabFocused: import("../../schema/index.js").CallableTaggedStruct<"TabFocused", {
|
|
25
25
|
index: typeof S.Number;
|
|
26
26
|
}>;
|
|
27
27
|
/** Sent when the focus-tab command completes. */
|
|
28
|
-
export declare const CompletedFocusTab: import("../../schema").CallableTaggedStruct<"CompletedFocusTab", {}>;
|
|
28
|
+
export declare const CompletedFocusTab: import("../../schema/index.js").CallableTaggedStruct<"CompletedFocusTab", {}>;
|
|
29
29
|
/** Union of all messages the tabs component can produce. */
|
|
30
30
|
export declare const Message: S.Union<[
|
|
31
31
|
typeof TabSelected,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,MAAM,IAAI,CAAC,EAGZ,MAAM,QAAQ,CAAA;AAEf,OAAO,KAAK,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/tabs/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,MAAM,IAAI,CAAC,EAGZ,MAAM,QAAQ,CAAA;AAEf,OAAO,KAAK,OAAO,MAAM,wBAAwB,CAAA;AACjD,OAAO,EACL,KAAK,SAAS,EACd,KAAK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E,OAAO,CAAA;IACxB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,UAAU,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;IAC9C,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,iBAAiB,CAAC,EAAE,aAAa,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;IACrD,gBAAgB,EAAE,MAAM,CAAA;CACzB,CAAC,CAAA;AAMF;iGACiG;AACjG,eAAO,MAAM,SAAS,GACpB,OAAO,KAAK,EACZ,OAAO,MAAM,KACZ,SAAS,CAAC,KAAK,EAAE,aAAa,CAAC,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CACpB,CAAA;AAEvC,yGAAyG;AACzG,eAAO,MAAM,IAAI,GAAI,OAAO,EAAE,GAAG,SAAS,MAAM,EAC9C,QAAQ,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,KAC/B,IA8MF,CAAA;AAED;mFACmF;AACnF,eAAO,MAAM,IAAI,GAAI,OAAO,EAAE,GAAG,SAAS,MAAM,EAC9C,cAAc,IAAI,CAChB,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,EACxB,OAAO,GAAG,iBAAiB,GAAG,eAAe,CAC9C,KACA,CAAC,CACF,KAAK,EAAE,KAAK,EACZ,eAAe,EAAE,UAAU,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,iBAAiB,CAAC,KACzD,IAAI,CAgBR,CAAA"}
|
package/dist/ui/tabs/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Array, Effect, Match as M, Option, Schema as S, String, pipe, } from 'effect';
|
|
2
|
-
import * as Command from '../../command';
|
|
3
|
-
import { createLazy, html, } from '../../html';
|
|
4
|
-
import { m } from '../../message';
|
|
5
|
-
import { evo } from '../../struct';
|
|
6
|
-
import * as Task from '../../task';
|
|
7
|
-
import { keyToIndex } from '../keyboard';
|
|
8
|
-
export { wrapIndex, findFirstEnabledIndex, keyToIndex } from '../keyboard';
|
|
2
|
+
import * as Command from '../../command/index.js';
|
|
3
|
+
import { createLazy, html, } from '../../html/index.js';
|
|
4
|
+
import { m } from '../../message/index.js';
|
|
5
|
+
import { evo } from '../../struct/index.js';
|
|
6
|
+
import * as Task from '../../task/index.js';
|
|
7
|
+
import { keyToIndex } from '../keyboard.js';
|
|
8
|
+
export { wrapIndex, findFirstEnabledIndex, keyToIndex } from '../keyboard.js';
|
|
9
9
|
// MODEL
|
|
10
10
|
/** Controls the tab list layout direction and which arrow keys navigate between tabs. */
|
|
11
11
|
export const Orientation = S.Literal('Horizontal', 'Vertical');
|
package/dist/ui/tabs/public.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { init, update, selectTab, view, lazy, Model, Message, TabSelected, TabFocused, CompletedFocusTab, FocusTab, } from './index';
|
|
2
|
-
export type { Orientation, ActivationMode, InitConfig, ViewConfig, TabConfig, } from './index';
|
|
1
|
+
export { init, update, selectTab, view, lazy, Model, Message, TabSelected, TabFocused, CompletedFocusTab, FocusTab, } from './index.js';
|
|
2
|
+
export type { Orientation, ActivationMode, InitConfig, ViewConfig, TabConfig, } from './index.js';
|
|
3
3
|
//# sourceMappingURL=public.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/tabs/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,QAAQ,GACT,MAAM,
|
|
1
|
+
{"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/ui/tabs/public.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,SAAS,EACT,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,WAAW,EACX,UAAU,EACV,iBAAiB,EACjB,QAAQ,GACT,MAAM,YAAY,CAAA;AAEnB,YAAY,EACV,WAAW,EACX,cAAc,EACd,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,YAAY,CAAA"}
|
package/dist/ui/tabs/public.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { init, update, selectTab, view, lazy, Model, Message, TabSelected, TabFocused, CompletedFocusTab, FocusTab, } from './index';
|
|
1
|
+
export { init, update, selectTab, view, lazy, Model, Message, TabSelected, TabFocused, CompletedFocusTab, FocusTab, } from './index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Attribute } from '../../html';
|
|
2
|
-
import type { Html } from '../../html';
|
|
1
|
+
import type { Attribute } from '../../html/index.js';
|
|
2
|
+
import type { Html } from '../../html/index.js';
|
|
3
3
|
/** Attribute groups the textarea component provides to the consumer's `toView` callback. */
|
|
4
4
|
export type TextareaAttributes<Message> = Readonly<{
|
|
5
5
|
textarea: ReadonlyArray<Attribute<Message>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/textarea/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/ui/textarea/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAEpD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAA;AAI/C,4FAA4F;AAC5F,MAAM,MAAM,kBAAkB,CAAC,OAAO,IAAI,QAAQ,CAAC;IACjD,QAAQ,EAAE,aAAa,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;IAC3C,KAAK,EAAE,aAAa,CAAC,SAAS,CAAC,OA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