@dhzh/eslint-plugin-better-tailwindcss 0.0.0-stage → 4.9.0-patch
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 +21 -0
- package/README.md +247 -2
- package/lib/api/defaults.d.ts +103 -0
- package/lib/api/defaults.d.ts.map +1 -0
- package/lib/api/defaults.js +34 -0
- package/lib/api/defaults.js.map +1 -0
- package/lib/api/types.d.ts +9 -0
- package/lib/api/types.d.ts.map +1 -0
- package/lib/api/types.js +5 -0
- package/lib/api/types.js.map +1 -0
- package/lib/async-utils/cache.d.ts +30 -0
- package/lib/async-utils/cache.d.ts.map +1 -0
- package/lib/async-utils/cache.js +116 -0
- package/lib/async-utils/cache.js.map +1 -0
- package/lib/async-utils/escape.d.ts +2 -0
- package/lib/async-utils/escape.d.ts.map +1 -0
- package/lib/async-utils/escape.js +5 -0
- package/lib/async-utils/escape.js.map +1 -0
- package/lib/async-utils/fs.d.ts +3 -0
- package/lib/async-utils/fs.d.ts.map +1 -0
- package/lib/async-utils/fs.js +28 -0
- package/lib/async-utils/fs.js.map +1 -0
- package/lib/async-utils/module.d.ts +3 -0
- package/lib/async-utils/module.d.ts.map +1 -0
- package/lib/async-utils/module.js +7 -0
- package/lib/async-utils/module.js.map +1 -0
- package/lib/async-utils/operations.d.ts +23 -0
- package/lib/async-utils/operations.d.ts.map +1 -0
- package/lib/async-utils/operations.js +2 -0
- package/lib/async-utils/operations.js.map +1 -0
- package/lib/async-utils/order.d.ts +4 -0
- package/lib/async-utils/order.d.ts.map +1 -0
- package/lib/async-utils/order.js +5 -0
- package/lib/async-utils/order.js.map +1 -0
- package/lib/async-utils/path.d.ts +2 -0
- package/lib/async-utils/path.d.ts.map +1 -0
- package/lib/async-utils/path.js +7 -0
- package/lib/async-utils/path.js.map +1 -0
- package/lib/async-utils/platform.d.ts +2 -0
- package/lib/async-utils/platform.d.ts.map +1 -0
- package/lib/async-utils/platform.js +4 -0
- package/lib/async-utils/platform.js.map +1 -0
- package/lib/async-utils/regex.d.ts +3 -0
- package/lib/async-utils/regex.d.ts.map +1 -0
- package/lib/async-utils/regex.js +32 -0
- package/lib/async-utils/regex.js.map +1 -0
- package/lib/async-utils/resolvers.d.ts +7 -0
- package/lib/async-utils/resolvers.d.ts.map +1 -0
- package/lib/async-utils/resolvers.js +64 -0
- package/lib/async-utils/resolvers.js.map +1 -0
- package/lib/async-utils/segment.d.ts +2 -0
- package/lib/async-utils/segment.d.ts.map +1 -0
- package/lib/async-utils/segment.js +82 -0
- package/lib/async-utils/segment.js.map +1 -0
- package/lib/async-utils/worker.d.ts +3 -0
- package/lib/async-utils/worker.d.ts.map +1 -0
- package/lib/async-utils/worker.js +17 -0
- package/lib/async-utils/worker.js.map +1 -0
- package/lib/configs/config.d.ts +3521 -0
- package/lib/configs/config.d.ts.map +1 -0
- package/lib/configs/config.js +98 -0
- package/lib/configs/config.js.map +1 -0
- package/lib/options/callees/cc.d.ts +30 -0
- package/lib/options/callees/cc.d.ts.map +1 -0
- package/lib/options/callees/cc.js +25 -0
- package/lib/options/callees/cc.js.map +1 -0
- package/lib/options/callees/clb.d.ts +35 -0
- package/lib/options/callees/clb.d.ts.map +1 -0
- package/lib/options/callees/clb.js +39 -0
- package/lib/options/callees/clb.js.map +1 -0
- package/lib/options/callees/clsx.d.ts +30 -0
- package/lib/options/callees/clsx.d.ts.map +1 -0
- package/lib/options/callees/clsx.js +25 -0
- package/lib/options/callees/clsx.js.map +1 -0
- package/lib/options/callees/cn.d.ts +30 -0
- package/lib/options/callees/cn.d.ts.map +1 -0
- package/lib/options/callees/cn.js +25 -0
- package/lib/options/callees/cn.js.map +1 -0
- package/lib/options/callees/cnb.d.ts +30 -0
- package/lib/options/callees/cnb.d.ts.map +1 -0
- package/lib/options/callees/cnb.js +25 -0
- package/lib/options/callees/cnb.js.map +1 -0
- package/lib/options/callees/ctl.d.ts +17 -0
- package/lib/options/callees/ctl.d.ts.map +1 -0
- package/lib/options/callees/ctl.js +15 -0
- package/lib/options/callees/ctl.js.map +1 -0
- package/lib/options/callees/cva.d.ts +40 -0
- package/lib/options/callees/cva.d.ts.map +1 -0
- package/lib/options/callees/cva.js +37 -0
- package/lib/options/callees/cva.js.map +1 -0
- package/lib/options/callees/cx.d.ts +30 -0
- package/lib/options/callees/cx.d.ts.map +1 -0
- package/lib/options/callees/cx.js +25 -0
- package/lib/options/callees/cx.js.map +1 -0
- package/lib/options/callees/dcnb.d.ts +30 -0
- package/lib/options/callees/dcnb.d.ts.map +1 -0
- package/lib/options/callees/dcnb.js +25 -0
- package/lib/options/callees/dcnb.js.map +1 -0
- package/lib/options/callees/objstr.d.ts +24 -0
- package/lib/options/callees/objstr.d.ts.map +1 -0
- package/lib/options/callees/objstr.js +24 -0
- package/lib/options/callees/objstr.js.map +1 -0
- package/lib/options/callees/tv.d.ts +64 -0
- package/lib/options/callees/tv.d.ts.map +1 -0
- package/lib/options/callees/tv.js +70 -0
- package/lib/options/callees/tv.js.map +1 -0
- package/lib/options/callees/twJoin.d.ts +17 -0
- package/lib/options/callees/twJoin.d.ts.map +1 -0
- package/lib/options/callees/twJoin.js +15 -0
- package/lib/options/callees/twJoin.js.map +1 -0
- package/lib/options/callees/twMerge.d.ts +17 -0
- package/lib/options/callees/twMerge.d.ts.map +1 -0
- package/lib/options/callees/twMerge.js +15 -0
- package/lib/options/callees/twMerge.js.map +1 -0
- package/lib/options/default-options.d.ts +114 -0
- package/lib/options/default-options.d.ts.map +1 -0
- package/lib/options/default-options.js +176 -0
- package/lib/options/default-options.js.map +1 -0
- package/lib/options/descriptions.d.ts +657 -0
- package/lib/options/descriptions.d.ts.map +1 -0
- package/lib/options/descriptions.js +22 -0
- package/lib/options/descriptions.js.map +1 -0
- package/lib/options/migrate.d.ts +16 -0
- package/lib/options/migrate.d.ts.map +1 -0
- package/lib/options/migrate.js +132 -0
- package/lib/options/migrate.js.map +1 -0
- package/lib/options/schemas/attributes.d.ts +100 -0
- package/lib/options/schemas/attributes.d.ts.map +1 -0
- package/lib/options/schemas/attributes.js +19 -0
- package/lib/options/schemas/attributes.js.map +1 -0
- package/lib/options/schemas/callees.d.ts +101 -0
- package/lib/options/schemas/callees.d.ts.map +1 -0
- package/lib/options/schemas/callees.js +19 -0
- package/lib/options/schemas/callees.js.map +1 -0
- package/lib/options/schemas/common.d.ts +30 -0
- package/lib/options/schemas/common.d.ts.map +1 -0
- package/lib/options/schemas/common.js +30 -0
- package/lib/options/schemas/common.js.map +1 -0
- package/lib/options/schemas/matchers.d.ts +13 -0
- package/lib/options/schemas/matchers.d.ts.map +1 -0
- package/lib/options/schemas/matchers.js +14 -0
- package/lib/options/schemas/matchers.js.map +1 -0
- package/lib/options/schemas/selectors.d.ts +1289 -0
- package/lib/options/schemas/selectors.d.ts.map +1 -0
- package/lib/options/schemas/selectors.js +100 -0
- package/lib/options/schemas/selectors.js.map +1 -0
- package/lib/options/schemas/tags.d.ts +101 -0
- package/lib/options/schemas/tags.d.ts.map +1 -0
- package/lib/options/schemas/tags.js +19 -0
- package/lib/options/schemas/tags.js.map +1 -0
- package/lib/options/schemas/variables.d.ts +100 -0
- package/lib/options/schemas/variables.d.ts.map +1 -0
- package/lib/options/schemas/variables.js +19 -0
- package/lib/options/schemas/variables.js.map +1 -0
- package/lib/options/tags/twc.d.ts +36 -0
- package/lib/options/tags/twc.d.ts.map +1 -0
- package/lib/options/tags/twc.js +26 -0
- package/lib/options/tags/twc.js.map +1 -0
- package/lib/options/tags/twx.d.ts +36 -0
- package/lib/options/tags/twx.d.ts.map +1 -0
- package/lib/options/tags/twx.js +26 -0
- package/lib/options/tags/twx.js.map +1 -0
- package/lib/parsers/angular.d.ts +11 -0
- package/lib/parsers/angular.d.ts.map +1 -0
- package/lib/parsers/angular.js +736 -0
- package/lib/parsers/angular.js.map +1 -0
- package/lib/parsers/css.d.ts +5 -0
- package/lib/parsers/css.d.ts.map +1 -0
- package/lib/parsers/css.js +100 -0
- package/lib/parsers/css.js.map +1 -0
- package/lib/parsers/es.d.ts +49 -0
- package/lib/parsers/es.d.ts.map +1 -0
- package/lib/parsers/es.js +924 -0
- package/lib/parsers/es.js.map +1 -0
- package/lib/parsers/html.d.ts +8 -0
- package/lib/parsers/html.d.ts.map +1 -0
- package/lib/parsers/html.js +51 -0
- package/lib/parsers/html.js.map +1 -0
- package/lib/parsers/jsx.d.ts +9 -0
- package/lib/parsers/jsx.d.ts.map +1 -0
- package/lib/parsers/jsx.js +118 -0
- package/lib/parsers/jsx.js.map +1 -0
- package/lib/parsers/svelte.d.ts +11 -0
- package/lib/parsers/svelte.d.ts.map +1 -0
- package/lib/parsers/svelte.js +204 -0
- package/lib/parsers/svelte.js.map +1 -0
- package/lib/parsers/vue.d.ts +9 -0
- package/lib/parsers/vue.d.ts.map +1 -0
- package/lib/parsers/vue.js +155 -0
- package/lib/parsers/vue.js.map +1 -0
- package/lib/rules/enforce-canonical-classes.d.ts +229 -0
- package/lib/rules/enforce-canonical-classes.d.ts.map +1 -0
- package/lib/rules/enforce-canonical-classes.js +84 -0
- package/lib/rules/enforce-canonical-classes.js.map +1 -0
- package/lib/rules/enforce-consistent-class-order.d.ts +229 -0
- package/lib/rules/enforce-consistent-class-order.d.ts.map +1 -0
- package/lib/rules/enforce-consistent-class-order.js +250 -0
- package/lib/rules/enforce-consistent-class-order.js.map +1 -0
- package/lib/rules/enforce-consistent-important-position.d.ts +225 -0
- package/lib/rules/enforce-consistent-important-position.d.ts.map +1 -0
- package/lib/rules/enforce-consistent-important-position.js +68 -0
- package/lib/rules/enforce-consistent-important-position.js.map +1 -0
- package/lib/rules/enforce-consistent-line-wrapping.d.ts +235 -0
- package/lib/rules/enforce-consistent-line-wrapping.d.ts.map +1 -0
- package/lib/rules/enforce-consistent-line-wrapping.js +537 -0
- package/lib/rules/enforce-consistent-line-wrapping.js.map +1 -0
- package/lib/rules/enforce-consistent-variable-syntax.d.ts +225 -0
- package/lib/rules/enforce-consistent-variable-syntax.d.ts.map +1 -0
- package/lib/rules/enforce-consistent-variable-syntax.js +164 -0
- package/lib/rules/enforce-consistent-variable-syntax.js.map +1 -0
- package/lib/rules/enforce-consistent-variant-order.d.ts +225 -0
- package/lib/rules/enforce-consistent-variant-order.d.ts.map +1 -0
- package/lib/rules/enforce-consistent-variant-order.js +77 -0
- package/lib/rules/enforce-consistent-variant-order.js.map +1 -0
- package/lib/rules/enforce-logical-properties.d.ts +227 -0
- package/lib/rules/enforce-logical-properties.d.ts.map +1 -0
- package/lib/rules/enforce-logical-properties.js +142 -0
- package/lib/rules/enforce-logical-properties.js.map +1 -0
- package/lib/rules/enforce-shorthand-classes.d.ts +229 -0
- package/lib/rules/enforce-shorthand-classes.d.ts.map +1 -0
- package/lib/rules/enforce-shorthand-classes.js +217 -0
- package/lib/rules/enforce-shorthand-classes.js.map +1 -0
- package/lib/rules/no-concatenated-classes.d.ts +225 -0
- package/lib/rules/no-concatenated-classes.d.ts.map +1 -0
- package/lib/rules/no-concatenated-classes.js +31 -0
- package/lib/rules/no-concatenated-classes.js.map +1 -0
- package/lib/rules/no-conflicting-classes.d.ts +225 -0
- package/lib/rules/no-conflicting-classes.d.ts.map +1 -0
- package/lib/rules/no-conflicting-classes.js +60 -0
- package/lib/rules/no-conflicting-classes.js.map +1 -0
- package/lib/rules/no-deprecated-classes.d.ts +227 -0
- package/lib/rules/no-deprecated-classes.d.ts.map +1 -0
- package/lib/rules/no-deprecated-classes.js +103 -0
- package/lib/rules/no-deprecated-classes.js.map +1 -0
- package/lib/rules/no-duplicate-classes.d.ts +225 -0
- package/lib/rules/no-duplicate-classes.d.ts.map +1 -0
- package/lib/rules/no-duplicate-classes.js +52 -0
- package/lib/rules/no-duplicate-classes.js.map +1 -0
- package/lib/rules/no-restricted-classes.d.ts +225 -0
- package/lib/rules/no-restricted-classes.d.ts.map +1 -0
- package/lib/rules/no-restricted-classes.js +57 -0
- package/lib/rules/no-restricted-classes.js.map +1 -0
- package/lib/rules/no-unknown-classes.d.ts +225 -0
- package/lib/rules/no-unknown-classes.d.ts.map +1 -0
- package/lib/rules/no-unknown-classes.js +82 -0
- package/lib/rules/no-unknown-classes.js.map +1 -0
- package/lib/rules/no-unnecessary-whitespace.d.ts +225 -0
- package/lib/rules/no-unnecessary-whitespace.d.ts.map +1 -0
- package/lib/rules/no-unnecessary-whitespace.js +141 -0
- package/lib/rules/no-unnecessary-whitespace.js.map +1 -0
- package/lib/tailwindcss/canonical-classes.async.v4.d.ts +3 -0
- package/lib/tailwindcss/canonical-classes.async.v4.d.ts.map +1 -0
- package/lib/tailwindcss/canonical-classes.async.v4.js +54 -0
- package/lib/tailwindcss/canonical-classes.async.v4.js.map +1 -0
- package/lib/tailwindcss/canonical-classes.d.ts +21 -0
- package/lib/tailwindcss/canonical-classes.d.ts.map +1 -0
- package/lib/tailwindcss/canonical-classes.js +16 -0
- package/lib/tailwindcss/canonical-classes.js.map +1 -0
- package/lib/tailwindcss/class-order.async.v3.d.ts +3 -0
- package/lib/tailwindcss/class-order.async.v3.d.ts.map +1 -0
- package/lib/tailwindcss/class-order.async.v3.js +4 -0
- package/lib/tailwindcss/class-order.async.v3.js.map +1 -0
- package/lib/tailwindcss/class-order.async.v4.d.ts +3 -0
- package/lib/tailwindcss/class-order.async.v4.d.ts.map +1 -0
- package/lib/tailwindcss/class-order.async.v4.js +4 -0
- package/lib/tailwindcss/class-order.async.v4.js.map +1 -0
- package/lib/tailwindcss/class-order.d.ts +11 -0
- package/lib/tailwindcss/class-order.d.ts.map +1 -0
- package/lib/tailwindcss/class-order.js +16 -0
- package/lib/tailwindcss/class-order.js.map +1 -0
- package/lib/tailwindcss/conflicting-classes.async.v4.d.ts +35 -0
- package/lib/tailwindcss/conflicting-classes.async.v4.d.ts.map +1 -0
- package/lib/tailwindcss/conflicting-classes.async.v4.js +82 -0
- package/lib/tailwindcss/conflicting-classes.async.v4.js.map +1 -0
- package/lib/tailwindcss/conflicting-classes.d.ts +19 -0
- package/lib/tailwindcss/conflicting-classes.d.ts.map +1 -0
- package/lib/tailwindcss/conflicting-classes.js +17 -0
- package/lib/tailwindcss/conflicting-classes.js.map +1 -0
- package/lib/tailwindcss/context.async.v3.d.ts +3 -0
- package/lib/tailwindcss/context.async.v3.d.ts.map +1 -0
- package/lib/tailwindcss/context.async.v3.js +13 -0
- package/lib/tailwindcss/context.async.v3.js.map +1 -0
- package/lib/tailwindcss/context.async.v4.d.ts +3 -0
- package/lib/tailwindcss/context.async.v4.d.ts.map +1 -0
- package/lib/tailwindcss/context.async.v4.js +82 -0
- package/lib/tailwindcss/context.async.v4.js.map +1 -0
- package/lib/tailwindcss/custom-component-classes.async.v3.d.ts +4 -0
- package/lib/tailwindcss/custom-component-classes.async.v3.d.ts.map +1 -0
- package/lib/tailwindcss/custom-component-classes.async.v3.js +4 -0
- package/lib/tailwindcss/custom-component-classes.async.v3.js.map +1 -0
- package/lib/tailwindcss/custom-component-classes.async.v4.d.ts +4 -0
- package/lib/tailwindcss/custom-component-classes.async.v4.d.ts.map +1 -0
- package/lib/tailwindcss/custom-component-classes.async.v4.js +101 -0
- package/lib/tailwindcss/custom-component-classes.async.v4.js.map +1 -0
- package/lib/tailwindcss/custom-component-classes.d.ts +11 -0
- package/lib/tailwindcss/custom-component-classes.d.ts.map +1 -0
- package/lib/tailwindcss/custom-component-classes.js +16 -0
- package/lib/tailwindcss/custom-component-classes.js.map +1 -0
- package/lib/tailwindcss/dissect-classes.async.v3.d.ts +4 -0
- package/lib/tailwindcss/dissect-classes.async.v3.d.ts.map +1 -0
- package/lib/tailwindcss/dissect-classes.async.v3.js +32 -0
- package/lib/tailwindcss/dissect-classes.async.v3.js.map +1 -0
- package/lib/tailwindcss/dissect-classes.async.v4.d.ts +3 -0
- package/lib/tailwindcss/dissect-classes.async.v4.d.ts.map +1 -0
- package/lib/tailwindcss/dissect-classes.async.v4.js +39 -0
- package/lib/tailwindcss/dissect-classes.async.v4.js.map +1 -0
- package/lib/tailwindcss/dissect-classes.d.ts +23 -0
- package/lib/tailwindcss/dissect-classes.d.ts.map +1 -0
- package/lib/tailwindcss/dissect-classes.js +16 -0
- package/lib/tailwindcss/dissect-classes.js.map +1 -0
- package/lib/tailwindcss/prefix.async.v3.d.ts +4 -0
- package/lib/tailwindcss/prefix.async.v3.d.ts.map +1 -0
- package/lib/tailwindcss/prefix.async.v3.js +7 -0
- package/lib/tailwindcss/prefix.async.v3.js.map +1 -0
- package/lib/tailwindcss/prefix.async.v4.d.ts +4 -0
- package/lib/tailwindcss/prefix.async.v4.d.ts.map +1 -0
- package/lib/tailwindcss/prefix.async.v4.js +7 -0
- package/lib/tailwindcss/prefix.async.v4.js.map +1 -0
- package/lib/tailwindcss/prefix.d.ts +13 -0
- package/lib/tailwindcss/prefix.d.ts.map +1 -0
- package/lib/tailwindcss/prefix.js +15 -0
- package/lib/tailwindcss/prefix.js.map +1 -0
- package/lib/tailwindcss/tailwind.async.worker.v3.d.ts +2 -0
- package/lib/tailwindcss/tailwind.async.worker.v3.d.ts.map +1 -0
- package/lib/tailwindcss/tailwind.async.worker.v3.js +57 -0
- package/lib/tailwindcss/tailwind.async.worker.v3.js.map +1 -0
- package/lib/tailwindcss/tailwind.async.worker.v4.d.ts +2 -0
- package/lib/tailwindcss/tailwind.async.worker.v4.d.ts.map +1 -0
- package/lib/tailwindcss/tailwind.async.worker.v4.js +56 -0
- package/lib/tailwindcss/tailwind.async.worker.v4.js.map +1 -0
- package/lib/tailwindcss/unknown-classes.async.v3.d.ts +4 -0
- package/lib/tailwindcss/unknown-classes.async.v3.d.ts.map +1 -0
- package/lib/tailwindcss/unknown-classes.async.v3.js +10 -0
- package/lib/tailwindcss/unknown-classes.async.v3.js.map +1 -0
- package/lib/tailwindcss/unknown-classes.async.v4.d.ts +3 -0
- package/lib/tailwindcss/unknown-classes.async.v4.d.ts.map +1 -0
- package/lib/tailwindcss/unknown-classes.async.v4.js +5 -0
- package/lib/tailwindcss/unknown-classes.async.v4.js.map +1 -0
- package/lib/tailwindcss/unknown-classes.d.ts +11 -0
- package/lib/tailwindcss/unknown-classes.d.ts.map +1 -0
- package/lib/tailwindcss/unknown-classes.js +21 -0
- package/lib/tailwindcss/unknown-classes.js.map +1 -0
- package/lib/tailwindcss/variant-order.async.v3.d.ts +3 -0
- package/lib/tailwindcss/variant-order.async.v3.d.ts.map +1 -0
- package/lib/tailwindcss/variant-order.async.v3.js +4 -0
- package/lib/tailwindcss/variant-order.async.v3.js.map +1 -0
- package/lib/tailwindcss/variant-order.async.v4.d.ts +3 -0
- package/lib/tailwindcss/variant-order.async.v4.d.ts.map +1 -0
- package/lib/tailwindcss/variant-order.async.v4.js +34 -0
- package/lib/tailwindcss/variant-order.async.v4.js.map +1 -0
- package/lib/tailwindcss/variant-order.d.ts +11 -0
- package/lib/tailwindcss/variant-order.d.ts.map +1 -0
- package/lib/tailwindcss/variant-order.js +16 -0
- package/lib/tailwindcss/variant-order.js.map +1 -0
- package/lib/types/ast.d.ts +79 -0
- package/lib/types/ast.d.ts.map +1 -0
- package/lib/types/ast.js +2 -0
- package/lib/types/ast.js.map +1 -0
- package/lib/types/async.d.ts +7 -0
- package/lib/types/async.d.ts.map +1 -0
- package/lib/types/async.js +2 -0
- package/lib/types/async.js.map +1 -0
- package/lib/types/estree.d.ts +7 -0
- package/lib/types/estree.d.ts.map +1 -0
- package/lib/types/estree.js +2 -0
- package/lib/types/estree.js.map +1 -0
- package/lib/types/rule.d.ts +163 -0
- package/lib/types/rule.d.ts.map +1 -0
- package/lib/types/rule.js +24 -0
- package/lib/types/rule.js.map +1 -0
- package/lib/utils/ast.d.ts +4 -0
- package/lib/utils/ast.d.ts.map +1 -0
- package/lib/utils/ast.js +9 -0
- package/lib/utils/ast.js.map +1 -0
- package/lib/utils/class.d.ts +12 -0
- package/lib/utils/class.d.ts.map +1 -0
- package/lib/utils/class.js +19 -0
- package/lib/utils/class.js.map +1 -0
- package/lib/utils/context.d.ts +20 -0
- package/lib/utils/context.d.ts.map +1 -0
- package/lib/utils/context.js +91 -0
- package/lib/utils/context.js.map +1 -0
- package/lib/utils/lint.d.ts +17 -0
- package/lib/utils/lint.d.ts.map +1 -0
- package/lib/utils/lint.js +40 -0
- package/lib/utils/lint.js.map +1 -0
- package/lib/utils/matchers.d.ts +24 -0
- package/lib/utils/matchers.d.ts.map +1 -0
- package/lib/utils/matchers.js +154 -0
- package/lib/utils/matchers.js.map +1 -0
- package/lib/utils/quotes.d.ts +3 -0
- package/lib/utils/quotes.d.ts.map +1 -0
- package/lib/utils/quotes.js +9 -0
- package/lib/utils/quotes.js.map +1 -0
- package/lib/utils/rule.d.ts +31 -0
- package/lib/utils/rule.d.ts.map +1 -0
- package/lib/utils/rule.js +349 -0
- package/lib/utils/rule.js.map +1 -0
- package/lib/utils/selectors.d.ts +3 -0
- package/lib/utils/selectors.d.ts.map +1 -0
- package/lib/utils/selectors.js +4 -0
- package/lib/utils/selectors.js.map +1 -0
- package/lib/utils/utils.d.ts +49 -0
- package/lib/utils/utils.d.ts.map +1 -0
- package/lib/utils/utils.js +203 -0
- package/lib/utils/utils.js.map +1 -0
- package/lib/utils/valibot.d.ts +4 -0
- package/lib/utils/valibot.d.ts.map +1 -0
- package/lib/utils/valibot.js +12 -0
- package/lib/utils/valibot.js.map +1 -0
- package/lib/utils/version.d.ts +7 -0
- package/lib/utils/version.d.ts.map +1 -0
- package/lib/utils/version.js +6 -0
- package/lib/utils/version.js.map +1 -0
- package/lib/utils/visitedNodes.d.ts +4 -0
- package/lib/utils/visitedNodes.d.ts.map +1 -0
- package/lib/utils/visitedNodes.js +11 -0
- package/lib/utils/visitedNodes.js.map +1 -0
- package/lib/utils/warn.d.ts +2 -0
- package/lib/utils/warn.d.ts.map +1 -0
- package/lib/utils/warn.js +8 -0
- package/lib/utils/warn.js.map +1 -0
- package/package.json +163 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/configs/config.ts"],"names":[],"mappings":"AAsBA,KAAK,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAEjC,KAAK,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBD,CAAC;AA+EX,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;oCAlEL,UAAU;;;;;;;;;;;oCAAV,UAAU;;;;;;;;;;;oCAAV,UAAU;;;;;;;;;;;;;;;;;;;;;;;oCAAV,UAAU;;;;;;;;;;;oCAAV,UAAU;;;;;;;;;;;oCAAV,UAAU;;;;;;;;;;;;;;;;;;;;;;;oCAAV,UAAU;;;;;;;;;;;oCAAV,UAAU;;;;;;;;;;;oCAAV,UAAU;;;;;;;;;WAAV,UAAU;CA0EQ,CAAC;AAE1B,eAAe,MAAM,CAAC;AAEtB,OAAO,EAAE,MAAM,IAAI,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { enforceCanonicalClasses } from "../rules/enforce-canonical-classes.js";
|
|
2
|
+
import { enforceConsistentClassOrder } from "../rules/enforce-consistent-class-order.js";
|
|
3
|
+
import { enforceConsistentImportantPosition } from "../rules/enforce-consistent-important-position.js";
|
|
4
|
+
import { enforceConsistentLineWrapping } from "../rules/enforce-consistent-line-wrapping.js";
|
|
5
|
+
import { enforceConsistentVariableSyntax } from "../rules/enforce-consistent-variable-syntax.js";
|
|
6
|
+
import { enforceConsistentVariantOrder } from "../rules/enforce-consistent-variant-order.js";
|
|
7
|
+
import { enforceLogicalProperties } from "../rules/enforce-logical-properties.js";
|
|
8
|
+
import { enforceShorthandClasses } from "../rules/enforce-shorthand-classes.js";
|
|
9
|
+
import { noConcatenatedClasses } from "../rules/no-concatenated-classes.js";
|
|
10
|
+
import { noConflictingClasses } from "../rules/no-conflicting-classes.js";
|
|
11
|
+
import { noDeprecatedClasses } from "../rules/no-deprecated-classes.js";
|
|
12
|
+
import { noDuplicateClasses } from "../rules/no-duplicate-classes.js";
|
|
13
|
+
import { noRestrictedClasses } from "../rules/no-restricted-classes.js";
|
|
14
|
+
import { noUnknownClasses } from "../rules/no-unknown-classes.js";
|
|
15
|
+
import { noUnnecessaryWhitespace } from "../rules/no-unnecessary-whitespace.js";
|
|
16
|
+
const rules = [
|
|
17
|
+
enforceConsistentClassOrder,
|
|
18
|
+
enforceConsistentImportantPosition,
|
|
19
|
+
enforceConsistentLineWrapping,
|
|
20
|
+
enforceConsistentVariantOrder,
|
|
21
|
+
enforceConsistentVariableSyntax,
|
|
22
|
+
enforceLogicalProperties,
|
|
23
|
+
enforceShorthandClasses,
|
|
24
|
+
noConcatenatedClasses,
|
|
25
|
+
noConflictingClasses,
|
|
26
|
+
noDeprecatedClasses,
|
|
27
|
+
noDuplicateClasses,
|
|
28
|
+
noRestrictedClasses,
|
|
29
|
+
noUnnecessaryWhitespace,
|
|
30
|
+
noUnknownClasses,
|
|
31
|
+
enforceCanonicalClasses
|
|
32
|
+
];
|
|
33
|
+
const plugin = {
|
|
34
|
+
meta: {
|
|
35
|
+
name: "better-tailwindcss"
|
|
36
|
+
},
|
|
37
|
+
// eslint-disable-next-line eslint-plugin-typescript/no-unnecessary-type-assertion
|
|
38
|
+
rules: rules.reduce((acc, { name, rule }) => {
|
|
39
|
+
acc[name] = rule;
|
|
40
|
+
return acc;
|
|
41
|
+
}, {})
|
|
42
|
+
};
|
|
43
|
+
const getStylisticRules = (severity = "warn") => {
|
|
44
|
+
return rules.reduce((acc, { category, name, recommended }) => {
|
|
45
|
+
if (category !== "stylistic" || !recommended) {
|
|
46
|
+
return acc;
|
|
47
|
+
}
|
|
48
|
+
acc[`${plugin.meta.name}/${name}`] = severity;
|
|
49
|
+
return acc;
|
|
50
|
+
}, {});
|
|
51
|
+
};
|
|
52
|
+
const getCorrectnessRules = (severity = "error") => {
|
|
53
|
+
return rules.reduce((acc, { category, name, recommended }) => {
|
|
54
|
+
if (category !== "correctness" || !recommended) {
|
|
55
|
+
return acc;
|
|
56
|
+
}
|
|
57
|
+
acc[`${plugin.meta.name}/${name}`] = severity;
|
|
58
|
+
return acc;
|
|
59
|
+
}, {});
|
|
60
|
+
};
|
|
61
|
+
const getRecommendedRules = (severity) => ({
|
|
62
|
+
...getStylisticRules(severity),
|
|
63
|
+
...getCorrectnessRules(severity)
|
|
64
|
+
});
|
|
65
|
+
const createLegacyConfig = (rules) => ({
|
|
66
|
+
plugins: [plugin.meta.name],
|
|
67
|
+
rules
|
|
68
|
+
});
|
|
69
|
+
const createFlatConfig = (rules) => ({
|
|
70
|
+
plugins: {
|
|
71
|
+
[plugin.meta.name]: plugin
|
|
72
|
+
},
|
|
73
|
+
rules
|
|
74
|
+
});
|
|
75
|
+
const configEntry = (key, value) => {
|
|
76
|
+
return { [key]: value };
|
|
77
|
+
};
|
|
78
|
+
const createConfig = (name, getRules) => {
|
|
79
|
+
return {
|
|
80
|
+
...configEntry(`legacy-${name}`, createLegacyConfig(getRules())),
|
|
81
|
+
...configEntry(`legacy-${name}-error`, createLegacyConfig(getRules("error"))),
|
|
82
|
+
...configEntry(`legacy-${name}-warn`, createLegacyConfig(getRules("warn"))),
|
|
83
|
+
...configEntry(name, createFlatConfig(getRules())),
|
|
84
|
+
...configEntry(`${name}-error`, createFlatConfig(getRules("error"))),
|
|
85
|
+
...configEntry(`${name}-warn`, createFlatConfig(getRules("warn")))
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
const config = {
|
|
89
|
+
...plugin,
|
|
90
|
+
configs: {
|
|
91
|
+
...createConfig("stylistic", getStylisticRules),
|
|
92
|
+
...createConfig("correctness", getCorrectnessRules),
|
|
93
|
+
...createConfig("recommended", getRecommendedRules)
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
export default config;
|
|
97
|
+
export { config as "module.exports" };
|
|
98
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/configs/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,uDAAuD,CAAC;AAChG,OAAO,EAAE,2BAA2B,EAAE,MAAM,4DAA4D,CAAC;AACzG,OAAO,EAAE,kCAAkC,EAAE,MAAM,mEAAmE,CAAC;AACvH,OAAO,EAAE,6BAA6B,EAAE,MAAM,8DAA8D,CAAC;AAC7G,OAAO,EAAE,+BAA+B,EAAE,MAAM,gEAAgE,CAAC;AACjH,OAAO,EAAE,6BAA6B,EAAE,MAAM,8DAA8D,CAAC;AAC7G,OAAO,EAAE,wBAAwB,EAAE,MAAM,wDAAwD,CAAC;AAClG,OAAO,EAAE,uBAAuB,EAAE,MAAM,uDAAuD,CAAC;AAChG,OAAO,EAAE,qBAAqB,EAAE,MAAM,qDAAqD,CAAC;AAC5F,OAAO,EAAE,oBAAoB,EAAE,MAAM,oDAAoD,CAAC;AAC1F,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AACtF,OAAO,EAAE,mBAAmB,EAAE,MAAM,mDAAmD,CAAC;AACxF,OAAO,EAAE,gBAAgB,EAAE,MAAM,gDAAgD,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,uD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ACrC;QACD,GAAG,WAAW,CAAC,IAAI,EAAE,gBAAgB,CAAC,QAAQ,EAAE,CAAC,CAAC;QAClD,GAAG,WAAW,CACZ,GAAG,IAAI,QAAiB,EACxB,gBAAgB,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CACpC;QACD,GAAG,WAAW,CAAC,GAAG,IAAI,OAAgB,EAAE,gBAAgB,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;KAC5E,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG;IACb,GAAG,MAAM;IAET,OAAO,EAAE;QACP,GAAG,YAAY,CAAC,WAAW,EAAE,iBAAiB,CAAC;QAC/C,GAAG,YAAY,CAAC,aAAa,EAAE,mBAAmB,CAAC;QACnD,GAAG,YAAY,CAAC,aAAa,EAAE,mBAAmB,CAAC;KACpD;CACsB,CAAC;AAE1B,eAAe,MAAM,CAAC;AAEtB,OAAO,EAAE,MAAM,IAAI,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export declare const CC_STRINGS: {
|
|
3
|
+
kind: SelectorKind.Callee;
|
|
4
|
+
match: {
|
|
5
|
+
type: MatcherType.String;
|
|
6
|
+
}[];
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const CC_OBJECT_KEYS: {
|
|
10
|
+
kind: SelectorKind.Callee;
|
|
11
|
+
match: {
|
|
12
|
+
type: MatcherType.ObjectKey;
|
|
13
|
+
}[];
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
/** @see https://github.com/jorgebucaran/classcat */
|
|
17
|
+
export declare const CC: ({
|
|
18
|
+
kind: SelectorKind.Callee;
|
|
19
|
+
match: {
|
|
20
|
+
type: MatcherType.String;
|
|
21
|
+
}[];
|
|
22
|
+
name: string;
|
|
23
|
+
} | {
|
|
24
|
+
kind: SelectorKind.Callee;
|
|
25
|
+
match: {
|
|
26
|
+
type: MatcherType.ObjectKey;
|
|
27
|
+
}[];
|
|
28
|
+
name: string;
|
|
29
|
+
})[];
|
|
30
|
+
//# sourceMappingURL=cc.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cc.d.ts","sourceRoot":"","sources":["../../../src/options/callees/cc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,eAAO,MAAM,UAAU;;;;;;CAQG,CAAC;AAE3B,eAAO,MAAM,cAAc;;;;;;CAQD,CAAC;AAE3B,oDAAoD;AACpD,eAAO,MAAM,EAAE;;;;;;;;;;;;IAGM,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export const CC_STRINGS = {
|
|
3
|
+
kind: SelectorKind.Callee,
|
|
4
|
+
match: [
|
|
5
|
+
{
|
|
6
|
+
type: MatcherType.String
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
name: "^cc$"
|
|
10
|
+
};
|
|
11
|
+
export const CC_OBJECT_KEYS = {
|
|
12
|
+
kind: SelectorKind.Callee,
|
|
13
|
+
match: [
|
|
14
|
+
{
|
|
15
|
+
type: MatcherType.ObjectKey
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
name: "^cc$"
|
|
19
|
+
};
|
|
20
|
+
/** @see https://github.com/jorgebucaran/classcat */
|
|
21
|
+
export const CC = [
|
|
22
|
+
CC_STRINGS,
|
|
23
|
+
CC_OBJECT_KEYS
|
|
24
|
+
];
|
|
25
|
+
//# sourceMappingURL=cc.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cc.js","sourceRoot":"","sources":["../../../src/options/callees/cc.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,WAAW,CAAC,MAAM;SACzB;KACF;IACD,IAAI,EAAE,MAAM;CACY,CAAC;AAE3B,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,WAAW,CAAC,SAAS;SAC5B;KACF;IACD,IAAI,EAAE,MAAM;CACY,CAAC;AAE3B,oDAAoD;AACpD,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,UAAU;IACV,cAAc;CACK,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export declare const CLB_BASE_VALUES: {
|
|
3
|
+
kind: SelectorKind.Callee;
|
|
4
|
+
match: {
|
|
5
|
+
path: string;
|
|
6
|
+
type: MatcherType.ObjectValue;
|
|
7
|
+
}[];
|
|
8
|
+
name: string;
|
|
9
|
+
};
|
|
10
|
+
export declare const CLB_VARIANT_VALUES: {
|
|
11
|
+
kind: SelectorKind.Callee;
|
|
12
|
+
match: {
|
|
13
|
+
path: string;
|
|
14
|
+
type: MatcherType.ObjectValue;
|
|
15
|
+
}[];
|
|
16
|
+
name: string;
|
|
17
|
+
};
|
|
18
|
+
export declare const CLB_COMPOUND_VARIANTS_CLASSES: {
|
|
19
|
+
kind: SelectorKind.Callee;
|
|
20
|
+
match: {
|
|
21
|
+
path: string;
|
|
22
|
+
type: MatcherType.ObjectValue;
|
|
23
|
+
}[];
|
|
24
|
+
name: string;
|
|
25
|
+
};
|
|
26
|
+
/** @see https://github.com/crswll/clb */
|
|
27
|
+
export declare const CLB: {
|
|
28
|
+
kind: SelectorKind.Callee;
|
|
29
|
+
match: {
|
|
30
|
+
path: string;
|
|
31
|
+
type: MatcherType.ObjectValue;
|
|
32
|
+
}[];
|
|
33
|
+
name: string;
|
|
34
|
+
}[];
|
|
35
|
+
//# sourceMappingURL=clb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clb.d.ts","sourceRoot":"","sources":["../../../src/options/callees/clb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,eAAO,MAAM,eAAe;;;;;;;CASF,CAAC;AAE3B,eAAO,MAAM,kBAAkB;;;;;;;CASL,CAAC;AAE3B,eAAO,MAAM,6BAA6B;;;;;;;CAShB,CAAC;AAE3B,yCAAyC;AACzC,eAAO,MAAM,GAAG;;;;;;;GAKK,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export const CLB_BASE_VALUES = {
|
|
3
|
+
kind: SelectorKind.Callee,
|
|
4
|
+
match: [
|
|
5
|
+
{
|
|
6
|
+
path: "^base$",
|
|
7
|
+
type: MatcherType.ObjectValue
|
|
8
|
+
}
|
|
9
|
+
],
|
|
10
|
+
name: "^clb$"
|
|
11
|
+
};
|
|
12
|
+
export const CLB_VARIANT_VALUES = {
|
|
13
|
+
kind: SelectorKind.Callee,
|
|
14
|
+
match: [
|
|
15
|
+
{
|
|
16
|
+
path: "^variants.*$",
|
|
17
|
+
type: MatcherType.ObjectValue
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
name: "^clb$"
|
|
21
|
+
};
|
|
22
|
+
export const CLB_COMPOUND_VARIANTS_CLASSES = {
|
|
23
|
+
kind: SelectorKind.Callee,
|
|
24
|
+
match: [
|
|
25
|
+
{
|
|
26
|
+
path: "^compoundVariants\\[\\d+\\]\\.classes$",
|
|
27
|
+
type: MatcherType.ObjectValue
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
name: "^clb$"
|
|
31
|
+
};
|
|
32
|
+
/** @see https://github.com/crswll/clb */
|
|
33
|
+
export const CLB = [
|
|
34
|
+
CLB_BASE_VALUES,
|
|
35
|
+
CLB_VARIANT_VALUES,
|
|
36
|
+
CLB_COMPOUND_VARIANTS_CLASSES
|
|
37
|
+
// TODO: add object key matcher: classes
|
|
38
|
+
];
|
|
39
|
+
//# sourceMappingURL=clb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clb.js","sourceRoot":"","sources":["../../../src/options/callees/clb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,WAAW,CAAC,WAAW;SAC9B;KACF;IACD,IAAI,EAAE,OAAO;CACW,CAAC;AAE3B,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,WAAW,CAAC,WAAW;SAC9B;KACF;IACD,IAAI,EAAE,OAAO;CACW,CAAC;AAE3B,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,wCAAwC;YAC9C,IAAI,EAAE,WAAW,CAAC,WAAW;SAC9B;KACF;IACD,IAAI,EAAE,OAAO;CACW,CAAC;AAE3B,yCAAyC;AACzC,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,eAAe;IACf,kBAAkB;IAClB,6BAA6B;IAC7B,wCAAwC;CACrB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export declare const CLSX_STRINGS: {
|
|
3
|
+
kind: SelectorKind.Callee;
|
|
4
|
+
match: {
|
|
5
|
+
type: MatcherType.String;
|
|
6
|
+
}[];
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const CLSX_OBJECT_KEYS: {
|
|
10
|
+
kind: SelectorKind.Callee;
|
|
11
|
+
match: {
|
|
12
|
+
type: MatcherType.ObjectKey;
|
|
13
|
+
}[];
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
/** @see https://github.com/lukeed/clsx */
|
|
17
|
+
export declare const CLSX: ({
|
|
18
|
+
kind: SelectorKind.Callee;
|
|
19
|
+
match: {
|
|
20
|
+
type: MatcherType.String;
|
|
21
|
+
}[];
|
|
22
|
+
name: string;
|
|
23
|
+
} | {
|
|
24
|
+
kind: SelectorKind.Callee;
|
|
25
|
+
match: {
|
|
26
|
+
type: MatcherType.ObjectKey;
|
|
27
|
+
}[];
|
|
28
|
+
name: string;
|
|
29
|
+
})[];
|
|
30
|
+
//# sourceMappingURL=clsx.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clsx.d.ts","sourceRoot":"","sources":["../../../src/options/callees/clsx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,eAAO,MAAM,YAAY;;;;;;CAQC,CAAC;AAE3B,eAAO,MAAM,gBAAgB;;;;;;CAQH,CAAC;AAE3B,0CAA0C;AAC1C,eAAO,MAAM,IAAI;;;;;;;;;;;;IAGI,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export const CLSX_STRINGS = {
|
|
3
|
+
kind: SelectorKind.Callee,
|
|
4
|
+
match: [
|
|
5
|
+
{
|
|
6
|
+
type: MatcherType.String
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
name: "^clsx$"
|
|
10
|
+
};
|
|
11
|
+
export const CLSX_OBJECT_KEYS = {
|
|
12
|
+
kind: SelectorKind.Callee,
|
|
13
|
+
match: [
|
|
14
|
+
{
|
|
15
|
+
type: MatcherType.ObjectKey
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
name: "^clsx$"
|
|
19
|
+
};
|
|
20
|
+
/** @see https://github.com/lukeed/clsx */
|
|
21
|
+
export const CLSX = [
|
|
22
|
+
CLSX_STRINGS,
|
|
23
|
+
CLSX_OBJECT_KEYS
|
|
24
|
+
];
|
|
25
|
+
//# sourceMappingURL=clsx.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clsx.js","sourceRoot":"","sources":["../../../src/options/callees/clsx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,WAAW,CAAC,MAAM;SACzB;KACF;IACD,IAAI,EAAE,QAAQ;CACU,CAAC;AAE3B,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,WAAW,CAAC,SAAS;SAC5B;KACF;IACD,IAAI,EAAE,QAAQ;CACU,CAAC;AAE3B,0CAA0C;AAC1C,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,YAAY;IACZ,gBAAgB;CACG,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export declare const CN_STRINGS: {
|
|
3
|
+
kind: SelectorKind.Callee;
|
|
4
|
+
match: {
|
|
5
|
+
type: MatcherType.String;
|
|
6
|
+
}[];
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const CN_OBJECT_KEYS: {
|
|
10
|
+
kind: SelectorKind.Callee;
|
|
11
|
+
match: {
|
|
12
|
+
type: MatcherType.ObjectKey;
|
|
13
|
+
}[];
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
/** @see https://ui.shadcn.com/docs/installation/manual */
|
|
17
|
+
export declare const CN: ({
|
|
18
|
+
kind: SelectorKind.Callee;
|
|
19
|
+
match: {
|
|
20
|
+
type: MatcherType.String;
|
|
21
|
+
}[];
|
|
22
|
+
name: string;
|
|
23
|
+
} | {
|
|
24
|
+
kind: SelectorKind.Callee;
|
|
25
|
+
match: {
|
|
26
|
+
type: MatcherType.ObjectKey;
|
|
27
|
+
}[];
|
|
28
|
+
name: string;
|
|
29
|
+
})[];
|
|
30
|
+
//# sourceMappingURL=cn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.d.ts","sourceRoot":"","sources":["../../../src/options/callees/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,eAAO,MAAM,UAAU;;;;;;CAQG,CAAC;AAE3B,eAAO,MAAM,cAAc;;;;;;CAQD,CAAC;AAE3B,0DAA0D;AAC1D,eAAO,MAAM,EAAE;;;;;;;;;;;;IAGM,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export const CN_STRINGS = {
|
|
3
|
+
kind: SelectorKind.Callee,
|
|
4
|
+
match: [
|
|
5
|
+
{
|
|
6
|
+
type: MatcherType.String
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
name: "^cn$"
|
|
10
|
+
};
|
|
11
|
+
export const CN_OBJECT_KEYS = {
|
|
12
|
+
kind: SelectorKind.Callee,
|
|
13
|
+
match: [
|
|
14
|
+
{
|
|
15
|
+
type: MatcherType.ObjectKey
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
name: "^cn$"
|
|
19
|
+
};
|
|
20
|
+
/** @see https://ui.shadcn.com/docs/installation/manual */
|
|
21
|
+
export const CN = [
|
|
22
|
+
CN_STRINGS,
|
|
23
|
+
CN_OBJECT_KEYS
|
|
24
|
+
];
|
|
25
|
+
//# sourceMappingURL=cn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cn.js","sourceRoot":"","sources":["../../../src/options/callees/cn.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,WAAW,CAAC,MAAM;SACzB;KACF;IACD,IAAI,EAAE,MAAM;CACY,CAAC;AAE3B,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,WAAW,CAAC,SAAS;SAC5B;KACF;IACD,IAAI,EAAE,MAAM;CACY,CAAC;AAE3B,0DAA0D;AAC1D,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,UAAU;IACV,cAAc;CACK,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export declare const CNB_STRINGS: {
|
|
3
|
+
kind: SelectorKind.Callee;
|
|
4
|
+
match: {
|
|
5
|
+
type: MatcherType.String;
|
|
6
|
+
}[];
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const CNB_OBJECT_KEYS: {
|
|
10
|
+
kind: SelectorKind.Callee;
|
|
11
|
+
match: {
|
|
12
|
+
type: MatcherType.ObjectKey;
|
|
13
|
+
}[];
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
/** @see https://github.com/xobotyi/cnbuilder */
|
|
17
|
+
export declare const CNB: ({
|
|
18
|
+
kind: SelectorKind.Callee;
|
|
19
|
+
match: {
|
|
20
|
+
type: MatcherType.String;
|
|
21
|
+
}[];
|
|
22
|
+
name: string;
|
|
23
|
+
} | {
|
|
24
|
+
kind: SelectorKind.Callee;
|
|
25
|
+
match: {
|
|
26
|
+
type: MatcherType.ObjectKey;
|
|
27
|
+
}[];
|
|
28
|
+
name: string;
|
|
29
|
+
})[];
|
|
30
|
+
//# sourceMappingURL=cnb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cnb.d.ts","sourceRoot":"","sources":["../../../src/options/callees/cnb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,eAAO,MAAM,WAAW;;;;;;CAQE,CAAC;AAE3B,eAAO,MAAM,eAAe;;;;;;CAQF,CAAC;AAE3B,gDAAgD;AAChD,eAAO,MAAM,GAAG;;;;;;;;;;;;IAGK,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export const CNB_STRINGS = {
|
|
3
|
+
kind: SelectorKind.Callee,
|
|
4
|
+
match: [
|
|
5
|
+
{
|
|
6
|
+
type: MatcherType.String
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
name: "^cnb$"
|
|
10
|
+
};
|
|
11
|
+
export const CNB_OBJECT_KEYS = {
|
|
12
|
+
kind: SelectorKind.Callee,
|
|
13
|
+
match: [
|
|
14
|
+
{
|
|
15
|
+
type: MatcherType.ObjectKey
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
name: "^cnb$"
|
|
19
|
+
};
|
|
20
|
+
/** @see https://github.com/xobotyi/cnbuilder */
|
|
21
|
+
export const CNB = [
|
|
22
|
+
CNB_STRINGS,
|
|
23
|
+
CNB_OBJECT_KEYS
|
|
24
|
+
];
|
|
25
|
+
//# sourceMappingURL=cnb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cnb.js","sourceRoot":"","sources":["../../../src/options/callees/cnb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,WAAW,CAAC,MAAM;SACzB;KACF;IACD,IAAI,EAAE,OAAO;CACW,CAAC;AAE3B,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,WAAW,CAAC,SAAS;SAC5B;KACF;IACD,IAAI,EAAE,OAAO;CACW,CAAC;AAE3B,gDAAgD;AAChD,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,WAAW;IACX,eAAe;CACI,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export declare const CTL_STRINGS: {
|
|
3
|
+
kind: SelectorKind.Callee;
|
|
4
|
+
match: {
|
|
5
|
+
type: MatcherType.String;
|
|
6
|
+
}[];
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
/** @see https://github.com/netlify/classnames-template-literals */
|
|
10
|
+
export declare const CTL: {
|
|
11
|
+
kind: SelectorKind.Callee;
|
|
12
|
+
match: {
|
|
13
|
+
type: MatcherType.String;
|
|
14
|
+
}[];
|
|
15
|
+
name: string;
|
|
16
|
+
}[];
|
|
17
|
+
//# sourceMappingURL=ctl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ctl.d.ts","sourceRoot":"","sources":["../../../src/options/callees/ctl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,eAAO,MAAM,WAAW;;;;;;CAQE,CAAC;AAE3B,mEAAmE;AACnE,eAAO,MAAM,GAAG;;;;;;GAEK,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export const CTL_STRINGS = {
|
|
3
|
+
kind: SelectorKind.Callee,
|
|
4
|
+
match: [
|
|
5
|
+
{
|
|
6
|
+
type: MatcherType.String
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
name: "^ctl$"
|
|
10
|
+
};
|
|
11
|
+
/** @see https://github.com/netlify/classnames-template-literals */
|
|
12
|
+
export const CTL = [
|
|
13
|
+
CTL_STRINGS
|
|
14
|
+
];
|
|
15
|
+
//# sourceMappingURL=ctl.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ctl.js","sourceRoot":"","sources":["../../../src/options/callees/ctl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,WAAW,CAAC,MAAM;SACzB;KACF;IACD,IAAI,EAAE,OAAO;CACW,CAAC;AAE3B,mEAAmE;AACnE,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,WAAW;CACQ,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export declare const CVA_STRINGS: {
|
|
3
|
+
kind: SelectorKind.Callee;
|
|
4
|
+
match: {
|
|
5
|
+
type: MatcherType.String;
|
|
6
|
+
}[];
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const CVA_VARIANT_VALUES: {
|
|
10
|
+
kind: SelectorKind.Callee;
|
|
11
|
+
match: {
|
|
12
|
+
path: string;
|
|
13
|
+
type: MatcherType.ObjectValue;
|
|
14
|
+
}[];
|
|
15
|
+
name: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const CVA_COMPOUND_VARIANTS_CLASS: {
|
|
18
|
+
kind: SelectorKind.Callee;
|
|
19
|
+
match: {
|
|
20
|
+
path: string;
|
|
21
|
+
type: MatcherType.ObjectValue;
|
|
22
|
+
}[];
|
|
23
|
+
name: string;
|
|
24
|
+
};
|
|
25
|
+
/** @see https://github.com/joe-bell/cva */
|
|
26
|
+
export declare const CVA: ({
|
|
27
|
+
kind: SelectorKind.Callee;
|
|
28
|
+
match: {
|
|
29
|
+
type: MatcherType.String;
|
|
30
|
+
}[];
|
|
31
|
+
name: string;
|
|
32
|
+
} | {
|
|
33
|
+
kind: SelectorKind.Callee;
|
|
34
|
+
match: {
|
|
35
|
+
path: string;
|
|
36
|
+
type: MatcherType.ObjectValue;
|
|
37
|
+
}[];
|
|
38
|
+
name: string;
|
|
39
|
+
})[];
|
|
40
|
+
//# sourceMappingURL=cva.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cva.d.ts","sourceRoot":"","sources":["../../../src/options/callees/cva.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,eAAO,MAAM,WAAW;;;;;;CAQE,CAAC;AAE3B,eAAO,MAAM,kBAAkB;;;;;;;CASL,CAAC;AAE3B,eAAO,MAAM,2BAA2B;;;;;;;CASd,CAAC;AAE3B,2CAA2C;AAC3C,eAAO,MAAM,GAAG;;;;;;;;;;;;;IAIK,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export const CVA_STRINGS = {
|
|
3
|
+
kind: SelectorKind.Callee,
|
|
4
|
+
match: [
|
|
5
|
+
{
|
|
6
|
+
type: MatcherType.String
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
name: "^cva$"
|
|
10
|
+
};
|
|
11
|
+
export const CVA_VARIANT_VALUES = {
|
|
12
|
+
kind: SelectorKind.Callee,
|
|
13
|
+
match: [
|
|
14
|
+
{
|
|
15
|
+
path: "^variants.*$",
|
|
16
|
+
type: MatcherType.ObjectValue
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
name: "^cva$"
|
|
20
|
+
};
|
|
21
|
+
export const CVA_COMPOUND_VARIANTS_CLASS = {
|
|
22
|
+
kind: SelectorKind.Callee,
|
|
23
|
+
match: [
|
|
24
|
+
{
|
|
25
|
+
path: "^compoundVariants\\[\\d+\\]\\.(?:className|class)$",
|
|
26
|
+
type: MatcherType.ObjectValue
|
|
27
|
+
}
|
|
28
|
+
],
|
|
29
|
+
name: "^cva$"
|
|
30
|
+
};
|
|
31
|
+
/** @see https://github.com/joe-bell/cva */
|
|
32
|
+
export const CVA = [
|
|
33
|
+
CVA_STRINGS,
|
|
34
|
+
CVA_VARIANT_VALUES,
|
|
35
|
+
CVA_COMPOUND_VARIANTS_CLASS
|
|
36
|
+
];
|
|
37
|
+
//# sourceMappingURL=cva.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cva.js","sourceRoot":"","sources":["../../../src/options/callees/cva.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,WAAW,CAAC,MAAM;SACzB;KACF;IACD,IAAI,EAAE,OAAO;CACW,CAAC;AAE3B,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,cAAc;YACpB,IAAI,EAAE,WAAW,CAAC,WAAW;SAC9B;KACF;IACD,IAAI,EAAE,OAAO;CACW,CAAC;AAE3B,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,oDAAoD;YAC1D,IAAI,EAAE,WAAW,CAAC,WAAW;SAC9B;KACF;IACD,IAAI,EAAE,OAAO;CACW,CAAC;AAE3B,2CAA2C;AAC3C,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,WAAW;IACX,kBAAkB;IAClB,2BAA2B;CACR,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export declare const CX_STRINGS: {
|
|
3
|
+
kind: SelectorKind.Callee;
|
|
4
|
+
match: {
|
|
5
|
+
type: MatcherType.String;
|
|
6
|
+
}[];
|
|
7
|
+
name: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const CX_OBJECT_KEYS: {
|
|
10
|
+
kind: SelectorKind.Callee;
|
|
11
|
+
match: {
|
|
12
|
+
type: MatcherType.ObjectKey;
|
|
13
|
+
}[];
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
16
|
+
/** @see https://cva.style/docs/api-reference#cx */
|
|
17
|
+
export declare const CX: ({
|
|
18
|
+
kind: SelectorKind.Callee;
|
|
19
|
+
match: {
|
|
20
|
+
type: MatcherType.String;
|
|
21
|
+
}[];
|
|
22
|
+
name: string;
|
|
23
|
+
} | {
|
|
24
|
+
kind: SelectorKind.Callee;
|
|
25
|
+
match: {
|
|
26
|
+
type: MatcherType.ObjectKey;
|
|
27
|
+
}[];
|
|
28
|
+
name: string;
|
|
29
|
+
})[];
|
|
30
|
+
//# sourceMappingURL=cx.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cx.d.ts","sourceRoot":"","sources":["../../../src/options/callees/cx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,eAAO,MAAM,UAAU;;;;;;CAQG,CAAC;AAE3B,eAAO,MAAM,cAAc;;;;;;CAQD,CAAC;AAE3B,mDAAmD;AACnD,eAAO,MAAM,EAAE;;;;;;;;;;;;IAGM,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MatcherType, SelectorKind } from "../../types/rule.js";
|
|
2
|
+
export const CX_STRINGS = {
|
|
3
|
+
kind: SelectorKind.Callee,
|
|
4
|
+
match: [
|
|
5
|
+
{
|
|
6
|
+
type: MatcherType.String
|
|
7
|
+
}
|
|
8
|
+
],
|
|
9
|
+
name: "^cx$"
|
|
10
|
+
};
|
|
11
|
+
export const CX_OBJECT_KEYS = {
|
|
12
|
+
kind: SelectorKind.Callee,
|
|
13
|
+
match: [
|
|
14
|
+
{
|
|
15
|
+
type: MatcherType.ObjectKey
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
name: "^cx$"
|
|
19
|
+
};
|
|
20
|
+
/** @see https://cva.style/docs/api-reference#cx */
|
|
21
|
+
export const CX = [
|
|
22
|
+
CX_STRINGS,
|
|
23
|
+
CX_OBJECT_KEYS
|
|
24
|
+
];
|
|
25
|
+
//# sourceMappingURL=cx.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cx.js","sourceRoot":"","sources":["../../../src/options/callees/cx.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAK7E,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,WAAW,CAAC,MAAM;SACzB;KACF;IACD,IAAI,EAAE,MAAM;CACY,CAAC;AAE3B,MAAM,CAAC,MAAM,cAAc,GAAG;IAC5B,IAAI,EAAE,YAAY,CAAC,MAAM;IACzB,KAAK,EAAE;QACL;YACE,IAAI,EAAE,WAAW,CAAC,SAAS;SAC5B;KACF;IACD,IAAI,EAAE,MAAM;CACY,CAAC;AAE3B,mDAAmD;AACnD,MAAM,CAAC,MAAM,EAAE,GAAG;IAChB,UAAU;IACV,cAAc;CACK,CAAC"}
|