@swiftwc/ui 0.0.0-dev.115 → 0.0.0-dev.117
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/generated/client/index.js +2 -2
- package/generated/components/content-unavailable.d.ts +1 -1
- package/generated/components/content-unavailable.js +1 -1
- package/generated/components/labeled-content.d.ts +1 -1
- package/generated/components/labeled-content.js +1 -1
- package/generated/components/menu-view.d.ts +1 -1
- package/generated/components/menu-view.js +1 -1
- package/generated/components/picker-view.d.ts +1 -1
- package/generated/components/picker-view.js +1 -1
- package/generated/components/progress-view.d.ts +1 -1
- package/generated/components/progress-view.js +1 -1
- package/generated/components/scroll-view.d.ts +1 -1
- package/generated/components/scroll-view.js +1 -1
- package/generated/components/section-view.d.ts +1 -1
- package/generated/components/section-view.js +1 -1
- package/generated/components/tab-view.js +6 -1
- package/generated/components/table-view.d.ts +1 -1
- package/generated/components/table-view.js +1 -1
- package/generated/css/index.css +114 -112
- package/generated/internal/utils/debug.js +2 -2
- package/html-data/en.json +8 -8
- package/package.json +4 -6
- package/scss/_vars.scss +1 -0
- package/scss/base/_layout.scss +1 -1
- package/scss/base/_reboot.scss +4 -2
- package/scss/base/_root.scss +1 -1
- package/scss/colors/_index.scss +1 -1
- package/scss/components/_alert-dialog.scss +3 -3
- package/scss/components/_bordered-button.scss +2 -2
- package/scss/components/_bordered-prominent-button.scss +3 -3
- package/scss/components/_borderless-button.scss +2 -2
- package/scss/components/_confirmation-dialog.scss +1 -1
- package/scss/components/_content-unavailable.scss +1 -1
- package/scss/components/_content-view.scss +1 -1
- package/scss/components/_date-picker.scss +1 -1
- package/scss/components/_detail-placeholder.scss +1 -1
- package/scss/components/_disclosure-group.scss +2 -2
- package/scss/components/_fine-tooltip.scss +1 -1
- package/scss/components/_form-view.scss +1 -1
- package/scss/components/_full-screen.scss +1 -1
- package/scss/components/_glass-button.scss +2 -2
- package/scss/components/_glass-prominent-button.scss +3 -3
- package/scss/components/_group-box.scss +1 -1
- package/scss/components/_h-divider.scss +1 -1
- package/scss/components/_h-flex-stack.scss +1 -1
- package/scss/components/_h-stack.scss +1 -1
- package/scss/components/_image-view.scss +1 -1
- package/scss/components/_index.scss +3 -3
- package/scss/components/_label-view.scss +1 -1
- package/scss/components/_labeled-content.scss +1 -1
- package/scss/components/_list-view.scss +1 -1
- package/scss/components/_menu-view.scss +3 -3
- package/scss/components/_navigation-large-title.scss +1 -1
- package/scss/components/_navigation-split-view.scss +2 -2
- package/scss/components/_navigation-stack.scss +1 -1
- package/scss/components/_navigation-title.scss +1 -1
- package/scss/components/_picker-view.scss +2 -2
- package/scss/components/_plain-button.scss +2 -2
- package/scss/components/_progress-view.scss +1 -1
- package/scss/components/_scroll-view-proxy.scss +1 -1
- package/scss/components/_scroll-view-toolbars.scss +1 -1
- package/scss/components/_scroll-view.scss +1 -1
- package/scss/components/_search-view.scss +1 -1
- package/scss/components/_section-view.scss +1 -1
- package/scss/components/_sheet-view.scss +1 -1
- package/scss/components/_sidebar-toggle.scss +1 -1
- package/scss/components/_sidebar-view.scss +2 -2
- package/scss/components/_sticky-container.scss +1 -1
- package/scss/components/_tab-bar.scss +1 -1
- package/scss/components/_tab-item.scss +1 -1
- package/scss/components/_tab-view.scss +2 -2
- package/scss/components/_table-column.scss +1 -1
- package/scss/components/_table-row.scss +1 -1
- package/scss/components/_table-view.scss +1 -1
- package/scss/components/_text-field.scss +1 -1
- package/scss/components/_text-view.scss +1 -1
- package/scss/components/_toggle-view.scss +1 -1
- package/scss/components/_tool-bar-item-group.scss +1 -1
- package/scss/components/_tool-bar-item.scss +2 -2
- package/scss/components/_tool-bar.scss +2 -2
- package/scss/components/_v-divider.scss +1 -1
- package/scss/components/_v-flex-stack.scss +1 -1
- package/scss/components/_v-keyboard.scss +1 -1
- package/scss/components/_v-stack.scss +1 -1
- package/scss/final/_touch-glass.scss +1 -1
- package/scss/placeholders/_buttons.scss +5 -5
- package/scss/placeholders/_lists.scss +3 -3
- package/scss/transitions/_alert-dialog.scss +1 -1
- package/scss/transitions/_bwd.navbar.scss +1 -1
- package/scss/transitions/_bwd.scss +1 -1
- package/scss/transitions/_confirmation-dialog.scss +1 -1
- package/scss/transitions/_disclosure-group.scss +1 -1
- package/scss/transitions/_fine-tooltip.scss +1 -1
- package/scss/transitions/_fwd.navbar.scss +1 -1
- package/scss/transitions/_fwd.scss +1 -1
- package/scss/transitions/_glass-button.scss +1 -1
- package/scss/transitions/_glass-prominent-button.scss +1 -1
- package/scss/transitions/_index.scss +1 -1
- package/scss/transitions/_menu-view.scss +1 -1
- package/scss/transitions/_navigation-split-view.scss +1 -1
- package/scss/transitions/_progress-view.scss +1 -1
- package/scss/transitions/_sheet-view.scss +1 -1
- package/scss/transitions/_sidebar-view.scss +1 -1
- package/scss/transitions/_tab-bar.scss +1 -1
- package/scss/utils/_background.scss +1 -1
- package/scss/utils/_frame.scss +2 -2
- package/scss/utils/_index.scss +1 -1
- package/scss/utils/_spacing.scss +1 -1
- package/scss/utils/_stacks.scss +2 -2
- /package/generated/internal/{flags.d.ts → dev-flags.d.ts} +0 -0
- /package/generated/internal/{flags.js → dev-flags.js} +0 -0
|
@@ -2,12 +2,12 @@ import { alertDialog, confirmationDialog as confirmationDialogBus, lifecycleObse
|
|
|
2
2
|
import * as Components from '../components';
|
|
3
3
|
import { I18n } from '../i18n';
|
|
4
4
|
import { NavigationPath } from '../internal/class/navigation-path';
|
|
5
|
-
import
|
|
5
|
+
import devFlags from '../internal/dev-flags';
|
|
6
6
|
import { queryInsertPosition, startViewTransition } from '../internal/privateNamespace';
|
|
7
7
|
import { $, debug, kebabCase, onoff } from '../internal/utils';
|
|
8
8
|
import { Snapshot } from '../snapshot';
|
|
9
9
|
import { html, render } from '../tpl';
|
|
10
|
-
debug(
|
|
10
|
+
debug(devFlags);
|
|
11
11
|
//#region polyfills
|
|
12
12
|
export const polyfills = new Map();
|
|
13
13
|
for (const [k, Ctor] of Object.entries(Components)) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @example <content-unavailable padding><label-view title="No Mail"><svg slot="icon" foreground="secondary" ...>...</svg></label-view><label-view title="New mails you receive will appear here." foreground="secondary" slot="description"></label-view><button is="borderless-button" type="button" tabindex="0" slot="actions"><label-view title="Switch Account"></label-view></button></content-unavailable>
|
|
11
11
|
*
|
|
12
|
-
* @slot — The default slot
|
|
12
|
+
* @slot — The default slot
|
|
13
13
|
* @slot description
|
|
14
14
|
* @slot actions
|
|
15
15
|
*
|
|
@@ -13,7 +13,7 @@ import { html } from '../tpl';
|
|
|
13
13
|
*
|
|
14
14
|
* @example <content-unavailable padding><label-view title="No Mail"><svg slot="icon" foreground="secondary" ...>...</svg></label-view><label-view title="New mails you receive will appear here." foreground="secondary" slot="description"></label-view><button is="borderless-button" type="button" tabindex="0" slot="actions"><label-view title="Switch Account"></label-view></button></content-unavailable>
|
|
15
15
|
*
|
|
16
|
-
* @slot — The default slot
|
|
16
|
+
* @slot — The default slot
|
|
17
17
|
* @slot description
|
|
18
18
|
* @slot actions
|
|
19
19
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @example <labeled-content value="Content"><label-view slot="label" title="Custom Value"></label-view><label-view slot="label" title="Custom Subtitle Value"></label-view></labeled-content> — Creates a labeled element that displays a custom label and a custom subtitle to the label
|
|
9
9
|
*
|
|
10
|
-
* @slot — The default slot
|
|
10
|
+
* @slot — The default slot
|
|
11
11
|
* @slot label — Use the `slot="label"` attribute to place childen in the label block.
|
|
12
12
|
* @slot header
|
|
13
13
|
* @slot footer
|
|
@@ -10,7 +10,7 @@ import { html } from '../tpl';
|
|
|
10
10
|
*
|
|
11
11
|
* @example <labeled-content value="Content"><label-view slot="label" title="Custom Value"></label-view><label-view slot="label" title="Custom Subtitle Value"></label-view></labeled-content> — Creates a labeled element that displays a custom label and a custom subtitle to the label
|
|
12
12
|
*
|
|
13
|
-
* @slot — The default slot
|
|
13
|
+
* @slot — The default slot
|
|
14
14
|
* @slot label — Use the `slot="label"` attribute to place childen in the label block.
|
|
15
15
|
* @slot header
|
|
16
16
|
* @slot footer
|
|
@@ -9,7 +9,7 @@ const observers = new ResizeObserverSingleton();
|
|
|
9
9
|
/**
|
|
10
10
|
* @summary A view that scrolls its content when it doesn’t fit the screen.
|
|
11
11
|
*
|
|
12
|
-
* @slot — The default slot
|
|
12
|
+
* @slot — The default slot
|
|
13
13
|
* @slot top-bar-principal
|
|
14
14
|
* @slot bottom-bar-principal
|
|
15
15
|
*/
|
|
@@ -38,7 +38,12 @@ export class TabView extends HTMLElement {
|
|
|
38
38
|
return this.#cachedAdaptableTabBarPlacement;
|
|
39
39
|
}
|
|
40
40
|
get moreTab() {
|
|
41
|
-
|
|
41
|
+
try {
|
|
42
|
+
return this.querySelector(':scope>navigation-stack:has(> navigation-stack,> navigation-split-view)');
|
|
43
|
+
}
|
|
44
|
+
catch {
|
|
45
|
+
return this.querySelector(':scope>navigation-stack:has(> navigation-stack)') ?? this.querySelector(':scope>navigation-stack:has(> navigation-split-view)');
|
|
46
|
+
}
|
|
42
47
|
}
|
|
43
48
|
connectedCallback() {
|
|
44
49
|
debug(`${_a.name} ⚡️ connect`);
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @attr {title:trailing:subtitle|trailing:title:subtitle|title:subtitle:trailing|*} preferred-compact-template — Sets the template areas when the table is in compact mode
|
|
5
5
|
*
|
|
6
|
-
* @slot — The default slot
|
|
6
|
+
* @slot — The default slot
|
|
7
7
|
* @slot header-leading
|
|
8
8
|
* @slot header-principal
|
|
9
9
|
* @slot header-trailing
|
|
@@ -11,7 +11,7 @@ import { html } from '../tpl';
|
|
|
11
11
|
*
|
|
12
12
|
* @attr {title:trailing:subtitle|trailing:title:subtitle|title:subtitle:trailing|*} preferred-compact-template — Sets the template areas when the table is in compact mode
|
|
13
13
|
*
|
|
14
|
-
* @slot — The default slot
|
|
14
|
+
* @slot — The default slot
|
|
15
15
|
* @slot header-leading
|
|
16
16
|
* @slot header-principal
|
|
17
17
|
* @slot header-trailing
|