@juspay/svelte-ui-components 4.55.4 → 4.57.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/dist/Accordion/Accordion.svelte +66 -34
- package/dist/Accordion/Accordion.svelte.d.ts +1 -1
- package/dist/Accordion/properties.d.ts +11 -0
- package/dist/Avatar/Avatar.svelte +20 -6
- package/dist/Button/Button.svelte +34 -19
- package/dist/Button/Button.svelte.d.ts +1 -1
- package/dist/Button/properties.d.ts +10 -0
- package/dist/Card/Card.svelte +31 -18
- package/dist/Card/properties.d.ts +7 -0
- package/dist/Dialog/Dialog.svelte +186 -0
- package/dist/Dialog/Dialog.svelte.d.ts +4 -0
- package/dist/Dialog/properties.d.ts +23 -0
- package/dist/Dialog/properties.js +1 -0
- package/dist/DockPanel/DockPanel.svelte.d.ts +1 -1
- package/dist/EmptyState/EmptyState.svelte +58 -33
- package/dist/EmptyState/properties.d.ts +4 -0
- package/dist/FileInput/FileInput.svelte +130 -31
- package/dist/FileInput/FileInput.svelte.d.ts +1 -1
- package/dist/FileInput/properties.d.ts +9 -0
- package/dist/Icon/Icon.svelte +99 -21
- package/dist/Icon/properties.d.ts +8 -0
- package/dist/IframeViewer/IframeViewer.svelte +29 -5
- package/dist/IframeViewer/IframeViewer.svelte.d.ts +1 -1
- package/dist/IframeViewer/properties.d.ts +9 -0
- package/dist/Img/Img.svelte +31 -11
- package/dist/Img/Img.svelte.d.ts +1 -1
- package/dist/Img/properties.d.ts +13 -0
- package/dist/Input/Input.svelte +260 -170
- package/dist/Input/Input.svelte.d.ts +1 -1
- package/dist/Input/properties.d.ts +10 -0
- package/dist/Link/Link.svelte +33 -0
- package/dist/Link/Link.svelte.d.ts +4 -0
- package/dist/Link/properties.d.ts +14 -0
- package/dist/Link/properties.js +1 -0
- package/dist/Loader/Loader.svelte +50 -5
- package/dist/Loader/properties.d.ts +4 -0
- package/dist/MediaPlayer/MediaPlayer.svelte +223 -161
- package/dist/MediaPlayer/MediaPlayer.svelte.d.ts +1 -1
- package/dist/MediaPlayer/properties.d.ts +13 -0
- package/dist/Modal/Modal.svelte +52 -3
- package/dist/Modal/properties.d.ts +11 -0
- package/dist/NativeFileInput/NativeFileInput.svelte +52 -0
- package/dist/NativeFileInput/NativeFileInput.svelte.d.ts +6 -0
- package/dist/NativeFileInput/properties.d.ts +6 -0
- package/dist/NativeFileInput/properties.js +1 -0
- package/dist/Pill/Pill.svelte +7 -3
- package/dist/Pill/properties.d.ts +4 -0
- package/dist/Progress/Progress.svelte +46 -7
- package/dist/Progress/properties.d.ts +4 -0
- package/dist/Resizable/Resizable.svelte.d.ts +1 -1
- package/dist/Select/Select.svelte +535 -354
- package/dist/Select/Select.svelte.d.ts +1 -1
- package/dist/Select/dropdownPosition.d.ts +2 -0
- package/dist/Select/dropdownPosition.js +3 -2
- package/dist/Select/properties.d.ts +11 -0
- package/dist/ThemeSwitcher/ThemeSwitcher.svelte +5 -0
- package/dist/_chart/ChartContainer.svelte.d.ts +1 -1
- package/dist/_field/form-reset.d.ts +2 -0
- package/dist/_field/form-reset.js +34 -0
- package/dist/_interaction/dismissal.d.ts +2 -0
- package/dist/_interaction/dismissal.js +7 -1
- package/dist/_interaction/focus.d.ts +1 -1
- package/dist/_interaction/focus.js +66 -3
- package/dist/index.d.ts +6 -0
- package/dist/index.js +3 -0
- package/dist/styles/theme-dark.css +4 -0
- package/dist-codemod/codemod/migration-assets/legacy-display.css +5 -2
- package/dist-codemod/codemod/migration-assets/legacy-palette.css +4 -1
- package/dist-codemod/codemod/migration-assets/wc-display.json +15 -0
- package/dist-wc/index.js +5301 -3252
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SelectProperties } from './properties';
|
|
2
|
-
declare const Select: import("svelte").Component<SelectProperties, {}, "value" | "open">;
|
|
2
|
+
declare const Select: import("svelte").Component<SelectProperties, {}, "value" | "open" | "element">;
|
|
3
3
|
type Select = ReturnType<typeof Select>;
|
|
4
4
|
export default Select;
|
|
@@ -43,6 +43,8 @@ export declare function computeSelectDropdownPosition(opts: {
|
|
|
43
43
|
dropdown: Size;
|
|
44
44
|
viewport: Size;
|
|
45
45
|
align: 'left' | 'right';
|
|
46
|
+
/** Set false when public CSS width tokens size the portaled panel. */
|
|
47
|
+
matchTriggerWidth?: boolean;
|
|
46
48
|
vertical?: SelectVerticalPlacement;
|
|
47
49
|
gap: number;
|
|
48
50
|
margin?: number;
|
|
@@ -12,8 +12,9 @@ export function computeSelectDropdownPosition(opts) {
|
|
|
12
12
|
const vertical = opts.vertical ?? 'auto';
|
|
13
13
|
const { trigger, dropdown, viewport, align, gap } = opts;
|
|
14
14
|
const minWidth = trigger.width;
|
|
15
|
-
const
|
|
16
|
-
const
|
|
15
|
+
const matchTriggerWidth = opts.matchTriggerWidth !== false;
|
|
16
|
+
const width = align === 'left' && matchTriggerWidth ? trigger.width : null;
|
|
17
|
+
const effectiveWidth = Math.max(align === 'right' || !matchTriggerWidth ? dropdown.width : trigger.width, trigger.width);
|
|
17
18
|
let left = align === 'right' ? trigger.right - effectiveWidth : trigger.left;
|
|
18
19
|
if (Number.isFinite(viewport.width)) {
|
|
19
20
|
const maxLeft = viewport.width - effectiveWidth - margin;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
|
+
import type { HTMLSelectAttributes } from 'svelte/elements';
|
|
2
3
|
/**
|
|
3
4
|
* Corner the dropdown anchors to. Mirrors `MenuPlacement` so the two components
|
|
4
5
|
* that open a panel from a trigger describe placement the same way.
|
|
@@ -8,6 +9,8 @@ export type SelectProperties = MandatorySelectProperties & OptionalSelectPropert
|
|
|
8
9
|
export type SelectItem = {
|
|
9
10
|
id: string;
|
|
10
11
|
label: string;
|
|
12
|
+
/** Compact visual label; full label remains in options/search and accessible text. */
|
|
13
|
+
displayLabel?: string;
|
|
11
14
|
/** Optional per-option test id, emitted as `data-pw` on the option element. */
|
|
12
15
|
testId?: string;
|
|
13
16
|
/**
|
|
@@ -35,6 +38,14 @@ export type SelectHierarchy = 'default' | 'ghost';
|
|
|
35
38
|
/** Placement of the `searchable` filter input. See `searchPosition`. */
|
|
36
39
|
export type SelectSearchPosition = 'trigger' | 'menu';
|
|
37
40
|
export type OptionalSelectProperties = {
|
|
41
|
+
/** Native select rendering for browser form validation and mobile pickers. */
|
|
42
|
+
native?: boolean;
|
|
43
|
+
/** Native option/optgroup content for Svelte consumers. */
|
|
44
|
+
children?: Snippet;
|
|
45
|
+
required?: boolean;
|
|
46
|
+
id?: string;
|
|
47
|
+
element?: HTMLSelectElement | null;
|
|
48
|
+
nativeAttrs?: Omit<HTMLSelectAttributes, 'value' | 'class' | 'onchange' | 'multiple' | 'required' | 'disabled'>;
|
|
38
49
|
value?: string[];
|
|
39
50
|
multiple?: boolean;
|
|
40
51
|
searchable?: boolean;
|
|
@@ -144,6 +144,7 @@
|
|
|
144
144
|
<button
|
|
145
145
|
bind:this={segmentButtons[i]}
|
|
146
146
|
class="segment-button"
|
|
147
|
+
data-mode={option.value}
|
|
147
148
|
class:selected={currentValue === option.value}
|
|
148
149
|
onclick={() => applyValue(option.value)}
|
|
149
150
|
aria-label={option.label ?? option.value}
|
|
@@ -233,6 +234,7 @@
|
|
|
233
234
|
}
|
|
234
235
|
|
|
235
236
|
.segment-indicator {
|
|
237
|
+
display: var(--theme-switcher-segment-indicator-display, block);
|
|
236
238
|
position: absolute;
|
|
237
239
|
top: var(--theme-switcher-segment-padding, 4px);
|
|
238
240
|
bottom: var(--theme-switcher-segment-padding, 4px);
|
|
@@ -248,6 +250,8 @@
|
|
|
248
250
|
}
|
|
249
251
|
|
|
250
252
|
.segment-button {
|
|
253
|
+
width: var(--theme-switcher-segment-button-width, auto);
|
|
254
|
+
height: var(--theme-switcher-segment-button-height, auto);
|
|
251
255
|
position: relative;
|
|
252
256
|
z-index: 1;
|
|
253
257
|
display: inline-flex;
|
|
@@ -265,6 +269,7 @@
|
|
|
265
269
|
}
|
|
266
270
|
|
|
267
271
|
.segment-button.selected {
|
|
272
|
+
background: var(--theme-switcher-segment-selected-background, transparent);
|
|
268
273
|
color: var(--theme-switcher-icon-color-active, #1f2937);
|
|
269
274
|
}
|
|
270
275
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ChartContainerProperties } from './types';
|
|
2
|
-
declare const ChartContainer: import("svelte").Component<ChartContainerProperties, {}, "
|
|
2
|
+
declare const ChartContainer: import("svelte").Component<ChartContainerProperties, {}, "height" | "width">;
|
|
3
3
|
type ChartContainer = ReturnType<typeof ChartContainer>;
|
|
4
4
|
export default ChartContainer;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/** Observe native reset in the control's own tree, including shadow-root forms. */
|
|
2
|
+
export function watchFormReset(control, callback, getForm = () => control.form) {
|
|
3
|
+
const roots = new Set();
|
|
4
|
+
let alive = true;
|
|
5
|
+
const reset = (event) => {
|
|
6
|
+
if (event.target === getForm()) {
|
|
7
|
+
callback(event);
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
const observe = (root) => {
|
|
11
|
+
if (!roots.has(root)) {
|
|
12
|
+
roots.add(root);
|
|
13
|
+
root.addEventListener('reset', reset, true);
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
observe(control.ownerDocument);
|
|
17
|
+
const observeShadowRoot = () => {
|
|
18
|
+
if (!alive) {
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
const root = control.getRootNode();
|
|
22
|
+
if (root instanceof ShadowRoot) {
|
|
23
|
+
observe(root);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
observeShadowRoot();
|
|
27
|
+
// Snippet bindings can attach before their fragment enters its final tree.
|
|
28
|
+
queueMicrotask(observeShadowRoot);
|
|
29
|
+
return () => {
|
|
30
|
+
alive = false;
|
|
31
|
+
roots.forEach((root) => root.removeEventListener('reset', reset, true));
|
|
32
|
+
roots.clear();
|
|
33
|
+
};
|
|
34
|
+
}
|
|
@@ -65,3 +65,5 @@ export declare function eventHitsInside(container: Node | null, event: Event): b
|
|
|
65
65
|
* matches inside the shadow tree and outside it in one pass.
|
|
66
66
|
*/
|
|
67
67
|
export declare function closestInEventPath(event: Event, selector: string): Element | null;
|
|
68
|
+
/** Focus containment yields to a later registered popup or dialog. */
|
|
69
|
+
export declare const isTopmostDismissible: (node: Node | null) => boolean;
|
|
@@ -36,7 +36,11 @@ function handleKeydown(event) {
|
|
|
36
36
|
if (event.key !== 'Escape' || event.isComposing || event.keyCode === 229) {
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
|
-
topmost()
|
|
39
|
+
const layer = topmost();
|
|
40
|
+
if (layer?.onEscape) {
|
|
41
|
+
event.preventDefault();
|
|
42
|
+
layer.onEscape();
|
|
43
|
+
}
|
|
40
44
|
}
|
|
41
45
|
function handlePointerdown(event) {
|
|
42
46
|
const layer = topmost();
|
|
@@ -135,3 +139,5 @@ export function closestInEventPath(event, selector) {
|
|
|
135
139
|
}
|
|
136
140
|
return null;
|
|
137
141
|
}
|
|
142
|
+
/** Focus containment yields to a later registered popup or dialog. */
|
|
143
|
+
export const isTopmostDismissible = (node) => node !== null && topmost()?.element() === node;
|
|
@@ -60,7 +60,7 @@ export declare function focusTrapTabTarget(params: {
|
|
|
60
60
|
* must carry tabindex="-1" for that fallback to actually take focus). A no-op
|
|
61
61
|
* when the container is null.
|
|
62
62
|
*/
|
|
63
|
-
export declare function focusEntryPoint(container: HTMLElement | null): void;
|
|
63
|
+
export declare function focusEntryPoint(container: HTMLElement | null, preferAutofocus?: boolean): void;
|
|
64
64
|
/**
|
|
65
65
|
* The element that really has focus, whether `node` sits in the light DOM or
|
|
66
66
|
* inside a custom element's open shadow root.
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
* algorithm) into a contract this library would then have to keep working
|
|
28
28
|
* forever, for consumers who were never meant to reach it directly.
|
|
29
29
|
*/
|
|
30
|
-
const FOCUSABLE_SELECTOR = 'a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex="-1"])';
|
|
30
|
+
const FOCUSABLE_SELECTOR = 'a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), summary, [tabindex]:not([tabindex="-1"])';
|
|
31
31
|
/**
|
|
32
32
|
* True when `el` can actually take focus. `FOCUSABLE_SELECTOR` alone matches
|
|
33
33
|
* candidates that pass its tag/attribute shape but still cannot receive
|
|
@@ -66,9 +66,60 @@ function canReceiveFocus(el) {
|
|
|
66
66
|
if (el.getAttribute('aria-disabled') === 'true') {
|
|
67
67
|
return false;
|
|
68
68
|
}
|
|
69
|
+
if ((typeof el.matches === 'function' && el.matches(':disabled')) ||
|
|
70
|
+
(el.hasAttribute('tabindex') && el.tabIndex < 0)) {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
if (el.localName === 'input' && el.getAttribute('type')?.toLowerCase() === 'hidden') {
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
const style = el.ownerDocument?.defaultView?.getComputedStyle(el);
|
|
77
|
+
if (style?.visibility === 'hidden' || style?.visibility === 'collapse') {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
69
80
|
return el.closest('[inert]') === null;
|
|
70
81
|
}
|
|
71
82
|
function collectFocusableCandidates(container) {
|
|
83
|
+
// The composed tree owns keyboard order: slotted controls and controls in
|
|
84
|
+
// nested open shadow roots are absent from a light-DOM querySelectorAll.
|
|
85
|
+
// Keep the query-only path for non-DOM callers used by the pure boundary tests.
|
|
86
|
+
const elementChildren = container.children;
|
|
87
|
+
if (elementChildren) {
|
|
88
|
+
const candidates = [];
|
|
89
|
+
const visit = (element) => {
|
|
90
|
+
if (element.hasAttribute('hidden') || element.hasAttribute('inert')) {
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
if (element.ownerDocument?.defaultView?.getComputedStyle(element).display === 'none') {
|
|
94
|
+
return;
|
|
95
|
+
}
|
|
96
|
+
if (element instanceof HTMLDialogElement && !element.open) {
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
if (element instanceof HTMLElement &&
|
|
100
|
+
element.matches(FOCUSABLE_SELECTOR) &&
|
|
101
|
+
canReceiveFocus(element)) {
|
|
102
|
+
candidates.push(element);
|
|
103
|
+
}
|
|
104
|
+
if (element instanceof HTMLDetailsElement && !element.open) {
|
|
105
|
+
const summary = element.querySelector(':scope > summary');
|
|
106
|
+
if (summary) {
|
|
107
|
+
visit(summary);
|
|
108
|
+
}
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
const children = element instanceof HTMLSlotElement
|
|
112
|
+
? element.assignedElements({ flatten: true }).length > 0
|
|
113
|
+
? element.assignedElements({ flatten: true })
|
|
114
|
+
: Array.from(element.children)
|
|
115
|
+
: element.shadowRoot
|
|
116
|
+
? Array.from(element.shadowRoot.children)
|
|
117
|
+
: Array.from(element.children);
|
|
118
|
+
children.forEach(visit);
|
|
119
|
+
};
|
|
120
|
+
Array.from(elementChildren).forEach(visit);
|
|
121
|
+
return candidates;
|
|
122
|
+
}
|
|
72
123
|
const matches = container.querySelectorAll(FOCUSABLE_SELECTOR);
|
|
73
124
|
const candidates = [];
|
|
74
125
|
for (let index = 0; index < matches.length; index += 1) {
|
|
@@ -130,10 +181,17 @@ export function focusTrapTabTarget(params) {
|
|
|
130
181
|
* must carry tabindex="-1" for that fallback to actually take focus). A no-op
|
|
131
182
|
* when the container is null.
|
|
132
183
|
*/
|
|
133
|
-
export function focusEntryPoint(container) {
|
|
184
|
+
export function focusEntryPoint(container, preferAutofocus = false) {
|
|
134
185
|
if (container === null) {
|
|
135
186
|
return;
|
|
136
187
|
}
|
|
188
|
+
if (preferAutofocus) {
|
|
189
|
+
const candidates = collectFocusableCandidates(container);
|
|
190
|
+
(candidates.find((element) => element.hasAttribute('autofocus')) ??
|
|
191
|
+
candidates[0] ??
|
|
192
|
+
container).focus();
|
|
193
|
+
return;
|
|
194
|
+
}
|
|
137
195
|
const { first } = getFocusTrapBoundary(container);
|
|
138
196
|
(first ?? container).focus();
|
|
139
197
|
}
|
|
@@ -152,5 +210,10 @@ export function getActiveElement(node) {
|
|
|
152
210
|
return null;
|
|
153
211
|
}
|
|
154
212
|
const root = node.getRootNode();
|
|
155
|
-
|
|
213
|
+
let active = root instanceof Document || root instanceof ShadowRoot ? root.activeElement : null;
|
|
214
|
+
active ??= node.ownerDocument?.activeElement ?? null;
|
|
215
|
+
while (active?.shadowRoot?.activeElement) {
|
|
216
|
+
active = active.shadowRoot.activeElement;
|
|
217
|
+
}
|
|
218
|
+
return active;
|
|
156
219
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export { default as Link } from './Link/Link.svelte';
|
|
2
|
+
export type { LinkProperties } from './Link/properties';
|
|
3
|
+
export { default as Dialog } from './Dialog/Dialog.svelte';
|
|
4
|
+
export type { DialogProperties } from './Dialog/properties';
|
|
1
5
|
export { default as ArmedButton } from './ArmedButton/ArmedButton.svelte';
|
|
2
6
|
export { default as Modal } from './Modal/Modal.svelte';
|
|
3
7
|
export { default as DockPanel } from './DockPanel/DockPanel.svelte';
|
|
@@ -235,3 +239,5 @@ export { TEL_PRESETS, TEL_PRESET_IN_MOBILE } from './utils';
|
|
|
235
239
|
export type { TelPreset, ValidateInputOptions } from './utils';
|
|
236
240
|
export { formatNumberIndian } from './_chart/format';
|
|
237
241
|
export { createNarrationHighlighter } from './_chart/narrationHighlighter';
|
|
242
|
+
export { default as NativeFileInput } from './NativeFileInput/NativeFileInput.svelte';
|
|
243
|
+
export type * from './NativeFileInput/properties';
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export { default as Link } from './Link/Link.svelte';
|
|
2
|
+
export { default as Dialog } from './Dialog/Dialog.svelte';
|
|
1
3
|
export { default as ArmedButton } from './ArmedButton/ArmedButton.svelte';
|
|
2
4
|
export { default as Modal } from './Modal/Modal.svelte';
|
|
3
5
|
export { default as DockPanel } from './DockPanel/DockPanel.svelte';
|
|
@@ -135,3 +137,4 @@ export { reducedMotion } from './reduced-motion.svelte';
|
|
|
135
137
|
export { TEL_PRESETS, TEL_PRESET_IN_MOBILE } from './utils';
|
|
136
138
|
export { formatNumberIndian } from './_chart/format';
|
|
137
139
|
export { createNarrationHighlighter } from './_chart/narrationHighlighter';
|
|
140
|
+
export { default as NativeFileInput } from './NativeFileInput/NativeFileInput.svelte';
|
|
@@ -487,6 +487,10 @@
|
|
|
487
487
|
--book-nav-color: #9ca3af;
|
|
488
488
|
|
|
489
489
|
/* BrandLoader */
|
|
490
|
+
--loader-active-color: #a5b4fc;
|
|
491
|
+
--loader-track-color: #374151;
|
|
492
|
+
--loader-orbit-primary: #a5b4fc;
|
|
493
|
+
--loader-orbit-secondary: #374151;
|
|
490
494
|
--loader-dot-color: #9ca3af;
|
|
491
495
|
--loader-sub-text-color: #b8bcc4;
|
|
492
496
|
--loader-text-color: #d1d5db;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
* stylesheet is a crutch for the migration window, not a permanent override.
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
|
-
/* components whose new default is `block` (
|
|
20
|
+
/* components whose new default is `block` (91) */
|
|
21
21
|
sui-accordion { --sui-accordion-display: inline; }
|
|
22
22
|
sui-area-chart { --sui-area-chart-display: inline; }
|
|
23
23
|
sui-aspect-ratio { --sui-aspect-ratio-display: inline; }
|
|
@@ -47,6 +47,7 @@ sui-color-picker { --sui-color-picker-display: inline; }
|
|
|
47
47
|
sui-combobox { --sui-combobox-display: inline; }
|
|
48
48
|
sui-command-menu { --sui-command-menu-display: inline; }
|
|
49
49
|
sui-context-menu { --sui-context-menu-display: inline; }
|
|
50
|
+
sui-dialog { --sui-dialog-display: inline; }
|
|
50
51
|
sui-dock-panel { --sui-dock-panel-display: inline; }
|
|
51
52
|
sui-draggable { --sui-draggable-display: inline; }
|
|
52
53
|
sui-dual-axis-bar-chart { --sui-dual-axis-bar-chart-display: inline; }
|
|
@@ -73,6 +74,7 @@ sui-media-player { --sui-media-player-display: inline; }
|
|
|
73
74
|
sui-media-upload { --sui-media-upload-display: inline; }
|
|
74
75
|
sui-menu { --sui-menu-display: inline; }
|
|
75
76
|
sui-modal { --sui-modal-display: inline; }
|
|
77
|
+
sui-native-file-input { --sui-native-file-input-display: inline; }
|
|
76
78
|
sui-pagination { --sui-pagination-display: inline; }
|
|
77
79
|
sui-phone { --sui-phone-display: inline; }
|
|
78
80
|
sui-pie-chart { --sui-pie-chart-display: inline; }
|
|
@@ -108,7 +110,7 @@ sui-tooltip { --sui-tooltip-display: inline; }
|
|
|
108
110
|
sui-typewriter-text { --sui-typewriter-text-display: inline; }
|
|
109
111
|
sui-voice-orb { --sui-voice-orb-display: inline; }
|
|
110
112
|
|
|
111
|
-
/* components whose new default is `inline-block` (
|
|
113
|
+
/* components whose new default is `inline-block` (13) */
|
|
112
114
|
sui-animated-number { --sui-animated-number-display: inline; }
|
|
113
115
|
sui-avatar { --sui-avatar-display: inline; }
|
|
114
116
|
sui-chat-suggestions { --sui-chat-suggestions-display: inline; }
|
|
@@ -118,6 +120,7 @@ sui-delta-indicator { --sui-delta-indicator-display: inline; }
|
|
|
118
120
|
sui-img { --sui-img-display: inline; }
|
|
119
121
|
sui-keyboard-input { --sui-keyboard-input-display: inline; }
|
|
120
122
|
sui-label { --sui-label-display: inline; }
|
|
123
|
+
sui-link { --sui-link-display: inline; }
|
|
121
124
|
sui-loading-dots { --sui-loading-dots-display: inline; }
|
|
122
125
|
sui-radio { --sui-radio-display: inline; }
|
|
123
126
|
sui-theme-switcher { --sui-theme-switcher-display: inline; }
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* one property at a time, not to be a permanent fixture in a consumer
|
|
13
13
|
* build.
|
|
14
14
|
*
|
|
15
|
-
* 62 properties pinned below.
|
|
15
|
+
* 62 properties pinned below. 12 more could not be -- see the note at the end.
|
|
16
16
|
*
|
|
17
17
|
* Generated by scripts/migrate/legacy-palette.ts -- do not hand edit.
|
|
18
18
|
*/
|
|
@@ -107,6 +107,9 @@
|
|
|
107
107
|
* site. Review the sites below by hand if your snapshots depend on them.
|
|
108
108
|
*/
|
|
109
109
|
/* --chart-empty-color: light-dark(#9ca3af, #6b7280) (src/lib/AreaChart/AreaChart.svelte:600), #9ca3af (src/lib/PieChart/PieChart.svelte:505) */
|
|
110
|
+
/* --loader-height: 100vh (src/lib/BrandLoader/BrandLoader.svelte:42), 20px (src/lib/Loader/Loader.svelte:18) */
|
|
111
|
+
/* --loader-width: 100vw (src/lib/BrandLoader/BrandLoader.svelte:43), 20px (src/lib/Loader/Loader.svelte:17) */
|
|
112
|
+
/* --select-dropdown-min-width: auto (src/lib/Select/Select.svelte:1191), 100% (src/lib/Select/Select.svelte:1242) */
|
|
110
113
|
/* --status-description-font-color: #2f3841 (src/lib/Status/Status.svelte:95), #436484cc (src/lib/Status/Status.svelte:100) */
|
|
111
114
|
/* --step-text-failure-color: #e53935 (src/lib/Stepper/Step.svelte:159), #ef5350 (src/lib/Stepper/Stepper.svelte:182) */
|
|
112
115
|
/* --step-text-in-progress-color: #f59e0b (src/lib/Stepper/Step.svelte:168), #fbbf24 (src/lib/Stepper/Stepper.svelte:194) */
|
|
@@ -174,6 +174,11 @@
|
|
|
174
174
|
"property": "--sui-delta-indicator-display",
|
|
175
175
|
"default": "inline-block"
|
|
176
176
|
},
|
|
177
|
+
{
|
|
178
|
+
"tag": "sui-dialog",
|
|
179
|
+
"property": "--sui-dialog-display",
|
|
180
|
+
"default": "block"
|
|
181
|
+
},
|
|
177
182
|
{
|
|
178
183
|
"tag": "sui-dock-panel",
|
|
179
184
|
"property": "--sui-dock-panel-display",
|
|
@@ -279,6 +284,11 @@
|
|
|
279
284
|
"property": "--sui-line-chart-display",
|
|
280
285
|
"default": "block"
|
|
281
286
|
},
|
|
287
|
+
{
|
|
288
|
+
"tag": "sui-link",
|
|
289
|
+
"property": "--sui-link-display",
|
|
290
|
+
"default": "inline-block"
|
|
291
|
+
},
|
|
282
292
|
{
|
|
283
293
|
"tag": "sui-list-item",
|
|
284
294
|
"property": "--sui-list-item-display",
|
|
@@ -324,6 +334,11 @@
|
|
|
324
334
|
"property": "--sui-modal-display",
|
|
325
335
|
"default": "block"
|
|
326
336
|
},
|
|
337
|
+
{
|
|
338
|
+
"tag": "sui-native-file-input",
|
|
339
|
+
"property": "--sui-native-file-input-display",
|
|
340
|
+
"default": "block"
|
|
341
|
+
},
|
|
327
342
|
{
|
|
328
343
|
"tag": "sui-pagination",
|
|
329
344
|
"property": "--sui-pagination-display",
|