ember-style-modifier 4.1.0 → 4.3.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/LICENSE.md +1 -1
- package/README.md +2 -2
- package/addon-main.cjs +4 -0
- package/declarations/index.d.ts +2 -0
- package/declarations/index.d.ts.map +1 -0
- package/declarations/{addon/modifiers → modifiers}/style.d.ts +6 -4
- package/declarations/modifiers/style.d.ts.map +1 -0
- package/declarations/template-registry.d.ts +5 -0
- package/declarations/template-registry.d.ts.map +1 -0
- package/dist/_app_/modifiers/style.js +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/{addon/modifiers/style.ts → dist/modifiers/style.js} +16 -40
- package/dist/modifiers/style.js.map +1 -0
- package/package.json +56 -83
- package/CHANGELOG.md +0 -208
- package/addon/index.ts +0 -1
- package/addon/template-registry.ts +0 -5
- package/app/modifiers/style.js +0 -1
- package/declarations/addon/index.d.ts +0 -2
- package/declarations/addon/index.d.ts.map +0 -1
- package/declarations/addon/modifiers/style.d.ts.map +0 -1
- package/declarations/addon/template-registry.d.ts +0 -5
- package/declarations/addon/template-registry.d.ts.map +0 -1
- package/index.js +0 -9
- package/tsconfig.declarations.json +0 -10
- package/tsconfig.json +0 -21
- package/types/global.d.ts +0 -6
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2024
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
6
|
|
package/README.md
CHANGED
|
@@ -9,8 +9,8 @@ This allows to set custom CSS of an element without requiring a [Content Securit
|
|
|
9
9
|
|
|
10
10
|
## Compatibility
|
|
11
11
|
|
|
12
|
-
* Ember.js
|
|
13
|
-
* Ember CLI
|
|
12
|
+
* Ember.js v3.28 or above
|
|
13
|
+
* Ember CLI v3.28 or above
|
|
14
14
|
* Node.js v18 or above
|
|
15
15
|
|
|
16
16
|
## Installation
|
package/addon-main.cjs
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import Modifier from 'ember-modifier';
|
|
2
2
|
import type * as CSS from 'csstype';
|
|
3
|
-
type CSSStyles = Partial<CSS.Properties> | Partial<CSS.PropertiesHyphen
|
|
3
|
+
type CSSStyles = Partial<CSS.Properties> | Partial<CSS.PropertiesHyphen> | {
|
|
4
|
+
readonly [key: `--${string}`]: string;
|
|
5
|
+
};
|
|
4
6
|
export interface StyleModifierSignature {
|
|
5
|
-
Element:
|
|
7
|
+
Element: Element & ElementCSSInlineStyle;
|
|
6
8
|
Args: {
|
|
7
9
|
Positional: CSSStyles[];
|
|
8
10
|
Named: CSSStyles;
|
|
@@ -10,8 +12,8 @@ export interface StyleModifierSignature {
|
|
|
10
12
|
}
|
|
11
13
|
export default class StyleModifier extends Modifier<StyleModifierSignature> {
|
|
12
14
|
existingStyles: Set<string>;
|
|
13
|
-
setStyles(element:
|
|
14
|
-
modify(element:
|
|
15
|
+
setStyles(element: StyleModifierSignature['Element'], newStyles: [string, string][]): void;
|
|
16
|
+
modify(element: StyleModifierSignature['Element'], positional: [CSSStyles] | [], named: CSSStyles): void;
|
|
15
17
|
}
|
|
16
18
|
export {};
|
|
17
19
|
//# sourceMappingURL=style.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../src/modifiers/style.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAItC,OAAO,KAAK,KAAK,GAAG,MAAM,SAAS,CAAC;AAMpC,KAAK,SAAS,GACV,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,GACvB,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,GAC7B;IAAE,QAAQ,EAAE,GAAG,EAAE,KAAK,MAAM,EAAE,GAAG,MAAM,CAAA;CAAE,CAAC;AAgC9C,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,OAAO,GAAG,qBAAqB,CAAC;IACzC,IAAI,EAAE;QACJ,UAAU,EAAE,SAAS,EAAE,CAAC;QACxB,KAAK,EAAE,SAAS,CAAC;KAClB,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,QAAQ,CAAC,sBAAsB,CAAC;IACzE,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAa;IAExC,SAAS,CACP,OAAO,EAAE,sBAAsB,CAAC,SAAS,CAAC,EAC1C,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE;IAuC/B,MAAM,CACJ,OAAO,EAAE,sBAAsB,CAAC,SAAS,CAAC,EAC1C,UAAU,EAAE,CAAC,SAAS,CAAC,GAAG,EAAE,EAC5B,KAAK,EAAE,SAAS;CAInB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"template-registry.d.ts","sourceRoot":"","sources":["../src/template-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AAEtD,MAAM,CAAC,OAAO,WAAW,0BAA0B;IACjD,KAAK,EAAE,OAAO,aAAa,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "ember-style-modifier/modifiers/style";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -2,15 +2,13 @@ import Modifier from 'ember-modifier';
|
|
|
2
2
|
import { dasherize } from '@ember/string';
|
|
3
3
|
import { assert } from '@ember/debug';
|
|
4
4
|
import { typeOf } from '@ember/utils';
|
|
5
|
-
import type * as CSS from 'csstype';
|
|
6
5
|
|
|
7
6
|
// Cannot be typed as `Partial<CSSStyleDeclaration>` because `CSSStyleDeclaration`
|
|
8
7
|
// interface does _not_ included dashed CSS property names. It only includes the
|
|
9
8
|
// camelCase version of a CSS property.
|
|
10
9
|
// https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1672
|
|
11
|
-
type CSSStyles = Partial<CSS.Properties> | Partial<CSS.PropertiesHyphen>;
|
|
12
10
|
|
|
13
|
-
function isObject(o
|
|
11
|
+
function isObject(o) {
|
|
14
12
|
return typeof o === 'object' && Boolean(o);
|
|
15
13
|
}
|
|
16
14
|
|
|
@@ -27,45 +25,21 @@ function isObject(o: unknown): boolean {
|
|
|
27
25
|
*
|
|
28
26
|
* This data structure is slightly faster to process than an object / dictionary.
|
|
29
27
|
*/
|
|
30
|
-
function compileStyles(
|
|
31
|
-
positional
|
|
32
|
-
named: CSSStyles,
|
|
33
|
-
): [string, string][] {
|
|
34
|
-
return [...positional.filter(isObject), named]
|
|
35
|
-
.map((obj) =>
|
|
36
|
-
Object.entries(obj).map(
|
|
37
|
-
([k, v]) => [dasherize(k), v] as [string, string],
|
|
38
|
-
),
|
|
39
|
-
)
|
|
40
|
-
.flat();
|
|
28
|
+
function compileStyles(positional, named) {
|
|
29
|
+
return [...positional.filter(isObject), named].map(obj => Object.entries(obj).map(([k, v]) => [dasherize(k), v])).flat();
|
|
41
30
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export default class StyleModifier extends Modifier<StyleModifierSignature> {
|
|
52
|
-
existingStyles: Set<string> = new Set();
|
|
53
|
-
|
|
54
|
-
setStyles(element: HTMLElement, newStyles: [string, string][]) {
|
|
55
|
-
const { existingStyles } = this;
|
|
56
|
-
const rulesToRemove: Set<string> = new Set(existingStyles);
|
|
31
|
+
class StyleModifier extends Modifier {
|
|
32
|
+
existingStyles = new Set();
|
|
33
|
+
setStyles(element, newStyles) {
|
|
34
|
+
const {
|
|
35
|
+
existingStyles
|
|
36
|
+
} = this;
|
|
37
|
+
const rulesToRemove = new Set(existingStyles);
|
|
57
38
|
|
|
58
39
|
// clear cache of existing styles
|
|
59
40
|
existingStyles.clear();
|
|
60
|
-
|
|
61
41
|
newStyles.forEach(([property, value]) => {
|
|
62
|
-
assert(
|
|
63
|
-
`Your given value for property '${property}' is ${value} (${typeOf(
|
|
64
|
-
value,
|
|
65
|
-
)}). ` +
|
|
66
|
-
'Accepted types are string and undefined. Please change accordingly.',
|
|
67
|
-
typeof value === 'undefined' || typeOf(value) === 'string',
|
|
68
|
-
);
|
|
42
|
+
assert(`Your given value for property '${property}' is ${value} (${typeOf(value)}). ` + 'Accepted types are string and undefined. Please change accordingly.', typeof value === 'undefined' || typeOf(value) === 'string');
|
|
69
43
|
|
|
70
44
|
// priority must be specified as separate argument
|
|
71
45
|
// value must not contain "!important"
|
|
@@ -86,10 +60,12 @@ export default class StyleModifier extends Modifier<StyleModifierSignature> {
|
|
|
86
60
|
});
|
|
87
61
|
|
|
88
62
|
// remove rules that were present in last cycle but aren't present in this one
|
|
89
|
-
rulesToRemove.forEach(
|
|
63
|
+
rulesToRemove.forEach(rule => element.style.removeProperty(rule));
|
|
90
64
|
}
|
|
91
|
-
|
|
92
|
-
modify(element: HTMLElement, positional: [CSSStyles] | [], named: CSSStyles) {
|
|
65
|
+
modify(element, positional, named) {
|
|
93
66
|
this.setStyles(element, compileStyles(positional, named));
|
|
94
67
|
}
|
|
95
68
|
}
|
|
69
|
+
|
|
70
|
+
export { StyleModifier as default };
|
|
71
|
+
//# sourceMappingURL=style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"style.js","sources":["../../src/modifiers/style.ts"],"sourcesContent":["import Modifier from 'ember-modifier';\nimport { dasherize } from '@ember/string';\nimport { assert } from '@ember/debug';\nimport { typeOf } from '@ember/utils';\nimport type * as CSS from 'csstype';\n\n// Cannot be typed as `Partial<CSSStyleDeclaration>` because `CSSStyleDeclaration`\n// interface does _not_ included dashed CSS property names. It only includes the\n// camelCase version of a CSS property.\n// https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1672\ntype CSSStyles =\n | Partial<CSS.Properties>\n | Partial<CSS.PropertiesHyphen>\n | { readonly [key: `--${string}`]: string };\n\nfunction isObject(o: unknown): boolean {\n return typeof o === 'object' && Boolean(o);\n}\n\n/**\n * Returns a two-dimensional array, like:\n *\n * ```js\n * [\n * ['font-size', '16px'],\n * ['text-align', 'center'],\n * ['color', 'red']\n * ]\n * ```\n *\n * This data structure is slightly faster to process than an object / dictionary.\n */\nfunction compileStyles(\n positional: CSSStyles[],\n named: CSSStyles,\n): [string, string][] {\n return [...positional.filter(isObject), named]\n .map((obj) =>\n Object.entries(obj).map(\n ([k, v]) => [dasherize(k), v] as [string, string],\n ),\n )\n .flat();\n}\n\nexport interface StyleModifierSignature {\n Element: Element & ElementCSSInlineStyle;\n Args: {\n Positional: CSSStyles[];\n Named: CSSStyles;\n };\n}\n\nexport default class StyleModifier extends Modifier<StyleModifierSignature> {\n existingStyles: Set<string> = new Set();\n\n setStyles(\n element: StyleModifierSignature['Element'],\n newStyles: [string, string][],\n ) {\n const { existingStyles } = this;\n const rulesToRemove: Set<string> = new Set(existingStyles);\n\n // clear cache of existing styles\n existingStyles.clear();\n\n newStyles.forEach(([property, value]) => {\n assert(\n `Your given value for property '${property}' is ${value} (${typeOf(\n value,\n )}). ` +\n 'Accepted types are string and undefined. Please change accordingly.',\n typeof value === 'undefined' || typeOf(value) === 'string',\n );\n\n // priority must be specified as separate argument\n // value must not contain \"!important\"\n let priority = '';\n if (value && value.includes('!important')) {\n priority = 'important';\n value = value.replace('!important', '');\n }\n\n // update CSSOM\n element.style.setProperty(property, value, priority);\n\n // should not remove rules that have been updated in this cycle\n rulesToRemove.delete(property);\n\n // cache styles that have been set for potential clean-up when argument changes\n existingStyles.add(property);\n });\n\n // remove rules that were present in last cycle but aren't present in this one\n rulesToRemove.forEach((rule) => element.style.removeProperty(rule));\n }\n\n modify(\n element: StyleModifierSignature['Element'],\n positional: [CSSStyles] | [],\n named: CSSStyles,\n ) {\n this.setStyles(element, compileStyles(positional, named));\n }\n}\n"],"names":["isObject","o","Boolean","compileStyles","positional","named","filter","map","obj","Object","entries","k","v","dasherize","flat","StyleModifier","Modifier","existingStyles","Set","setStyles","element","newStyles","rulesToRemove","clear","forEach","property","value","assert","typeOf","priority","includes","replace","style","setProperty","delete","add","rule","removeProperty","modify"],"mappings":";;;;;AAMA;AACA;AACA;AACA;;AAMA,SAASA,QAAQA,CAACC,CAAU,EAAW;EACrC,OAAO,OAAOA,CAAC,KAAK,QAAQ,IAAIC,OAAO,CAACD,CAAC,CAAC,CAAA;AAC5C,CAAA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASE,aAAaA,CACpBC,UAAuB,EACvBC,KAAgB,EACI;EACpB,OAAO,CAAC,GAAGD,UAAU,CAACE,MAAM,CAACN,QAAQ,CAAC,EAAEK,KAAK,CAAC,CAC3CE,GAAG,CAAEC,GAAG,IACPC,MAAM,CAACC,OAAO,CAACF,GAAG,CAAC,CAACD,GAAG,CACrB,CAAC,CAACI,CAAC,EAAEC,CAAC,CAAC,KAAK,CAACC,SAAS,CAACF,CAAC,CAAC,EAAEC,CAAC,CAC9B,CACF,CAAC,CACAE,IAAI,EAAE,CAAA;AACX,CAAA;AAUe,MAAMC,aAAa,SAASC,QAAQ,CAAyB;AAC1EC,EAAAA,cAAc,GAAgB,IAAIC,GAAG,EAAE,CAAA;AAEvCC,EAAAA,SAASA,CACPC,OAA0C,EAC1CC,SAA6B,EAC7B;IACA,MAAM;AAAEJ,MAAAA,cAAAA;AAAe,KAAC,GAAG,IAAI,CAAA;AAC/B,IAAA,MAAMK,aAA0B,GAAG,IAAIJ,GAAG,CAACD,cAAc,CAAC,CAAA;;AAE1D;IACAA,cAAc,CAACM,KAAK,EAAE,CAAA;IAEtBF,SAAS,CAACG,OAAO,CAAC,CAAC,CAACC,QAAQ,EAAEC,KAAK,CAAC,KAAK;MACvCC,MAAM,CACH,CAAiCF,+BAAAA,EAAAA,QAAS,CAAOC,KAAAA,EAAAA,KAAM,KAAIE,MAAM,CAChEF,KACF,CAAE,CAAI,GAAA,CAAA,GACJ,qEAAqE,EACvE,OAAOA,KAAK,KAAK,WAAW,IAAIE,MAAM,CAACF,KAAK,CAAC,KAAK,QACpD,CAAC,CAAA;;AAED;AACA;MACA,IAAIG,QAAQ,GAAG,EAAE,CAAA;MACjB,IAAIH,KAAK,IAAIA,KAAK,CAACI,QAAQ,CAAC,YAAY,CAAC,EAAE;AACzCD,QAAAA,QAAQ,GAAG,WAAW,CAAA;QACtBH,KAAK,GAAGA,KAAK,CAACK,OAAO,CAAC,YAAY,EAAE,EAAE,CAAC,CAAA;AACzC,OAAA;;AAEA;MACAX,OAAO,CAACY,KAAK,CAACC,WAAW,CAACR,QAAQ,EAAEC,KAAK,EAAEG,QAAQ,CAAC,CAAA;;AAEpD;AACAP,MAAAA,aAAa,CAACY,MAAM,CAACT,QAAQ,CAAC,CAAA;;AAE9B;AACAR,MAAAA,cAAc,CAACkB,GAAG,CAACV,QAAQ,CAAC,CAAA;AAC9B,KAAC,CAAC,CAAA;;AAEF;AACAH,IAAAA,aAAa,CAACE,OAAO,CAAEY,IAAI,IAAKhB,OAAO,CAACY,KAAK,CAACK,cAAc,CAACD,IAAI,CAAC,CAAC,CAAA;AACrE,GAAA;AAEAE,EAAAA,MAAMA,CACJlB,OAA0C,EAC1ChB,UAA4B,EAC5BC,KAAgB,EAChB;IACA,IAAI,CAACc,SAAS,CAACC,OAAO,EAAEjB,aAAa,CAACC,UAAU,EAAEC,KAAK,CAAC,CAAC,CAAA;AAC3D,GAAA;AACF;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ember-style-modifier",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "{{style}} modifier to set an element's style using the CSSStyleDeclaration API.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -8,63 +8,64 @@
|
|
|
8
8
|
"repository": "https://github.com/jelhan/ember-style-modifier",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"author": "",
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./declarations/index.d.ts",
|
|
14
|
+
"default": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./*": {
|
|
17
|
+
"types": "./declarations/*.d.ts",
|
|
18
|
+
"default": "./dist/*.js"
|
|
19
|
+
},
|
|
20
|
+
"./addon-main.js": "./addon-main.cjs"
|
|
21
|
+
},
|
|
11
22
|
"typesVersions": {
|
|
12
23
|
"*": {
|
|
13
|
-
"test-support": [
|
|
14
|
-
"declarations/addon-test-support/index.d.ts"
|
|
15
|
-
],
|
|
16
|
-
"test-support/*": [
|
|
17
|
-
"declarations/addon-test-support/*",
|
|
18
|
-
"declarations/addon-test-support/*/index.d.ts"
|
|
19
|
-
],
|
|
20
24
|
"*": [
|
|
21
|
-
"declarations
|
|
22
|
-
"declarations/addon/*/index.d.ts"
|
|
25
|
+
"declarations/*"
|
|
23
26
|
]
|
|
24
27
|
}
|
|
25
28
|
},
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
29
|
+
"files": [
|
|
30
|
+
"addon-main.cjs",
|
|
31
|
+
"declarations",
|
|
32
|
+
"dist"
|
|
33
|
+
],
|
|
30
34
|
"scripts": {
|
|
31
|
-
"build": "
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"lint
|
|
35
|
-
"lint:fix": "concurrently
|
|
36
|
-
"lint:hbs": "ember-template-lint .",
|
|
37
|
-
"lint:hbs:fix": "ember-template-lint . --fix",
|
|
35
|
+
"build": "concurrently 'npm:build:*'",
|
|
36
|
+
"build:js": "rollup --config",
|
|
37
|
+
"build:types": "glint --declaration",
|
|
38
|
+
"lint": "concurrently 'npm:lint:*(!fix)' --names 'lint:'",
|
|
39
|
+
"lint:fix": "concurrently 'npm:lint:*:fix' --names 'fix:'",
|
|
40
|
+
"lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
|
|
41
|
+
"lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern",
|
|
38
42
|
"lint:js": "eslint . --cache",
|
|
39
43
|
"lint:js:fix": "eslint . --fix",
|
|
40
44
|
"lint:types": "glint",
|
|
41
|
-
"prepack": "
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"start": "
|
|
45
|
-
"test": "
|
|
46
|
-
"
|
|
47
|
-
"test:ember-compatibility": "ember try:each"
|
|
45
|
+
"prepack": "pnpm run build",
|
|
46
|
+
"start": "concurrently 'npm:start:*'",
|
|
47
|
+
"start:js": "rollup --config --watch --no-watch.clearScreen",
|
|
48
|
+
"start:types": "glint --declaration --watch",
|
|
49
|
+
"test": "echo 'A v2 addon does not have tests, run tests in test-app'",
|
|
50
|
+
"prepare": "pnpm run build"
|
|
48
51
|
},
|
|
49
52
|
"dependencies": {
|
|
53
|
+
"@embroider/addon-shim": "^1.8.7",
|
|
54
|
+
"decorator-transforms": "^1.0.1",
|
|
50
55
|
"@babel/core": "^7.23.6",
|
|
51
56
|
"csstype": "^3.1.3",
|
|
52
|
-
"ember-auto-import": "^2.7.0",
|
|
53
|
-
"ember-cli-babel": "^8.2.0",
|
|
54
57
|
"ember-modifier": "^3.2.7 || ^4.0.0"
|
|
55
58
|
},
|
|
56
59
|
"devDependencies": {
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"@
|
|
60
|
-
"@embroider/
|
|
61
|
-
"@
|
|
62
|
-
"@
|
|
63
|
-
"@glint/core": "^1.2.2",
|
|
64
|
-
"@glint/environment-ember-loose": "^1.2.2",
|
|
60
|
+
"@babel/core": "^7.23.6",
|
|
61
|
+
"@babel/plugin-transform-typescript": "^7.23.6",
|
|
62
|
+
"@babel/runtime": "^7.17.0",
|
|
63
|
+
"@embroider/addon-dev": "^4.1.0",
|
|
64
|
+
"@glint/core": "^1.2.1",
|
|
65
|
+
"@glint/environment-ember-loose": "^1.2.1",
|
|
65
66
|
"@glint/environment-ember-template-imports": "^1.2.2",
|
|
66
67
|
"@glint/template": "^1.2.2",
|
|
67
|
-
"@
|
|
68
|
+
"@rollup/plugin-babel": "^6.0.4",
|
|
68
69
|
"@tsconfig/ember": "^3.0.2",
|
|
69
70
|
"@types/ember": "^4.0.10",
|
|
70
71
|
"@types/ember__application": "^4.0.10",
|
|
@@ -87,57 +88,20 @@
|
|
|
87
88
|
"@types/ember__template": "^4.0.5",
|
|
88
89
|
"@types/ember__test": "^4.0.5",
|
|
89
90
|
"@types/ember__utils": "^4.0.6",
|
|
90
|
-
"@types/qunit": "^2.19.9",
|
|
91
|
-
"@types/rsvp": "^4.0.8",
|
|
92
91
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
|
93
|
-
"@typescript-eslint/parser": "^6.
|
|
94
|
-
"
|
|
92
|
+
"@typescript-eslint/parser": "^6.15.0",
|
|
93
|
+
"babel-plugin-ember-template-compilation": "^2.2.1",
|
|
95
94
|
"concurrently": "^8.2.2",
|
|
96
|
-
"ember-auto-import": "^2.7.0",
|
|
97
|
-
"ember-cli": "~5.5.0",
|
|
98
|
-
"ember-cli-clean-css": "^3.0.0",
|
|
99
|
-
"ember-cli-content-security-policy": "^2.0.3",
|
|
100
|
-
"ember-cli-dependency-checker": "^3.3.2",
|
|
101
|
-
"ember-cli-htmlbars": "^6.3.0",
|
|
102
|
-
"ember-cli-inject-live-reload": "^2.1.0",
|
|
103
|
-
"ember-cli-sri": "^2.1.1",
|
|
104
|
-
"ember-cli-terser": "^4.0.2",
|
|
105
|
-
"ember-eslint-parser": "^0.2.5",
|
|
106
|
-
"ember-load-initializers": "^2.1.2",
|
|
107
|
-
"ember-page-title": "^8.1.0",
|
|
108
|
-
"ember-qunit": "^7.0.0",
|
|
109
|
-
"ember-resolver": "^11.0.1",
|
|
110
|
-
"ember-source": "~5.5.0",
|
|
111
|
-
"ember-source-channel-url": "^3.0.0",
|
|
112
|
-
"ember-template-imports": "^4.0.0",
|
|
113
95
|
"ember-template-lint": "^5.13.0",
|
|
114
|
-
"
|
|
115
|
-
"ember-welcome-page": "^7.0.2",
|
|
116
|
-
"eslint": "^8.55.0",
|
|
96
|
+
"eslint": "^8.56.0",
|
|
117
97
|
"eslint-config-prettier": "^9.1.0",
|
|
118
|
-
"eslint-plugin-ember": "^
|
|
98
|
+
"eslint-plugin-ember": "^12.0.0",
|
|
119
99
|
"eslint-plugin-n": "^16.4.0",
|
|
120
100
|
"eslint-plugin-prettier": "^5.0.1",
|
|
121
|
-
"eslint-plugin-qunit": "^8.0.1",
|
|
122
|
-
"loader.js": "^4.7.0",
|
|
123
101
|
"prettier": "^3.1.1",
|
|
124
102
|
"prettier-plugin-ember-template-tag": "^2.0.0",
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"release-it": "^16.0.0",
|
|
128
|
-
"rimraf": "^5.0.1",
|
|
129
|
-
"stylelint": "^16.0.0",
|
|
130
|
-
"stylelint-config-standard": "^36.0.0",
|
|
131
|
-
"stylelint-prettier": "^5.0.0",
|
|
132
|
-
"typescript": "^5.3.3",
|
|
133
|
-
"webpack": "^5.89.0"
|
|
134
|
-
},
|
|
135
|
-
"peerDependencies": {
|
|
136
|
-
"@ember/string": "^3.0.1",
|
|
137
|
-
"ember-source": ">= 4.12.0"
|
|
138
|
-
},
|
|
139
|
-
"engines": {
|
|
140
|
-
"node": "18.* || >= 20"
|
|
103
|
+
"rollup": "^4.9.1",
|
|
104
|
+
"typescript": "^5.3.3"
|
|
141
105
|
},
|
|
142
106
|
"publishConfig": {
|
|
143
107
|
"registry": "https://registry.npmjs.org"
|
|
@@ -146,6 +110,15 @@
|
|
|
146
110
|
"edition": "octane"
|
|
147
111
|
},
|
|
148
112
|
"ember-addon": {
|
|
149
|
-
"
|
|
113
|
+
"version": 2,
|
|
114
|
+
"type": "addon",
|
|
115
|
+
"main": "addon-main.cjs",
|
|
116
|
+
"app-js": {
|
|
117
|
+
"./modifiers/style.js": "./dist/_app_/modifiers/style.js"
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"peerDependencies": {
|
|
121
|
+
"@ember/string": "^3.0.1",
|
|
122
|
+
"ember-source": "^3.28.0 || ^4.0.0 || >=5.0.0"
|
|
150
123
|
}
|
|
151
124
|
}
|
package/CHANGELOG.md
DELETED
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
## v4.1.0 (2024-01-11)
|
|
11
|
-
|
|
12
|
-
#### :rocket: Enhancement
|
|
13
|
-
* [#216](https://github.com/jelhan/ember-style-modifier/pull/216) improve typing of CSS styles using csstype package ([@jelhan](https://github.com/jelhan))
|
|
14
|
-
|
|
15
|
-
#### Committers: 1
|
|
16
|
-
- Jeldrik Hanschke ([@jelhan](https://github.com/jelhan))
|
|
17
|
-
|
|
18
|
-
## v4.0.0 (2024-01-10)
|
|
19
|
-
|
|
20
|
-
#### :boom: Breaking Change
|
|
21
|
-
* [#181](https://github.com/jelhan/ember-style-modifier/pull/181) drop support for Ember < 4.12 ([@jelhan](https://github.com/jelhan))
|
|
22
|
-
* [#180](https://github.com/jelhan/ember-style-modifier/pull/180) drop support for node 14 and 16 ([@jelhan](https://github.com/jelhan))
|
|
23
|
-
|
|
24
|
-
#### :rocket: Enhancement
|
|
25
|
-
* [#213](https://github.com/jelhan/ember-style-modifier/pull/213) document Ember compatibility adding a peer dep on ember-source ([@jelhan](https://github.com/jelhan))
|
|
26
|
-
* [#211](https://github.com/jelhan/ember-style-modifier/pull/211) better import path for apps using template tag ([@jelhan](https://github.com/jelhan))
|
|
27
|
-
* [#210](https://github.com/jelhan/ember-style-modifier/pull/210) Convert to TypeScript and publish types (including Glint) ([@jelhan](https://github.com/jelhan))
|
|
28
|
-
|
|
29
|
-
#### :house: Internal
|
|
30
|
-
* [#208](https://github.com/jelhan/ember-style-modifier/pull/208) upgrade with Ember CLI v5.5 blueprints ([@jelhan](https://github.com/jelhan))
|
|
31
|
-
* [#207](https://github.com/jelhan/ember-style-modifier/pull/207) migrate from yarn v1 to pnpm ([@jelhan](https://github.com/jelhan))
|
|
32
|
-
|
|
33
|
-
#### Committers: 1
|
|
34
|
-
- Jeldrik Hanschke ([@jelhan](https://github.com/jelhan))
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
## v3.1.1 (2024-01-10)
|
|
38
|
-
|
|
39
|
-
Published `v3.0.1` again to shadow `v3.1.0` release, which includes breaking changes.
|
|
40
|
-
|
|
41
|
-
## v3.0.1 (2023-02-15)
|
|
42
|
-
|
|
43
|
-
#### :bug: Bug Fix
|
|
44
|
-
* [#148](https://github.com/jelhan/ember-style-modifier/pull/148) Don't dasherize property names twice ([@drewpereli](https://github.com/drewpereli))
|
|
45
|
-
|
|
46
|
-
#### :house: Internal
|
|
47
|
-
* [#149](https://github.com/jelhan/ember-style-modifier/pull/149) ember-cli-update to v4.10 ([@jelhan](https://github.com/jelhan))
|
|
48
|
-
|
|
49
|
-
#### Committers: 2
|
|
50
|
-
- Drew Pereli ([@drewpereli](https://github.com/drewpereli))
|
|
51
|
-
- Jeldrik Hanschke ([@jelhan](https://github.com/jelhan))
|
|
52
|
-
|
|
53
|
-
## v3.0.0 (2023-01-16)
|
|
54
|
-
|
|
55
|
-
#### :boom: Breaking Change
|
|
56
|
-
* [#139](https://github.com/jelhan/ember-style-modifier/pull/139) Add `@ember/string` as a dependency ([@boris-petrov](https://github.com/boris-petrov))
|
|
57
|
-
|
|
58
|
-
#### Committers: 1
|
|
59
|
-
- Boris Petrov ([@boris-petrov](https://github.com/boris-petrov))
|
|
60
|
-
|
|
61
|
-
## v2.1.0 (2023-01-13)
|
|
62
|
-
|
|
63
|
-
#### :house: Internal
|
|
64
|
-
* [#143](https://github.com/jelhan/ember-style-modifier/pull/143) upgrade files created by Ember CLI blueprints to 4.9 ([@jelhan](https://github.com/jelhan))
|
|
65
|
-
* [#142](https://github.com/jelhan/ember-style-modifier/pull/142) refactor pure method to pure function for readability ([@jelhan](https://github.com/jelhan))
|
|
66
|
-
* [#141](https://github.com/jelhan/ember-style-modifier/pull/141) use Array.flat() instead of complex workaround ([@jelhan](https://github.com/jelhan))
|
|
67
|
-
* [#140](https://github.com/jelhan/ember-style-modifier/pull/140) only loop once over styles ([@jelhan](https://github.com/jelhan))
|
|
68
|
-
|
|
69
|
-
#### Committers: 1
|
|
70
|
-
- Jeldrik Hanschke ([@jelhan](https://github.com/jelhan))
|
|
71
|
-
|
|
72
|
-
## v2.0.0 (2022-12-22)
|
|
73
|
-
|
|
74
|
-
ember-style-modifier v2 requires consuming application to have an explicit
|
|
75
|
-
dependency on ember-auto-import@v2. This is the only breaking change introduced.
|
|
76
|
-
|
|
77
|
-
Addon authors are encouraged to support both v1 and v2 of ember-style-modifier
|
|
78
|
-
in parallel. Instead of replacing ember-style-modifier@^1.0.0 dependency with a
|
|
79
|
-
dependency on ember-style-modifier@^2.0.0 widening the version range to
|
|
80
|
-
`^1.0.0 || ^2.0.0` is recommended. Widening the version range is _not_ a
|
|
81
|
-
change. Doing so allows applications to upgrade to ember-style-modifer@^2.0.0
|
|
82
|
-
as soon as all their direct and indirect addons support both.
|
|
83
|
-
|
|
84
|
-
#### :boom: Breaking Change
|
|
85
|
-
* [#133](https://github.com/jelhan/ember-style-modifier/pull/133) Add ember-auto-import v2 dependency ([@SergeAstapov](https://github.com/SergeAstapov))
|
|
86
|
-
|
|
87
|
-
#### :rocket: Enhancement
|
|
88
|
-
* [#133](https://github.com/jelhan/ember-style-modifier/pull/133) Widen ember-modifier versions to support v4 ([@SergeAstapov](https://github.com/SergeAstapov))
|
|
89
|
-
|
|
90
|
-
#### Committers: 1
|
|
91
|
-
- Sergey Astapov ([@SergeAstapov](https://github.com/SergeAstapov))
|
|
92
|
-
|
|
93
|
-
## v1.0.0 (2022-10-14)
|
|
94
|
-
|
|
95
|
-
#### :boom: Breaking Change
|
|
96
|
-
* [#112](https://github.com/jelhan/ember-style-modifier/pull/112) drop support for Ember 3.24 ([@jelhan](https://github.com/jelhan))
|
|
97
|
-
* [#111](https://github.com/jelhan/ember-style-modifier/pull/111) drop support for node 12 ([@jelhan](https://github.com/jelhan))
|
|
98
|
-
|
|
99
|
-
#### :house: Internal
|
|
100
|
-
* [#117](https://github.com/jelhan/ember-style-modifier/pull/117) document known limitations ([@jelhan](https://github.com/jelhan))
|
|
101
|
-
* [#114](https://github.com/jelhan/ember-style-modifier/pull/114) update blueprints to Ember CLI 4.7 ([@jelhan](https://github.com/jelhan))
|
|
102
|
-
* [#94](https://github.com/jelhan/ember-style-modifier/pull/94) Update Ember to v4.3 ([@bertdeblock](https://github.com/bertdeblock))
|
|
103
|
-
* [#93](https://github.com/jelhan/ember-style-modifier/pull/93) Update `.npmignore` file ([@bertdeblock](https://github.com/bertdeblock))
|
|
104
|
-
* [#92](https://github.com/jelhan/ember-style-modifier/pull/92) Update CI badge in README ([@bertdeblock](https://github.com/bertdeblock))
|
|
105
|
-
|
|
106
|
-
#### Committers: 2
|
|
107
|
-
- Bert De Block ([@bertdeblock](https://github.com/bertdeblock))
|
|
108
|
-
- Jeldrik Hanschke ([@jelhan](https://github.com/jelhan))
|
|
109
|
-
|
|
110
|
-
## v0.8.0 (2022-04-08)
|
|
111
|
-
|
|
112
|
-
#### :rocket: Enhancement
|
|
113
|
-
* [#88](https://github.com/jelhan/ember-style-modifier/pull/88) Resolve `ember-modifier` deprecations ([@bertdeblock](https://github.com/bertdeblock))
|
|
114
|
-
|
|
115
|
-
#### Committers: 1
|
|
116
|
-
- Bert De Block ([@bertdeblock](https://github.com/bertdeblock))
|
|
117
|
-
|
|
118
|
-
## v0.7.0 (2021-10-27)
|
|
119
|
-
|
|
120
|
-
#### :boom: Breaking Change
|
|
121
|
-
* [#71](https://github.com/jelhan/ember-style-modifier/pull/71) add Ember Auto Import v2 ([@jelhan](https://github.com/jelhan))
|
|
122
|
-
* [#60](https://github.com/jelhan/ember-style-modifier/pull/60) Update dependency ember-modifier to v3 ([@renovate[bot]](https://github.com/apps/renovate))
|
|
123
|
-
* [#67](https://github.com/jelhan/ember-style-modifier/pull/67) drop support for Ember < 3.24 ([@jelhan](https://github.com/jelhan))
|
|
124
|
-
* [#57](https://github.com/jelhan/ember-style-modifier/pull/57) drop support for Ember 3.4 ([@jelhan](https://github.com/jelhan))
|
|
125
|
-
* [#58](https://github.com/jelhan/ember-style-modifier/pull/58) drop support for node 10 ([@jelhan](https://github.com/jelhan))
|
|
126
|
-
|
|
127
|
-
#### :house: Internal
|
|
128
|
-
* [#72](https://github.com/jelhan/ember-style-modifier/pull/72) fix CSP for Embroider builds ([@jelhan](https://github.com/jelhan))
|
|
129
|
-
* [#68](https://github.com/jelhan/ember-style-modifier/pull/68) upgrade addon blueprints to Ember CLI 3.28 ([@jelhan](https://github.com/jelhan))
|
|
130
|
-
* [#51](https://github.com/jelhan/ember-style-modifier/pull/51) Create ember-try scenarios for `no-deprecations` ([@mansona](https://github.com/mansona))
|
|
131
|
-
* [#39](https://github.com/jelhan/ember-style-modifier/pull/39) upgrade to Ember 3.24 ([@jelhan](https://github.com/jelhan))
|
|
132
|
-
* [#64](https://github.com/jelhan/ember-style-modifier/pull/64) finish all scenarios in CI even if one fails ([@jelhan](https://github.com/jelhan))
|
|
133
|
-
* [#28](https://github.com/jelhan/ember-style-modifier/pull/28) Upgrade Ember CLI to 3.21 ([@jelhan](https://github.com/jelhan))
|
|
134
|
-
* [#20](https://github.com/jelhan/ember-style-modifier/pull/20) Configure Renovate ([@renovate[bot]](https://github.com/apps/renovate))
|
|
135
|
-
|
|
136
|
-
#### Committers: 2
|
|
137
|
-
- Chris Manson ([@mansona](https://github.com/mansona))
|
|
138
|
-
- Jeldrik Hanschke ([@jelhan](https://github.com/jelhan))
|
|
139
|
-
|
|
140
|
-
## v0.6.0 (2020-08-03)
|
|
141
|
-
|
|
142
|
-
#### :boom: Breaking Change
|
|
143
|
-
* [#19](https://github.com/jelhan/ember-style-modifier/pull/19) Update ember-modifier to 2.1.0 and drop support for Ember < 3.4 ([@andreyfel](https://github.com/andreyfel))
|
|
144
|
-
|
|
145
|
-
#### Committers: 2
|
|
146
|
-
- Andrey Fel ([@andreyfel](https://github.com/andreyfel))
|
|
147
|
-
- Jeldrik Hanschke ([@jelhan](https://github.com/jelhan))
|
|
148
|
-
|
|
149
|
-
## v0.5.0 (2019-12-04)
|
|
150
|
-
|
|
151
|
-
#### :boom: Breaking Change
|
|
152
|
-
* [#12](https://github.com/jelhan/ember-style-modifier/pull/12) use public APIs through ember-modifier and upgrade dependencies ([@andreyfel](https://github.com/andreyfel))
|
|
153
|
-
|
|
154
|
-
#### :house: Internal
|
|
155
|
-
* [#14](https://github.com/jelhan/ember-style-modifier/pull/14) automate releases with release-it and lerna-changelog ([@jelhan](https://github.com/jelhan))
|
|
156
|
-
* [#12](https://github.com/jelhan/ember-style-modifier/pull/12) use public APIs through ember-modifier and upgrade dependencies ([@andreyfel](https://github.com/andreyfel))
|
|
157
|
-
|
|
158
|
-
#### Committers: 2
|
|
159
|
-
- Andrey Fel ([@andreyfel](https://github.com/andreyfel))
|
|
160
|
-
- Jeldrik Hanschke ([@jelhan](https://github.com/jelhan))
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
## v0.4.1 (2019-03-28)
|
|
164
|
-
|
|
165
|
-
#### :rocket: Enhancement
|
|
166
|
-
* [#10](https://github.com/jelhan/ember-style-modifier/pull/10) better assertion message for wrong value type ([@jelhan](https://github.com/jelhan))
|
|
167
|
-
|
|
168
|
-
#### Committers: 1
|
|
169
|
-
- Jeldrik Hanschke ([@jelhan](https://github.com/jelhan))
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
## v0.4.0 (2019-03-18)
|
|
173
|
-
|
|
174
|
-
#### :house: Internal
|
|
175
|
-
* [#8](https://github.com/jelhan/ember-style-modifier/pull/8) refactor: drop ember-functional-modifiers ([@buschtoens](https://github.com/buschtoens))
|
|
176
|
-
|
|
177
|
-
#### Committers: 1
|
|
178
|
-
- Jan Buschtöns ([@buschtoens](https://github.com/buschtoens))
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
## v0.3.0 (2019-03-13)
|
|
182
|
-
|
|
183
|
-
#### :rocket: Enhancement
|
|
184
|
-
* [#6](https://github.com/jelhan/ember-style-modifier/pull/6) support setting CSS rules using a POJO ([@jelhan](https://github.com/jelhan))
|
|
185
|
-
|
|
186
|
-
#### Committers: 1
|
|
187
|
-
- Jeldrik Hanschke ([@jelhan](https://github.com/jelhan))
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
## v0.2.0 (2019-03-12)
|
|
191
|
-
|
|
192
|
-
#### :boom: Breaking Change
|
|
193
|
-
* [#4](https://github.com/jelhan/ember-style-modifier/pull/4) support a more compact style for declaring CSS rules ([@jelhan](https://github.com/jelhan))
|
|
194
|
-
|
|
195
|
-
#### :rocket: Enhancement
|
|
196
|
-
* [#4](https://github.com/jelhan/ember-style-modifier/pull/4) support a more compact style for declaring CSS rules ([@jelhan](https://github.com/jelhan))
|
|
197
|
-
|
|
198
|
-
#### Committers: 1
|
|
199
|
-
- Jeldrik Hanschke ([@jelhan](https://github.com/jelhan))
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
## v0.1.0 (2019-03-11)
|
|
203
|
-
|
|
204
|
-
Initial proof of concept
|
|
205
|
-
|
|
206
|
-
#### Committers: 1
|
|
207
|
-
- Jeldrik Hanschke ([@jelhan](https://github.com/jelhan))
|
|
208
|
-
-
|
package/addon/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './modifiers/style';
|
package/app/modifiers/style.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from 'ember-style-modifier/modifiers/style';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../addon/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../addon/modifiers/style.ts"],"names":[],"mappings":"AAAA,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAItC,OAAO,KAAK,KAAK,GAAG,MAAM,SAAS,CAAC;AAMpC,KAAK,SAAS,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;AAgCzE,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,WAAW,CAAC;IACrB,IAAI,EAAE;QACJ,UAAU,EAAE,SAAS,EAAE,CAAC;QACxB,KAAK,EAAE,SAAS,CAAC;KAClB,CAAC;CACH;AAED,MAAM,CAAC,OAAO,OAAO,aAAc,SAAQ,QAAQ,CAAC,sBAAsB,CAAC;IACzE,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAa;IAExC,SAAS,CAAC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE;IAsC7D,MAAM,CAAC,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,SAAS;CAG5E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"template-registry.d.ts","sourceRoot":"","sources":["../../addon/template-registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,mBAAmB,CAAC;AAEnD,MAAM,CAAC,OAAO,WAAW,0BAA0B;IACjD,KAAK,EAAE,OAAO,aAAa,CAAC;CAC7B"}
|
package/index.js
DELETED
package/tsconfig.json
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "@tsconfig/ember/tsconfig.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
// The combination of `baseUrl` with `paths` allows Ember's classic package
|
|
5
|
-
// layout, which is not resolvable with the Node resolution algorithm, to
|
|
6
|
-
// work with TypeScript.
|
|
7
|
-
"baseUrl": ".",
|
|
8
|
-
"paths": {
|
|
9
|
-
"dummy/tests/*": ["tests/*"],
|
|
10
|
-
"dummy/*": ["tests/dummy/app/*", "app/*"],
|
|
11
|
-
"ember-style-modifier": ["addon"],
|
|
12
|
-
"ember-style-modifier/*": ["addon/*"],
|
|
13
|
-
"ember-style-modifier/test-support": ["addon-test-support"],
|
|
14
|
-
"ember-style-modifier/test-support/*": ["addon-test-support/*"],
|
|
15
|
-
"*": ["types/*"]
|
|
16
|
-
}
|
|
17
|
-
},
|
|
18
|
-
"glint": {
|
|
19
|
-
"environment": ["ember-loose", "ember-template-imports"]
|
|
20
|
-
}
|
|
21
|
-
}
|
package/types/global.d.ts
DELETED