@swiftwc/ui 0.0.0-dev.103 → 0.0.0-dev.105

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 (90) hide show
  1. package/generated/client/index.js +5 -5
  2. package/generated/components/alert-dialog.js +10 -17
  3. package/generated/components/body-view.js +3 -5
  4. package/generated/components/bordered-button.js +5 -7
  5. package/generated/components/bordered-prominent-button.js +5 -7
  6. package/generated/components/borderless-button.js +5 -7
  7. package/generated/components/color-scheme.js +4 -7
  8. package/generated/components/confirmation-dialog.js +10 -17
  9. package/generated/components/content-unavailable.js +5 -7
  10. package/generated/components/date-picker.js +14 -25
  11. package/generated/components/detail-placeholder.js +4 -8
  12. package/generated/components/disclosure-group.js +6 -9
  13. package/generated/components/fine-tooltip.js +5 -7
  14. package/generated/components/form-view.js +4 -5
  15. package/generated/components/glass-button.js +5 -7
  16. package/generated/components/glass-prominent-button.js +5 -7
  17. package/generated/components/h-divider.d.ts +11 -0
  18. package/generated/components/h-divider.js +15 -0
  19. package/generated/components/h-stack.js +3 -5
  20. package/generated/components/image-view.js +5 -7
  21. package/generated/components/index.d.ts +2 -0
  22. package/generated/components/index.js +2 -0
  23. package/generated/components/label-view.js +5 -7
  24. package/generated/components/labeled-content.js +5 -7
  25. package/generated/components/list-view.js +4 -5
  26. package/generated/components/menu-view.js +11 -19
  27. package/generated/components/navigation-large-title.js +6 -9
  28. package/generated/components/navigation-split-view.js +4 -7
  29. package/generated/components/navigation-stack.js +4 -7
  30. package/generated/components/navigation-title.js +4 -7
  31. package/generated/components/picker-view.js +33 -61
  32. package/generated/components/plain-button.js +4 -5
  33. package/generated/components/progress-view.js +7 -11
  34. package/generated/components/screen-view.js +2 -3
  35. package/generated/components/scroll-view-proxy.js +3 -5
  36. package/generated/components/scroll-view.js +10 -16
  37. package/generated/components/search-view.js +5 -7
  38. package/generated/components/section-view.js +5 -7
  39. package/generated/components/sheet-view.js +7 -11
  40. package/generated/components/sidebar-toggle.js +6 -9
  41. package/generated/components/sidebar-view.js +3 -3
  42. package/generated/components/sticky-container.js +4 -5
  43. package/generated/components/tab-bar.js +5 -7
  44. package/generated/components/tab-item.js +9 -15
  45. package/generated/components/tab-view.js +9 -14
  46. package/generated/components/table-view.js +7 -11
  47. package/generated/components/text-field.js +11 -19
  48. package/generated/components/text-view.js +4 -7
  49. package/generated/components/toggle-view.js +14 -25
  50. package/generated/components/tool-bar-item-group.js +3 -5
  51. package/generated/components/tool-bar-item.js +5 -7
  52. package/generated/components/tool-bar.js +5 -7
  53. package/generated/components/v-divider.d.ts +11 -0
  54. package/generated/components/v-divider.js +15 -0
  55. package/generated/components/v-keyboard.js +9 -12
  56. package/generated/components/v-stack.js +3 -5
  57. package/generated/css/index.css +13 -5
  58. package/generated/internal/class/css-style-observer.js +3 -3
  59. package/generated/internal/class/form-associated-base.js +5 -7
  60. package/generated/internal/class/navigation-view.js +4 -5
  61. package/generated/internal/decorators/adaptive-slot.js +5 -7
  62. package/generated/internal/decorators/microtask-on-connected.d.ts +2 -2
  63. package/generated/internal/decorators/microtask-on-connected.js +2 -2
  64. package/generated/internal/flags.json +3 -0
  65. package/generated/internal/privateNamespace.js +12 -21
  66. package/generated/internal/utils/$.d.ts +9 -0
  67. package/generated/internal/utils/$.js +11 -0
  68. package/generated/internal/utils/index.d.ts +35 -1
  69. package/generated/internal/utils/index.js +35 -4
  70. package/generated/snapshot/index.js +4 -5
  71. package/package.json +10 -7
  72. package/scss/components/_index.scss +3 -1
  73. package/scss/components/_picker-view.scss +1 -1
  74. package/web-components.html-data/en.json +8 -0
  75. package/generated/internal/utils/cash/index.d.ts +0 -24
  76. package/generated/internal/utils/cash/index.js +0 -27
  77. /package/generated/internal/utils/{cash/ancestors.d.ts → ancestors.d.ts} +0 -0
  78. /package/generated/internal/utils/{cash/ancestors.js → ancestors.js} +0 -0
  79. /package/generated/internal/utils/{cash/next-all.d.ts → next-all.d.ts} +0 -0
  80. /package/generated/internal/utils/{cash/next-all.js → next-all.js} +0 -0
  81. /package/generated/internal/utils/{cash/next.d.ts → next.d.ts} +0 -0
  82. /package/generated/internal/utils/{cash/next.js → next.js} +0 -0
  83. /package/generated/internal/utils/{cash/prev-all.d.ts → prev-all.d.ts} +0 -0
  84. /package/generated/internal/utils/{cash/prev-all.js → prev-all.js} +0 -0
  85. /package/generated/internal/utils/{cash/prev.d.ts → prev.d.ts} +0 -0
  86. /package/generated/internal/utils/{cash/prev.js → prev.js} +0 -0
  87. /package/generated/internal/utils/{cash/prop.d.ts → prop.d.ts} +0 -0
  88. /package/generated/internal/utils/{cash/prop.js → prop.js} +0 -0
  89. /package/generated/internal/utils/{cash/siblings.d.ts → siblings.d.ts} +0 -0
  90. /package/generated/internal/utils/{cash/siblings.js → siblings.js} +0 -0
