refactor: remove unnecessary `scoped` leftovers from Vue

refactor/sveltekit
Tomáš Mládek 2023-12-28 21:03:28 +01:00
parent 90d10858fa
commit e2dcb07ec9
9 changed files with 17 additions and 15 deletions

View File

@ -127,7 +127,7 @@
{/each}
</LabelBorder>
<style scoped lang="scss">
<style lang="scss">
.icon {
display: inline-block;
font-size: 1.25em;

View File

@ -17,8 +17,8 @@
import EntityList from "./widgets/EntityList.svelte";
import {
ATTR_IN,
ATTR_LABEL,
ATTR_KEY,
ATTR_LABEL,
ATTR_OF,
} from "@upnd/upend/constants";
import InspectGroups from "./InspectGroups.svelte";
@ -26,6 +26,7 @@
import LabelBorder from "./utils/LabelBorder.svelte";
import { debug } from "debug";
import { Any } from "@upnd/upend/query";
const dbg = debug("kestrel:Inspect");
const dispatch = createEventDispatcher();
@ -559,7 +560,7 @@
/>
</div>
<style scoped lang="scss">
<style lang="scss">
header h2 {
margin-bottom: 0;
}

View File

@ -51,7 +51,7 @@
<canvas bind:this={canvas} {width} height="3" title={address} />
<style scoped>
<style>
canvas {
display: inline-block;
height: 1em;

View File

@ -5,7 +5,7 @@
import UpObjectLabel from "./UpObjectLabel.svelte";
import UpLink from "./UpLink.svelte";
import Icon from "../utils/Icon.svelte";
import { readable, writable, type Readable } from "svelte/store";
import { readable, type Readable, writable } from "svelte/store";
import { notify, UpNotification } from "../../notifications";
import IconButton from "../utils/IconButton.svelte";
import { vaultInfo } from "../../util/info";
@ -231,7 +231,7 @@
</div>
</div>
<style scoped lang="scss">
<style lang="scss">
@use "../../styles/colors";
.upobject {

View File

@ -28,7 +28,7 @@
</UpLink>
</div>
<style scoped lang="scss">
<style lang="scss">
.upobjectcard {
display: flex;
flex-direction: column;

View File

@ -22,7 +22,7 @@
</Ellipsis>
</div>
<style scoped lang="scss">
<style lang="scss">
.upobject-label {
max-width: 100%;
}

View File

@ -69,7 +69,7 @@
</div>
{/each}
<style scoped lang="scss">
<style lang="scss">
.job {
display: flex;

View File

@ -1,10 +1,10 @@
<script lang="ts">
import { notify } from "../../notifications";
import { fade } from "svelte/transition";
import type {
UpNotification,
UpNotificationLevel,
} from "../../notifications";
import { notify } from "../../notifications";
import { fade } from "svelte/transition";
import Icon from "../utils/Icon.svelte";
import { DEBUG, lipsum } from "../../lib/debug";
@ -74,7 +74,7 @@
</div>
{/each}
<style scoped lang="scss">
<style lang="scss">
@use "../../styles/colors";
.notification-error {

View File

@ -4,12 +4,12 @@
import Ellipsis from "../utils/Ellipsis.svelte";
import UpObject from "../display/UpObject.svelte";
import { createEventDispatcher } from "svelte";
import type { WidgetChange, AttributeUpdate } from "../../types/base";
import type { AttributeUpdate, WidgetChange } from "../../types/base";
import type { UpEntry, UpListing } from "@upnd/upend";
import IconButton from "../utils/IconButton.svelte";
import Selector, {
selectorValueAsValue,
type SelectorValue,
selectorValueAsValue,
} from "../utils/Selector.svelte";
import Editable from "../utils/Editable.svelte";
import { query } from "../../lib/entity";
@ -20,6 +20,7 @@
import { i18n } from "../../i18n";
import UpLink from "../display/UpLink.svelte";
import { ATTR_ADDED, ATTR_LABEL } from "@upnd/upend/constants";
const dispatch = createEventDispatcher();
export let columns: string | undefined = undefined;
@ -424,7 +425,7 @@
{/if}
</div>
<style lang="scss" scoped>
<style lang="scss">
.entry-list {
display: grid;
grid-template-columns: var(--template-columns);