ember-primitives 0.27.1 → 0.28.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.
Files changed (130) hide show
  1. package/declarations/color-scheme.d.ts.map +1 -1
  2. package/declarations/components/-private/typed-elements.d.ts +1 -1
  3. package/declarations/components/accordion/content.d.ts +2 -2
  4. package/declarations/components/accordion/header.d.ts +2 -2
  5. package/declarations/components/accordion/item.d.ts +3 -3
  6. package/declarations/components/accordion/public.d.ts +3 -3
  7. package/declarations/components/accordion/trigger.d.ts +2 -2
  8. package/declarations/components/accordion.d.ts +7 -7
  9. package/declarations/components/accordion.d.ts.map +1 -1
  10. package/declarations/components/avatar.d.ts +4 -4
  11. package/declarations/components/dialog.d.ts +4 -4
  12. package/declarations/components/dialog.d.ts.map +1 -1
  13. package/declarations/components/external-link.d.ts +1 -1
  14. package/declarations/components/form.d.ts +3 -3
  15. package/declarations/components/keys.d.ts +17 -0
  16. package/declarations/components/keys.d.ts.map +1 -0
  17. package/declarations/components/layout/hero.d.ts +2 -2
  18. package/declarations/components/layout/sticky-footer.d.ts +2 -2
  19. package/declarations/components/menu.d.ts +19 -19
  20. package/declarations/components/menu.d.ts.map +1 -1
  21. package/declarations/components/one-time-password/buttons.d.ts +1 -1
  22. package/declarations/components/one-time-password/index.d.ts +2 -2
  23. package/declarations/components/one-time-password/input.d.ts +5 -5
  24. package/declarations/components/one-time-password/input.d.ts.map +1 -1
  25. package/declarations/components/one-time-password/otp.d.ts +5 -5
  26. package/declarations/components/one-time-password/otp.d.ts.map +1 -1
  27. package/declarations/components/one-time-password/utils.d.ts.map +1 -1
  28. package/declarations/components/popover.d.ts +17 -26
  29. package/declarations/components/popover.d.ts.map +1 -1
  30. package/declarations/components/portal-targets.d.ts +1 -1
  31. package/declarations/components/portal.d.ts +4 -3
  32. package/declarations/components/portal.d.ts.map +1 -1
  33. package/declarations/components/progress.d.ts +4 -4
  34. package/declarations/components/scroller.d.ts +1 -1
  35. package/declarations/components/shadowed.d.ts +1 -1
  36. package/declarations/components/switch.d.ts +5 -5
  37. package/declarations/components/toggle-group.d.ts +4 -4
  38. package/declarations/components/toggle.d.ts +2 -2
  39. package/declarations/components/toggle.d.ts.map +1 -1
  40. package/declarations/components/zoetrope/index.d.ts +3 -3
  41. package/declarations/components/zoetrope.d.ts +2 -2
  42. package/declarations/floating-ui/component.d.ts +19 -16
  43. package/declarations/floating-ui/component.d.ts.map +1 -1
  44. package/declarations/floating-ui/modifier.d.ts.map +1 -1
  45. package/declarations/floating-ui.d.ts +1 -1
  46. package/declarations/helpers/link.d.ts.map +1 -1
  47. package/declarations/index.d.ts +20 -19
  48. package/declarations/index.d.ts.map +1 -1
  49. package/declarations/proper-links.d.ts.map +1 -1
  50. package/declarations/test-support/routing.d.ts.map +1 -1
  51. package/declarations/utils.d.ts.map +1 -1
  52. package/dist/color-scheme.js +5 -5
  53. package/dist/color-scheme.js.map +1 -1
  54. package/dist/components/-private/typed-elements.js.map +1 -1
  55. package/dist/components/-private/utils.js +1 -3
  56. package/dist/components/-private/utils.js.map +1 -1
  57. package/dist/components/accordion/content.js +1 -1
  58. package/dist/components/accordion/header.js +1 -1
  59. package/dist/components/accordion/item.js +1 -1
  60. package/dist/components/accordion/trigger.js +1 -1
  61. package/dist/components/accordion.js +26 -25
  62. package/dist/components/accordion.js.map +1 -1
  63. package/dist/components/avatar.js.map +1 -1
  64. package/dist/components/dialog.js +15 -14
  65. package/dist/components/dialog.js.map +1 -1
  66. package/dist/components/external-link.js.map +1 -1
  67. package/dist/components/form.js +6 -6
  68. package/dist/components/form.js.map +1 -1
  69. package/dist/components/keys.js +33 -0
  70. package/dist/components/keys.js.map +1 -0
  71. package/dist/components/layout/hero.js.map +1 -1
  72. package/dist/components/layout/sticky-footer.js.map +1 -1
  73. package/dist/components/link.js.map +1 -1
  74. package/dist/components/menu.js +47 -46
  75. package/dist/components/menu.js.map +1 -1
  76. package/dist/components/one-time-password/buttons.js +5 -5
  77. package/dist/components/one-time-password/buttons.js.map +1 -1
  78. package/dist/components/one-time-password/input.js +14 -14
  79. package/dist/components/one-time-password/input.js.map +1 -1
  80. package/dist/components/one-time-password/otp.js +26 -25
  81. package/dist/components/one-time-password/otp.js.map +1 -1
  82. package/dist/components/one-time-password/utils.js +18 -18
  83. package/dist/components/one-time-password/utils.js.map +1 -1
  84. package/dist/components/popover.js +44 -44
  85. package/dist/components/popover.js.map +1 -1
  86. package/dist/components/portal-targets.js +16 -16
  87. package/dist/components/portal-targets.js.map +1 -1
  88. package/dist/components/portal.js +5 -3
  89. package/dist/components/portal.js.map +1 -1
  90. package/dist/components/progress.js +16 -16
  91. package/dist/components/progress.js.map +1 -1
  92. package/dist/components/scroller.js +6 -6
  93. package/dist/components/scroller.js.map +1 -1
  94. package/dist/components/shadowed.js +9 -9
  95. package/dist/components/shadowed.js.map +1 -1
  96. package/dist/components/switch.js.map +1 -1
  97. package/dist/components/toggle-group.js +24 -24
  98. package/dist/components/toggle-group.js.map +1 -1
  99. package/dist/components/toggle.js +4 -4
  100. package/dist/components/toggle.js.map +1 -1
  101. package/dist/components/violations.css +8 -8
  102. package/dist/components/zoetrope/index.js +102 -102
  103. package/dist/components/zoetrope/index.js.map +1 -1
  104. package/dist/floating-ui/component.js +6 -6
  105. package/dist/floating-ui/component.js.map +1 -1
  106. package/dist/floating-ui/modifier.js +10 -6
  107. package/dist/floating-ui/modifier.js.map +1 -1
  108. package/dist/helpers/link.js +11 -7
  109. package/dist/helpers/link.js.map +1 -1
  110. package/dist/helpers/service.js +1 -1
  111. package/dist/helpers/service.js.map +1 -1
  112. package/dist/index.js +1 -0
  113. package/dist/index.js.map +1 -1
  114. package/dist/{item-DmpElnSZ.js → item-D6pwWzMs.js} +3 -3
  115. package/dist/item-D6pwWzMs.js.map +1 -0
  116. package/dist/proper-links.js +10 -10
  117. package/dist/proper-links.js.map +1 -1
  118. package/dist/tabster.js +2 -2
  119. package/dist/tabster.js.map +1 -1
  120. package/dist/test-support/a11y.js +4 -4
  121. package/dist/test-support/a11y.js.map +1 -1
  122. package/dist/test-support/otp.js +6 -6
  123. package/dist/test-support/otp.js.map +1 -1
  124. package/dist/test-support/routing.js +3 -2
  125. package/dist/test-support/routing.js.map +1 -1
  126. package/dist/test-support/zoetrope.js.map +1 -1
  127. package/dist/utils.js +1 -0
  128. package/dist/utils.js.map +1 -1
  129. package/package.json +21 -31
  130. package/dist/item-DmpElnSZ.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"color-scheme.d.ts","sourceRoot":"","sources":["../src/color-scheme.ts"],"names":[],"mappings":"AAgBA;;GAEG;AACH,eAAO,MAAM,WAAW;IACtB;;OAEG;oBACa,MAAM;;QAOpB;;WAEG;2BACgB,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI;;;QAKhD;;WAEG;2BACgB,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI;;IAKlD;;OAEG;;CAgBJ,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,IAAI,SAiCnB;AAED;;GAEG;AACH,eAAO,MAAM,OAAO;;;mBAGH,MAAM;;CAEtB,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,eAAe;;;oBAGV,MAAM;;CAEvB,CAAC;AAEF;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,CAAC,EAAE,WAAW,UAInD;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;AAC1E,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;AAkBpD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,CAAC,EAAE,WAAW,QAItD"}
