Skip to content
Open
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ coverage
.next/
out/
build
dist

# misc
.DS_Store
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
Service,
ExternalService,
Error,
} from "@elixir-cloud/service-registry/dist/providers";
} from "@elixir-cloud/service-registry/providers";

// Re-export base types for use in other modules
export type { ServiceType, Organization, Service, ExternalService, Error };
Expand Down
31 changes: 9 additions & 22 deletions packages/ecc-client-elixir-cloud-registry/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
{
"compilerOptions": {
"target": "es2018",
"module": "esnext",
"moduleResolution": "node",
"noEmitOnError": true,
"lib": ["es2017", "dom"],
"strict": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"importHelpers": true,
"outDir": "dist",
"sourceMap": true,
"inlineSources": true,
"rootDir": "./",
"declaration": true,
"emitDeclarationOnly": true,
"skipLibCheck": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules", "dist"]
}
"extends": "../../tsconfig.base.json",
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}
31 changes: 9 additions & 22 deletions packages/ecc-client-elixir-drs-filer/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
{
"compilerOptions": {
"target": "es2018",
"module": "Node16",
"moduleResolution": "node16",
"noEmitOnError": true,
"lib": ["es2017", "dom"],
"strict": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"importHelpers": true,
"outDir": "dist",
"sourceMap": true,
"inlineSources": true,
"rootDir": "./",
"declaration": true,
"emitDeclarationOnly": true,
"skipLibCheck": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules", "dist"]
}
"extends": "../../tsconfig.base.json",
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}
31 changes: 9 additions & 22 deletions packages/ecc-client-elixir-ro-crate/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
{
"compilerOptions": {
"target": "es2018",
"module": "esnext",
"moduleResolution": "node",
"noEmitOnError": true,
"lib": ["es2017", "dom"],
"strict": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"importHelpers": true,
"outDir": "dist",
"sourceMap": true,
"inlineSources": true,
"rootDir": "./",
"declaration": true,
"emitDeclarationOnly": true,
"skipLibCheck": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules", "dist"]
}
"extends": "../../tsconfig.base.json",
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}
31 changes: 9 additions & 22 deletions packages/ecc-client-elixir-trs-filer/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
{
"compilerOptions": {
"target": "es2018",
"module": "Node16",
"moduleResolution": "node16",
"noEmitOnError": true,
"lib": ["es2017", "dom"],
"strict": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"importHelpers": true,
"outDir": "dist",
"sourceMap": true,
"inlineSources": true,
"rootDir": "./",
"declaration": true,
"emitDeclarationOnly": true,
"skipLibCheck": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules", "dist"]
}
"extends": "../../tsconfig.base.json",
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}
31 changes: 9 additions & 22 deletions packages/ecc-client-ga4gh-drs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
{
"compilerOptions": {
"target": "es2018",
"module": "Node16",
"moduleResolution": "node16",
"noEmitOnError": true,
"lib": ["es2017", "dom"],
"strict": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"importHelpers": true,
"outDir": "dist",
"sourceMap": true,
"inlineSources": true,
"rootDir": "./",
"declaration": true,
"emitDeclarationOnly": true,
"skipLibCheck": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules", "dist"]
}
"extends": "../../tsconfig.base.json",
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}
31 changes: 9 additions & 22 deletions packages/ecc-client-ga4gh-service-registry/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
{
"compilerOptions": {
"target": "es2018",
"module": "esnext",
"moduleResolution": "node",
"noEmitOnError": true,
"lib": ["es2017", "dom"],
"strict": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"importHelpers": true,
"outDir": "dist",
"sourceMap": true,
"inlineSources": true,
"rootDir": "./",
"declaration": true,
"emitDeclarationOnly": true,
"skipLibCheck": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules", "dist"]
}
"extends": "../../tsconfig.base.json",
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}
31 changes: 9 additions & 22 deletions packages/ecc-client-ga4gh-tes/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
{
"compilerOptions": {
"target": "es2018",
"module": "esnext",
"moduleResolution": "node",
"noEmitOnError": true,
"lib": ["es2017", "dom"],
"strict": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"importHelpers": true,
"outDir": "dist",
"sourceMap": true,
"inlineSources": true,
"rootDir": "./",
"declaration": true,
"emitDeclarationOnly": true,
"skipLibCheck": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules", "dist"]
}
"extends": "../../tsconfig.base.json",
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}
31 changes: 9 additions & 22 deletions packages/ecc-client-ga4gh-trs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
{
"compilerOptions": {
"target": "es2018",
"module": "Node16",
"moduleResolution": "node16",
"noEmitOnError": true,
"lib": ["es2017", "dom"],
"strict": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"importHelpers": true,
"outDir": "dist",
"sourceMap": true,
"inlineSources": true,
"rootDir": "./",
"declaration": true,
"emitDeclarationOnly": true,
"skipLibCheck": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules", "dist"]
}
"extends": "../../tsconfig.base.json",
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}
31 changes: 9 additions & 22 deletions packages/ecc-client-ga4gh-wes/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,10 @@
{
"compilerOptions": {
"target": "es2018",
"module": "Node16",
"moduleResolution": "node16",
"noEmitOnError": true,
"lib": ["es2017", "dom"],
"strict": true,
"esModuleInterop": false,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"importHelpers": true,
"outDir": "dist",
"sourceMap": true,
"inlineSources": true,
"rootDir": "./",
"declaration": true,
"emitDeclarationOnly": true,
"skipLibCheck": true
},
"include": ["**/*.ts"],
"exclude": ["node_modules", "dist"]
}
"extends": "../../tsconfig.base.json",
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}
14 changes: 7 additions & 7 deletions packages/ecc-utils-design/src/components/select/select.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export class EccUtilsDesignSelectContent extends LitElement {

private _updateState() {
const select = this._getParentSelect();
if (select) {
if (select && typeof select.getSelectId === "function") {
const selectStateData = selectState.get(select.getSelectId());
if (selectStateData) {
this.isOpen = selectStateData.isOpen;
Expand All @@ -233,7 +233,7 @@ export class EccUtilsDesignSelectContent extends LitElement {
const classes = cn(
"absolute z-50 w-full min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
this.position === "popper" &&
"top-full mt-1 data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1"
"top-full mt-1 data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1"
);

return html`
Expand Down Expand Up @@ -294,7 +294,7 @@ export class EccUtilsDesignSelectItem extends LitElement {

private _updateSelected() {
const select = this._getParentSelect();
if (select) {
if (select && typeof select.getSelectId === "function") {
const selectStateData = selectState.get(select.getSelectId());
if (selectStateData) {
this.selected = selectStateData.value === this.value;
Expand Down Expand Up @@ -325,7 +325,7 @@ export class EccUtilsDesignSelectItem extends LitElement {
const classes = cn(
"relative flex w-full select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none",
!this.disabled &&
"cursor-pointer hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
"cursor-pointer hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground",
this.disabled && "pointer-events-none opacity-50",
this.selected && "bg-accent text-accent-foreground"
);
Expand All @@ -345,7 +345,7 @@ export class EccUtilsDesignSelectItem extends LitElement {
class="absolute right-2 flex h-3.5 w-3.5 items-center justify-center"
>
${this.selected
? html`
? html`
<svg
xmlns="http://www.w3.org/2000/svg"
width="24"
Expand All @@ -361,7 +361,7 @@ export class EccUtilsDesignSelectItem extends LitElement {
<path d="M20 6 9 17l-5-5" />
</svg>
`
: ""}
: ""}
</span>
<slot></slot>
</div>
Expand Down Expand Up @@ -467,7 +467,7 @@ export class EccUtilsDesignSelectValue extends LitElement {

private _updateState() {
const select = this._getParentSelect();
if (select) {
if (select && typeof select.getSelectId === "function") {
const selectStateData = selectState.get(select.getSelectId());
if (selectStateData && selectStateData.value) {
const options = select.querySelectorAll("ecc-utils-design-select-item");
Expand Down
Loading
Loading