@dnncommunity/dnn-elements 0.24.4-beta.7 → 0.24.4-beta.8

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.
@@ -0,0 +1,7 @@
1
+ import recommended from "./recommended";
2
+ export default {
3
+ recommended,
4
+ /** Will be populated from main entry file to keep backward compatible. */
5
+ flat: {},
6
+ };
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/eslint-plugin/src/configs/index.ts"],"names":[],"mappings":"AACA,OAAO,WAAW,MAAM,eAAe,CAAC;AAExC,eAAe;IACX,WAAW;IACX,0EAA0E;IAC1E,IAAI,EAAE,EAAuC;CAChD,CAAC","sourcesContent":["import type { Linter } from \"eslint\";\r\nimport recommended from \"./recommended\";\r\n\r\nexport default {\r\n recommended,\r\n /** Will be populated from main entry file to keep backward compatible. */\r\n flat: {} as Record<string, Linter.FlatConfig>,\r\n};"]}
@@ -0,0 +1,6 @@
1
+ export default {
2
+ rules: {
3
+ '@dnn-elements/no-label-slot-in-checkbox': "error",
4
+ }
5
+ };
6
+ //# sourceMappingURL=recommended.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recommended.js","sourceRoot":"","sources":["../../../../src/eslint-plugin/src/configs/recommended.ts"],"names":[],"mappings":"AAEA,eAAe;IACX,KAAK,EAAE;QACH,yCAAyC,EAAE,OAAO;KACrD;CACwB,CAAC","sourcesContent":["import { Linter } from 'eslint';\r\n\r\nexport default {\r\n rules: {\r\n '@dnn-elements/no-label-slot-in-checkbox': \"error\",\r\n }\r\n} satisfies Linter.BaseConfig;"]}
@@ -1,17 +1,17 @@
1
- import { noLabelSlotInCheckbox } from "./rules/no-label-slot-in-checkbox";
2
- export const rules = {
3
- "no-label-slot-in-checkbox": noLabelSlotInCheckbox
4
- };
1
+ import rules from "./rules";
2
+ import configs from "./configs";
5
3
  const plugin = {
6
4
  rules,
7
- configs: {
8
- recommended: {
9
- plugins: ["@dnn-community/eslint-plugin"],
10
- rules: {
11
- "@dnn-community/no-label-slot-in-checkbox": "error"
12
- }
13
- }
14
- }
5
+ configs,
6
+ };
7
+ const flatRecommended = {
8
+ plugins: {
9
+ "@dnn-elements": plugin,
10
+ },
11
+ rules: configs.recommended.rules,
12
+ };
13
+ configs.flat = {
14
+ recommended: flatRecommended,
15
15
  };
16
16
  export default plugin;
