ember-primitives 0.4.0 → 0.6.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/_app_/components/form.js +1 -0
- package/dist/components/-private/typed-elements.js +3 -1
- package/dist/components/-private/typed-elements.js.map +1 -1
- package/dist/components/dialog.js.map +1 -1
- package/dist/components/form.js +37 -0
- package/dist/components/form.js.map +1 -0
- package/dist/components/one-time-password/buttons.js +27 -0
- package/dist/components/one-time-password/buttons.js.map +1 -0
- package/dist/components/one-time-password/index.js +3 -0
- package/dist/components/one-time-password/index.js.map +1 -0
- package/dist/components/one-time-password/input.js +159 -0
- package/dist/components/one-time-password/input.js.map +1 -0
- package/dist/components/one-time-password/otp.js +69 -0
- package/dist/components/one-time-password/otp.js.map +1 -0
- package/dist/components/one-time-password/utils.js +102 -0
- package/dist/components/one-time-password/utils.js.map +1 -0
- package/dist/components/popover.js +4 -4
- package/dist/components/popover.js.map +1 -1
- package/dist/components/portal-targets.js.map +1 -1
- package/dist/components/portal.js +3 -3
- package/dist/components/portal.js.map +1 -1
- package/dist/components/progress.js +13 -11
- package/dist/components/progress.js.map +1 -1
- package/dist/components/switch.js.map +1 -1
- package/dist/components/toggle.js.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/test-support/index.js +1 -0
- package/dist/test-support/index.js.map +1 -1
- package/dist/test-support/otp.js +31 -0
- package/dist/test-support/otp.js.map +1 -0
- package/dist-types/components/-private/typed-elements.d.ts.map +1 -1
- package/dist-types/components/form.d.ts +16 -0
- package/dist-types/components/form.d.ts.map +1 -0
- package/dist-types/components/one-time-password/buttons.d.ts +14 -0
- package/dist-types/components/one-time-password/buttons.d.ts.map +1 -0
- package/dist-types/components/one-time-password/index.d.ts +3 -0
- package/dist-types/components/one-time-password/index.d.ts.map +1 -0
- package/dist-types/components/one-time-password/input.d.ts +76 -0
- package/dist-types/components/one-time-password/input.d.ts.map +1 -0
- package/dist-types/components/one-time-password/otp.d.ts +57 -0
- package/dist-types/components/one-time-password/otp.d.ts.map +1 -0
- package/dist-types/components/one-time-password/utils.d.ts +4 -0
- package/dist-types/components/one-time-password/utils.d.ts.map +1 -0
- package/dist-types/components/popover.d.ts +18 -18
- package/dist-types/components/popover.d.ts.map +1 -1
- package/dist-types/components/progress.d.ts +19 -19
- package/dist-types/components/progress.d.ts.map +1 -1
- package/dist-types/index.d.ts +2 -0
- package/dist-types/index.d.ts.map +1 -1
- package/dist-types/test-support/index.d.ts +1 -0
- package/dist-types/test-support/index.d.ts.map +1 -1
- package/dist-types/test-support/otp.d.ts +6 -0
- package/dist-types/test-support/otp.d.ts.map +1 -0
- package/package.json +39 -21
|
@@ -52,12 +52,12 @@ export interface Signature {
|
|
|
52
52
|
*/
|
|
53
53
|
strategy?: HookSignature['Args']['Named']['strategy'];
|
|
54
54
|
/**
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
* By default, the popover is portaled.
|
|
56
|
+
* If you don't control your CSS, and the positioning of the popover content
|
|
57
|
+
* is misbehaving, you may pass "@inline={{true}}" to opt out of portalling.
|
|
58
|
+
*
|
|
59
|
+
* Inline may also be useful in nested menus, where you know exactly how the nesting occurs
|
|
60
|
+
*/
|
|
61
61
|
inline?: boolean;
|
|
62
62
|
};
|
|
63
63
|
Blocks: {
|
|
@@ -83,18 +83,18 @@ declare const Content: TOC<{
|
|
|
83
83
|
}>;
|
|
84
84
|
inline?: boolean;
|
|
85
85
|
/**
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
86
|
+
* By default the popover content is wrapped in a div.
|
|
87
|
+
* You may change this by supplying the name of an element here.
|
|
88
|
+
*
|
|
89
|
+
* For example:
|
|
90
|
+
* ```gjs
|
|
91
|
+
* <Popover as |p|>
|
|
92
|
+
* <p.Content @as="dialog">
|
|
93
|
+
* this is now focus trapped
|
|
94
|
+
* </p.Content>
|
|
95
|
+
* </Popover>
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
98
|
as?: string;
|
|
99
99
|
};
|
|
100
100
|
Blocks: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/components/popover.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAMvC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAc,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACnE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,IAAI,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAEhF,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE;QACJ;;;;WAIG;QACH,WAAW,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC;QAC5D;;;;WAIG;QACH,UAAU,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,YAAY,CAAC,CAAC;QAC1D;;;;WAIG;QACH,aAAa,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,eAAe,CAAC,CAAC;QAChE;;;;;;;;;;;;WAYG;QACH,SAAS,CAAC,EAAE,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,GAAG,EAAE,GAAG,QAAQ,GAAG,MAAM,EAAE,CAAC;QAC9E;;;;WAIG;QACH,YAAY,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,cAAc,CAAC,CAAC;QAC9D;;;;;;WAM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AW,CAAC,CAA6B,CAAC;AAmB3F,eAAO,MAAM,OAAO,EAAE,GAAG,CAAC,SAAS,CAuBjC,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
|
@@ -5,39 +5,39 @@ export interface Signature {
|
|
|
5
5
|
Element: HTMLDivElement;
|
|
6
6
|
Args: {
|
|
7
7
|
/**
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
* The current progress
|
|
9
|
+
* This may be less than 0 or more than `max`,
|
|
10
|
+
* but the resolved value (managed internally, and yielded out)
|
|
11
|
+
* does not exceed the range [0, max]
|
|
12
|
+
*/
|
|
13
13
|
value: number;
|
|
14
14
|
/**
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
* The max value, defaults to 100
|
|
16
|
+
*/
|
|
17
17
|
max?: number;
|
|
18
18
|
};
|
|
19
19
|
Blocks: {
|
|
20
20
|
default: [
|
|
21
21
|
{
|
|
22
22
|
/**
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
* The indicator element with some state applied.
|
|
24
|
+
* This can be used to style the progress of bar.
|
|
25
|
+
*/
|
|
26
26
|
Indicator: WithBoundArgs<typeof Indicator, 'value' | 'max' | 'percent'>;
|
|
27
27
|
/**
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
* The value as a percent of how far along the indicator should be
|
|
29
|
+
* positioned, between 0 and 100.
|
|
30
|
+
* Will be rounded to two decimal places.
|
|
31
|
+
*/
|
|
32
32
|
percent: number;
|
|
33
33
|
/**
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
* The value as a percent of how far along the indicator should be positioned,
|
|
35
|
+
* between 0 and 1
|
|
36
|
+
*/
|
|
37
37
|
decimal: number;
|
|
38
38
|
/**
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
* The resolved value within the limits of the progress bar.
|
|
40
|
+
*/
|
|
41
41
|
value: number;
|
|
42
42
|
}
|
|
43
43
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../src/components/progress.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ;;;;;
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../src/components/progress.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,oBAAoB,CAAC;AAG3C,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAErD,MAAM,WAAW,SAAS;IACxB,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QACJ;;;;;WAKG;QACH,KAAK,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd,CAAC;IACF,MAAM,EAAE;QACN,OAAO,EAAE;YACP;gBACE;;;mBAGG;gBACH,SAAS,EAAE,aAAa,CAAC,OAAO,SAAS,EAAE,OAAO,GAAG,KAAK,GAAG,SAAS,CAAC,CAAC;gBACxE;;;;mBAIG;gBACH,OAAO,EAAE,MAAM,CAAC;gBAChB;;;mBAGG;gBACH,OAAO,EAAE,MAAM,CAAC;gBAChB;;mBAEG;gBACH,KAAK,EAAE,MAAM,CAAC;aACf;SACF,CAAC;KACH,CAAC;CACH;AA0CD,QAAA,MAAM,SAAS,EAAE,GAAG,CAAC;IACnB,OAAO,EAAE,cAAc,CAAC;IACxB,IAAI,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC;IACtD,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC;CACzB,CAaC,CAAC;AAEH,qBAAa,QAAS,SAAQ,SAAS,CAAC,SAAS,CAAC;IAChD,IAAI,GAAG,WAEN;IAED,IAAI,KAAK,WAER;IAED,IAAI,UAAU,WAEb;IAED,IAAI,OAAO,WAEV;IAED,IAAI,OAAO,WAEV;CA4BF;AAED,eAAe,QAAQ,CAAC"}
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export { Dialog, Dialog as Modal } from './components/dialog';
|
|
2
2
|
export { ExternalLink } from './components/external-link';
|
|
3
|
+
export { Form } from './components/form';
|
|
3
4
|
export { Link } from './components/link';
|
|
5
|
+
export { OTP, OTPInput } from './components/one-time-password/index';
|
|
4
6
|
export { Popover } from './components/popover';
|
|
5
7
|
export { Portal } from './components/portal';
|
|
6
8
|
export { PortalTargets } from './components/portal-targets';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,cAAc,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,cAAc,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/test-support/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/test-support/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param {string} code the code to fill the input(s) with.
|
|
3
|
+
* @param {string} [ selector ] if there are multiple OTP components on a page, this can be used to select one of them.
|
|
4
|
+
*/
|
|
5
|
+
export declare function fillOTP(code: string, selector?: string): Promise<void>;
|
|
6
|
+
//# sourceMappingURL=otp.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"otp.d.ts","sourceRoot":"","sources":["../../src/test-support/otp.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,wBAAsB,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,iBAmC5D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-primitives",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Making apps easier to build",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -18,21 +18,23 @@
|
|
|
18
18
|
"@embroider/addon-shim": "^1.8.6",
|
|
19
19
|
"@embroider/macros": "1.13.1",
|
|
20
20
|
"@floating-ui/dom": "^1.5.1",
|
|
21
|
-
"ember-element-helper": "^0.8.
|
|
21
|
+
"ember-element-helper": "^0.8.4",
|
|
22
22
|
"ember-velcro": "^2.1.3",
|
|
23
23
|
"tracked-toolbox": "^2.0.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@arethetypeswrong/cli": "^0.
|
|
27
|
-
"@babel/core": "^7.22.
|
|
28
|
-
"@babel/eslint-parser": "^7.22.
|
|
26
|
+
"@arethetypeswrong/cli": "^0.10.1",
|
|
27
|
+
"@babel/core": "^7.22.15",
|
|
28
|
+
"@babel/eslint-parser": "^7.22.15",
|
|
29
29
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
30
|
-
"@babel/plugin-proposal-decorators": "^7.22.
|
|
30
|
+
"@babel/plugin-proposal-decorators": "^7.22.15",
|
|
31
31
|
"@babel/plugin-proposal-object-rest-spread": "^7.20.7",
|
|
32
32
|
"@babel/plugin-syntax-decorators": "^7.22.10",
|
|
33
|
-
"@babel/plugin-transform-class-static-block": "^7.22.
|
|
33
|
+
"@babel/plugin-transform-class-static-block": "^7.22.11",
|
|
34
34
|
"@babel/plugin-transform-private-methods": "^7.22.5",
|
|
35
|
-
"@babel/preset-typescript": "^7.22.
|
|
35
|
+
"@babel/preset-typescript": "^7.22.15",
|
|
36
|
+
"@ember/test-helpers": "^3.2.0",
|
|
37
|
+
"@ember/test-waiters": "^3.0.2",
|
|
36
38
|
"@embroider/addon-dev": "4.1.0",
|
|
37
39
|
"@glimmer/component": "^1.1.2",
|
|
38
40
|
"@glimmer/tracking": "^1.1.2",
|
|
@@ -42,30 +44,30 @@
|
|
|
42
44
|
"@glint/template": "^1.1.0",
|
|
43
45
|
"@nullvoxpopuli/eslint-configs": "^3.2.2",
|
|
44
46
|
"@rollup/plugin-babel": "^6.0.3",
|
|
45
|
-
"@rollup/plugin-node-resolve": "^15.1
|
|
46
|
-
"@rollup/plugin-typescript": "^11.1.
|
|
47
|
+
"@rollup/plugin-node-resolve": "^15.2.1",
|
|
48
|
+
"@rollup/plugin-typescript": "^11.1.3",
|
|
47
49
|
"@tsconfig/ember": "^3.0.0",
|
|
48
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
49
|
-
"@typescript-eslint/parser": "^6.
|
|
50
|
+
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
|
51
|
+
"@typescript-eslint/parser": "^6.6.0",
|
|
50
52
|
"babel-plugin-ember-template-compilation": "^2.2.0",
|
|
51
|
-
"concurrently": "^8.2.
|
|
53
|
+
"concurrently": "^8.2.1",
|
|
52
54
|
"ember-modifier": "^4.1.0",
|
|
53
55
|
"ember-resources": "^6.4.0",
|
|
54
56
|
"ember-source": "~5.2.0",
|
|
55
57
|
"ember-template-imports": "^3.4.2",
|
|
56
58
|
"ember-template-lint": "^5.11.2",
|
|
57
|
-
"eslint": "^8.
|
|
59
|
+
"eslint": "^8.48.0",
|
|
58
60
|
"eslint-config-prettier": "^9.0.0",
|
|
59
|
-
"eslint-plugin-ember": "^11.
|
|
61
|
+
"eslint-plugin-ember": "^11.11.1",
|
|
60
62
|
"eslint-plugin-node": "^11.1.0",
|
|
61
63
|
"eslint-plugin-prettier": "^5.0.0",
|
|
62
|
-
"prettier": "^3.0.
|
|
63
|
-
"prettier-plugin-ember-template-tag": "^1.0
|
|
64
|
-
"publint": "^0.2.
|
|
65
|
-
"rollup": "~3.
|
|
66
|
-
"rollup-plugin-copy": "^3.
|
|
64
|
+
"prettier": "^3.0.3",
|
|
65
|
+
"prettier-plugin-ember-template-tag": "^1.1.0",
|
|
66
|
+
"publint": "^0.2.2",
|
|
67
|
+
"rollup": "~3.29.0",
|
|
68
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
67
69
|
"rollup-plugin-glimmer-template-tag": "^0.4.1",
|
|
68
|
-
"typescript": "^5.
|
|
70
|
+
"typescript": "^5.2.2"
|
|
69
71
|
},
|
|
70
72
|
"publishConfig": {
|
|
71
73
|
"registry": "https://registry.npmjs.org"
|
|
@@ -80,6 +82,7 @@
|
|
|
80
82
|
"app-js": {
|
|
81
83
|
"./components/dialog.js": "./dist/_app_/components/dialog.js",
|
|
82
84
|
"./components/external-link.js": "./dist/_app_/components/external-link.js",
|
|
85
|
+
"./components/form.js": "./dist/_app_/components/form.js",
|
|
83
86
|
"./components/link.js": "./dist/_app_/components/link.js",
|
|
84
87
|
"./components/popover.js": "./dist/_app_/components/popover.js",
|
|
85
88
|
"./components/portal-targets.js": "./dist/_app_/components/portal-targets.js",
|
|
@@ -96,6 +99,10 @@
|
|
|
96
99
|
"types": "./dist-types/index.d.ts",
|
|
97
100
|
"default": "./dist/index.js"
|
|
98
101
|
},
|
|
102
|
+
"./one-time-password": {
|
|
103
|
+
"types": "./dist-types/components/one-time-password/index.d.ts",
|
|
104
|
+
"default": "./dist/components/one-time-password/index.js"
|
|
105
|
+
},
|
|
99
106
|
"./*": {
|
|
100
107
|
"types": "./dist-types/*.d.ts",
|
|
101
108
|
"default": "./dist/*.js"
|
|
@@ -120,12 +127,23 @@
|
|
|
120
127
|
"extends": "../package.json"
|
|
121
128
|
},
|
|
122
129
|
"peerDependencies": {
|
|
130
|
+
"@ember/test-helpers": "^3.2.0",
|
|
131
|
+
"@ember/test-waiters": "^3.0.2",
|
|
123
132
|
"@glimmer/component": ">= 1.1.2",
|
|
124
133
|
"@glimmer/tracking": ">= 1.1.2",
|
|
134
|
+
"@glint/template": ">= 1.0.0",
|
|
125
135
|
"ember-modifier": ">= 4.1.0",
|
|
126
136
|
"ember-resources": ">= 6.1.0",
|
|
127
137
|
"ember-source": ">= 4.12.0"
|
|
128
138
|
},
|
|
139
|
+
"peerDependenciesMeta": {
|
|
140
|
+
"@ember/test-helpers": {
|
|
141
|
+
"optional": true
|
|
142
|
+
},
|
|
143
|
+
"@glint/template": {
|
|
144
|
+
"optional": true
|
|
145
|
+
}
|
|
146
|
+
},
|
|
129
147
|
"scripts": {
|
|
130
148
|
"build": "concurrently 'npm:build:*'",
|
|
131
149
|
"build:js": "rollup --config ./rollup.config.mjs",
|