@dnncommunity/dnn-elements 0.24.4-beta.10 → 0.24.4-beta.12

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 (30) hide show
  1. package/eslint-plugin/dist/configs/recommended.d.ts +4 -0
  2. package/eslint-plugin/dist/configs/recommended.js +27 -0
  3. package/eslint-plugin/dist/configs/recommended.js.map +1 -0
  4. package/eslint-plugin/dist/index.d.ts +3 -0
  5. package/eslint-plugin/dist/index.js +17 -0
  6. package/eslint-plugin/dist/index.js.map +1 -0
  7. package/eslint-plugin/dist/rules/index.js.map +1 -0
  8. package/eslint-plugin/dist/rules/no-label-slot-in-checkbox.js.map +1 -0
  9. package/eslint-plugin/dist/rules/no-label-slot-in-checkbox.tests.js.map +1 -0
  10. package/eslint-plugin/dist/types/plugin.d.ts +21 -0
  11. package/eslint-plugin/dist/types/plugin.js +3 -0
  12. package/eslint-plugin/dist/types/plugin.js.map +1 -0
  13. package/eslint-plugin/dist/utils.js.map +1 -0
  14. package/package.json +2 -2
  15. package/eslint-plugin/dist/eslint-plugin/src/index.d.ts +0 -20
  16. package/eslint-plugin/dist/eslint-plugin/src/index.js +0 -24
  17. package/eslint-plugin/dist/eslint-plugin/src/index.js.map +0 -1
  18. package/eslint-plugin/dist/eslint-plugin/src/rules/index.js.map +0 -1
  19. package/eslint-plugin/dist/eslint-plugin/src/rules/no-label-slot-in-checkbox.js.map +0 -1
  20. package/eslint-plugin/dist/eslint-plugin/src/rules/no-label-slot-in-checkbox.tests.js.map +0 -1
  21. package/eslint-plugin/dist/eslint-plugin/src/utils.js.map +0 -1
  22. package/eslint-plugin/dist/package.json +0 -89
  23. /package/eslint-plugin/dist/{eslint-plugin/src/rules → rules}/index.d.ts +0 -0
  24. /package/eslint-plugin/dist/{eslint-plugin/src/rules → rules}/index.js +0 -0
  25. /package/eslint-plugin/dist/{eslint-plugin/src/rules → rules}/no-label-slot-in-checkbox.d.ts +0 -0
  26. /package/eslint-plugin/dist/{eslint-plugin/src/rules → rules}/no-label-slot-in-checkbox.js +0 -0
  27. /package/eslint-plugin/dist/{eslint-plugin/src/rules → rules}/no-label-slot-in-checkbox.tests.d.ts +0 -0
  28. /package/eslint-plugin/dist/{eslint-plugin/src/rules → rules}/no-label-slot-in-checkbox.tests.js +0 -0
  29. /package/eslint-plugin/dist/{eslint-plugin/src/utils.d.ts → utils.d.ts} +0 -0
  30. /package/eslint-plugin/dist/{eslint-plugin/src/utils.js → utils.js} +0 -0