1
+ {"version":3,"file":"color-scheme.d.ts","sourceRoot":"","sources":["../src/color-scheme.ts"],"names":[],"mappings":"AAgBA;;GAEG;AACH,eAAO,MAAM,WAAW;IACtB;;OAEG;oBACa,MAAM;;QAOpB;;WAEG;2BACgB,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI;;;QAKhD;;WAEG;2BACgB,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI;;IAKlD;;OAEG;aACY,MAAM,GAAG,SAAS;CAelC,CAAC;AAEF;;;;GAIG;AACH,wBAAgB,IAAI,SAiCnB;AAED;;GAEG;AACH,eAAO,MAAM,OAAO;;;mBAGH,MAAM;;CAEtB,CAAC;AAIF;;GAEG;AACH,eAAO,MAAM,eAAe;;;oBAGV,MAAM;;CAEvB,CAAC;AAEF;;GAEG;AACH,wBAAgB,cAAc,CAAC,OAAO,CAAC,EAAE,WAAW,UAInD;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;AAC1E,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;AAkBpD;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,CAAC,EAAE,WAAW,QAItD"}
@@ -1,4 +1,4 @@
1
- import type { TOC } from '@ember/component/template-only';
1
+ import type { TOC } from "@ember/component/template-only";
2
2
  export declare const Div: TOC<{
3
3
  Element: HTMLDivElement;
4
4
  Blocks: {
@@ -1,5 +1,5 @@
1
- import Component from '@glimmer/component';
2
- import type { AccordionContentExternalSignature } from './public.ts';
1
+ import Component from "@glimmer/component";
2
+ import type { AccordionContentExternalSignature } from "./public.ts";
3
3
  interface Signature extends AccordionContentExternalSignature {
4
4
  Args: {
5
5
  isExpanded: boolean;
@@ -1,5 +1,5 @@
1
- import type { AccordionHeaderExternalSignature } from './public.ts';
2
- import type { TOC } from '@ember/component/template-only';
1
+ import type { AccordionHeaderExternalSignature } from "./public.ts";
2
+ import type { TOC } from "@ember/component/template-only";
3
3
  interface Signature extends AccordionHeaderExternalSignature {
4
4
  Args: {
5
5
  value: string;
@@ -1,8 +1,8 @@
1
- import Component from '@glimmer/component';
2
- import type { AccordionItemExternalSignature } from './public.ts';
1
+ import Component from "@glimmer/component";
2
+ import type { AccordionItemExternalSignature } from "./public.ts";
3
3
  export declare function getDataState(isExpanded: boolean): string;
4
4
  interface Signature extends AccordionItemExternalSignature {
5
- Args: AccordionItemExternalSignature['Args'] & {
5
+ Args: AccordionItemExternalSignature["Args"] & {
6
6
  selectedValue?: string | string[];
7
7
  disabled?: boolean;
8
8
  toggleItem: (value: string) => void;
@@ -1,6 +1,6 @@
1
- import type Content from "./content";
2
- import type Header from "./header";
3
- import type Trigger from "./trigger";
1
+ import type Content from './content';
2
+ import type Header from './header';
3
+ import type Trigger from './trigger';
4
4
  import type { WithBoundArgs } from '@glint/template';
5
5
  export interface AccordionTriggerExternalSignature {
6
6
  Element: HTMLButtonElement;
@@ -1,5 +1,5 @@
1
- import type { AccordionTriggerExternalSignature } from './public.ts';
2
- import type { TOC } from '@ember/component/template-only';
1
+ import type { AccordionTriggerExternalSignature } from "./public.ts";
2
+ import type { TOC } from "@ember/component/template-only";
3
3
  interface Signature extends AccordionTriggerExternalSignature {
4
4
  Args: {
5
5
  isExpanded: boolean;
@@ -1,11 +1,11 @@
1
- import Component from '@glimmer/component';
2
- import AccordionItem from "./accordion/item";
3
- import type { WithBoundArgs } from '@glint/template';
1
+ import Component from "@glimmer/component";
2
+ import AccordionItem from './accordion/item';
3
+ import type { WithBoundArgs } from "@glint/template";
4
4
  type AccordionSingleArgs = {
5
5
  /**
6
6
  * The type of accordion. If `single`, only one item can be selected at a time. If `multiple`, multiple items can be selected at a time.
7
7
  */
8
- type: 'single';
8
+ type: "single";
9
9
  /**
10
10
  * Whether the accordion is disabled. When `true`, all items cannot be expanded or collapsed.
11
11
  */
@@ -45,7 +45,7 @@ type AccordionMultipleArgs = {
45
45
  /**
46
46
  * The type of accordion. If `single`, only one item can be selected at a time. If `multiple`, multiple items can be selected at a time.
47
47
  */
48
- type: 'multiple';
48
+ type: "multiple";
49
49
  /**
50
50
  * Whether the accordion is disabled. When `true`, all items cannot be expanded or collapsed.
51
51
  */
@@ -58,7 +58,7 @@ type AccordionMultipleArgs = {
58
58
  /**
59
59
  * A callback that is called when the selected values change. To be used in a controlled fashion in conjunction with `value`.
60
60
  */
61
- onValueChange: (value?: string[] | undefined) => void;
61
+ onValueChange: (value?: string[]) => void;
62
62
  /**
63
63
  * Not available in a controlled fashion.
64
64
  */
@@ -86,7 +86,7 @@ export declare class Accordion extends Component<{
86
86
  /**
87
87
  * The AccordionItem component.
88
88
  */
89
- Item: WithBoundArgs<typeof AccordionItem, 'selectedValue' | 'toggleItem' | 'disabled'>;
89
+ Item: WithBoundArgs<typeof AccordionItem, "selectedValue" | "toggleItem" | "disabled">;
90
90
  }
91
91
  ];
92
92
  };
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../src/components/accordion.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAU3C,OAAO,aAAa,MAAM,sBAAsB,CAAC;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,KAAK,mBAAmB,GAAG;IACzB;;OAEG;IACH,IAAI,EAAE,QAAQ,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,GAAG,CACA;IACE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IACnD;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB,GACD;IACE;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC;IACd;;OAEG;IACH,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB,CACJ,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,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,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAEpF,IAAI,aAAa,kCAEhB;IAED,UAAU,GAAI,OAAO,MAAM,UAUzB;IAEF,gBAAgB,GAAI,OAAO,MAAM,UAkB/B;IAEF,kBAAkB,GAAI,OAAO,MAAM,UAyBjC;CACH;AAED,eAAe,SAAS,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { TOC } from '@ember/component/template-only';
2
- import type { WithBoundArgs } from '@glint/template';
1
+ import type { TOC } from "@ember/component/template-only";
2
+ import type { WithBoundArgs } from "@glint/template";
3
3
  declare const Fallback: TOC<{
4
4
  Blocks: {
5
5
  default: [];
@@ -48,14 +48,14 @@ export declare const Avatar: TOC<{
48
48
  /**
49
49
  * The image to render. It will only render when it has loaded.
50
50
  */
51
- Image: WithBoundArgs<typeof Image, 'src' | 'isLoaded'>;
51
+ Image: WithBoundArgs<typeof Image, "src" | "isLoaded">;
52
52
  /**
53
53
  * An element that renders when the image hasn't loaded.
54
54
  * This means whilst it's loading, or if there was an error.
55
55
  * If you notice a flash during loading,
56
56
  * you can provide a delayMs prop to delay its rendering so it only renders for those with slower connections.
57
57
  */
58
- Fallback: WithBoundArgs<typeof Fallback, 'isLoaded'>;
58
+ Fallback: WithBoundArgs<typeof Fallback, "isLoaded">;
59
59
  /**
60
60
  * true while the image is loading
61
61
  */
@@ -1,6 +1,6 @@
1
- import Component from '@glimmer/component';
2
- import type { TOC } from '@ember/component/template-only';
3
- import type { ModifierLike, WithBoundArgs } from '@glint/template';
1
+ import Component from "@glimmer/component";
2
+ import type { TOC } from "@ember/component/template-only";
3
+ import type { ModifierLike, WithBoundArgs } from "@glint/template";
4
4
  declare const DialogElement: TOC<{
5
5
  Element: HTMLDialogElement;
6
6
  Args: {
@@ -64,7 +64,7 @@ export interface Signature {
64
64
  * This is the `<dialog>` element (with some defaults pre-wired).
65
65
  * This is required to be rendered.
66
66
  */
67
- Dialog: WithBoundArgs<typeof DialogElement, 'onClose' | 'register' | 'open'>;
67
+ Dialog: WithBoundArgs<typeof DialogElement, "onClose" | "register" | "open">;
68
68
  }
69
69
  ];
70
70
  };
@@ -1 +1 @@
1
- {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../src/components/dialog.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAa3C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEnE,QAAA,MAAM,aAAa,EAAE,GAAG,CAAC;IACvB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,IAAI,EAAE;QACJ;;WAEG;QACH,IAAI,EAAE,OAAO,GAAG,SAAS,CAAC;QAC1B;;WAEG;QACH,OAAO,EAAE,MAAM,IAAI,CAAC;QAEpB;;WAEG;QACH,QAAQ,EAAE,YAAY,CAAC;YAAE,OAAO,EAAE,iBAAiB,CAAA;SAAE,CAAC,CAAC;KACxD,CAAC;IACF,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC;CACzB,CAYC,CAAC;AAEH,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE;QACJ;;;;;WAKG;QACH,IAAI,CAAC,EAAE,OAAO,CAAC;QACf;;;;;;;;WAQG;QACH,OAAO,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;KACzC,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP;gBACE;;mBAEG;gBACH,MAAM,EAAE,OAAO,CAAC;gBAChB;;;mBAGG;gBACH,KAAK,EAAE,MAAM,IAAI,CAAC;gBAClB;;;mBAGG;gBACH,IAAI,EAAE,MAAM,IAAI,CAAC;gBACjB;;;mBAGG;gBACH,MAAM,EAAE,aAAa,CAAC,OAAO,aAAa,EAAE,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC,CAAC;aAC9E;SACF,CAAC;KACH,CAAC;CACH;AAED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AC;KACzC,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP;gBACE;;mBAEG;gBACH,MAAM,EAAE,OAAO,CAAC;gBAChB;;;mBAGG;gBACH,KAAK,EAAE,MAAM,IAAI,CAAC;gBAClB;;;mBAGG;gBACH,IAAI,EAAE,MAAM,IAAI,CAAC;gBACjB;;;mBAGG;gBACH,MAAM,EAAE,aAAa,CAAC,OAAO,aAAa,EAAE,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC,CAAC;aAC9E;SACF,CAAC;KACH,CAAC;CACH;AAED,cAAM,WAAY,SAAQ,SAAS,CAAC,SAAS,CAAC;IAYZ,OAAO,EAAE,OAAO,CAAC;IAEjD,IAAI,MAAM,IAMM,OAAO,CADtB;IACD,IAAI,MAAM,CAAC,GAAG,EAAE,OAAO,EAEtB;IAEgB,aAAa,EAAE,iBAAiB,GAAG,SAAS,CAAC;IAE9D,QAAQ;;;;;;OAiBL;IAEH;;OAEG;IACH,KAAK,aAkBH;IAEF;;;;;OAKG;IACH,WAAW,aAUT;IAEF;;OAEG;IACH,IAAI,aAkBF;CACH;AAED,eAAO,MAAM,KAAK,oBAAc,CAAC;AACjC,eAAO,MAAM,MAAM,oBAAc,CAAC;AAElC,eAAe,WAAW,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { TOC } from '@ember/component/template-only';
1
+ import type { TOC } from "@ember/component/template-only";
2
2
  export declare const ExternalLink: TOC<{
3
3
  Element: HTMLAnchorElement;
4
4
  Blocks: {
@@ -1,5 +1,5 @@
1
- import { dataFrom } from 'form-data-utils';
2
- import type { TOC } from '@ember/component/template-only';
1
+ import { dataFrom } from "form-data-utils";
2
+ import type { TOC } from "@ember/component/template-only";
3
3
  type Data = ReturnType<typeof dataFrom>;
4
4
  export declare const dataFromEvent: typeof dataFrom;
5
5
  export interface Signature {
@@ -20,7 +20,7 @@ export interface Signature {
20
20
  /**
21
21
  * Indicates whether the `onChange` function was called from the `input` or `submit` event handlers.
22
22
  */
23
- eventType: 'input' | 'submit',
23
+ eventType: "input" | "submit",
24
24
  /**
25
25
  * The raw event, if needed.
26
26
  */
@@ -0,0 +1,17 @@
1
+ import type { TOC } from "@ember/component/template-only";
2
+ export interface KeyComboSignature {
3
+ Element: HTMLElement;
4
+ Args: {
5
+ keys: string[] | string;
6
+ mac?: string[] | string;
7
+ };
8
+ }
9
+ export declare const KeyCombo: TOC<KeyComboSignature>;
10
+ export interface KeySignature {
11
+ Element: HTMLElement;
12
+ Blocks: {
13
+ default?: [];
14
+ };
15
+ }
16
+ export declare const Key: TOC<KeySignature>;
17
+ //# sourceMappingURL=keys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../src/components/keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAwB1D,MAAM,WAAW,iBAAiB;IAChC,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QACxB,GAAG,CAAC,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;KACzB,CAAC;CACH;AAED,eAAO,MAAM,QAAQ,EAAE,GAAG,CAAC,iBAAiB,CAwC1C,CAAC;AAEH,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,WAAW,CAAC;IACrB,MAAM,EAAE;QAAE,OAAO,CAAC,EAAE,EAAE,CAAA;KAAE,CAAC;CAC1B;AAED,eAAO,MAAM,GAAG,EAAE,GAAG,CAAC,YAAY,CAUhC,CAAC"}
@@ -1,5 +1,5 @@
1
- import './hero.css';
2
- import type { TOC } from '@ember/component/template-only';
1
+ import "./hero.css";
2
+ import type { TOC } from "@ember/component/template-only";
3
3
  export declare const Hero: TOC<{
4
4
  /**
5
5
  * The wrapper element of the whole layout.
@@ -1,5 +1,5 @@
1
- import './sticky-footer.css';
2
- import type { TOC } from '@ember/component/template-only';
1
+ import "./sticky-footer.css";
2
+ import type { TOC } from "@ember/component/template-only";
3
3
  export declare const StickyFooter: TOC<{
4
4
  /**
5
5
  * The wrapper element of the whole layout.
@@ -1,20 +1,20 @@
1
- import Component from '@glimmer/component';
2
- import { cell } from 'ember-resources';
3
- import { type Signature as PopoverSignature } from "./popover";
4
- import type { TOC } from '@ember/component/template-only';
5
- import type { WithBoundArgs } from '@glint/template';
1
+ import Component from "@glimmer/component";
2
+ import { cell } from "ember-resources";
3
+ import { type Signature as PopoverSignature } from './popover';
4
+ import type { TOC } from "@ember/component/template-only";
5
+ import type { WithBoundArgs } from "@glint/template";
6
6
  type Cell<V> = ReturnType<typeof cell<V>>;
7
- type PopoverArgs = PopoverSignature['Args'];
8
- type PopoverBlockParams = PopoverSignature['Blocks']['default'][0];
7
+ type PopoverArgs = PopoverSignature["Args"];
8
+ type PopoverBlockParams = PopoverSignature["Blocks"]["default"][0];
9
9
  export interface Signature {
10
10
  Args: PopoverArgs;
11
11
  Blocks: {
12
12
  default: [
13
13
  {
14
- arrow: PopoverBlockParams['arrow'];
15
- trigger: WithBoundArgs<typeof trigger, 'triggerElement' | 'contentId' | 'isOpen' | 'setReference'>;
16
- Trigger: WithBoundArgs<typeof Trigger, 'triggerModifier'>;
17
- Content: WithBoundArgs<typeof Content, 'triggerElement' | 'contentId' | 'isOpen' | 'PopoverContent'>;
14
+ arrow: PopoverBlockParams["arrow"];
15
+ trigger: WithBoundArgs<typeof trigger, "triggerElement" | "contentId" | "isOpen" | "setReference">;
16
+ Trigger: WithBoundArgs<typeof Trigger, "triggerModifier">;
17
+ Content: WithBoundArgs<typeof Content, "triggerElement" | "contentId" | "isOpen" | "PopoverContent">;
18
18
  isOpen: boolean;
19
19
  }
20
20
  ];
@@ -43,7 +43,7 @@ interface PrivateContentSignature {
43
43
  triggerElement: Cell<HTMLElement>;
44
44
  contentId: string;
45
45
  isOpen: Cell<boolean>;
46
- PopoverContent: PopoverBlockParams['Content'];
46
+ PopoverContent: PopoverBlockParams["Content"];
47
47
  };
48
48
  Blocks: {
49
49
  default: [{
@@ -53,8 +53,8 @@ interface PrivateContentSignature {
53
53
  };
54
54
  }
55
55
  export interface ContentSignature {
56
- Element: PrivateContentSignature['Element'];
57
- Blocks: PrivateContentSignature['Blocks'];
56
+ Element: PrivateContentSignature["Element"];
57
+ Blocks: PrivateContentSignature["Blocks"];
58
58
  }
59
59
  declare const Content: TOC<PrivateContentSignature>;
60
60
  interface PrivateTriggerModifierSignature {
@@ -64,14 +64,14 @@ interface PrivateTriggerModifierSignature {
64
64
  triggerElement: Cell<HTMLElement>;
65
65
  isOpen: Cell<boolean>;
66
66
  contentId: string;
67
- setReference: PopoverBlockParams['setReference'];
67
+ setReference: PopoverBlockParams["setReference"];
68
68
  stopPropagation?: boolean;
69
69
  preventDefault?: boolean;
70
70
  };
71
71
  };
72
72
  }
73
73
  export interface TriggerModifierSignature {
74
- Element: PrivateTriggerModifierSignature['Element'];
74
+ Element: PrivateTriggerModifierSignature["Element"];
75
75
  }
76
76
  declare const trigger: import("ember-modifier").FunctionBasedModifier<{
77
77
  Element: HTMLElement;
@@ -90,7 +90,7 @@ declare const trigger: import("ember-modifier").FunctionBasedModifier<{
90
90
  interface PrivateTriggerSignature {
91
91
  Element: HTMLButtonElement;
92
92
  Args: {
93
- triggerModifier: WithBoundArgs<typeof trigger, 'triggerElement' | 'contentId' | 'isOpen' | 'setReference'>;
93
+ triggerModifier: WithBoundArgs<typeof trigger, "triggerElement" | "contentId" | "isOpen" | "setReference">;
94
94
  stopPropagation?: boolean;
95
95
  preventDefault?: boolean;
96
96
  };
@@ -99,8 +99,8 @@ interface PrivateTriggerSignature {
99
99
  };
100
100
  }
101
101
  export interface TriggerSignature {
102
- Element: PrivateTriggerSignature['Element'];
103
- Blocks: PrivateTriggerSignature['Blocks'];
102
+ Element: PrivateTriggerSignature["Element"];
103
+ Blocks: PrivateTriggerSignature["Blocks"];
104
104
  }
105
105
  declare const Trigger: TOC<PrivateTriggerSignature>;
106
106
  export declare class Menu extends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V,MAAM;0BACH,kBAAkB,CAAC,cAAc,CAAC;8BAC9B,OAAO;6BACR,OAAO;;;;EAiD7B,CAAC;AAEF,UAAU,uBAAuB;IAC/B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,IAAI,EAAE;QACJ,eAAe,EAAE,aAAa,CAC5B,OAAO,OAAO,EACd,gBAAgB,GAAG,WAAW,GAAG,QAAQ,GAAG,cAAc,CAC3D,CAAC;QACF,eAAe,CAAC,EAAE,OAAO,CAAC;QAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;KAC1B,CAAC;IACF,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC;CACzB;AAED,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;IAC5C,MAAM,EAAE,uBAAuB,CAAC,QAAQ,CAAC,CAAC;CAC3C;AAED,QAAA,MAAM,OAAO,EAAE,GAAG,CAAC,uBAAuB,CAWxC,CAAC;AAKH,qBAAa,IAAK,SAAQ,SAAS,CAAC,SAAS,CAAC;IAC5C,SAAS,SAAiB;CAkC3B;AAED,eAAe,IAAI,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { TOC } from '@ember/component/template-only';
1
+ import type { TOC } from "@ember/component/template-only";
2
2
  export declare const Submit: TOC<{
3
3
  Element: HTMLButtonElement;
4
4
  Blocks: {
@@ -1,3 +1,3 @@
1
- export { OTPInput } from "./input";
2
- export { OTP } from "./otp";
1
+ export { OTPInput } from './input';
2
+ export { OTP } from './otp';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
- import Component from '@glimmer/component';
2
- import type { TOC } from '@ember/component/template-only';
3
- import type { WithBoundArgs } from '@glint/template';
1
+ import Component from "@glimmer/component";
2
+ import type { TOC } from "@ember/component/template-only";
3
+ import type { WithBoundArgs } from "@glint/template";
4
4
  declare const Fields: TOC<{
5
5
  /**
6
6
  * Any attributes passed to this component will be applied to each input.
@@ -59,7 +59,7 @@ export declare class OTPInput extends Component<{
59
59
  *
60
60
  * This is how you can add custom validation to each input field.
61
61
  */
62
- default?: [fields: WithBoundArgs<typeof Fields, 'fields' | 'handleChange' | 'labelFn'>];
62
+ default?: [fields: WithBoundArgs<typeof Fields, "fields" | "handleChange" | "labelFn">];
63
63
  };
64
64
  }> {
65
65
  #private;
@@ -70,7 +70,7 @@ export declare class OTPInput extends Component<{
70
70
  */
71
71
  handleChange: (event: Event) => void;
72
72
  get length(): number;
73
- get fields(): any[];
73
+ get fields(): undefined[];
74
74
  }
75
75
  export {};
76
76
  //# sourceMappingURL=input.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/one-time-password/input.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAc3C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAcrD,QAAA,MAAM,MAAM,EAAE,GAAG,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,gBAAgB,CAAC;IAC1B,IAAI,EAAE;QACJ,MAAM,EAAE,OAAO,EAAE,CAAC;QAClB,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;QACnC,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;KACtC,CAAC;CACH,CAmCC,CAAC;AAEH,qBAAa,QAAS,SAAQ,SAAS,CAAC;IACtC;;;;OAIG;IACH,OAAO,EAAE,mBAAmB,CAAC;IAC7B,IAAI,EAAE;QACJ;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;QAEpC;;;WAGG;QACH,QAAQ,CAAC,EAAE,CACT,IAAI,EAAE;YACJ;;;;;eAKG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E;YACJ;;;;;eAKG;YACH,IAAI,EAAE,MAAM,CAAC;YACb;;eAEG;YACH,QAAQ,EAAE,OAAO,CAAC;SACnB;QACD;;WAEG;QACH,KAAK,EAAE,KAAK,KACT,IAAI,CAAC;KACX,CAAC;IACF,MAAM,EAAE;QACN;;;;;WAKG;QACH,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC,OAAO,MAAM,EAAE,QAAQ,GAAG,cAAc,GAAG,SAAS,CAAC,CAAC,CAAC;KACzF,CAAC;CACH,CAAC;;IACA;;;;OAIG;IACH,YAAY,GAAI,OAAO,KAAK,UAmC1B;IAKF,IAAI,MAAM,WAET;IAED,IAAI,MAAM,gBAKT;CA4BF"}
@@ -1,7 +1,7 @@
1
- import { Reset, Submit } from "./buttons";
2
- import { OTPInput } from "./input";
3
- import type { TOC } from '@ember/component/template-only';
4
- import type { WithBoundArgs } from '@glint/template';
1
+ import { Reset, Submit } from './buttons';
2
+ import { OTPInput } from './input';
3
+ import type { TOC } from "@ember/component/template-only";
4
+ import type { WithBoundArgs } from "@glint/template";
5
5
  export declare const OTP: TOC<{
6
6
  /**
7
7
  * The overall OTP Input is in its own form.
@@ -41,7 +41,7 @@ export declare const OTP: TOC<{
41
41
  /**
42
42
  * The collective input field that the OTP code will be typed/pasted in to
43
43
  */
44
- Input: WithBoundArgs<typeof OTPInput, 'length' | 'onChange'>;
44
+ Input: WithBoundArgs<typeof OTPInput, "length" | "onChange">;
45
45
  /**
46
46
  * Button with `type="submit"` to submit the form
47
47
  */
@@ -1 +1 @@
1
- {"version":3,"file":"otp.d.ts","sourceRoot":"","sources":["../../../src/components/one-time-password/otp.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EA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AE3C;;;WAGG;QACH,UAAU,CAAC,EAAE,OAAO,CAAC;KACtB,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP;gBACE;;mBAEG;gBACH,KAAK,EAAE,aAAa,CAAC,OAAO,QAAQ,EAAE,QAAQ,GAAG,UAAU,CAAC,CAAC;gBAC7D;;mBAEG;gBACH,MAAM,EAAE,OAAO,MAAM,CAAC;gBACtB;;mBAEG;gBACH,KAAK,EAAE,OAAO,KAAK,CAAC;aACrB;SACF,CAAC;KACH,CAAC;CACH,CAYC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/one-time-password/utils.ts"],"names":[],"mappings":"AAiBA,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,QAMrC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,QA0CvC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,aAAa,QASpD;AA6DD,eAAO,MAAM,WAAW,UAAW,KAAK,SAiBvC,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,WAAW,GAAG,IAAI,EAAE,MAAM,EAAE,MAAM,sBA0CnF"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/one-time-password/utils.ts"],"names":[],"mappings":"AAiBA,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,QAMrC;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,QA0CvC;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,aAAa,QASpD;AA6DD,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,SAiBvC,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,WAAW,GAAG,IAAI,EAAE,MAAM,EAAE,MAAM,sBA0CnF"}
@@ -1,8 +1,7 @@
1
- import { cell } from 'ember-resources';
2
- import type { Signature as FloatingUiComponentSignature } from '../floating-ui/component.ts';
3
- import type { Signature as HookSignature } from '../floating-ui/modifier.ts';
4
- import type { TOC } from '@ember/component/template-only';
5
- import type { ModifierLike, WithBoundArgs } from '@glint/template';
1
+ import type { Signature as FloatingUiComponentSignature } from "../floating-ui/component.ts";
2
+ import type { Signature as HookSignature } from "../floating-ui/modifier.ts";
3
+ import type { TOC } from "@ember/component/template-only";
4
+ import type { ModifierLike, WithBoundArgs } from "@glint/template";
6
5
  export interface Signature {
7
6
  Args: {
8
7
  /**
@@ -10,19 +9,19 @@ export interface Signature {
10
9
  *
11
10
  * This argument is forwarded to the `<FloatingUI>` component.
12
11
  */
13
- flipOptions?: HookSignature['Args']['Named']['flipOptions'];
12
+ flipOptions?: HookSignature["Args"]["Named"]["flipOptions"];
14
13
  /**
15
14
  * Array of one or more objects to add to Floating UI's list of [middleware](https://floating-ui.com/docs/middleware)
16
15
  *
17
16
  * This argument is forwarded to the `<FloatingUI>` component.
18
17
  */
19
- middleware?: HookSignature['Args']['Named']['middleware'];
18
+ middleware?: HookSignature["Args"]["Named"]["middleware"];
20
19
  /**
21
20
  * See the Floating UI's [offset docs](https://floating-ui.com/docs/offset) for possible values.
22
21
  *
23
22
  * This argument is forwarded to the `<FloatingUI>` component.
24
23
  */
25
- offsetOptions?: HookSignature['Args']['Named']['offsetOptions'];
24
+ offsetOptions?: HookSignature["Args"]["Named"]["offsetOptions"];
26
25
  /**
27
26
  * One of the possible [`placements`](https://floating-ui.com/docs/computeposition#placement). The default is 'bottom'.
28
27
  *
@@ -36,13 +35,13 @@ export interface Signature {
36
35
  *
37
36
  * This argument is forwarded to the `<FloatingUI>` component.
38
37
  */
39
- placement?: `${'top' | 'bottom' | 'left' | 'right'}${'' | '-start' | '-end'}`;
38
+ placement?: `${"top" | "bottom" | "left" | "right"}${"" | "-start" | "-end"}`;
40
39
  /**
41
40
  * See the Floating UI's [shift docs](https://floating-ui.com/docs/shift) for possible values.
42
41
  *
43
42
  * This argument is forwarded to the `<FloatingUI>` component.
44
43
  */
45
- shiftOptions?: HookSignature['Args']['Named']['shiftOptions'];
44
+ shiftOptions?: HookSignature["Args"]["Named"]["shiftOptions"];
46
45
  /**
47
46
  * CSS position property, either `fixed` or `absolute`.
48
47
  *
@@ -50,7 +49,7 @@ export interface Signature {
50
49
  *
51
50
  * This argument is forwarded to the `<FloatingUI>` component.
52
51
  */
53
- strategy?: HookSignature['Args']['Named']['strategy'];
52
+ strategy?: HookSignature["Args"]["Named"]["strategy"];
54
53
  /**
55
54
  * By default, the popover is portaled.
56
55
  * If you don't control your CSS, and the positioning of the popover content
@@ -63,11 +62,13 @@ export interface Signature {
63
62
  Blocks: {
64
63
  default: [
65
64
  {
66
- reference: FloatingUiComponentSignature['Blocks']['default'][0];
67
- setReference: FloatingUiComponentSignature['Blocks']['default'][2]['setReference'];
68
- Content: WithBoundArgs<typeof Content, 'floating'>;
69
- data: FloatingUiComponentSignature['Blocks']['default'][2]['data'];
70
- arrow: WithBoundArgs<ModifierLike<AttachArrowSignature>, 'arrowElement' | 'data'>;
65
+ reference: FloatingUiComponentSignature["Blocks"]["default"][0];
66
+ setReference: FloatingUiComponentSignature["Blocks"]["default"][2]["setReference"];
67
+ Content: WithBoundArgs<typeof Content, "floating">;
68
+ data: FloatingUiComponentSignature["Blocks"]["default"][2]["data"];
69
+ arrow: ModifierLike<{
70
+ Element: HTMLElement;
71
+ }>;
71
72
  }
72
73
  ];
73
74
  };
@@ -102,16 +103,6 @@ declare const Content: TOC<{
102
103
  default: [];
103
104
  };
104
105
  }>;
105
- interface AttachArrowSignature {
106
- Element: HTMLElement;
107
- Args: {
108
- Named: {
109
- arrowElement: ReturnType<typeof ArrowElement>;
110
- data?: any;
111
- };
112
- };
113
- }
114
- declare const ArrowElement: () => ReturnType<typeof cell<HTMLElement>>;
115
106
  export declare const Popover: TOC<Signature>;
116
107
  export default Popover;
117
108
  //# sourceMappingURL=popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/components/popover.ts"],"names":[],"mappings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,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC;gBACnF,OAAO,EAAE,aAAa,CAAC,OAAO,OAAO,EAAE,UAAU,CAAC,CAAC;gBACnD,IAAI,EAAE,4BAA4B,CAAC,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC;gBACnE,KAAK,EAAE,YAAY,CAAC;oBAAE,OAAO,EAAE,WAAW,CAAA;iBAAE,CAAC,CAAC;aAC/C;SACF,CAAC;KACH,CAAC;CACH;AAMD;;;GAGG;AACH,QAAA,MAAM,OAAO,EAAE,GAAG,CAAC;IACjB,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ,QAAQ,EAAE,YAAY,CAAC;YAAE,OAAO,EAAE,WAAW,CAAA;SAAE,CAAC,CAAC;QACjD,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB;;;;;;;;;;;;WAYG;QACH,EAAE,CAAC,EAAE,MAAM,CAAC;KACb,CAAC;IACF,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC;CACzB,CA0CC,CAAC;AAkFH,eAAO,MAAM,OAAO,EAAE,GAAG,CAAC,SAAS,CA+BjC,CAAC;AAEH,eAAe,OAAO,CAAC"}
@@ -1,4 +1,4 @@
1
- import type { TOC } from '@ember/component/template-only';
1
+ import type { TOC } from "@ember/component/template-only";
2
2
  export declare const TARGETS: Readonly<{
3
3
  popover: "ember-primitives__portal-targets__popover";
4
4
  tooltip: "ember-primitives__portal-targets__tooltip";
@@ -1,5 +1,6 @@
1
- import { type TARGETS } from "./portal-targets";
2
- import type { TOC } from '@ember/component/template-only';
1
+ import { type TARGETS } from './portal-targets';
2
+ import type { TOC } from "@ember/component/template-only";
3
+ type Targets = (typeof TARGETS)[keyof typeof TARGETS];
3
4
  export interface Signature {
4
5
  Args: {
5
6
  /**
@@ -7,7 +8,7 @@ export interface Signature {
7
8
  * This is the value of the `data-portal-name` attribute
8
9
  * of the element you wish to render in to.
9
10
  */
10
- to: (typeof TARGETS)[keyof typeof TARGETS] | (string & {});
11
+ to: Targets | (string & {});
11
12
  };
12
13
  Blocks: {
13
14
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../src/components/portal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqB,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEvE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE;QACJ;;;;WAIG;QACH,EAAE,EAAE,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;KAC5D,CAAC;IACF,MAAM,EAAE;QACN;;WAEG;QACH,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAYD,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC,SAAS,CA0BhC,CAAC;AAEH,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"portal.d.ts","sourceRoot":"","sources":["../../src/components/portal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAqB,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAEvE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,KAAK,OAAO,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,OAAO,OAAO,CAAC,CAAC;AAEtD,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE;QACJ;;;;WAIG;QAEH,EAAE,EAAE,OAAO,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;KAC7B,CAAC;IACF,MAAM,EAAE;QACN;;WAEG;QACH,OAAO,EAAE,EAAE,CAAC;KACb,CAAC;CACH;AAcD,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC,SAAS,CA0BhC,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -1,6 +1,6 @@
1
- import Component from '@glimmer/component';
2
- import type { TOC } from '@ember/component/template-only';
3
- import type { WithBoundArgs } from '@glint/template';
1
+ import Component from "@glimmer/component";
2
+ import type { TOC } from "@ember/component/template-only";
3
+ import type { WithBoundArgs } from "@glint/template";
4
4
  export interface Signature {
5
5
  Element: HTMLDivElement;
6
6
  Args: {
@@ -23,7 +23,7 @@ export interface Signature {
23
23
  * The indicator element with some state applied.
24
24
  * This can be used to style the progress of bar.
25
25
  */
26
- Indicator: WithBoundArgs<typeof Indicator, 'value' | 'max' | 'percent'>;
26
+ Indicator: WithBoundArgs<typeof Indicator, "value" | "max" | "percent">;
27
27
  /**
28
28
  * The value as a percent of how far along the indicator should be
29
29
  * positioned, between 0 and 100.
@@ -1,4 +1,4 @@
1
- import Component from '@glimmer/component';
1
+ import Component from "@glimmer/component";
2
2
  /**
3
3
  * Utility component for helping with scrolling in any direction within
4
4
  * any of the 4 directions: up, down, left, right.
@@ -1,4 +1,4 @@
1
- import type { TOC } from '@ember/component/template-only';
1
+ import type { TOC } from "@ember/component/template-only";
2
2
  /**
3
3
  * Render content in a shadow dom, attached to a div.
4
4
  *