glasslikeui 0.2.2 → 1.1.0
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/LICENSE +21 -21
- package/README.md +215 -1
- package/dist/actions/a11ySync.d.ts +9 -0
- package/dist/actions/a11ySync.js +49 -0
- package/dist/actions/deviceMotion.d.ts +31 -0
- package/dist/actions/deviceMotion.js +142 -0
- package/dist/actions/dragSnap.d.ts +47 -0
- package/dist/actions/dragSnap.js +222 -0
- package/dist/actions/index.d.ts +5 -0
- package/dist/actions/index.js +5 -0
- package/dist/actions/scrollEdge.d.ts +21 -0
- package/dist/actions/scrollEdge.js +61 -0
- package/dist/actions/viewTransition.d.ts +23 -0
- package/dist/actions/viewTransition.js +34 -0
- package/dist/components/glass/Glass.svelte +164 -0
- package/dist/components/glass/Glass.svelte.d.ts +19 -0
- package/dist/components/glass/GlassCard.svelte +71 -64
- package/dist/components/glass/GlassCard.svelte.d.ts +4 -2
- package/dist/components/glass/GlassDimLayer.svelte +37 -0
- package/dist/components/glass/GlassDimLayer.svelte.d.ts +8 -0
- package/dist/components/glass/GlassEffectContainer.svelte +58 -0
- package/dist/components/glass/GlassEffectContainer.svelte.d.ts +12 -0
- package/dist/components/glass/GlassMorph.svelte +42 -0
- package/dist/components/glass/GlassMorph.svelte.d.ts +10 -0
- package/dist/components/glass/GlassSection.svelte +82 -76
- package/dist/components/glass/GlassSection.svelte.d.ts +4 -2
- package/dist/components/glass/LensFilters.svelte +41 -0
- package/dist/components/glass/LensFilters.svelte.d.ts +18 -0
- package/dist/components/glass/Sheet.svelte +266 -236
- package/dist/components/glass/Sheet.svelte.d.ts +6 -2
- package/dist/components/glass/index.d.ts +5 -5
- package/dist/components/glass/index.js +5 -5
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/interactive/Badge.svelte +52 -60
- package/dist/components/interactive/Badge.svelte.d.ts +2 -2
- package/dist/components/interactive/Button.svelte +168 -191
- package/dist/components/interactive/Button.svelte.d.ts +4 -4
- package/dist/components/interactive/IconButton.svelte +74 -85
- package/dist/components/interactive/IconButton.svelte.d.ts +4 -4
- package/dist/components/interactive/TabView.svelte +112 -22
- package/dist/components/interactive/TabView.svelte.d.ts +1 -1
- package/dist/components/layout/Divider.svelte +31 -31
- package/dist/components/layout/Divider.svelte.d.ts +1 -1
- package/dist/components/layout/Grid.svelte +52 -52
- package/dist/components/layout/Grid.svelte.d.ts +1 -1
- package/dist/components/layout/HStack.svelte +76 -76
- package/dist/components/layout/HStack.svelte.d.ts +1 -1
- package/dist/components/layout/ScrollView.svelte +83 -60
- package/dist/components/layout/ScrollView.svelte.d.ts +5 -1
- package/dist/components/layout/Spacer.svelte +18 -18
- package/dist/components/layout/Spacer.svelte.d.ts +1 -1
- package/dist/components/layout/VStack.svelte +56 -56
- package/dist/components/layout/VStack.svelte.d.ts +1 -1
- package/dist/components/layout/ZStack.svelte +51 -51
- package/dist/components/layout/ZStack.svelte.d.ts +1 -1
- package/dist/components/list/List.svelte +50 -50
- package/dist/components/list/List.svelte.d.ts +1 -1
- package/dist/components/list/ListRow.svelte +181 -181
- package/dist/components/list/ListRow.svelte.d.ts +1 -1
- package/dist/components/media/SymbolImage.svelte +46 -46
- package/dist/components/media/SymbolImage.svelte.d.ts +1 -1
- package/dist/components/navigation/NavigationBar.svelte +195 -106
- package/dist/components/navigation/NavigationBar.svelte.d.ts +2 -1
- package/dist/components/navigation/NavigationLink.svelte +45 -45
- package/dist/components/navigation/NavigationLink.svelte.d.ts +1 -1
- package/dist/components/typography/Text.svelte +98 -97
- package/dist/components/typography/Text.svelte.d.ts +2 -2
- package/dist/constants/colors.js +2 -2
- package/dist/constants/index.d.ts +1 -5
- package/dist/constants/index.js +1 -5
- package/dist/constants/sizes.js +4 -4
- package/dist/constants/variants.d.ts +23 -0
- package/dist/constants/variants.js +18 -0
- package/dist/icons/index.js +10 -7
- package/dist/index.d.ts +2 -4
- package/dist/index.js +2 -7
- package/dist/styles/glasslikeui.css +192 -0
- package/dist/styles/lens.css +93 -0
- package/dist/styles/squircle.css +17 -0
- package/dist/styles/typography.css +27 -0
- package/dist/test-setup.d.ts +1 -0
- package/dist/test-setup.js +6 -0
- package/package.json +50 -38
- package/dist/components/glass/LiquidGlass.svelte +0 -123
- package/dist/components/glass/LiquidGlass.svelte.d.ts +0 -17
- package/dist/constants/materials.d.ts +0 -13
- package/dist/constants/materials.js +0 -43
- package/dist/styles/liquidglass.css +0 -139
|
@@ -1,236 +1,266 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import type { Snippet } from 'svelte';
|
|
3
|
-
import { HStack, Spacer } from '../layout';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
{
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
{
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
}
|
|
236
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import type { Snippet } from 'svelte';
|
|
3
|
+
import { HStack, Spacer } from '../layout';
|
|
4
|
+
import {
|
|
5
|
+
dragSnap,
|
|
6
|
+
detentFractions,
|
|
7
|
+
type SheetDetentName
|
|
8
|
+
} from '../../actions/dragSnap';
|
|
9
|
+
|
|
10
|
+
const isBrowser = typeof window !== 'undefined';
|
|
11
|
+
|
|
12
|
+
interface Props {
|
|
13
|
+
isOpen?: boolean;
|
|
14
|
+
title?: string;
|
|
15
|
+
children: Snippet;
|
|
16
|
+
onClose?: () => void;
|
|
17
|
+
onDetentChange?: (name: SheetDetentName) => void;
|
|
18
|
+
detents?: readonly SheetDetentName[];
|
|
19
|
+
initialDetent?: SheetDetentName;
|
|
20
|
+
showHandle?: boolean;
|
|
21
|
+
draggable?: boolean;
|
|
22
|
+
class?: string;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
let {
|
|
26
|
+
isOpen = $bindable(false),
|
|
27
|
+
title = '',
|
|
28
|
+
children,
|
|
29
|
+
onClose,
|
|
30
|
+
onDetentChange,
|
|
31
|
+
detents = ['medium', 'large'],
|
|
32
|
+
initialDetent = 'medium',
|
|
33
|
+
showHandle = true,
|
|
34
|
+
draggable = true,
|
|
35
|
+
class: className = ''
|
|
36
|
+
}: Props = $props();
|
|
37
|
+
|
|
38
|
+
const fractions = $derived(detentFractions(detents));
|
|
39
|
+
const initialIndex = $derived(Math.max(0, detents.indexOf(initialDetent)));
|
|
40
|
+
|
|
41
|
+
let currentIndex = $state(0);
|
|
42
|
+
let sheetEl = $state<HTMLElement | undefined>();
|
|
43
|
+
|
|
44
|
+
$effect(() => {
|
|
45
|
+
currentIndex = initialIndex;
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
function close() {
|
|
49
|
+
isOpen = false;
|
|
50
|
+
onClose?.();
|
|
51
|
+
if (isBrowser) {
|
|
52
|
+
document.body.style.overflow = '';
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function handleKeydown(e: KeyboardEvent) {
|
|
57
|
+
if (e.key === 'Escape') {
|
|
58
|
+
close();
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function handleBackdropClick(e: MouseEvent) {
|
|
63
|
+
if (e.target === e.currentTarget) {
|
|
64
|
+
close();
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function handleSnap(index: number) {
|
|
69
|
+
currentIndex = index;
|
|
70
|
+
const name = detents[index];
|
|
71
|
+
if (name) onDetentChange?.(name);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
$effect(() => {
|
|
75
|
+
if (isBrowser && isOpen) {
|
|
76
|
+
document.body.style.overflow = 'hidden';
|
|
77
|
+
}
|
|
78
|
+
return () => {
|
|
79
|
+
if (isBrowser) {
|
|
80
|
+
document.body.style.overflow = '';
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
});
|
|
84
|
+
</script>
|
|
85
|
+
|
|
86
|
+
<svelte:window onkeydown={handleKeydown} />
|
|
87
|
+
|
|
88
|
+
{#if isOpen}
|
|
89
|
+
<div
|
|
90
|
+
class="sheet-backdrop"
|
|
91
|
+
class:open={isOpen}
|
|
92
|
+
onclick={handleBackdropClick}
|
|
93
|
+
onkeydown={(e) => e.key === 'Escape' && close()}
|
|
94
|
+
role="presentation"
|
|
95
|
+
>
|
|
96
|
+
<div
|
|
97
|
+
bind:this={sheetEl}
|
|
98
|
+
class="sheet-container {className}"
|
|
99
|
+
class:open={isOpen}
|
|
100
|
+
>
|
|
101
|
+
{#if showHandle}
|
|
102
|
+
<div
|
|
103
|
+
class="sheet-handle-container"
|
|
104
|
+
use:dragSnap={{
|
|
105
|
+
target: sheetEl,
|
|
106
|
+
detents: fractions,
|
|
107
|
+
initial: currentIndex,
|
|
108
|
+
disabled: !draggable || fractions.length < 2,
|
|
109
|
+
onSnap: handleSnap
|
|
110
|
+
}}
|
|
111
|
+
>
|
|
112
|
+
<div class="sheet-handle"></div>
|
|
113
|
+
</div>
|
|
114
|
+
{/if}
|
|
115
|
+
|
|
116
|
+
{#if title}
|
|
117
|
+
<header class="sheet-header">
|
|
118
|
+
<HStack alignment="center">
|
|
119
|
+
<button class="sheet-close-btn" onclick={close} aria-label="Close">
|
|
120
|
+
<svg
|
|
121
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
122
|
+
width="20"
|
|
123
|
+
height="20"
|
|
124
|
+
viewBox="0 0 24 24"
|
|
125
|
+
fill="none"
|
|
126
|
+
stroke="currentColor"
|
|
127
|
+
stroke-width="2"
|
|
128
|
+
stroke-linecap="round"
|
|
129
|
+
stroke-linejoin="round"
|
|
130
|
+
>
|
|
131
|
+
<polyline points="15 18 9 12 15 6"></polyline>
|
|
132
|
+
</svg>
|
|
133
|
+
<span>Back</span>
|
|
134
|
+
</button>
|
|
135
|
+
<Spacer />
|
|
136
|
+
<h2 class="sheet-title">{title}</h2>
|
|
137
|
+
<Spacer />
|
|
138
|
+
<div class="sheet-spacer"></div>
|
|
139
|
+
</HStack>
|
|
140
|
+
</header>
|
|
141
|
+
{/if}
|
|
142
|
+
|
|
143
|
+
<div class="sheet-content">
|
|
144
|
+
{@render children()}
|
|
145
|
+
</div>
|
|
146
|
+
</div>
|
|
147
|
+
</div>
|
|
148
|
+
{/if}
|
|
149
|
+
|
|
150
|
+
<style>
|
|
151
|
+
.sheet-backdrop {
|
|
152
|
+
position: fixed;
|
|
153
|
+
inset: 0;
|
|
154
|
+
background: rgba(0, 0, 0, 0.4);
|
|
155
|
+
backdrop-filter: blur(4px);
|
|
156
|
+
-webkit-backdrop-filter: blur(4px);
|
|
157
|
+
z-index: 1000;
|
|
158
|
+
opacity: 0;
|
|
159
|
+
visibility: hidden;
|
|
160
|
+
transition: all 0.3s ease;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.sheet-backdrop.open {
|
|
164
|
+
opacity: 1;
|
|
165
|
+
visibility: visible;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.sheet-container {
|
|
169
|
+
--sheet-y: 100vh;
|
|
170
|
+
position: fixed;
|
|
171
|
+
left: 0;
|
|
172
|
+
right: 0;
|
|
173
|
+
top: 0;
|
|
174
|
+
height: 100vh;
|
|
175
|
+
margin: 0 auto;
|
|
176
|
+
background: var(--glass-sheet-bg);
|
|
177
|
+
backdrop-filter: blur(var(--glass-blur-nav)) saturate(var(--glass-saturation));
|
|
178
|
+
-webkit-backdrop-filter: blur(var(--glass-blur-nav)) saturate(var(--glass-saturation));
|
|
179
|
+
border-radius: var(--glass-radius-xl) var(--glass-radius-xl) 0 0;
|
|
180
|
+
overflow: hidden;
|
|
181
|
+
display: flex;
|
|
182
|
+
flex-direction: column;
|
|
183
|
+
transform: translateY(var(--sheet-y));
|
|
184
|
+
transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
|
|
185
|
+
z-index: 1001;
|
|
186
|
+
border-top: 1px solid var(--glass-border);
|
|
187
|
+
box-shadow:
|
|
188
|
+
0 -8px 32px -8px var(--glass-shadow),
|
|
189
|
+
inset 0 1px 0 0 var(--glass-highlight);
|
|
190
|
+
touch-action: none;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.sheet-handle-container {
|
|
194
|
+
display: flex;
|
|
195
|
+
justify-content: center;
|
|
196
|
+
padding: 8px 0;
|
|
197
|
+
cursor: grab;
|
|
198
|
+
}
|
|
199
|
+
.sheet-handle-container:active {
|
|
200
|
+
cursor: grabbing;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.sheet-handle {
|
|
204
|
+
width: 36px;
|
|
205
|
+
height: 5px;
|
|
206
|
+
background: var(--glass-handle);
|
|
207
|
+
border-radius: 3px;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.sheet-header {
|
|
211
|
+
padding: 0 var(--spacing-md);
|
|
212
|
+
height: 56px;
|
|
213
|
+
border-bottom: 1px solid var(--glass-divider);
|
|
214
|
+
display: flex;
|
|
215
|
+
align-items: center;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.sheet-close-btn {
|
|
219
|
+
display: flex;
|
|
220
|
+
align-items: center;
|
|
221
|
+
gap: 4px;
|
|
222
|
+
background: none;
|
|
223
|
+
border: none;
|
|
224
|
+
color: var(--color-accent);
|
|
225
|
+
font-size: 17px;
|
|
226
|
+
font-weight: 400;
|
|
227
|
+
cursor: pointer;
|
|
228
|
+
padding: 8px 0;
|
|
229
|
+
transition: opacity var(--transition-fast);
|
|
230
|
+
font-family: var(--font-system);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.sheet-close-btn:hover {
|
|
234
|
+
opacity: 0.7;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.sheet-close-btn svg {
|
|
238
|
+
margin-left: -6px;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.sheet-title {
|
|
242
|
+
font-size: 17px;
|
|
243
|
+
font-weight: 600;
|
|
244
|
+
color: var(--color-text);
|
|
245
|
+
text-align: center;
|
|
246
|
+
font-family: var(--font-system);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.sheet-spacer {
|
|
250
|
+
width: 80px;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.sheet-content {
|
|
254
|
+
flex: 1;
|
|
255
|
+
overflow-y: auto;
|
|
256
|
+
overflow-x: hidden;
|
|
257
|
+
-webkit-overflow-scrolling: touch;
|
|
258
|
+
font-family: var(--font-system);
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
@media (min-width: 769px) {
|
|
262
|
+
.sheet-container {
|
|
263
|
+
max-width: 900px;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
</style>
|
|
@@ -1,13 +1,17 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
|
+
import { type SheetDetentName } from '../../actions/dragSnap';
|
|
2
3
|
interface Props {
|
|
3
4
|
isOpen?: boolean;
|
|
4
5
|
title?: string;
|
|
5
6
|
children: Snippet;
|
|
6
7
|
onClose?: () => void;
|
|
7
|
-
|
|
8
|
+
onDetentChange?: (name: SheetDetentName) => void;
|
|
9
|
+
detents?: readonly SheetDetentName[];
|
|
10
|
+
initialDetent?: SheetDetentName;
|
|
8
11
|
showHandle?: boolean;
|
|
12
|
+
draggable?: boolean;
|
|
9
13
|
class?: string;
|
|
10
14
|
}
|
|
11
|
-
declare const Sheet: import("svelte").Component<Props, {},
|
|
15
|
+
declare const Sheet: import("svelte").Component<Props, {}, string>;
|
|
12
16
|
type Sheet = ReturnType<typeof Sheet>;
|
|
13
17
|
export default Sheet;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* Glass Effect Components
|
|
3
|
-
* Components with iOS-style liquid glass morphism effects
|
|
4
|
-
*/
|
|
5
|
-
export { default as LiquidGlass } from './LiquidGlass.svelte';
|
|
1
|
+
export { default as Glass } from './Glass.svelte';
|
|
6
2
|
export { default as GlassCard } from './GlassCard.svelte';
|
|
7
3
|
export { default as GlassSection } from './GlassSection.svelte';
|
|
8
4
|
export { default as Sheet } from './Sheet.svelte';
|
|
5
|
+
export { default as LensFilters } from './LensFilters.svelte';
|
|
6
|
+
export { default as GlassDimLayer } from './GlassDimLayer.svelte';
|
|
7
|
+
export { default as GlassEffectContainer } from './GlassEffectContainer.svelte';
|
|
8
|
+
export { default as GlassMorph } from './GlassMorph.svelte';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
* Glass Effect Components
|
|
3
|
-
* Components with iOS-style liquid glass morphism effects
|
|
4
|
-
*/
|
|
5
|
-
export { default as LiquidGlass } from './LiquidGlass.svelte';
|
|
1
|
+
export { default as Glass } from './Glass.svelte';
|
|
6
2
|
export { default as GlassCard } from './GlassCard.svelte';
|
|
7
3
|
export { default as GlassSection } from './GlassSection.svelte';
|
|
8
4
|
export { default as Sheet } from './Sheet.svelte';
|
|
5
|
+
export { default as LensFilters } from './LensFilters.svelte';
|
|
6
|
+
export { default as GlassDimLayer } from './GlassDimLayer.svelte';
|
|
7
|
+
export { default as GlassEffectContainer } from './GlassEffectContainer.svelte';
|
|
8
|
+
export { default as GlassMorph } from './GlassMorph.svelte';
|
package/dist/components/index.js
CHANGED