17
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/eslint-plugin/src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAE1E,MAAM,CAAC,MAAM,KAAK,GAAG;IACjB,2BAA2B,EAAE,qBAAqB;CACrD,CAAC;AAEF,MAAM,MAAM,GAAG;IACX,KAAK;IACL,OAAO,EAAE;QACL,WAAW,EAAE;YACT,OAAO,EAAE,CAAC,8BAA8B,CAAC;YACzC,KAAK,EAAE;gBACH,0CAA0C,EAAE,OAAO;aACtD;SACJ;KACJ;CACJ,CAAA;AAED,eAAe,MAAM,CAAC","sourcesContent":["import { noLabelSlotInCheckbox } from \"./rules/no-label-slot-in-checkbox\";\r\n\r\nexport const rules = {\r\n \"no-label-slot-in-checkbox\": noLabelSlotInCheckbox\r\n};\r\n\r\nconst plugin = {\r\n rules,\r\n configs: {\r\n recommended: {\r\n plugins: [\"@dnn-community/eslint-plugin\"],\r\n rules: {\r\n \"@dnn-community/no-label-slot-in-checkbox\": \"error\"\r\n }\r\n }\r\n }\r\n}\r\n\r\nexport default plugin;"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/eslint-plugin/src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,OAAO,MAAM,WAAW,CAAA;AAE/B,MAAM,MAAM,GAAG;IACX,KAAK;IACL,OAAO;CACV,CAAC;AAEF,MAAM,eAAe,GAAsB;IACvC,OAAO,EAAE;QACL,eAAe,EAAE,MAAM;KAC1B;IACD,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK;CACnC,CAAC;AAEF,OAAO,CAAC,IAAI,GAAG;IACX,WAAW,EAAE,eAAe;CAC/B,CAAA;AAED,eAAe,MAAM,CAAC","sourcesContent":["import { Linter } from \"eslint\";\r\nimport rules from \"./rules\";\r\nimport configs from \"./configs\"\r\n\r\nconst plugin = {\r\n rules,\r\n configs,\r\n};\r\n\r\nconst flatRecommended: Linter.FlatConfig = {\r\n plugins: {\r\n \"@dnn-elements\": plugin,\r\n },\r\n rules: configs.recommended.rules,\r\n};\r\n\r\nconfigs.flat = {\r\n recommended: flatRecommended,\r\n}\r\n\r\nexport default plugin;"]}
@@ -0,0 +1,5 @@
1
+ import { noLabelSlotInCheckbox } from "./no-label-slot-in-checkbox";
2
+ export default {
3
+ "no-label-slot-in-checkbox": noLabelSlotInCheckbox,
4
+ };
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/eslint-plugin/src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,eAAe;IACX,2BAA2B,EAAE,qBAAqB;CACrD,CAAA","sourcesContent":["import { noLabelSlotInCheckbox } from \"./no-label-slot-in-checkbox\";\r\n\r\nexport default {\r\n \"no-label-slot-in-checkbox\": noLabelSlotInCheckbox,\r\n}"]}
@@ -0,0 +1,11 @@
1
+ import type { Linter } from "eslint";
2
+ declare const _default: {
3
+ recommended: {
4
+ rules: {
5
+ '@dnn-elements/no-label-slot-in-checkbox': "error";
6
+ };
7
+ };
8
+ /** Will be populated from main entry file to keep backward compatible. */
9
+ flat: Record<string, Linter.FlatConfig>;
10
+ };
11
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ rules: {
3
+ '@dnn-elements/no-label-slot-in-checkbox': "error";
4
+ };
5
+ };
6
+ export default _default;
@@ -1,17 +1,15 @@
1
- export declare const rules: {
2
- "no-label-slot-in-checkbox": import("eslint").Rule.RuleModule;
3
- };
1
+ import { Linter } from "eslint";
4
2
  declare const plugin: {
5
3
  rules: {
6
4
  "no-label-slot-in-checkbox": import("eslint").Rule.RuleModule;
7
5
  };
8
6
  configs: {
9
7
  recommended: {
10
- plugins: string[];
11
8
  rules: {
12
- "@dnn-community/no-label-slot-in-checkbox": string;
9
+ '@dnn-elements/no-label-slot-in-checkbox': "error";
13
10
  };
14
11
  };
12
+ flat: Record<string, Linter.FlatConfig>;
15
13
  };
16
14
  };
17
15
  export default plugin;
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ "no-label-slot-in-checkbox": import("eslint").Rule.RuleModule;
3
+ };
4
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import type { Linter } from "eslint";
2
+ declare const _default: {
3
+ recommended: {
4
+ rules: {
5
+ '@dnn-elements/no-label-slot-in-checkbox': "error";
6
+ };
7
+ };
8
+ /** Will be populated from main entry file to keep backward compatible. */
9
+ flat: Record<string, Linter.FlatConfig>;
10
+ };
11
+ export default _default;
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const recommended_1 = __importDefault(require("./recommended"));
7
+ exports.default = {
8
+ recommended: recommended_1.default,
9
+ /** Will be populated from main entry file to keep backward compatible. */
10
+ flat: {},
11
+ };
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eslint-plugin/src/configs/index.ts"],"names":[],"mappings":";;;;;AACA,gEAAwC;AAExC,kBAAe;IACX,WAAW,EAAX,qBAAW;IACX,0EAA0E;IAC1E,IAAI,EAAE,EAAuC;CAChD,CAAC"}
@@ -0,0 +1,6 @@
1
+ declare const _default: {
2
+ rules: {
3
+ '@dnn-elements/no-label-slot-in-checkbox': "error";
4
+ };
5
+ };
6
+ export default _default;
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ rules: {
5
+ '@dnn-elements/no-label-slot-in-checkbox': "error",
6
+ }
7
+ };
8
+ //# sourceMappingURL=recommended.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recommended.js","sourceRoot":"","sources":["../../src/eslint-plugin/src/configs/recommended.ts"],"names":[],"mappings":";;AAEA,kBAAe;IACX,KAAK,EAAE;QACH,yCAAyC,EAAE,OAAO;KACrD;CACwB,CAAC"}
@@ -1,17 +1,15 @@
1
- export declare const rules: {
2
- "no-label-slot-in-checkbox": import("eslint").Rule.RuleModule;
3
- };
1
+ import { Linter } from "eslint";
4
2
  declare const plugin: {
5
3
  rules: {
6
4
  "no-label-slot-in-checkbox": import("eslint").Rule.RuleModule;
7
5
  };
8
6
  configs: {
9
7
  recommended: {
10
- plugins: string[];
11
8
  rules: {
12
- "@dnn-community/no-label-slot-in-checkbox": string;
9
+ '@dnn-elements/no-label-slot-in-checkbox': "error";
13
10
  };
14
11
  };
12
+ flat: Record<string, Linter.FlatConfig>;
15
13
  };
16
14
  };
