@x33025/sveltely 0.1.21 → 0.1.23
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/Library/Label/Label.svelte +15 -2
- package/dist/components/Library/Portal/Portal.svelte +11 -0
- package/dist/components/Library/Portal/Portal.svelte.d.ts +6 -0
- package/dist/components/Library/Portal/index.d.ts +1 -0
- package/dist/components/Library/Portal/index.js +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
|
|
97
97
|
<div class="label" data-orientation={orientation} style={rootStyle}>
|
|
98
98
|
{#if icon || label || labelContent}
|
|
99
|
-
<span class="label-heading">
|
|
99
|
+
<span class="label-heading" data-custom={labelContent ? 'true' : undefined}>
|
|
100
100
|
{#if icon}
|
|
101
101
|
{@const Icon = icon}
|
|
102
102
|
<span class="label-icon-frame" style={iconStyle}>
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
{#if label}
|
|
108
108
|
<span class="label-text">{label}</span>
|
|
109
109
|
{:else if labelContent}
|
|
110
|
-
<span class="label-text">
|
|
110
|
+
<span class="label-text label-text-custom">
|
|
111
111
|
{@render labelContent()}
|
|
112
112
|
</span>
|
|
113
113
|
{/if}
|
|
@@ -162,6 +162,19 @@
|
|
|
162
162
|
line-height: 1.25;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
+
.label-heading[data-custom='true'] {
|
|
166
|
+
min-width: 0;
|
|
167
|
+
width: 100%;
|
|
168
|
+
flex: 1 1 auto;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.label-text-custom {
|
|
172
|
+
display: inline-flex;
|
|
173
|
+
min-width: 0;
|
|
174
|
+
width: 100%;
|
|
175
|
+
flex: 1 1 auto;
|
|
176
|
+
}
|
|
177
|
+
|
|
165
178
|
.label-content {
|
|
166
179
|
display: inline-flex;
|
|
167
180
|
min-width: 0;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Portal.svelte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Portal.svelte';
|
package/dist/index.d.ts
CHANGED
|
@@ -36,6 +36,7 @@ export { default as NavigationStack } from './components/Library/NavigationStack
|
|
|
36
36
|
export { default as NumberField } from './components/Library/NumberField';
|
|
37
37
|
export { default as SegmentedPicker } from './components/Library/SegmentedPicker';
|
|
38
38
|
export { default as Pagination } from './components/Library/Pagination';
|
|
39
|
+
export { default as Portal } from './components/Library/Portal';
|
|
39
40
|
export { default as Dropdown } from './components/Library/Dropdown';
|
|
40
41
|
export { default as Divider } from './components/Library/Divider';
|
|
41
42
|
export { default as ForEach } from './components/Library/ForEach';
|
package/dist/index.js
CHANGED
|
@@ -25,6 +25,7 @@ export { default as NavigationStack } from './components/Library/NavigationStack
|
|
|
25
25
|
export { default as NumberField } from './components/Library/NumberField';
|
|
26
26
|
export { default as SegmentedPicker } from './components/Library/SegmentedPicker';
|
|
27
27
|
export { default as Pagination } from './components/Library/Pagination';
|
|
28
|
+
export { default as Portal } from './components/Library/Portal';
|
|
28
29
|
export { default as Dropdown } from './components/Library/Dropdown';
|
|
29
30
|
export { default as Divider } from './components/Library/Divider';
|
|
30
31
|
export { default as ForEach } from './components/Library/ForEach';
|