Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .changeset/nasty-llamas-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
1 change: 0 additions & 1 deletion packages/web-platform/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"esModuleInterop": false,
"exactOptionalPropertyTypes": false,
"isolatedDeclarations": false,
"verbatimModuleSyntax": false,
},
"references": [
/** packages-start */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// LICENSE file in the root directory of this source tree.
import './linear-compat.css';
import {
AttributeReactiveClass,
type AttributeReactiveClass,
bindToAttribute,
WebComponentClass,
} from '@lynx-js/web-elements';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
bindToStyle,
genDomGetter,
registerAttributeHandler,
registerStyleChangeHandler,
} from '@lynx-js/web-elements-reactive';
import { ScrollView } from './ScrollView.js';
import type { ScrollView } from './ScrollView.js';

export class FadeEdgeLengthAttribute
implements InstanceType<AttributeReactiveClass<typeof ScrollView>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
genDomGetter,
type AttributeReactiveClass,
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
import { ScrollView } from './ScrollView.js';
import type { ScrollView } from './ScrollView.js';

export class ScrollAttributes
implements InstanceType<AttributeReactiveClass<typeof ScrollView>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
// Licensed under the Apache License Version 2.0 that can be found in the
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
genDomGetter,
} from '@lynx-js/web-elements-reactive';
import { ScrollView } from './ScrollView.js';
import { type AttributeReactiveClass } from '@lynx-js/web-elements-reactive';
import type { ScrollView } from './ScrollView.js';

export class ScrollIntoView
implements InstanceType<AttributeReactiveClass<typeof ScrollView>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
import { commonComponentEventSetting } from '../common/commonEventInitConfiguration.js';
import { ScrollView } from './ScrollView.js';
import type { ScrollView } from './ScrollView.js';
import { bindToIntersectionObserver } from '../common/bindToIntersectionObserver.js';
import { useScrollEnd } from '../common/constants.js';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import {
AttributeReactiveClass,
type AttributeReactiveClass,
bindToAttribute,
genDomGetter,
registerAttributeHandler,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
genDomGetter,
} from '@lynx-js/web-elements-reactive';
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
bindToAttribute,
genDomGetter,
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
import { commonComponentEventSetting } from '../common/commonEventInitConfiguration.js';
import { XCanvas } from './XCanvas.js';
import type { XCanvas } from './XCanvas.js';

export class CanvasAttributes
implements InstanceType<AttributeReactiveClass<typeof XCanvas>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
// LICENSE file in the root directory of this source tree.
*/
import type { AttributeReactiveClass } from '@lynx-js/web-elements-reactive';
import { XFoldviewHeaderNg } from './XFoldviewHeaderNg.js';
import { XFoldviewNg } from './XFoldviewNg.js';
import type { XFoldviewHeaderNg } from './XFoldviewHeaderNg.js';
import type { XFoldviewNg } from './XFoldviewNg.js';

export class XFoldviewHeaderNgFeatures
implements InstanceType<AttributeReactiveClass<typeof XFoldviewHeaderNg>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
import { commonComponentEventSetting } from '../common/commonEventInitConfiguration.js';
import { XFoldviewNg } from './XFoldviewNg.js';
import type { XFoldviewNg } from './XFoldviewNg.js';

export class XFoldviewNgEvents
implements InstanceType<AttributeReactiveClass<typeof XFoldviewNg>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
// LICENSE file in the root directory of this source tree.
*/
import type { AttributeReactiveClass } from '@lynx-js/web-elements-reactive';
import { XFoldviewNg } from './XFoldviewNg.js';
import { XFoldviewSlotNg } from './XFoldviewSlotNg.js';
import type { XFoldviewNg } from './XFoldviewNg.js';
import type { XFoldviewSlotNg } from './XFoldviewSlotNg.js';
import { isChromium } from '../common/constants.js';
export class XFoldviewSlotNgTouchEventsHandler
implements InstanceType<AttributeReactiveClass<typeof XFoldviewSlotNg>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
bindToStyle,
genDomGetter,
registerAttributeHandler,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
genDomGetter,
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
bindToAttribute,
genDomGetter,
registerAttributeHandler,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
bindToAttribute,
bindToStyle,
genDomGetter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
bindToAttribute,
genDomGetter,
registerAttributeHandler,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
genDomGetter,
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
bindToStyle,
boostedQueueMicrotask,
registerAttributeHandler,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
genDomGetter,
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
// LICENSE file in the root directory of this source tree.
*/
import { commonComponentEventSetting } from '../common/commonEventInitConfiguration.js';
import { XOverlayNg } from './XOverlayNg.js';
import type { XOverlayNg } from './XOverlayNg.js';
import {
AttributeReactiveClass,
type AttributeReactiveClass,
registerAttributeHandler,
genDomGetter,
} from '@lynx-js/web-elements-reactive';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
// Licensed under the Apache License Version 2.0 that can be found in the
// LICENSE file in the root directory of this source tree.
*/
import { AttributeReactiveClass } from '@lynx-js/web-elements-reactive';
import { XRefreshFooter } from './XRefreshFooter.js';
import { XRefreshHeader } from './XRefreshHeader.js';
import type { AttributeReactiveClass } from '@lynx-js/web-elements-reactive';
import type { XRefreshFooter } from './XRefreshFooter.js';
import type { XRefreshHeader } from './XRefreshHeader.js';