@@ -0,0 +1,4 @@
1
+ import type { Linter } from "eslint";
2
+ import type { FlatConfig } from "@typescript-eslint/utils/ts-eslint";
3
+ export declare const recommended: Linter.Config;
4
+ export declare const flatRecommended: FlatConfig.Config[];
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.flatRecommended = exports.recommended = void 0;
4
+ const rules_1 = require("../rules");
5
+ // 🔁 Dynamically generate rule names with prefix
6
+ const pluginName = "dnn-elements";
7
+ const prefixedRules = Object.fromEntries(Object.keys(rules_1.rules).map(ruleName => [
8
+ `${pluginName}/${ruleName}`,
9
+ "error",
10
+ ]));
11
+ // ✅ Classic config (extends-based)
12
+ exports.recommended = {
13
+ plugins: [pluginName],
14
+ rules: prefixedRules,
15
+ };
16
+ // ✅ Flat config (for modern eslint.config.js)
17
+ exports.flatRecommended = [
18
+ {
19
+ plugins: {
20
+ [pluginName]: {
21
+ rules: rules_1.rules,
22
+ },
23
+ },
24
+ rules: prefixedRules,
25
+ },
26
+ ];
27
+ //# sourceMappingURL=recommended.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recommended.js","sourceRoot":"","sources":["../../src/configs/recommended.ts"],"names":[],"mappings":";;;AAEA,oCAAiC;AAEjC,iDAAiD;AACjD,MAAM,UAAU,GAAG,cAAc,CAAC;AAElC,MAAM,aAAa,GAAuB,MAAM,CAAC,WAAW,CAC1D,MAAM,CAAC,IAAI,CAAC,aAAK,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,EAAE,CAAC;IACjC,GAAG,UAAU,IAAI,QAAQ,EAAE;IAC3B,OAAgB;CACjB,CAAC,CACH,CAAC;AAEF,mCAAmC;AACtB,QAAA,WAAW,GAAkB;IACxC,OAAO,EAAE,CAAC,UAAU,CAAC;IACrB,KAAK,EAAE,aAAa;CACrB,CAAC;AAEF,8CAA8C;AACjC,QAAA,eAAe,GAAwB;IAClD;QACE,OAAO,EAAE;YACP,CAAC,UAAU,CAAC,EAAE;gBACZ,KAAK,EAAL,aAAK;aACN;SACF;QACD,KAAK,EAAE,aAAa;KACrB;CACF,CAAC","sourcesContent":["import type { Linter } from \"eslint\";\r\nimport type { FlatConfig } from \"@typescript-eslint/utils/ts-eslint\";\r\nimport { rules } from \"../rules\";\r\n\r\n// 🔁 Dynamically generate rule names with prefix\r\nconst pluginName = \"dnn-elements\";\r\n\r\nconst prefixedRules: Linter.RulesRecord = Object.fromEntries(\r\n Object.keys(rules).map(ruleName => [\r\n `${pluginName}/${ruleName}`,\r\n \"error\" as const,\r\n ])\r\n);\r\n\r\n// ✅ Classic config (extends-based)\r\nexport const recommended: Linter.Config = {\r\n plugins: [pluginName],\r\n rules: prefixedRules,\r\n};\r\n\r\n// ✅ Flat config (for modern eslint.config.js)\r\nexport const flatRecommended: FlatConfig.Config[] = [\r\n {\r\n plugins: {\r\n [pluginName]: {\r\n rules,\r\n },\r\n },\r\n rules: prefixedRules,\r\n },\r\n];\r\n"]}
@@ -0,0 +1,3 @@
1
+ import type { Plugin } from "./types/plugin";
2
+ declare const plugin: Plugin;
3
+ export default plugin;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const rules_1 = require("./rules");
4
+ const recommended_1 = require("./configs/recommended");
5
+ const { name, version } = require("../../package.json");
6
+ const plugin = {
7
+ meta: { name, version },
8
+ rules: rules_1.rules,
9
+ configs: {
10
+ recommended: recommended_1.recommended,
11
+ flat: {
12
+ recommended: recommended_1.flatRecommended,
13
+ },
14
+ },
15
+ };
16
+ exports.default = plugin;
17
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;AAAA,mCAAgC;AAChC,uDAAqE;AAErE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,oBAAoB,CAGnD,CAAC;AAEJ,MAAM,MAAM,GAAW;IACrB,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;IACvB,KAAK,EAAL,aAAK;IACL,OAAO,EAAE;QACP,WAAW,EAAX,yBAAW;QACX,IAAI,EAAE;YACJ,WAAW,EAAE,6BAAe;SAC7B;KACF;CACF,CAAC;AAEF,kBAAe,MAAM,CAAC","sourcesContent":["import { rules } from \"./rules\";\r\nimport { recommended, flatRecommended } from \"./configs/recommended\";\r\nimport type { Plugin } from \"./types/plugin\";\r\nconst { name, version } = require(\"../../package.json\") as {\r\n name: string;\r\n version: string;\r\n };\r\n\r\nconst plugin: Plugin = {\r\n meta: { name, version },\r\n rules,\r\n configs: {\r\n recommended,\r\n flat: {\r\n recommended: flatRecommended,\r\n },\r\n },\r\n};\r\n\r\nexport default plugin;\r\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;AAAA,2EAA4E;AAE/D,QAAA,KAAK,GAAG;IACjB,2BAA2B,EAAE,gCAAqB;CACrD,CAAA","sourcesContent":["import { rule as noLabelSlotInCheckbox } from \"./no-label-slot-in-checkbox\";\r\n\r\nexport const rules = {\r\n \"no-label-slot-in-checkbox\": noLabelSlotInCheckbox,\r\n}"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-label-slot-in-checkbox.js","sourceRoot":"","sources":["../../src/rules/no-label-slot-in-checkbox.ts"],"names":[],"mappings":";;;AAAA,oCAAsC;AAEzB,QAAA,IAAI,GAAG,IAAA,kBAAU,EAAC;IAC3B,IAAI,EAAE,2BAA2B;IACjC,cAAc,EAAE,EAAE;IAClB,IAAI,EAAE;QACF,IAAI,EAAE;YACF,WAAW,EAAE,iCAAiC;YAC9C,WAAW,EAAE,IAAI;YACjB,GAAG,EAAE,mEAAmE;SAC3E;QACD,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE;YACN,qBAAqB,EAAE,oFAAoF;SAC9G;QACD,OAAO,EAAE,MAAM;QACf,MAAM,EAAE,EAAE,EAAE,uFAAuF;KACtG;IACD,MAAM,CAAC,OAAO;QACV,OAAO;YACH,UAAU,CAAC,IAAI;gBACX,IACI,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,KAAK,eAAe;oBACjD,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,KAAK,cAAc,EAClD,CAAC;oBACC,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ;yBAC7B,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;yBAC/C,IAAI,CAAC,EAAE,CAAC;yBACR,IAAI,EAAE,CAAC;oBAEZ,IAAI,YAAY,EAAE,CAAC;wBACf,OAAO,CAAC,MAAM,CAAC;4BACX,IAAI;4BACJ,SAAS,EAAE,uBAAuB;4BAClC,GAAG,EAAE,KAAK,CAAC,EAAE;gCACT,MAAM,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;gCACrE,MAAM,WAAW,GAAG,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;gCAEtD,MAAM,WAAW,GAAG,YAAY,WAAW,KAAK,YAAY,YAAY,CAAC;gCACzE,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;4BAChD,CAAC;yBACJ,CAAC,CAAC;oBACP,CAAC;gBACL,CAAC;YACL,CAAC;SACJ,CAAC;IACN,CAAC;CACJ,CAAC,CAAC","sourcesContent":["import { createRule } from \"../utils\";\r\n\r\nexport const rule = createRule({\r\n name: \"no-label-slot-in-checkbox\",\r\n defaultOptions: [],\r\n meta: {\r\n docs: {\r\n description: \"Disallow label slot in checkbox\",\r\n recommended: true,\r\n url: \"https://github.com/DNNCommunity/dnn-elements/releases/tag/v0.24.0\",\r\n },\r\n type: \"problem\",\r\n messages: {\r\n noLabelSlotInCheckbox: \"Label slot is not allowed in dnn-checkbox, wrap dnn-checkbox with a label instead.\"\r\n },\r\n fixable: \"code\",\r\n schema: [], // Ensure schema is defined as an empty array or with the appropriate schema definition\r\n },\r\n create(context) {\r\n return {\r\n JSXElement(node) {\r\n if (\r\n node.openingElement.name.type === \"JSXIdentifier\" &&\r\n node.openingElement.name.name === \"dnn-checkbox\"\r\n ) {\r\n const innerContent = node.children\r\n .map(child => context.sourceCode.getText(child))\r\n .join(\"\")\r\n .trim();\r\n \r\n if (innerContent) {\r\n context.report({\r\n node,\r\n messageId: \"noLabelSlotInCheckbox\",\r\n fix: fixer => {\r\n const checkboxText = context.sourceCode.getText(node.openingElement);\r\n const selfClosing = checkboxText.replace(/>$/, \" />\");\r\n \r\n const replacement = `<label>\\n${selfClosing}\\n${innerContent}\\n</label>`;\r\n return fixer.replaceText(node, replacement);\r\n }\r\n });\r\n }\r\n }\r\n }\r\n };\r\n },\r\n});\r\n"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"no-label-slot-in-checkbox.tests.js","sourceRoot":"","sources":["../../src/rules/no-label-slot-in-checkbox.tests.ts"],"names":[],"mappings":";;AAAA,gEAA4D;AAC5D,2EAAmD;AAEnD,MAAM,UAAU,GAAG,IAAI,wBAAU,EAAE,CAAC;AAEpC,yDAAyD;AACzD,MAAM,gBAAgB,GAAG;IACrB,aAAa,EAAE;QACX,YAAY,EAAE;YACV,GAAG,EAAE,IAAI;SACZ;KACJ;CACJ,CAAC;AAEF,UAAU,CAAC,GAAG,CAAC,2BAA2B,EAAE,gCAAI,EAAE;IAC9C,KAAK,EAAE;QACH;YACI,IAAI,EAAE,+BAA+B;YACrC,eAAe,EAAE,gBAAgB;SACpC;KACJ;IACD,OAAO,EAAE;QACL;YACI,IAAI,EAAE,sEAAsE;YAC5E,eAAe,EAAE,gBAAgB;YACjC,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAAC;YAChD,MAAM,EAAE,8EAA8E;SACzF;KACJ;CACJ,CAAC,CAAC","sourcesContent":["import { RuleTester } from \"@typescript-eslint/rule-tester\";\r\nimport { rule } from \"./no-label-slot-in-checkbox\";\r\n\r\nconst ruleTester = new RuleTester();\r\n\r\n// Define a reusable configuration for JSX parser options\r\nconst jsxParserOptions = {\r\n parserOptions: {\r\n ecmaFeatures: {\r\n jsx: true,\r\n },\r\n },\r\n};\r\n\r\nruleTester.run(\"no-label-slot-in-checkbox\", rule, {\r\n valid: [\r\n {\r\n code: \"<dnn-checkbox></dnn-checkbox>\",\r\n languageOptions: jsxParserOptions,\r\n },\r\n ],\r\n invalid: [\r\n {\r\n code: \"<dnn-checkbox onClick={e => console.log(e)}>Something</dnn-checkbox>\",\r\n languageOptions: jsxParserOptions,\r\n errors: [{ messageId: \"noLabelSlotInCheckbox\" }],\r\n output: \"<label>\\n<dnn-checkbox onClick={e => console.log(e)} />\\nSomething\\n</label>\",\r\n },\r\n ],\r\n});"]}
@@ -0,0 +1,21 @@
1
+ import type { Linter } from "eslint";
2
+ import type { RuleModule } from "@typescript-eslint/utils/ts-eslint";
3
+ import type { FlatConfig } from "@typescript-eslint/utils/ts-eslint";
4
+ type RulesRecord = Record<string, RuleModule<string, readonly unknown[]>>;
5
+ type FlatConfigs = {
6
+ flat?: {
7
+ recommended?: FlatConfig.Config[];
8
+ [key: string]: FlatConfig.Config[] | undefined;
9
+ };
10
+ };
11
+ export type Plugin = {
12
+ meta?: {
13
+ name: string;
14
+ version: string;
15
+ };
16
+ rules: RulesRecord;
17
+ configs?: {
18
+ recommended?: Linter.Config;
19
+ } & FlatConfigs;
20
+ };
21
+ export {};
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=plugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.js","sourceRoot":"","sources":["../../src/types/plugin.ts"],"names":[],"mappings":"","sourcesContent":["import type { Linter } from \"eslint\";\r\nimport type { RuleModule } from \"@typescript-eslint/utils/ts-eslint\";\r\nimport type { FlatConfig } from \"@typescript-eslint/utils/ts-eslint\";\r\n\r\ntype RulesRecord = Record<string, RuleModule<string, readonly unknown[]>>;\r\n\r\ntype FlatConfigs = {\r\n flat?: {\r\n recommended?: FlatConfig.Config[];\r\n [key: string]: FlatConfig.Config[] | undefined;\r\n };\r\n};\r\n\r\nexport type Plugin = {\r\n meta?: {\r\n name: string;\r\n version: string;\r\n };\r\n rules: RulesRecord;\r\n configs?: {\r\n recommended?: Linter.Config;\r\n } & FlatConfigs;\r\n};"]}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../src/utils.ts"],"names":[],"mappings":";;;AAAA,oDAAuD;AAMtD,CAAC;AAEW,QAAA,UAAU,GAAG,mBAAW,CAAC,WAAW,CAC7C,IAAI,CAAC,EAAE,CAAC,sGAAsG,IAAI,KAAK,CAC1H,CAAC","sourcesContent":["import { ESLintUtils } from \"@typescript-eslint/utils\";\r\n\r\nexport interface TypedLintingRuleDocs {\r\n description: string;\r\n recommended?: boolean;\r\n requiresTyepeChecking?: boolean;\r\n};\r\n\r\nexport const createRule = ESLintUtils.RuleCreator<TypedLintingRuleDocs>(\r\n name => `https://github.com/DNNCommunity/dnn-elements/tree/main/packages/stencil-library/eslint-plugin/docs/${name}.md`\r\n);"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnncommunity/dnn-elements",
3
- "version": "0.24.4-beta.10",
3
+ "version": "0.24.4-beta.12",
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",
@@ -19,7 +19,7 @@
19
19
  "eslint-plugin/dist"