17
15
  export default plugin;
@@ -1,20 +1,22 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.rules = void 0;
4
- const no_label_slot_in_checkbox_1 = require("./rules/no-label-slot-in-checkbox");
5
- exports.rules = {
6
- "no-label-slot-in-checkbox": no_label_slot_in_checkbox_1.noLabelSlotInCheckbox
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
7
4
  };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const rules_1 = __importDefault(require("./rules"));
7
+ const configs_1 = __importDefault(require("./configs"));
8
8
  const plugin = {
9
- rules: exports.rules,
10
- configs: {
11
- recommended: {
12
- plugins: ["@dnn-community/eslint-plugin"],
13
- rules: {
14
- "@dnn-community/no-label-slot-in-checkbox": "error"
15
- }
16
- }
17
- }
9
+ rules: rules_1.default,
10
+ configs: configs_1.default,
11
+ };
12
+ const flatRecommended = {
13
+ plugins: {
14
+ "@dnn-elements": plugin,
15
+ },
16
+ rules: configs_1.default.recommended.rules,
17
+ };
18
+ configs_1.default.flat = {
19
+ recommended: flatRecommended,
18
20
  };
19
21
  exports.default = plugin;
20
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/eslint-plugin/src/index.ts"],"names":[],"mappings":";;;AAAA,iFAA0E;AAE7D,QAAA,KAAK,GAAG;IACjB,2BAA2B,EAAE,iDAAqB;CACrD,CAAC;AAEF,MAAM,MAAM,GAAG;IACX,KAAK,EAAL,aAAK;IACL,OAAO,EAAE;QACL,WAAW,EAAE;YACT,OAAO,EAAE,CAAC,8BAA8B,CAAC;YACzC,KAAK,EAAE;gBACH,0CAA0C,EAAE,OAAO;aACtD;SACJ;KACJ;CACJ,CAAA;AAED,kBAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/eslint-plugin/src/index.ts"],"names":[],"mappings":";;;;;AACA,oDAA4B;AAC5B,wDAA+B;AAE/B,MAAM,MAAM,GAAG;IACX,KAAK,EAAL,eAAK;IACL,OAAO,EAAP,iBAAO;CACV,CAAC;AAEF,MAAM,eAAe,GAAsB;IACvC,OAAO,EAAE;QACL,eAAe,EAAE,MAAM;KAC1B;IACD,KAAK,EAAE,iBAAO,CAAC,WAAW,CAAC,KAAK;CACnC,CAAC;AAEF,iBAAO,CAAC,IAAI,GAAG;IACX,WAAW,EAAE,eAAe;CAC/B,CAAA;AAED,kBAAe,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ declare const _default: {
2
+ "no-label-slot-in-checkbox": import("eslint").Rule.RuleModule;
3
+ };
4
+ export default _default;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const no_label_slot_in_checkbox_1 = require("./no-label-slot-in-checkbox");
4
+ exports.default = {
5
+ "no-label-slot-in-checkbox": no_label_slot_in_checkbox_1.noLabelSlotInCheckbox,
6
+ };
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/eslint-plugin/src/rules/index.ts"],"names":[],"mappings":";;AAAA,2EAAoE;AAEpE,kBAAe;IACX,2BAA2B,EAAE,iDAAqB;CACrD,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnncommunity/dnn-elements",
3
- "version": "0.24.4-beta.7",
3
+ "version": "0.24.4-beta.8",
4
4
  "description": "Dnn themed custom elements.",
5
5
  "repository": "https://github.com/dnncommunity/dnn-elements",
6
6
  "homepage": "https://dnncommunity.github.io/dnn-elements",