export class XRefreshIntersectionObserverEvent extends Event {
static EventName = 'x-refresh-view-intersecting';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import {
registerAttributeHandler,
genDomGetter,
} from '@lynx-js/web-elements-reactive';
import { XRefreshHeader } from './XRefreshHeader.js';
import type { XRefreshHeader } from './XRefreshHeader.js';
import { XRefreshIntersectionObserverEvent } from './XRefreshSubElementIntersectionObserver.js';
import { XRefreshView } from './XRefreshView.js';
import type { XRefreshView } from './XRefreshView.js';
import { commonComponentEventSetting } from '../common/commonEventInitConfiguration.js';

export class XRefreshViewEventsEmitter
Expand Down
2 changes: 1 addition & 1 deletion packages/web-platform/web-elements/src/XSvg/XSvg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
Component,
bindToStyle,
registerAttributeHandler,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
import { XSwiper } from './XSwiper.js';
import type { XSwiper } from './XSwiper.js';

export class XSwiperAutoScroll
implements InstanceType<AttributeReactiveClass<typeof XSwiper>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
bindSwitchToEventListener,
genDomGetter,
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
import { XSwiper } from './XSwiper.js';
import type { XSwiper } from './XSwiper.js';

export class XSwiperCircular
implements InstanceType<AttributeReactiveClass<typeof XSwiper>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
genDomGetter,
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
import { XSwiper } from './XSwiper.js';
import type { XSwiper } from './XSwiper.js';
import { commonComponentEventSetting } from '../common/commonEventInitConfiguration.js';
import { useScrollEnd } from '../common/constants.js';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
genDomGetter,
registerAttributeHandler,
bindToStyle,
boostedQueueMicrotask,
} from '@lynx-js/web-elements-reactive';
import { XSwiper } from './XSwiper.js';
import type { XSwiper } from './XSwiper.js';

export class XSwiperIndicator
implements InstanceType<AttributeReactiveClass<typeof XSwiper>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
Component,
genDomGetter,
html,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
import { commonComponentEventSetting } from '../common/commonEventInitConfiguration.js';
import { XText } from './XText.js';
import type { XText } from './XText.js';
type NodeInfo = {
node: Text | Element;
start: number;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
bindToAttribute,
bindToStyle,
genDomGetter,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
bindToAttribute,
genDomGetter,
registerAttributeHandler,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
bindToAttribute,
genDomGetter,
registerAttributeHandler,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
genDomGetter,
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
Expand Down
4 changes: 2 additions & 2 deletions packages/web-platform/web-elements/src/XView/BlurRadius.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
// LICENSE file in the root directory of this source tree.
*/
import {
AttributeReactiveClass,
type AttributeReactiveClass,
genDomGetter,
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
import { XBlurView } from './XBlurView.js';
import type { XBlurView } from './XBlurView.js';

export class BlurRadius
implements InstanceType<AttributeReactiveClass<typeof XBlurView>>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
registerAttributeHandler,
} from '@lynx-js/web-elements-reactive';
import { commonComponentEventSetting } from '../common/commonEventInitConfiguration.js';
import { XViewpagerNg } from './XViewpagerNg.js';
import type { XViewpagerNg } from './XViewpagerNg.js';
import { useScrollEnd } from '../common/constants.js';

export class XViewpagerNgEvents
Expand Down
Loading
Loading