@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.
Files changed (111) hide show
  1. package/generated/client/index.js +2 -2
  2. package/generated/components/content-unavailable.d.ts +1 -1
  3. package/generated/components/content-unavailable.js +1 -1
  4. package/generated/components/labeled-content.d.ts +1 -1
  5. package/generated/components/labeled-content.js +1 -1
  6. package/generated/components/menu-view.d.ts +1 -1
  7. package/generated/components/menu-view.js +1 -1
  8. package/generated/components/picker-view.d.ts +1 -1
  9. package/generated/components/picker-view.js +1 -1
  10. package/generated/components/progress-view.d.ts +1 -1
  11. package/generated/components/progress-view.js +1 -1
  12. package/generated/components/scroll-view.d.ts +1 -1
  13. package/generated/components/scroll-view.js +1 -1
  14. package/generated/components/section-view.d.ts +1 -1
  15. package/generated/components/section-view.js +1 -1
  16. package/generated/components/tab-view.js +6 -1
  17. package/generated/components/table-view.d.ts +1 -1
  18. package/generated/components/table-view.js +1 -1
  19. package/generated/css/index.css +114 -112
  20. package/generated/internal/utils/debug.js +2 -2
  21. package/html-data/en.json +8 -8
  22. package/package.json +4 -6
  23. package/scss/_vars.scss +1 -0
  24. package/scss/base/_layout.scss +1 -1
  25. package/scss/base/_reboot.scss +4 -2
  26. package/scss/base/_root.scss +1 -1
  27. package/scss/colors/_index.scss +1 -1
  28. package/scss/components/_alert-dialog.scss +3 -3
  29. package/scss/components/_bordered-button.scss +2 -2
  30. package/scss/components/_bordered-prominent-button.scss +3 -3
  31. package/scss/components/_borderless-button.scss +2 -2
  32. package/scss/components/_confirmation-dialog.scss +1 -1
  33. package/scss/components/_content-unavailable.scss +1 -1
  34. package/scss/components/_content-view.scss +1 -1
  35. package/scss/components/_date-picker.scss +1 -1
  36. package/scss/components/_detail-placeholder.scss +1 -1
  37. package/scss/components/_disclosure-group.scss +2 -2
  38. package/scss/components/_fine-tooltip.scss +1 -1
  39. package/scss/components/_form-view.scss +1 -1
  40. package/scss/components/_full-screen.scss +1 -1
  41. package/scss/components/_glass-button.scss +2 -2
  42. package/scss/components/_glass-prominent-button.scss +3 -3
  43. package/scss/components/_group-box.scss +1 -1
  44. package/scss/components/_h-divider.scss +1 -1
  45. package/scss/components/_h-flex-stack.scss +1 -1
  46. package/scss/components/_h-stack.scss +1 -1
  47. package/scss/components/_image-view.scss +1 -1
  48. package/scss/components/_index.scss +3 -3
  49. package/scss/components/_label-view.scss +1 -1
  50. package/scss/components/_labeled-content.scss +1 -1
  51. package/scss/components/_list-view.scss +1 -1
  52. package/scss/components/_menu-view.scss +3 -3
  53. package/scss/components/_navigation-large-title.scss +1 -1
  54. package/scss/components/_navigation-split-view.scss +2 -2
  55. package/scss/components/_navigation-stack.scss +1 -1
  56. package/scss/components/_navigation-title.scss +1 -1
  57. package/scss/components/_picker-view.scss +2 -2
  58. package/scss/components/_plain-button.scss +2 -2
  59. package/scss/components/_progress-view.scss +1 -1
  60. package/scss/components/_scroll-view-proxy.scss +1 -1
  61. package/scss/components/_scroll-view-toolbars.scss +1 -1
  62. package/scss/components/_scroll-view.scss +1 -1
  63. package/scss/components/_search-view.scss +1 -1
  64. package/scss/components/_section-view.scss +1 -1
  65. package/scss/components/_sheet-view.scss +1 -1
  66. package/scss/components/_sidebar-toggle.scss +1 -1
  67. package/scss/components/_sidebar-view.scss +2 -2
  68. package/scss/components/_sticky-container.scss +1 -1
  69. package/scss/components/_tab-bar.scss +1 -1
  70. package/scss/components/_tab-item.scss +1 -1
  71. package/scss/components/_tab-view.scss +2 -2
  72. package/scss/components/_table-column.scss +1 -1
  73. package/scss/components/_table-row.scss +1 -1
  74. package/scss/components/_table-view.scss +1 -1
  75. package/scss/components/_text-field.scss +1 -1
  76. package/scss/components/_text-view.scss +1 -1
  77. package/scss/components/_toggle-view.scss +1 -1
  78. package/scss/components/_tool-bar-item-group.scss +1 -1
  79. package/scss/components/_tool-bar-item.scss +2 -2
  80. package/scss/components/_tool-bar.scss +2 -2
  81. package/scss/components/_v-divider.scss +1 -1
  82. package/scss/components/_v-flex-stack.scss +1 -1
  83. package/scss/components/_v-keyboard.scss +1 -1
  84. package/scss/components/_v-stack.scss +1 -1
  85. package/scss/final/_touch-glass.scss +1 -1
  86. package/scss/placeholders/_buttons.scss +5 -5
  87. package/scss/placeholders/_lists.scss +3 -3
  88. package/scss/transitions/_alert-dialog.scss +1 -1
  89. package/scss/transitions/_bwd.navbar.scss +1 -1
  90. package/scss/transitions/_bwd.scss +1 -1
  91. package/scss/transitions/_confirmation-dialog.scss +1 -1
  92. package/scss/transitions/_disclosure-group.scss +1 -1
  93. package/scss/transitions/_fine-tooltip.scss +1 -1
  94. package/scss/transitions/_fwd.navbar.scss +1 -1
  95. package/scss/transitions/_fwd.scss +1 -1
  96. package/scss/transitions/_glass-button.scss +1 -1
  97. package/scss/transitions/_glass-prominent-button.scss +1 -1
  98. package/scss/transitions/_index.scss +1 -1
  99. package/scss/transitions/_menu-view.scss +1 -1
  100. package/scss/transitions/_navigation-split-view.scss +1 -1
  101. package/scss/transitions/_progress-view.scss +1 -1
  102. package/scss/transitions/_sheet-view.scss +1 -1
  103. package/scss/transitions/_sidebar-view.scss +1 -1
  104. package/scss/transitions/_tab-bar.scss +1 -1
  105. package/scss/utils/_background.scss +1 -1
  106. package/scss/utils/_frame.scss +2 -2
  107. package/scss/utils/_index.scss +1 -1
  108. package/scss/utils/_spacing.scss +1 -1
  109. package/scss/utils/_stacks.scss +2 -2
  110. /package/generated/internal/{flags.d.ts → dev-flags.d.ts} +0 -0
  111. /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 flags from '../internal/flags';
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(flags);
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
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @summary A control that opens a menu of actions.
3
3
  *
