@adia-ai/web-components 0.3.0 → 0.3.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/components/card/card.js +1 -1
- package/components/row/row.js +1 -1
- package/package.json +1 -1
- package/traits/{active-state.js → active-state/active-state.js} +1 -1
- package/traits/{active-state.test.js → active-state/active-state.test.js} +1 -1
- package/traits/{anchor-positioning.js → anchor-positioning/anchor-positioning.js} +1 -1
- package/traits/{anchor-positioning.test.js → anchor-positioning/anchor-positioning.test.js} +1 -1
- package/traits/{announcer.js → announcer/announcer.js} +1 -1
- package/traits/{announcer.test.js → announcer/announcer.test.js} +1 -1
- package/traits/{arrow-grid-nav.js → arrow-grid-nav/arrow-grid-nav.js} +1 -1
- package/traits/{arrow-grid-nav.test.js → arrow-grid-nav/arrow-grid-nav.test.js} +1 -1
- package/traits/{attention-pulse.js → attention-pulse/attention-pulse.js} +2 -2
- package/traits/{attention-pulse.test.js → attention-pulse/attention-pulse.test.js} +1 -1
- package/traits/{confetti.js → confetti/confetti.js} +2 -2
- package/traits/{confetti.test.js → confetti/confetti.test.js} +1 -1
- package/traits/{confetti-burst.js → confetti-burst/confetti-burst.js} +3 -3
- package/traits/{confetti-burst.test.js → confetti-burst/confetti-burst.test.js} +2 -2
- package/traits/{count-up.js → count-up/count-up.js} +2 -2
- package/traits/{count-up.test.js → count-up/count-up.test.js} +1 -1
- package/traits/declarative.test.js +3 -3
- package/traits/{dirty-state.js → dirty-state/dirty-state.js} +1 -1
- package/traits/{dirty-state.test.js → dirty-state/dirty-state.test.js} +1 -1
- package/traits/{drag-ghost.js → drag-ghost/drag-ghost.js} +1 -1
- package/traits/{drag-ghost.test.js → drag-ghost/drag-ghost.test.js} +1 -1
- package/traits/{draggable.js → draggable/draggable.js} +1 -1
- package/traits/{draggable.test.js → draggable/draggable.test.js} +1 -1
- package/traits/{draggable-list-item.js → draggable-list-item/draggable-list-item.js} +2 -2
- package/traits/{draggable-list-item.test.js → draggable-list-item/draggable-list-item.test.js} +1 -1
- package/traits/{drop-target.js → drop-target/drop-target.js} +1 -1
- package/traits/{drop-target.test.js → drop-target/drop-target.test.js} +1 -1
- package/traits/{droppable.js → droppable/droppable.js} +1 -1
- package/traits/{droppable.test.js → droppable/droppable.test.js} +1 -1
- package/traits/{droppable-collection.js → droppable-collection/droppable-collection.js} +1 -1
- package/traits/{droppable-collection.test.js → droppable-collection/droppable-collection.test.js} +1 -1
- package/traits/{error-shake.js → error-shake/error-shake.js} +2 -2
- package/traits/{error-shake.test.js → error-shake/error-shake.test.js} +1 -1
- package/traits/{fade-presence.js → fade-presence/fade-presence.js} +1 -1
- package/traits/{fade-presence.test.js → fade-presence/fade-presence.test.js} +1 -1
- package/traits/{focus-restore.js → focus-restore/focus-restore.js} +1 -1
- package/traits/{focus-restore.test.js → focus-restore/focus-restore.test.js} +1 -1
- package/traits/{focus-trap.js → focus-trap/focus-trap.js} +1 -1
- package/traits/{focus-trap.test.js → focus-trap/focus-trap.test.js} +1 -1
- package/traits/{focusable.js → focusable/focusable.js} +1 -1
- package/traits/{focusable.test.js → focusable/focusable.test.js} +1 -1
- package/traits/{glow-focus.js → glow-focus/glow-focus.js} +2 -2
- package/traits/{glow-focus.test.js → glow-focus/glow-focus.test.js} +1 -1
- package/traits/{gradient-shift.js → gradient-shift/gradient-shift.js} +2 -2
- package/traits/{gradient-shift.test.js → gradient-shift/gradient-shift.test.js} +1 -1
- package/traits/{haptic-feedback.js → haptic-feedback/haptic-feedback.js} +1 -1
- package/traits/{haptic-feedback.test.js → haptic-feedback/haptic-feedback.test.js} +1 -1
- package/traits/{hotkey.js → hotkey/hotkey.js} +1 -1
- package/traits/{hotkey.test.js → hotkey/hotkey.test.js} +1 -1
- package/traits/{hoverable.js → hoverable/hoverable.js} +1 -1
- package/traits/{hoverable.test.js → hoverable/hoverable.test.js} +1 -1
- package/traits/index.js +56 -56
- package/traits/{inertia-drag.js → inertia-drag/inertia-drag.js} +1 -1
- package/traits/{inertia-drag.test.js → inertia-drag/inertia-drag.test.js} +1 -1
- package/traits/{input-mask.js → input-mask/input-mask.js} +1 -1
- package/traits/{input-mask.test.js → input-mask/input-mask.test.js} +1 -1
- package/traits/{intersection-observer.js → intersection-observer/intersection-observer.js} +1 -1
- package/traits/{intersection-observer.test.js → intersection-observer/intersection-observer.test.js} +1 -1
- package/traits/{keyboard-nav.js → keyboard-nav/keyboard-nav.js} +1 -1
- package/traits/{keyboard-nav.test.js → keyboard-nav/keyboard-nav.test.js} +1 -1
- package/traits/{keyboard-reorderable.js → keyboard-reorderable/keyboard-reorderable.js} +2 -2
- package/traits/{keyboard-reorderable.test.js → keyboard-reorderable/keyboard-reorderable.test.js} +1 -1
- package/traits/{layout-animation.js → layout-animation/layout-animation.js} +2 -2
- package/traits/{layout-animation.test.js → layout-animation/layout-animation.test.js} +1 -1
- package/traits/{long-press.js → long-press/long-press.js} +1 -1
- package/traits/{long-press.test.js → long-press/long-press.test.js} +1 -1
- package/traits/{magnetic-hover.js → magnetic-hover/magnetic-hover.js} +2 -2
- package/traits/{magnetic-hover.test.js → magnetic-hover/magnetic-hover.test.js} +1 -1
- package/traits/{noise-texture.js → noise-texture/noise-texture.js} +1 -1
- package/traits/{noise-texture.test.js → noise-texture/noise-texture.test.js} +1 -1
- package/traits/{parallax.js → parallax/parallax.js} +2 -2
- package/traits/{parallax.test.js → parallax/parallax.test.js} +1 -1
- package/traits/{portal.js → portal/portal.js} +1 -1
- package/traits/{portal.test.js → portal/portal.test.js} +1 -1
- package/traits/{pressable.js → pressable/pressable.js} +1 -1
- package/traits/{pressable.test.js → pressable/pressable.test.js} +1 -1
- package/traits/{resettable.js → resettable/resettable.js} +1 -1
- package/traits/{resettable.test.js → resettable/resettable.test.js} +1 -1
- package/traits/{resizable.js → resizable/resizable.js} +1 -1
- package/traits/{resizable.test.js → resizable/resizable.test.js} +1 -1
- package/traits/{resize-observer.js → resize-observer/resize-observer.js} +1 -1
- package/traits/{resize-observer.test.js → resize-observer/resize-observer.test.js} +1 -1
- package/traits/{ripple.js → ripple/ripple.js} +2 -2
- package/traits/{ripple.test.js → ripple/ripple.test.js} +1 -1
- package/traits/{roving-tabindex.js → roving-tabindex/roving-tabindex.js} +1 -1
- package/traits/{roving-tabindex.test.js → roving-tabindex/roving-tabindex.test.js} +1 -1
- package/traits/{scale-press.js → scale-press/scale-press.js} +1 -1
- package/traits/{scale-press.test.js → scale-press/scale-press.test.js} +1 -1
- package/traits/{scroll-lock.js → scroll-lock/scroll-lock.js} +1 -1
- package/traits/{scroll-lock.test.js → scroll-lock/scroll-lock.test.js} +1 -1
- package/traits/{scroll-progress.js → scroll-progress/scroll-progress.js} +1 -1
- package/traits/{scroll-progress.test.js → scroll-progress/scroll-progress.test.js} +1 -1
- package/traits/{shimmer-loading.js → shimmer-loading/shimmer-loading.js} +2 -2
- package/traits/{shimmer-loading.test.js → shimmer-loading/shimmer-loading.test.js} +1 -1
- package/traits/{snap-to-grid.js → snap-to-grid/snap-to-grid.js} +1 -1
- package/traits/{snap-to-grid.test.js → snap-to-grid/snap-to-grid.test.js} +1 -1
- package/traits/{sound-feedback.js → sound-feedback/sound-feedback.js} +1 -1
- package/traits/{sound-feedback.test.js → sound-feedback/sound-feedback.test.js} +1 -1
- package/traits/{spring-animate.js → spring-animate/spring-animate.js} +1 -1
- package/traits/{spring-animate.test.js → spring-animate/spring-animate.test.js} +1 -1
- package/traits/{success-checkmark.js → success-checkmark/success-checkmark.js} +2 -2
- package/traits/{success-checkmark.test.js → success-checkmark/success-checkmark.test.js} +1 -1
- package/traits/{tilt-hover.js → tilt-hover/tilt-hover.js} +2 -2
- package/traits/{tilt-hover.test.js → tilt-hover/tilt-hover.test.js} +1 -1
- package/traits/{tossable.js → tossable/tossable.js} +1 -1
- package/traits/{tossable.test.js → tossable/tossable.test.js} +1 -1
- package/traits/traits-host.test.js +2 -2
- package/traits/{typeahead.js → typeahead/typeahead.js} +1 -1
- package/traits/{typeahead.test.js → typeahead/typeahead.test.js} +1 -1
- package/traits/{typewriter.js → typewriter/typewriter.js} +2 -2
- package/traits/{typewriter.test.js → typewriter/typewriter.test.js} +1 -1
- package/traits/{validation.js → validation/validation.js} +1 -1
- package/traits/{validation.test.js → validation/validation.test.js} +1 -1
- package/traits/{view-transition.js → view-transition/view-transition.js} +2 -2
- package/traits/{view-transition.test.js → view-transition/view-transition.test.js} +2 -2
- /package/traits/{announcer-stage.js → announcer/announcer-stage.js} +0 -0
- /package/traits/{confetti-stage.js → confetti/confetti-stage.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { describe, it, expect, beforeEach } from 'vitest';
|
|
2
2
|
import { typeahead } from './typeahead.js';
|
|
3
|
-
import { mountHost, connectTrait, spyEvent, resetDOM, wait } from '
|
|
3
|
+
import { mountHost, connectTrait, spyEvent, resetDOM, wait } from '../test-helpers.js';
|
|
4
4
|
|
|
5
5
|
function child(host, text) {
|
|
6
6
|
const li = document.createElement('div');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { describe, it, expect, beforeEach } from 'vitest';
|
|
2
2
|
import { typewriter } from './typewriter.js';
|
|
3
|
-
import { mountHost, connectTrait, spyEvent, resetDOM, wait } from '
|
|
3
|
+
import { mountHost, connectTrait, spyEvent, resetDOM, wait } from '../test-helpers.js';
|
|
4
4
|
|
|
5
5
|
describe('typewriter', () => {
|
|
6
6
|
beforeEach(resetDOM);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { describe, it, expect, beforeEach } from 'vitest';
|
|
2
2
|
import { validation } from './validation.js';
|
|
3
|
-
import { mountHost, connectTrait, spyEvent, resetDOM } from '
|
|
3
|
+
import { mountHost, connectTrait, spyEvent, resetDOM } from '../test-helpers.js';
|
|
4
4
|
|
|
5
5
|
function setValue(host, value) {
|
|
6
6
|
host.value = value;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest';
|
|
2
2
|
import { viewTransition } from './view-transition.js';
|
|
3
|
-
import { _resetMotionCache } from '
|
|
3
|
+
import { _resetMotionCache } from '../motion.js';
|
|
4
4
|
import {
|
|
5
5
|
mountHost,
|
|
6
6
|
connectTrait,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
resetDOM,
|
|
9
9
|
expectValidSchema,
|
|
10
10
|
wait,
|
|
11
|
-
} from '
|
|
11
|
+
} from '../test-helpers.js';
|
|
12
12
|
|
|
13
13
|
describe('view-transition', () => {
|
|
14
14
|
beforeEach(() => {
|
|
File without changes
|
|
File without changes
|