@@ -305,6 +305,10 @@
305
305
  ],
306
306
  "description": "A control that starts an action. Styled with a prominent glass border, adapting to the button’s surroundings.\n---\n\n```ts\ninterface GlassProminentButtonSignature {\n Attributes: {\n role?: 'destructive' | 'confirm' // A value that describes the purpose of a button\n 'title-key'?: string\n }\n\n Slots: {\n overlay: HTMLElement[]\n }\n}\n\nclass GlassProminentButton extends HTMLButtonElement<GlassProminentButtonSignature> {}\n\ndeclare global {\n interface HTMLButtonElement {\n is: 'glass-prominent-button' // <button is=\"glass-prominent-button\"></button>\n }\n}\n\n```\n\n### **Examples:**\n**Creating a prominent glass button:**\n```html\n<button is=\"glass-prominent-button\">\n <label-view system-image=\"hand-tap\" title=\"Tap Me\"></label-view>\n</button>\n\n```\n"
307
307
  },
308
+ {
309
+ "name": "h-divider",
310
+ "description": "undefined\n\n```ts\ninterface HDividerSignature {}\n\nclass HDivider extends HTMLElement<HDividerSignature> {}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'h-divider': HDivider // <h-divider></h-divider>\n }\n}\n\n```\n"
311
+ },
308
312
  {
309
313
  "name": "h-stack",
310
314
  "references": [
@@ -949,6 +953,10 @@
949
953
  ],
950
954
  "description": "A list of items placed into the toolbar or navigation bar around your content.\n---\n\n```ts\ninterface ToolBarSignature {\n Slots: {\n 'cancellation-action': HTMLElement[] // The item represents a cancellation action for a modal interface. Places the item in the leading edge of the top bar and on the trailing edge of the bottom bar when fine modal\n 'primary-action': HTMLElement[] // The item represents a primary action. Places the item in the trailing edge of the top bar and on the trailing edge of the bottom bar when fine modal\n 'confirmation-action': HTMLElement[] // The item represents a confirmation action for a modal interface. Places the item in the trailing edge of the top bar and on the trailing edge of the bottom bar when fine modal\n 'destructive-action': HTMLElement[] // The item represents a destructive action for a modal interface. Places the item in the leading edge of the top bar and on the leading edge of the bottom bar when fine modal\n 'top-bar-leading': HTMLElement[] // Places the item in the leading edge of the top bar\n 'top-bar-principal': HTMLElement[] // Places the item in the middle of the top bar\n 'top-bar-trailing': HTMLElement[] // Places the item in the trailing edge of the top bar\n 'bottom-bar-leading': HTMLElement[] // Places the item in the leading edge of the bottom bar\n 'bottom-bar-principal': HTMLElement[] // Places the item in the middle of the bottom bar\n 'bottom-bar-trailing': HTMLElement[] // Places the item in the trailing edge of the bottom bar\n }\n}\n\nclass ToolBar extends HTMLElement<ToolBarSignature> {}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'tool-bar': ToolBar // <tool-bar></tool-bar>\n }\n}\n\n```\n"
951
955
  },