4
- * @slot — The default slot.
4
+ * @slot — The default slot
5
5
  * @slot label
6
6
  */
7
7
  export declare class MenuView extends HTMLElement {
@@ -6,7 +6,7 @@ import { html } from '../tpl';
6
6
  /**
7
7
  * @summary A control that opens a menu of actions.
8
8
  *
9
- * @slot — The default slot.
9
+ * @slot — The default slot
10
10
  * @slot label
11
11
  */
12
12
  export class MenuView extends HTMLElement {
@@ -16,7 +16,7 @@ export type Dictionary = DictEntry[];
16
16
  *
17
17
  * @attr {boolean} horizontal-radio-group-layout
18
18
  *
19
- * @slot — The default slot.
19
+ * @slot — The default slot
20
20
  * @slot label
21
21
  * @slot list
22
22
  * @slot {HTMLOptionElement[]} validity-options
@@ -136,7 +136,7 @@ const flattenDictionary = (tree) => {
136
136
  *
137
137
  * @attr {boolean} horizontal-radio-group-layout
138
138
  *
139
- * @slot — The default slot.
139
+ * @slot — The default slot
140
140
  * @slot label
141
141
  * @slot list
142
142
  * @slot {HTMLOptionElement[]} validity-options
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @summary A view that shows how far along a task is.
3
3
  *
4
- * @slot — The default slot.
4
+ * @slot — The default slot
5
5
  * @slot current-value
6
6
  */
7
7
  export declare class ProgressView extends HTMLElement {
@@ -9,7 +9,7 @@ const progressViewStyles = ['circular', 'linear'];
9
9
  /**
10
10
  * @summary A view that shows how far along a task is.
11
11
  *
12
- * @slot — The default slot.
12
+ * @slot — The default slot
13
13
  * @slot current-value
14
14
  */
15
15
  export class ProgressView extends HTMLElement {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @summary A view that scrolls its content when it doesn’t fit the screen.
3
3
  *
4
- * @slot — The default slot.
4
+ * @slot — The default slot
5
5
  * @slot top-bar-principal
6
6
  * @slot bottom-bar-principal
7
7
  */
@@ -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
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @summary A container view that groups related content together.
3
3
  *
4
- * @slot — The default slot.
4
+ * @slot — The default slot
5
5
  * @slot header
6
6
  * @slot footer
7
7
  */
@@ -4,7 +4,7 @@ import { html } from '../tpl';
4
4
  /**
5
5
  * @summary A container view that groups related content together.
6
6
  *
7
- * @slot — The default slot.
7
+ * @slot — The default slot
8
8
  * @slot header
9
9
  * @slot footer
10
10
  */
@@ -38,7 +38,12 @@ export class TabView extends HTMLElement {
38
38
  return this.#cachedAdaptableTabBarPlacement;
39
39
  }
40
40
  get moreTab() {
41
- return this.querySelector(':scope>navigation-stack:has(> navigation-stack,> navigation-split-view)');
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