Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmo91 committed Jan 6, 2025
1 parent ebe3f12 commit fde43a9
Show file tree
Hide file tree
Showing 19 changed files with 1,855 additions and 7,173 deletions.
8,990 changes: 1,836 additions & 7,154 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mhmo91/schmancy",
"version": "0.0.282",
"version": "0.0.283",
"description": "UI library build with web components",
"main": "./dist/index.js",
"repository": {
Expand Down Expand Up @@ -43,7 +43,6 @@
"homepage": "https://github.com/mhmo91/schmancy#readme",
"dependencies": {
"@floating-ui/dom": "^1.6.12",
"@juliangarnierorg/anime-beta": "./packages/anime-beta-master",
"@lit-labs/motion": "^1.0.7",
"@lit-labs/virtualizer": "^2.0.14",
"@lit/context": "^1.1.3",
Expand Down
2 changes: 1 addition & 1 deletion src/animate/animate.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { animate, stagger } from '@juliangarnierorg/anime-beta'
import { animate, stagger } from '@packages/anime-beta-master'
import { css, html } from 'lit'
import { customElement, property, queryAssignedElements } from 'lit/decorators.js'
import { $LitElement } from '@mixins/index'
Expand Down
2 changes: 1 addition & 1 deletion src/animated-text/animated-text.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createTimeline, stagger } from '@juliangarnierorg/anime-beta'
import { createTimeline, stagger } from '@packages/anime-beta-master'
import { $LitElement } from '@mixins/index'
import { css, html } from 'lit'
import { customElement, property, query, queryAssignedNodes } from 'lit/decorators.js'
Expand Down
2 changes: 1 addition & 1 deletion src/area/area.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { animate } from '@juliangarnierorg/anime-beta'
import { animate } from '@packages/anime-beta-master'
import { $LitElement } from '@mixins/index'
import { TemplateResult, css, html } from 'lit'
import { customElement, property } from 'lit/decorators.js'
Expand Down
2 changes: 1 addition & 1 deletion src/autocomplete/autocomplete.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { computePosition, flip, offset, shift } from '@floating-ui/dom'
import { animate } from '@juliangarnierorg/anime-beta'
import { animate } from '@packages/anime-beta-master'
import { $LitElement } from '@mixins/index'
import { color } from '@schmancy/directives'
import SchmancyInput from '@schmancy/input/input'
Expand Down
2 changes: 1 addition & 1 deletion src/content-drawer/sheet.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { animate } from '@juliangarnierorg/anime-beta'
import { animate } from '@packages/anime-beta-master'
import { consume } from '@lit/context'
import { $LitElement } from '@mixins/index'
import { css, html } from 'lit'
Expand Down
2 changes: 1 addition & 1 deletion src/layout/grid/grid.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { animate } from '@juliangarnierorg/anime-beta'
import { animate } from '@packages/anime-beta-master'
import { html, unsafeCSS } from 'lit'
import { customElement, property, queryAssignedElements } from 'lit/decorators.js'
import { debounceTime, distinctUntilChanged, fromEvent, map, startWith, takeUntil } from 'rxjs'
Expand Down
2 changes: 1 addition & 1 deletion src/menu/menu.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { computePosition, flip, offset, shift } from '@floating-ui/dom'
import { animate } from '@juliangarnierorg/anime-beta'
import { animate } from '@packages/anime-beta-master'
import { TailwindElement } from '@mixins/index'
import { css, html } from 'lit'
import { customElement, query, queryAssignedElements, state } from 'lit/decorators.js'
Expand Down
2 changes: 1 addition & 1 deletion src/menu/playground.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { computePosition, flip, offset, shift } from '@floating-ui/dom'
import { animate } from '@juliangarnierorg/anime-beta'
import { animate } from '@packages/anime-beta-master'
import { TailwindElement } from '@mixins/tailwind'

import { css, html } from 'lit'
Expand Down
2 changes: 1 addition & 1 deletion src/nav-drawer/navbar.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { animate } from '@juliangarnierorg/anime-beta'
import { animate } from '@packages/anime-beta-master'
import { consume } from '@lit/context'
import { $LitElement } from '@mixins/index'
import { html } from 'lit'
Expand Down
2 changes: 1 addition & 1 deletion src/teleport/teleport.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { animate } from '@juliangarnierorg/anime-beta'
import { animate } from '@packages/anime-beta-master'
import { bufferTime, concatMap, filter, fromEvent, map, of, Subject, take, tap, timeout, zip } from 'rxjs'
import { SchmancyTeleportation } from './teleport.component'

Expand Down
2 changes: 1 addition & 1 deletion src/theme-button/theme-button.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { animate } from '@juliangarnierorg/anime-beta'
import { animate } from '@packages/anime-beta-master'
import { TailwindElement } from '@mixins/index'
import { html } from 'lit'
import { customElement, query } from 'lit/decorators.js'
Expand Down
2 changes: 1 addition & 1 deletion src/tree/tree.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { animate } from '@juliangarnierorg/anime-beta'
import { animate } from '@packages/anime-beta-master'
import { TailwindElement } from '@mixins/index'
import { css, html } from 'lit'
import { customElement, property, query } from 'lit/decorators.js'
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"noFallthroughCasesInSwitch": true,
"paths": {
"@schmancy/*": ["./src/*"],
"@mixins/*": ["./mixins/*"]
"@mixins/*": ["./mixins/*"],
"@packages/*": ["./packages/*"]
},
"plugins": [
{
Expand Down
2 changes: 1 addition & 1 deletion types/src/content-drawer/sheet.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare class SchmancyContentDrawerSheet extends SchmancyContentDrawerShe
open(): void;
closeAll(): void;
closeModalSheet(): import("rxjs").Observable<boolean>;
closeSheet(): import("@juliangarnierorg/anime-beta").Animation;
closeSheet(): import("@packages/anime-beta-master").Animation;
protected render(): import("lit-html").TemplateResult<1>;
}
declare global {
Expand Down
1 change: 0 additions & 1 deletion types/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export * from './chips';
export * from './components';
export * from './content-drawer';
export * from './data';
export * from './date-range';
export * from './directives';
export * from './divider';
export * from './form';
Expand Down
4 changes: 2 additions & 2 deletions types/src/menu/menu.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ export default class SchmancyMenu extends SchmancyMenu_base {
open: boolean;
buttonElement: Array<HTMLElement>;
menuElement: HTMLElement;
openMenu(): import("@juliangarnierorg/anime-beta").Animation;
closeMenu(e?: Event): import("@juliangarnierorg/anime-beta").Animation;
openMenu(): import("@packages/anime-beta-master").Animation;
closeMenu(e?: Event): import("@packages/anime-beta-master").Animation;
positionMenu(): Promise<void>;
protected firstUpdated(): void;
render(): import("lit-html").TemplateResult<1>;
Expand Down
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export default defineConfig({
alias: {
'@schmancy': resolve(__dirname, '/src'),
'@mixins': resolve(__dirname, '/mixins'),
'@packages': resolve(__dirname, '/packages'),
},
},
build: {
Expand Down

0 comments on commit fde43a9

Please sign in to comment.