20
20
  ],
21
21
  "exports": {
22
- "./eslint": {
22
+ "./eslint-plugin": {
23
23
  "import": "./eslint-plugin/dist/index.js"
24
24
  }
25
25
  },
@@ -1,20 +0,0 @@
1
- declare const plugin: {
2
- configs: {
3
- readonly recommended: {
4
- plugins: {
5
- "dnn-elements": any;
6
- };
7
- rules: {
8
- "no-label-slot-in-checkbox": import("@typescript-eslint/utils/ts-eslint").RuleModule<"noLabelSlotInCheckbox", [], import("./utils").TypedLintingRuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
9
- };
10
- };
11
- };
12
- meta: {
13
- name: string;
14
- version: string;
15
- };
16
- rules: {
17
- "no-label-slot-in-checkbox": import("@typescript-eslint/utils/ts-eslint").RuleModule<"noLabelSlotInCheckbox", [], import("./utils").TypedLintingRuleDocs, import("@typescript-eslint/utils/ts-eslint").RuleListener>;
18
- };
19
- };
20
- export default plugin;
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const rules_1 = require("./rules");
4
- const { name, version } =
5
- // `import`ing here would bypass the TSConfig's `"rootDir": "src"`
6
- // eslint-disable-next-line @typescript-eslint/no-require-imports
7
- require("../../package.json");
8
- const plugin = {
9
- configs: {
10
- get recommended() {
11
- return recommended;
12
- },
13
- },
14
- meta: { name, version },
15
- rules: rules_1.rules,
16
- };
17
- const recommended = {
18
- plugins: {
19
- "dnn-elements": plugin,
20
- },
21
- rules: rules_1.rules,
22
- };
23
- exports.default = plugin;
24
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":";;AAAA,mCAAgC;AAEhC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE;AACrB,kEAAkE;AAClE,iEAAiE;AACjE,OAAO,CAAC,oBAAoB,CAAwC,CAAC;AAEvE,MAAM,MAAM,GAAG;IACX,OAAO,EAAE;QACL,IAAI,WAAW;YACX,OAAO,WAAW,CAAC;QACvB,CAAC;KACJ;IACD,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE;IACvB,KAAK,EAAL,aAAK;CACR,CAAC;AAEF,MAAM,WAAW,GAAG;IAChB,OAAO,EAAE;QACL,cAAc,EAAE,MAAM;KACzB;IACD,KAAK,EAAL,aAAK;CACR,CAAC;AAEF,kBAAe,MAAM,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/rules/index.ts"],"names":[],"mappings":";;;AAAA,2EAA4E;AAE/D,QAAA,KAAK,GAAG;IACjB,2BAA2B,EAAE,gCAAqB;CACrD,CAAA"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"no-label-slot-in-checkbox.js","sourceRoot":"","sources":["../../../../src/rules/no-label-slot-in-checkbox.ts"],"names":[],"mappings":";;;AAAA,oCAAsC;AAEzB,QAAA,IAAI,GAAG,IAAA,kBAAU,EAAC;IAC3B,IAAI,EAAE,2BAA2B;IACjC,cAAc,EAAE,EAAE;IAClB,IAAI,EAAE;QACF,IAAI,EAAE;YACF,WAAW,EAAE,iCAAiC;YAC9C,WAAW,EAAE,IAAI;YACjB,GAAG,EAAE,mEAAmE;SAC3E;QACD,IAAI,EAAE,SAAS;QACf,QAAQ,EAAE;YACN,qBAAqB,EAAE,oFAAoF;SAC9G;QACD,OAAO,EAAE,MAAM;QACf,MAAM,EAAE,EAAE,EAAE,uFAAuF;KACtG;IACD,MAAM,CAAC,OAAO;QACV,OAAO;YACH,UAAU,CAAC,IAAI;gBACX,IACI,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,KAAK,eAAe;oBACjD,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,KAAK,cAAc,EAClD,CAAC;oBACC,MAAM,YAAY,GAAG,IAAI,CAAC,QAAQ;yBAC7B,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;yBAC/C,IAAI,CAAC,EAAE,CAAC;yBACR,IAAI,EAAE,CAAC;oBAEZ,IAAI,YAAY,EAAE,CAAC;wBACf,OAAO,CAAC,MAAM,CAAC;4BACX,IAAI;4BACJ,SAAS,EAAE,uBAAuB;4BAClC,GAAG,EAAE,KAAK,CAAC,EAAE;gCACT,MAAM,YAAY,GAAG,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;gCACrE,MAAM,WAAW,GAAG,YAAY,CAAC,OAAO,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;gCAEtD,MAAM,WAAW,GAAG,YAAY,WAAW,KAAK,YAAY,YAAY,CAAC;gCACzE,OAAO,KAAK,CAAC,WAAW,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;4BAChD,CAAC;yBACJ,CAAC,CAAC;oBACP,CAAC;gBACL,CAAC;YACL,CAAC;SACJ,CAAC;IACN,CAAC;CACJ,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"no-label-slot-in-checkbox.tests.js","sourceRoot":"","sources":["../../../../src/rules/no-label-slot-in-checkbox.tests.ts"],"names":[],"mappings":";;AAAA,gEAA4D;AAC5D,2EAAmD;AAEnD,MAAM,UAAU,GAAG,IAAI,wBAAU,EAAE,CAAC;AAEpC,yDAAyD;AACzD,MAAM,gBAAgB,GAAG;IACrB,aAAa,EAAE;QACX,YAAY,EAAE;YACV,GAAG,EAAE,IAAI;SACZ;KACJ;CACJ,CAAC;AAEF,UAAU,CAAC,GAAG,CAAC,2BAA2B,EAAE,gCAAI,EAAE;IAC9C,KAAK,EAAE;QACH;YACI,IAAI,EAAE,+BAA+B;YACrC,eAAe,EAAE,gBAAgB;SACpC;KACJ;IACD,OAAO,EAAE;QACL;YACI,IAAI,EAAE,sEAAsE;YAC5E,eAAe,EAAE,gBAAgB;YACjC,MAAM,EAAE,CAAC,EAAE,SAAS,EAAE,uBAAuB,EAAE,CAAC;YAChD,MAAM,EAAE,8EAA8E;SACzF;KACJ;CACJ,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../../src/utils.ts"],"names":[],"mappings":";;;AAAA,oDAAuD;AAMtD,CAAC;AAEW,QAAA,UAAU,GAAG,mBAAW,CAAC,WAAW,CAC7C,IAAI,CAAC,EAAE,CAAC,sGAAsG,IAAI,KAAK,CAC1H,CAAC"}
@@ -1,89 +0,0 @@
1
- {
2
- "name": "@dnncommunity/dnn-elements",
3
- "version": "0.24.4-beta.10",
4
- "description": "Dnn themed custom elements.",
5
- "repository": "https://github.com/dnncommunity/dnn-elements",
6
- "homepage": "https://dnncommunity.github.io/dnn-elements",
7
- "license": "MIT",
8
- "main": "dist/index.cjs.js",
9
- "module": "dist/index.js",
10
- "es2015": "dist/esm/index.mjs",
11
- "es2017": "dist/esm/index.mjs",
12
- "types": "dist/types/index.d.ts",
13
- "collection": "dist/collection/collection-manifest.json",
14
- "collection:main": "dist/collection/index.js",
15
- "unpkg": "dist/dnn/dnn.js",
16
- "files": [
17
- "dist/",
18
- "loader/",
19
- "eslint-plugin/dist"
20
- ],
21
- "exports": {
22
- "./eslint": {
23
- "import": "./eslint-plugin/dist/index.js"
24
- }
25
- },
26
- "scripts": {
27
- "build": "npm run build:eslint-plugin && npm run eslint && stencil build --docs",
28
- "postbuild": "license-checker-rseidelsohn --out licenses.json --json --direct --relativeLicensePath --relativeModulePath",
29
- "watch": "stencil build --dev --watch",
30
- "start": "stencil build --dev --watch --serve",
31
- "start.edge": "stencil build --dev --watch --serve --es5",
32
- "poststart": "license-checker-rseidelsohn --out licenses.json --json --direct --relativeLicensePath --relativeModulePath",
33
- "test": "stencil test --spec --e2e",
34
- "test.watch": "stencil test --spec --e2e --watchAll",
35
- "test.eslint": "jest --config jest.eslint.config.js",
36
- "test.eslint.watch": "jest --config jest.eslint.config.js --watchAll",
37
- "generate": "stencil generate",
38
- "eslint": "eslint",
39
- "storybook": "storybook dev -p 6006",
40
- "build-storybook": "echo 'Storybook build is disabled for this release.'",
41
- "deploy-storybook": "gh-pages -d storybook-static --branch site",
42
- "build:eslint-plugin": "tsc -p eslint-plugin/tsconfig.json"
43
- },
44
- "devDependencies": {
45
- "@chromatic-com/storybook": "^3.1.0",
46
- "@stencil-community/eslint-plugin": "0.9.0",
47
- "@stencil/core": "4.22.2",
48
- "@stencil/react-output-target": "^0.5.1",
49
- "@stencil/sass": "^3.0.4",
50
- "@storybook/addon-a11y": "^8.3.2",
51
- "@storybook/addon-essentials": "^8.3.2",
52
- "@storybook/addon-links": "^8.3.2",
53
- "@storybook/addon-webpack5-compiler-babel": "^3.0.3",
54
- "@storybook/addons": "^7.6.17",
55
- "@storybook/blocks": "^8.3.2",
56
- "@storybook/theming": "^8.3.2",
57
- "@storybook/web-components": "^8.3.2",
58
- "@storybook/web-components-webpack5": "^8.3.2",
59
- "@timkendrick/monaco-editor": "^0.0.9",
60
- "@types/estree-jsx": "^1.0.5",
61
- "@types/jest": "^29.5.10",
62
- "@typescript-eslint/eslint-plugin": "^8.30.1",
63
- "@typescript-eslint/parser": "^8.30.1",
64
- "@typescript-eslint/rule-tester": "^8.30.1",
65
- "@typescript-eslint/utils": "^8.30.1",
66
- "axe-playwright": "^2.0.1",
67
- "babel-loader": "^9.1.2",
68
- "eslint": "^8.57.0",
69
- "eslint-plugin-react": "^7.16.0",
70
- "eslint-plugin-storybook": "^0.11.1",
71
- "gh-pages": "^6.0.0",
72
- "jest": "^29.7.0",
73
- "jest-cli": "^29.7.0",
74
- "license-checker-rseidelsohn": "^4.2.6",
75
- "lit": "^3.1.0",
76
- "npm-run-all": "^4.1.5",
77
- "puppeteer": "^23.9.0",
78
- "react": "^18.2.0",
79
- "react-dom": "^18.2.0",
80
- "rollup-plugin-node-polyfills": "^0.2.1",
81
- "storybook": "^8.3.2",
82
- "ts-jest": "^29.3.2",
83
- "typescript": "5.6.3",
84
- "typescript-eslint": "^8.30.1"
85
- },
86
- "dependencies": {
87
- "jodit": "^4.2.27"
88
- }
89
- }