956
+ {
957
+ "name": "v-divider",
958
+ "description": "undefined\n\n```ts\ninterface VDividerSignature {}\n\nclass VDivider extends HTMLElement<VDividerSignature> {}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'v-divider': VDivider // <v-divider></v-divider>\n }\n}\n\n```\n"
959
+ },
952
960
  {
953
961
  "name": "v-keyboard",
954
962
  "references": [
@@ -1,24 +0,0 @@
1
- import { type TemplateResult } from '../../../tpl';
2
- import ancestors from './ancestors';
3
- import next from './next';
4
- import nextAll from './next-all';
5
- import prev from './prev';
6
- import prevAll from './prev-all';
7
- import prop from './prop';
8
- import siblings from './siblings';
9
- declare const DEFAULT: ">1";
10
- interface CashFn {
11
- (markup: TemplateResult): DocumentFragment;
12
- <T extends Element = Element>(markup: TemplateResult, selector: typeof DEFAULT): T;
13
- <T extends Element = Element>(markup: TemplateResult, selector: string): T;
14
- prop: typeof prop;
15
- nextAll: typeof nextAll;
16
- prevAll: typeof prevAll;
17
- next: typeof next;
18
- prev: typeof prev;
19
- siblings: typeof siblings;
20
- ancestors: typeof ancestors;
21
- }
22
- declare const cash: CashFn;
23
- export default cash;
24
- export { ancestors, next, nextAll, prev, prevAll, prop, siblings };
@@ -1,27 +0,0 @@
1
- import { renderToString } from '../../../morphdom';
2
- import ancestors from './ancestors';
3
- import next from './next';
4
- import nextAll from './next-all';
5
- import prev from './prev';
6
- import prevAll from './prev-all';
7
- import prop from './prop';
8
- import siblings from './siblings';
9
- const DEFAULT = '>1';
10
- const cash = ((markup, selector) => {
11
- // NOTE: Use also runtime check isTemplateResult()??
12
- const template = Object.assign(document.createElement('template'), { innerHTML: renderToString(markup).toString() });
13
- if (!selector)
14
- return template.content;
15
- if (selector === DEFAULT)
16
- return template.content.firstElementChild; // OVERKILL
17
- return template.content.querySelector('>1' === selector ? ':first-child' : selector);
18
- });
19
- cash.prop = prop;
20
- cash.nextAll = nextAll;
21
- cash.prevAll = prevAll;
22
- cash.next = next;
23
- cash.prev = prev;
24
- cash.siblings = siblings;
25
- cash.ancestors = ancestors;
26
- export default cash;
27
- export { ancestors, next, nextAll, prev, prevAll, prop, siblings };