@skeletonlabs/skeleton 2.9.2 → 2.10.0-dev.7e8add8a
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/dist/components/AppRail/AppRailAnchor.svelte +1 -14
- package/dist/components/AppRail/AppRailAnchor.svelte.d.ts +0 -9
- package/dist/components/AppShell/AppShell.svelte.d.ts +3 -9
- package/dist/components/Autocomplete/Autocomplete.svelte.d.ts +1 -1
- package/dist/components/Avatar/Avatar.svelte +1 -3
- package/dist/components/Avatar/Avatar.svelte.d.ts +0 -5
- package/dist/components/ConicGradient/ConicGradient.svelte +3 -5
- package/dist/components/ConicGradient/ConicGradient.svelte.d.ts +0 -5
- package/dist/components/ProgressBar/ProgressBar.svelte +1 -1
- package/dist/components/RangeSlider/RangeSlider.svelte +1 -1
- package/dist/components/SlideToggle/SlideToggle.svelte +1 -1
- package/dist/components/Tab/TabAnchor.svelte +1 -0
- package/dist/components/Tab/TabGroup.svelte +1 -3
- package/dist/components/Tab/TabGroup.svelte.d.ts +0 -5
- package/dist/components/TreeView/TreeViewItem.svelte +1 -1
- package/dist/utilities/CodeBlock/CodeBlock.svelte.d.ts +1 -1
- package/package.json +4 -4
|
@@ -25,20 +25,7 @@ function prunedRestProps() {
|
|
|
25
25
|
}
|
|
26
26
|
</script>
|
|
27
27
|
|
|
28
|
-
<a
|
|
29
|
-
class="app-rail-anchor {classesBase}"
|
|
30
|
-
href={$$props.href}
|
|
31
|
-
{...prunedRestProps()}
|
|
32
|
-
on:click
|
|
33
|
-
on:keydown
|
|
34
|
-
on:keyup
|
|
35
|
-
on:keypress
|
|
36
|
-
on:mouseover
|
|
37
|
-
on:mouseleave
|
|
38
|
-
on:focus
|
|
39
|
-
on:blur
|
|
40
|
-
data-testid="app-rail-anchor"
|
|
41
|
-
>
|
|
28
|
+
<a class="app-rail-anchor {classesBase}" href={$$props.href} {...prunedRestProps()} data-testid="app-rail-anchor">
|
|
42
29
|
<div class="app-rail-wrapper {classesWrapper}">
|
|
43
30
|
{#if $$slots.lead}<div class="app-rail-lead {classesLead}"><slot name="lead" /></div>{/if}
|
|
44
31
|
<div class="app-rail-label {classesLabel}"><slot /></div>
|
|
@@ -14,15 +14,6 @@ declare const __propDef: {
|
|
|
14
14
|
aspectRatio?: string | undefined;
|
|
15
15
|
};
|
|
16
16
|
events: {
|
|
17
|
-
click: MouseEvent;
|
|
18
|
-
keydown: KeyboardEvent;
|
|
19
|
-
keyup: KeyboardEvent;
|
|
20
|
-
keypress: KeyboardEvent;
|
|
21
|
-
mouseover: MouseEvent;
|
|
22
|
-
mouseleave: MouseEvent;
|
|
23
|
-
focus: FocusEvent;
|
|
24
|
-
blur: FocusEvent;
|
|
25
|
-
} & {
|
|
26
17
|
[evt: string]: CustomEvent<any>;
|
|
27
18
|
};
|
|
28
19
|
slots: {
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
/** @slot header - Insert fixed header content, such as Skeleton's App Bar component.
|
|
3
|
-
* @slot sidebarLeft - Hidden when empty. Allows you to set fixed left sidebar content.
|
|
4
|
-
* @slot sidebarRight - Hidden when empty. Allows you to set fixed right sidebar content.
|
|
5
|
-
* @slot pageHeader - Insert content that resides above your page content. Great for global alerts.
|
|
6
|
-
* @slot pageFooter - Insert content that resides below your page content. Recommended for most layouts.
|
|
7
|
-
* @slot footer - Insert fixed footer content. Not recommended for most layouts.
|
|
8
|
-
*/
|
|
9
|
-
import type { SvelteEvent } from '../../index.js';
|
|
10
2
|
declare const __propDef: {
|
|
11
3
|
props: {
|
|
12
4
|
[x: string]: any;
|
|
@@ -30,7 +22,9 @@ declare const __propDef: {
|
|
|
30
22
|
slotFooter?: string | undefined;
|
|
31
23
|
};
|
|
32
24
|
events: {
|
|
33
|
-
scroll:
|
|
25
|
+
scroll: Event;
|
|
26
|
+
} & {
|
|
27
|
+
[evt: string]: CustomEvent<any>;
|
|
34
28
|
};
|
|
35
29
|
slots: {
|
|
36
30
|
header: {};
|
|
@@ -7,7 +7,7 @@ declare class __sveltets_Render<Value = unknown, Meta = unknown, TransitionIn ex
|
|
|
7
7
|
props(): {
|
|
8
8
|
[x: string]: any;
|
|
9
9
|
/** Bind the input value.*/
|
|
10
|
-
input?:
|
|
10
|
+
input?: unknown;
|
|
11
11
|
/** Define values for the list.*/
|
|
12
12
|
options?: AutocompleteOption<Value, Meta>[] | undefined;
|
|
13
13
|
/** Limit the total number of suggestions.*/
|
|
@@ -22,9 +22,7 @@ function prunedRestProps() {
|
|
|
22
22
|
}
|
|
23
23
|
</script>
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
<!-- svelte-ignore a11y-no-noninteractive-element-interactions -->
|
|
27
|
-
<figure class="avatar {classesBase}" data-testid="avatar" {...prunedRestProps()} on:click on:keydown on:keyup on:keypress>
|
|
25
|
+
<figure class="avatar {classesBase}" data-testid="avatar" {...prunedRestProps()}>
|
|
28
26
|
{#if src || fallback}
|
|
29
27
|
<img
|
|
30
28
|
class="avatar-image {cImage}"
|
|
@@ -58,16 +58,14 @@ $:
|
|
|
58
58
|
{/if}
|
|
59
59
|
<!-- Conic Gradient -->
|
|
60
60
|
{#if cone}
|
|
61
|
-
<div class="conic-cone {classesCone}" class:animate-spin={spin} style:background={cone}
|
|
61
|
+
<div class="conic-cone {classesCone}" class:animate-spin={spin} style:background={cone}></div>
|
|
62
62
|
{/if}
|
|
63
63
|
<!-- Legend -->
|
|
64
64
|
{#if legend && generatedLegendList}
|
|
65
65
|
<ul class="conic-list list {classesLegend}">
|
|
66
66
|
{#each generatedLegendList as { color, label, value }}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
<li class="conic-item {hover}" on:click on:keydown on:keyup on:keypress>
|
|
70
|
-
<span class="conic-swatch {cSwatch}" style:background={color} />
|
|
67
|
+
<li class="conic-item {hover}">
|
|
68
|
+
<span class="conic-swatch {cSwatch}" style:background={color}></span>
|
|
71
69
|
<span class="conic-label flex-auto">{label}</span>
|
|
72
70
|
<strong class="conic-value">{value}%</strong>
|
|
73
71
|
</li>
|
|
@@ -33,7 +33,7 @@ $:
|
|
|
33
33
|
aria-valuemax={max - min}
|
|
34
34
|
>
|
|
35
35
|
<!-- Meter -->
|
|
36
|
-
<div class="progress-bar-meter {classesMeter}" style:width="{indeterminate ? 100 : fillPercent}%"
|
|
36
|
+
<div class="progress-bar-meter {classesMeter}" style:width="{indeterminate ? 100 : fillPercent}%"></div>
|
|
37
37
|
</div>
|
|
38
38
|
|
|
39
39
|
<style>
|
|
@@ -61,7 +61,7 @@ function prunedRestProps() {
|
|
|
61
61
|
{#if ticked && tickmarks && tickmarks.length}
|
|
62
62
|
<datalist id="tickmarks-{id}" class="range-slider-ticks">
|
|
63
63
|
{#each tickmarks as tm}
|
|
64
|
-
<option value={tm} label={tm}
|
|
64
|
+
<option value={tm} label={tm}></option>
|
|
65
65
|
{/each}
|
|
66
66
|
</datalist>
|
|
67
67
|
{/if}
|
|
@@ -83,7 +83,7 @@ function prunedRestProps() {
|
|
|
83
83
|
/>
|
|
84
84
|
<!-- Slider Track/Thumb -->
|
|
85
85
|
<div class="slide-toggle-track {classesTrack}" class:cursor-not-allowed={$$props.disabled}>
|
|
86
|
-
<div class="slide-toggle-thumb {classesThumb}" class:cursor-not-allowed={$$props.disabled}
|
|
86
|
+
<div class="slide-toggle-thumb {classesThumb}" class:cursor-not-allowed={$$props.disabled}></div>
|
|
87
87
|
</div>
|
|
88
88
|
<!-- Label -->
|
|
89
89
|
{#if $$slots.default}<div class="slide-toggle-text ml-3"><slot /></div>{/if}
|
|
@@ -28,9 +28,7 @@ $:
|
|
|
28
28
|
classesPanel = `${cPanel} ${regionPanel}`;
|
|
29
29
|
</script>
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
<!-- svelte-ignore a11y-no-static-element-interactions -->
|
|
33
|
-
<div class="tab-group {classesBase}" data-testid="tab-group" on:click on:keypress on:keydown on:keyup>
|
|
31
|
+
<div class="tab-group {classesBase}" data-testid="tab-group">
|
|
34
32
|
<!-- Tab List -->
|
|
35
33
|
<div class="tab-list {classesList}" role="tablist" aria-labelledby={labelledby}>
|
|
36
34
|
<slot />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- To access props and events using reference -->
|
|
2
2
|
<svelte:options accessors />
|
|
3
3
|
|
|
4
|
-
<script>import { getContext, createEventDispatcher
|
|
4
|
+
<script>import { getContext, createEventDispatcher } from "svelte";
|
|
5
5
|
export let group = void 0;
|
|
6
6
|
export let name = void 0;
|
|
7
7
|
export let value = void 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skeletonlabs/skeleton",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.10.0-dev.7e8add8a",
|
|
4
4
|
"description": "A SvelteKit component library.",
|
|
5
5
|
"author": "endigo9740 <chris@skeletonlabs.dev>",
|
|
6
6
|
"repository": {
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"postcss-import": "15.1.0",
|
|
45
45
|
"postcss-js": "4.0.1",
|
|
46
46
|
"postcss-load-config": "4.0.1",
|
|
47
|
-
"prettier": "2.
|
|
48
|
-
"prettier-plugin-svelte": "2.
|
|
49
|
-
"svelte": "4.
|
|
47
|
+
"prettier": "^3.2.5",
|
|
48
|
+
"prettier-plugin-svelte": "^3.2.3",
|
|
49
|
+
"svelte": "4.2.15",
|
|
50
50
|
"svelte-check": "^3.4.4",
|
|
51
51
|
"tailwindcss": "3.3.2",
|
|
52
52
|
"tslib": "2.5.3",
|