@frontile/forms-legacy 0.17.0-beta.5 → 0.17.0-beta.9
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/components/form-checkbox-group.js +20 -23
- package/dist/components/form-checkbox-group.js.map +1 -1
- package/dist/components/form-checkbox.js +14 -9
- package/dist/components/form-checkbox.js.map +1 -1
- package/dist/components/form-field/checkbox.js +14 -9
- package/dist/components/form-field/checkbox.js.map +1 -1
- package/dist/components/form-field/feedback.js +5 -5
- package/dist/components/form-field/feedback.js.map +1 -1
- package/dist/components/form-field/hint.js +5 -5
- package/dist/components/form-field/hint.js.map +1 -1
- package/dist/components/form-field/input.js +17 -9
- package/dist/components/form-field/input.js.map +1 -1
- package/dist/components/form-field/label.js +5 -5
- package/dist/components/form-field/label.js.map +1 -1
- package/dist/components/form-field/radio.js +14 -9
- package/dist/components/form-field/radio.js.map +1 -1
- package/dist/components/form-field/textarea.js +17 -9
- package/dist/components/form-field/textarea.js.map +1 -1
- package/dist/components/form-field.js +16 -20
- package/dist/components/form-field.js.map +1 -1
- package/dist/components/form-input.js +23 -25
- package/dist/components/form-input.js.map +1 -1
- package/dist/components/form-radio-group.js +20 -23
- package/dist/components/form-radio-group.js.map +1 -1
- package/dist/components/form-radio.js +14 -9
- package/dist/components/form-radio.js.map +1 -1
- package/dist/components/form-select.js +41 -31
- package/dist/components/form-select.js.map +1 -1
- package/dist/components/form-textarea.js +10 -10
- package/dist/components/form-textarea.js.map +1 -1
- package/dist/runtime-BPCpkOf1-B5Lbloj7.js +67 -0
- package/dist/runtime-BPCpkOf1-B5Lbloj7.js.map +1 -0
- package/package.json +40 -43
|
@@ -6,7 +6,6 @@ import FormField from './form-field.js';
|
|
|
6
6
|
import { precompileTemplate } from '@ember/template-compilation';
|
|
7
7
|
import { setComponentTemplate } from '@ember/component';
|
|
8
8
|
|
|
9
|
-
var _FormTextarea;
|
|
10
9
|
class FormTextarea extends FormInputBase {
|
|
11
10
|
get classes() {
|
|
12
11
|
const {
|
|
@@ -33,16 +32,17 @@ class FormTextarea extends FormInputBase {
|
|
|
33
32
|
feedback: feedback()
|
|
34
33
|
};
|
|
35
34
|
}
|
|
35
|
+
static {
|
|
36
|
+
setComponentTemplate(precompileTemplate("\n <FormField @size={{@size}} class={{this.classes.base}} as |f|>\n {{#if @label}}\n <f.Label @class={{this.classes.label}}>\n {{@label}}\n </f.Label>\n {{/if}}\n\n {{#if @hint}}\n <f.Hint @class={{this.classes.hint}}>\n {{@hint}}\n </f.Hint>\n {{/if}}\n\n <f.Textarea {{on \"focus\" this.handleFocusIn}} {{on \"blur\" this.handleFocusOut}} @onInput={{@onInput}} @onChange={{@onChange}} @value={{@value}} @class={{this.classes.input}} aria-invalid={{if this.showErrorFeedback \"true\"}} aria-describedby=\"{{if @hint f.hintId}}{{if this.showErrorFeedback (concat \" \" f.feedbackId)}}\" ...attributes />\n\n {{yield}}\n\n {{#if this.showErrorFeedback}}\n <f.Feedback @class={{this.classes.feedback}} @errors={{@errors}} />\n {{/if}}\n </FormField>\n ", {
|
|
37
|
+
strictMode: true,
|
|
38
|
+
scope: () => ({
|
|
39
|
+
FormField,
|
|
40
|
+
concat,
|
|
41
|
+
on
|
|
42
|
+
})
|
|
43
|
+
}), this);
|
|
44
|
+
}
|
|
36
45
|
}
|
|
37
|
-
_FormTextarea = FormTextarea;
|
|
38
|
-
setComponentTemplate(precompileTemplate("\n <FormField @size={{@size}} class={{this.classes.base}} as |f|>\n {{#if @label}}\n <f.Label @class={{this.classes.label}}>\n {{@label}}\n </f.Label>\n {{/if}}\n\n {{#if @hint}}\n <f.Hint @class={{this.classes.hint}}>\n {{@hint}}\n </f.Hint>\n {{/if}}\n\n <f.Textarea {{on \"focus\" this.handleFocusIn}} {{on \"blur\" this.handleFocusOut}} @onInput={{@onInput}} @onChange={{@onChange}} @value={{@value}} @class={{this.classes.input}} aria-invalid={{if this.showErrorFeedback \"true\"}} aria-describedby=\"{{if @hint f.hintId}}{{if this.showErrorFeedback (concat \" \" f.feedbackId)}}\" ...attributes />\n\n {{yield}}\n\n {{#if this.showErrorFeedback}}\n <f.Feedback @class={{this.classes.feedback}} @errors={{@errors}} />\n {{/if}}\n </FormField>\n ", {
|
|
39
|
-
strictMode: true,
|
|
40
|
-
scope: () => ({
|
|
41
|
-
FormField,
|
|
42
|
-
concat,
|
|
43
|
-
on
|
|
44
|
-
})
|
|
45
|
-
}), _FormTextarea);
|
|
46
46
|
|
|
47
47
|
export { FormTextarea as default };
|
|
48
48
|
//# sourceMappingURL=form-textarea.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-textarea.js","sources":["../../src/components/form-textarea.gts"],"sourcesContent":["import { FormInputBase, type FormInputBaseSignature } from './form-input';\nimport { on } from '@ember/modifier';\nimport { concat } from '@ember/helper';\nimport { useStyles } from '@frontile/theme';\nimport FormField from './form-field';\n\nexport interface FormTextareaSignature extends FormInputBaseSignature {\n Element: HTMLTextAreaElement;\n Blocks: {\n default: [];\n };\n}\n\nexport default class FormTextarea extends FormInputBase<FormTextareaSignature> {\n get classes() {\n const { formInput } = useStyles();\n\n const { base, label, input, hint, feedback } = formInput({\n size: this.args.size\n });\n\n return {\n base: base({\n class: this.args.containerClass\n }),\n label: label(),\n input: input({ class: this.args.inputClass }),\n hint: hint(),\n feedback: feedback()\n };\n }\n\n <template>\n <FormField @size={{@size}} class={{this.classes.base}} as |f|>\n {{#if @label}}\n <f.Label @class={{this.classes.label}}>\n {{@label}}\n </f.Label>\n {{/if}}\n\n {{#if @hint}}\n <f.Hint @class={{this.classes.hint}}>\n {{@hint}}\n </f.Hint>\n {{/if}}\n\n <f.Textarea\n {{on \"focus\" this.handleFocusIn}}\n {{on \"blur\" this.handleFocusOut}}\n @onInput={{@onInput}}\n @onChange={{@onChange}}\n @value={{@value}}\n @class={{this.classes.input}}\n aria-invalid={{if this.showErrorFeedback \"true\"}}\n aria-describedby=\"{{if @hint f.hintId}}{{if\n this.showErrorFeedback\n (concat ' ' f.feedbackId)\n }}\"\n ...attributes\n />\n\n {{yield}}\n\n {{#if this.showErrorFeedback}}\n <f.Feedback @class={{this.classes.feedback}} @errors={{@errors}} />\n {{/if}}\n </FormField>\n </template>\n}\n"],"names":["FormTextarea","FormInputBase","classes","formInput","useStyles","base","label","input","hint","feedback","size","args","class","containerClass","inputClass","
|
|
1
|
+
{"version":3,"file":"form-textarea.js","sources":["../../src/components/form-textarea.gts"],"sourcesContent":["import { FormInputBase, type FormInputBaseSignature } from './form-input';\nimport { on } from '@ember/modifier';\nimport { concat } from '@ember/helper';\nimport { useStyles } from '@frontile/theme';\nimport FormField from './form-field';\n\nexport interface FormTextareaSignature extends FormInputBaseSignature {\n Element: HTMLTextAreaElement;\n Blocks: {\n default: [];\n };\n}\n\nexport default class FormTextarea extends FormInputBase<FormTextareaSignature> {\n get classes() {\n const { formInput } = useStyles();\n\n const { base, label, input, hint, feedback } = formInput({\n size: this.args.size\n });\n\n return {\n base: base({\n class: this.args.containerClass\n }),\n label: label(),\n input: input({ class: this.args.inputClass }),\n hint: hint(),\n feedback: feedback()\n };\n }\n\n <template>\n <FormField @size={{@size}} class={{this.classes.base}} as |f|>\n {{#if @label}}\n <f.Label @class={{this.classes.label}}>\n {{@label}}\n </f.Label>\n {{/if}}\n\n {{#if @hint}}\n <f.Hint @class={{this.classes.hint}}>\n {{@hint}}\n </f.Hint>\n {{/if}}\n\n <f.Textarea\n {{on \"focus\" this.handleFocusIn}}\n {{on \"blur\" this.handleFocusOut}}\n @onInput={{@onInput}}\n @onChange={{@onChange}}\n @value={{@value}}\n @class={{this.classes.input}}\n aria-invalid={{if this.showErrorFeedback \"true\"}}\n aria-describedby=\"{{if @hint f.hintId}}{{if\n this.showErrorFeedback\n (concat ' ' f.feedbackId)\n }}\"\n ...attributes\n />\n\n {{yield}}\n\n {{#if this.showErrorFeedback}}\n <f.Feedback @class={{this.classes.feedback}} @errors={{@errors}} />\n {{/if}}\n </FormField>\n </template>\n}\n"],"names":["FormTextarea","FormInputBase","classes","formInput","useStyles","base","label","input","hint","feedback","size","args","class","containerClass","inputClass","setComponentTemplate","precompileTemplate","strictMode","scope","FormField","concat","on"],"mappings":";;;;;;;;AAae,MAAMA,qBAAqBC,aAAc,CAAA;EACtD,IAAIC,OAAUA,GAAA;IACZ,MAAM;AAAEC,MAAAA;KAAW,GAAGC,SAAA,EAAA;IAEtB,MAAM;MAAEC,IAAI;MAAEC,KAAK;MAAEC,KAAK;MAAEC,IAAI;AAAEC,MAAAA;KAAU,GAAGN,SAAU,CAAA;AACvDO,MAAAA,IAAA,EAAM,IAAI,CAACC,IAAI,CAACD;AAClB,KAAA,CAAA;IAEA,OAAO;MACLL,IAAA,EAAMA,IAAK,CAAA;AACTO,QAAAA,KAAA,EAAO,IAAI,CAACD,IAAI,CAACE;AACnB,OAAA,CAAA;MACAP,KAAO,EAAAA,KAAA,EAAA;MACPC,KAAA,EAAOA,KAAM,CAAA;AAAEK,QAAAA,KAAA,EAAO,IAAI,CAACD,IAAI,CAACG;AAAW,OAAA,CAAA;MAC3CN,IAAM,EAAAA,IAAA,EAAA;MACNC,QAAU,EAAAA,QAAA;KACZ;AACF;AAEA,EAAA;IAAAM,oBAAA,CAAAC,kBAAA,CAmCA,o1BAAA,EAAA;MAAAC,UAAA,EAAA,IAAA;AAAAC,MAAAA,KAAA,EAAAA,OAAA;QAAAC,SAAA;QAAAC,MAAA;AAAAC,QAAAA;AAAA,OAAA;KAAU,CAAA,EAAV,IAAW,CAAA;AAAD;AACZ;;;;"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
const deferred = /* @__PURE__ */new WeakMap();
|
|
2
|
+
function deferDecorator(proto, prop, desc) {
|
|
3
|
+
let map = deferred.get(proto);
|
|
4
|
+
if (!map) {
|
|
5
|
+
map = /* @__PURE__ */new Map();
|
|
6
|
+
deferred.set(proto, map);
|
|
7
|
+
}
|
|
8
|
+
map.set(prop, desc);
|
|
9
|
+
}
|
|
10
|
+
function findDeferredDecorator(target, prop) {
|
|
11
|
+
var _a;
|
|
12
|
+
let cursor = target.prototype;
|
|
13
|
+
while (cursor) {
|
|
14
|
+
let desc = (_a = deferred.get(cursor)) == null ? void 0 : _a.get(prop);
|
|
15
|
+
if (desc) {
|
|
16
|
+
return desc;
|
|
17
|
+
}
|
|
18
|
+
cursor = cursor.prototype;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
function decorateFieldV2(prototype, prop, decorators, initializer) {
|
|
22
|
+
let desc = {
|
|
23
|
+
configurable: true,
|
|
24
|
+
enumerable: true,
|
|
25
|
+
writable: true,
|
|
26
|
+
initializer: null
|
|
27
|
+
};
|
|
28
|
+
if (initializer) {
|
|
29
|
+
desc.initializer = initializer;
|
|
30
|
+
}
|
|
31
|
+
for (let decorator of decorators) {
|
|
32
|
+
desc = decorator(prototype, prop, desc) || desc;
|
|
33
|
+
}
|
|
34
|
+
if (desc.initializer === void 0) {
|
|
35
|
+
Object.defineProperty(prototype, prop, desc);
|
|
36
|
+
} else {
|
|
37
|
+
deferDecorator(prototype, prop, desc);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function decorateMethodV2(prototype, prop, decorators) {
|
|
41
|
+
const origDesc = Object.getOwnPropertyDescriptor(prototype, prop);
|
|
42
|
+
let desc = {
|
|
43
|
+
...origDesc
|
|
44
|
+
};
|
|
45
|
+
for (let decorator of decorators) {
|
|
46
|
+
desc = decorator(prototype, prop, desc) || desc;
|
|
47
|
+
}
|
|
48
|
+
if (desc.initializer !== void 0) {
|
|
49
|
+
desc.value = desc.initializer ? desc.initializer.call(prototype) : void 0;
|
|
50
|
+
desc.initializer = void 0;
|
|
51
|
+
}
|
|
52
|
+
Object.defineProperty(prototype, prop, desc);
|
|
53
|
+
}
|
|
54
|
+
function initializeDeferredDecorator(target, prop) {
|
|
55
|
+
let desc = findDeferredDecorator(target.constructor, prop);
|
|
56
|
+
if (desc) {
|
|
57
|
+
Object.defineProperty(target, prop, {
|
|
58
|
+
enumerable: desc.enumerable,
|
|
59
|
+
configurable: desc.configurable,
|
|
60
|
+
writable: desc.writable,
|
|
61
|
+
value: desc.initializer ? desc.initializer.call(target) : void 0
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export { decorateMethodV2 as a, decorateFieldV2 as d, initializeDeferredDecorator as i };
|
|
67
|
+
//# sourceMappingURL=runtime-BPCpkOf1-B5Lbloj7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"runtime-BPCpkOf1-B5Lbloj7.js","sources":["../../../node_modules/.pnpm/decorator-transforms@2.3.0_@babel+core@7.26.7/node_modules/decorator-transforms/dist/runtime-BPCpkOf1.js"],"sourcesContent":["const deferred = /* @__PURE__ */ new WeakMap();\nfunction deferDecorator(proto, prop, desc) {\n let map = deferred.get(proto);\n if (!map) {\n map = /* @__PURE__ */ new Map();\n deferred.set(proto, map);\n }\n map.set(prop, desc);\n}\nfunction findDeferredDecorator(target, prop) {\n var _a;\n let cursor = target.prototype;\n while (cursor) {\n let desc = (_a = deferred.get(cursor)) == null ? void 0 : _a.get(prop);\n if (desc) {\n return desc;\n }\n cursor = cursor.prototype;\n }\n}\nfunction decorateFieldV1(target, prop, decorators, initializer) {\n return decorateFieldV2(target.prototype, prop, decorators, initializer);\n}\nfunction decorateFieldV2(prototype, prop, decorators, initializer) {\n let desc = {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: null\n };\n if (initializer) {\n desc.initializer = initializer;\n }\n for (let decorator of decorators) {\n desc = decorator(prototype, prop, desc) || desc;\n }\n if (desc.initializer === void 0) {\n Object.defineProperty(prototype, prop, desc);\n } else {\n deferDecorator(prototype, prop, desc);\n }\n}\nfunction decorateMethodV1({ prototype }, prop, decorators) {\n return decorateMethodV2(prototype, prop, decorators);\n}\nfunction decorateMethodV2(prototype, prop, decorators) {\n const origDesc = Object.getOwnPropertyDescriptor(prototype, prop);\n let desc = { ...origDesc };\n for (let decorator of decorators) {\n desc = decorator(prototype, prop, desc) || desc;\n }\n if (desc.initializer !== void 0) {\n desc.value = desc.initializer ? desc.initializer.call(prototype) : void 0;\n desc.initializer = void 0;\n }\n Object.defineProperty(prototype, prop, desc);\n}\nfunction initializeDeferredDecorator(target, prop) {\n let desc = findDeferredDecorator(target.constructor, prop);\n if (desc) {\n Object.defineProperty(target, prop, {\n enumerable: desc.enumerable,\n configurable: desc.configurable,\n writable: desc.writable,\n value: desc.initializer ? desc.initializer.call(target) : void 0\n });\n }\n}\nfunction decorateClass(target, decorators) {\n return decorators.reduce(\n (accum, decorator) => decorator(accum) || accum,\n target\n );\n}\nfunction decoratePOJO(pojo, decorated) {\n for (let [type, prop, decorators] of decorated) {\n if (type === \"field\") {\n decoratePojoField(pojo, prop, decorators);\n } else {\n decorateMethodV2(pojo, prop, decorators);\n }\n }\n return pojo;\n}\nfunction decoratePojoField(pojo, prop, decorators) {\n let desc = {\n configurable: true,\n enumerable: true,\n writable: true,\n initializer: () => {\n var _a;\n return (_a = Object.getOwnPropertyDescriptor(pojo, prop)) == null ? void 0 : _a.value;\n }\n };\n for (let decorator of decorators) {\n desc = decorator(pojo, prop, desc) || desc;\n }\n if (desc.initializer) {\n desc.value = desc.initializer.call(pojo);\n delete desc.initializer;\n }\n Object.defineProperty(pojo, prop, desc);\n}\nconst runtime = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({\n __proto__: null,\n c: decorateClass,\n f: decorateFieldV1,\n g: decorateFieldV2,\n i: initializeDeferredDecorator,\n m: decorateMethodV1,\n n: decorateMethodV2,\n p: decoratePOJO\n}, Symbol.toStringTag, { value: \"Module\" }));\nexport {\n decorateFieldV2 as a,\n decorateMethodV1 as b,\n decorateMethodV2 as c,\n decorateFieldV1 as d,\n decorateClass as e,\n decoratePOJO as f,\n initializeDeferredDecorator as i,\n runtime as r\n};\n//# sourceMappingURL=runtime-BPCpkOf1.js.map\n"],"names":["deferred","WeakMap","deferDecorator","proto","prop","desc","map","get","Map","set","findDeferredDecorator","target","_a","cursor","prototype","decorateFieldV2","decorators","initializer","configurable","enumerable","writable","decorator","Object","defineProperty","decorateMethodV2","origDesc","getOwnPropertyDescriptor","value","call","initializeDeferredDecorator","constructor"],"mappings":"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","x_google_ignoreList":[0]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontile/forms-legacy",
|
|
3
|
-
"version": "0.17.0-beta.
|
|
3
|
+
"version": "0.17.0-beta.9",
|
|
4
4
|
"description": "Component Library for Ember Octane apps: Forms",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -9,6 +9,24 @@
|
|
|
9
9
|
"repository": "https://github.com/josemarluedke/frontile",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"author": "",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./declarations/index.d.ts",
|
|
15
|
+
"default": "./dist/index.js"
|
|
16
|
+
},
|
|
17
|
+
"./*": {
|
|
18
|
+
"types": "./declarations/*.d.ts",
|
|
19
|
+
"default": "./dist/*.js"
|
|
20
|
+
},
|
|
21
|
+
"./addon-main.js": "./addon-main.js"
|
|
22
|
+
},
|
|
23
|
+
"typesVersions": {
|
|
24
|
+
"*": {
|
|
25
|
+
"*": [
|
|
26
|
+
"declarations/*"
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
},
|
|
12
30
|
"directories": {
|
|
13
31
|
"doc": "doc",
|
|
14
32
|
"test": "tests"
|
|
@@ -19,55 +37,52 @@
|
|
|
19
37
|
"dist"
|
|
20
38
|
],
|
|
21
39
|
"scripts": {
|
|
22
|
-
"build": "
|
|
23
|
-
"build:js": "rollup --config",
|
|
24
|
-
"build:types": "glint --declaration",
|
|
40
|
+
"build": "rollup --config",
|
|
25
41
|
"lint": "concurrently 'npm:lint:*(!fix)' --names 'lint:'",
|
|
26
42
|
"lint:fix": "concurrently 'npm:lint:*:fix' --names 'fix:'",
|
|
27
43
|
"lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
|
|
28
|
-
"lint:js": "eslint . --cache",
|
|
29
44
|
"lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern",
|
|
45
|
+
"lint:js": "eslint . --cache",
|
|
30
46
|
"lint:js:fix": "eslint . --fix",
|
|
31
47
|
"lint:types": "glint",
|
|
48
|
+
"prepack": "concurrently 'npm:build'",
|
|
32
49
|
"start": "concurrently 'npm:start:*'",
|
|
33
50
|
"start:js": "rollup --config --watch --no-watch.clearScreen",
|
|
34
51
|
"start:types": "glint -d --watch",
|
|
35
|
-
"test": "echo 'A v2 addon does not have tests, run tests in test-app'"
|
|
36
|
-
"prepack": "concurrently 'npm:build'"
|
|
37
|
-
},
|
|
38
|
-
"peerDependencies": {
|
|
39
|
-
"@babel/runtime": ">= 7",
|
|
40
|
-
"ember-source": ">= 4.12.0"
|
|
52
|
+
"test": "echo 'A v2 addon does not have tests, run tests in test-app'"
|
|
41
53
|
},
|
|
42
54
|
"dependencies": {
|
|
43
55
|
"@embroider/addon-shim": "^1.9.0",
|
|
44
|
-
"@frontile/theme": "0.17.0-beta.
|
|
45
|
-
"@glint/template": "1.5.
|
|
56
|
+
"@frontile/theme": "0.17.0-beta.9",
|
|
57
|
+
"@glint/template": "1.5.2",
|
|
46
58
|
"ember-basic-dropdown": "^8.4.0",
|
|
47
59
|
"ember-power-select": "^8.6.2"
|
|
48
60
|
},
|
|
49
61
|
"devDependencies": {
|
|
50
|
-
"@babel/core": "7.26.
|
|
51
|
-
"@babel/plugin-
|
|
52
|
-
"@babel/plugin-proposal-decorators": "7.25.9",
|
|
53
|
-
"@babel/plugin-transform-class-static-block": "^7.23.4",
|
|
54
|
-
"@babel/preset-typescript": "7.26.0",
|
|
62
|
+
"@babel/core": "7.26.7",
|
|
63
|
+
"@babel/plugin-transform-typescript": "^7.26.7",
|
|
55
64
|
"@embroider/addon-dev": "7.1.1",
|
|
56
65
|
"@glimmer/component": "^2.0.0",
|
|
57
66
|
"@glimmer/tracking": "^1.1.2",
|
|
58
|
-
"@glint/core": "1.5.
|
|
59
|
-
"@glint/environment-ember-loose": "1.5.
|
|
60
|
-
"@glint/environment-ember-template-imports": "1.5.
|
|
67
|
+
"@glint/core": "1.5.2",
|
|
68
|
+
"@glint/environment-ember-loose": "1.5.2",
|
|
69
|
+
"@glint/environment-ember-template-imports": "1.5.2",
|
|
70
|
+
"@rollup/plugin-babel": "^6.0.4",
|
|
61
71
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
62
|
-
"@tsconfig/ember": "^3.0.
|
|
72
|
+
"@tsconfig/ember": "^3.0.9",
|
|
63
73
|
"babel-plugin-ember-template-compilation": "^2.2.1",
|
|
64
74
|
"concurrently": "^9.1.0",
|
|
75
|
+
"decorator-transforms": "^2.3.0",
|
|
65
76
|
"ember-concurrency": "^4.0.2",
|
|
66
77
|
"ember-source": "^6.1.0",
|
|
67
78
|
"rollup": "^4.29.1",
|
|
68
|
-
"rollup-plugin-
|
|
79
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
69
80
|
"tailwindcss": "^3.4.17",
|
|
70
|
-
"typescript": "^5.7.
|
|
81
|
+
"typescript": "^5.7.3"
|
|
82
|
+
},
|
|
83
|
+
"peerDependencies": {
|
|
84
|
+
"@babel/runtime": ">= 7",
|
|
85
|
+
"ember-source": ">= 4.12.0"
|
|
71
86
|
},
|
|
72
87
|
"engines": {
|
|
73
88
|
"node": ">= 10.*"
|
|
@@ -100,23 +115,5 @@
|
|
|
100
115
|
"./components/form-textarea.js": "./dist/_app_/components/form-textarea.js"
|
|
101
116
|
}
|
|
102
117
|
},
|
|
103
|
-
"
|
|
104
|
-
".": {
|
|
105
|
-
"types": "./declarations/index.d.ts",
|
|
106
|
-
"default": "./dist/index.js"
|
|
107
|
-
},
|
|
108
|
-
"./*": {
|
|
109
|
-
"types": "./declarations/*.d.ts",
|
|
110
|
-
"default": "./dist/*.js"
|
|
111
|
-
},
|
|
112
|
-
"./addon-main.js": "./addon-main.js"
|
|
113
|
-
},
|
|
114
|
-
"typesVersions": {
|
|
115
|
-
"*": {
|
|
116
|
-
"*": [
|
|
117
|
-
"declarations/*"
|
|
118
|
-
]
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"gitHead": "5a9a2f933b0f137f9437bbfc8cf99244ec9d5e85"
|
|
118
|
+
"gitHead": "374df62369fbace3fa5a8cc29611e384ccb48ab0"
|
|
122
119
|
}
|