@atlaskit/eslint-plugin-design-system 14.4.0 → 15.0.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/CHANGELOG.md +26 -0
- package/dist/cjs/rules/utils/create-no-tagged-template-expression-rule/create-no-tagged-template-expression-rule.js +23 -23
- package/dist/cjs/rules/utils/create-no-tagged-template-expression-rule/index.js +23 -23
- package/dist/cjs/rules/utils/create-no-tagged-template-expression-rule/to-arguments.js +1 -1
- package/dist/esm/rules/utils/create-no-tagged-template-expression-rule/create-no-tagged-template-expression-rule.js +23 -23
- package/dist/esm/rules/utils/create-no-tagged-template-expression-rule/index.js +23 -23
- package/dist/esm/rules/utils/create-no-tagged-template-expression-rule/to-arguments.js +1 -1
- package/package.json +7 -15
- package/dist/types-ts4.5/ast-nodes/function-call.d.ts +0 -21
- package/dist/types-ts4.5/ast-nodes/import.d.ts +0 -16
- package/dist/types-ts4.5/ast-nodes/jsx-attribute.d.ts +0 -29
- package/dist/types-ts4.5/ast-nodes/jsx-element-helper.d.ts +0 -23
- package/dist/types-ts4.5/ast-nodes/jsx-element.d.ts +0 -24
- package/dist/types-ts4.5/ast-nodes/object-entry.d.ts +0 -17
- package/dist/types-ts4.5/ast-nodes/object.d.ts +0 -53
- package/dist/types-ts4.5/ast-nodes/root.d.ts +0 -26
- package/dist/types-ts4.5/common/is-from-import-source.d.ts +0 -8
- package/dist/types-ts4.5/common/is-imported-jsx-element.d.ts +0 -8
- package/dist/types-ts4.5/common/token-maps.partial.d.ts +0 -65
- package/dist/types-ts4.5/index.codegen.d.ts +0 -15
- package/dist/types-ts4.5/index.d.ts +0 -2
- package/dist/types-ts4.5/presets/all-flat.codegen.d.ts +0 -8
- package/dist/types-ts4.5/presets/all.codegen.d.ts +0 -8
- package/dist/types-ts4.5/presets/recommended-flat.codegen.d.ts +0 -8
- package/dist/types-ts4.5/presets/recommended.codegen.d.ts +0 -8
- package/dist/types-ts4.5/rules/consistent-css-prop-usage/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/consistent-css-prop-usage/types.d.ts +0 -10
- package/dist/types-ts4.5/rules/enforce-inline-styles-in-select/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/enforce-inline-styles-in-select/utils.d.ts +0 -2
- package/dist/types-ts4.5/rules/ensure-avatar-tag-avatar-props/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/ensure-design-token-usage/border-width-value-to-token.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/clean-comments.d.ts +0 -5
- package/dist/types-ts4.5/rules/ensure-design-token-usage/convert-hyphenated-name-to-camel-case.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/em-to-pixels.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/find-parent-node-for-line.d.ts +0 -6
- package/dist/types-ts4.5/rules/ensure-design-token-usage/find-token-name-by-property-value.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/get-domains-for-property.d.ts +0 -13
- package/dist/types-ts4.5/rules/ensure-design-token-usage/get-elevation-token-example.d.ts +0 -2
- package/dist/types-ts4.5/rules/ensure-design-token-usage/get-font-size-value-in-scope.d.ts +0 -2
- package/dist/types-ts4.5/rules/ensure-design-token-usage/get-property-node-from-parent.d.ts +0 -3
- package/dist/types-ts4.5/rules/ensure-design-token-usage/get-raw-expression.d.ts +0 -3
- package/dist/types-ts4.5/rules/ensure-design-token-usage/get-token-node-for-value.d.ts +0 -12
- package/dist/types-ts4.5/rules/ensure-design-token-usage/get-token-replacement.d.ts +0 -8
- package/dist/types-ts4.5/rules/ensure-design-token-usage/get-token-suggestion.d.ts +0 -7
- package/dist/types-ts4.5/rules/ensure-design-token-usage/get-value-for-property-node.d.ts +0 -3
- package/dist/types-ts4.5/rules/ensure-design-token-usage/get-value-from-shorthand.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/get-value-from-template-literal-raw.d.ts +0 -17
- package/dist/types-ts4.5/rules/ensure-design-token-usage/get-value.d.ts +0 -3
- package/dist/types-ts4.5/rules/ensure-design-token-usage/includes-token-string.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/index.d.ts +0 -5
- package/dist/types-ts4.5/rules/ensure-design-token-usage/insert-tokens-import.d.ts +0 -2
- package/dist/types-ts4.5/rules/ensure-design-token-usage/is-auto.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/is-border-radius.d.ts +0 -2
- package/dist/types-ts4.5/rules/ensure-design-token-usage/is-border-size-property.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/is-calc.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/is-radius-property.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/is-shape-property.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/is-spacing-property.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/is-token-value-string.d.ts +0 -5
- package/dist/types-ts4.5/rules/ensure-design-token-usage/is-valid-spacing-value.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/is-zero.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/lint-jsx-identifier-for-color.d.ts +0 -3
- package/dist/types-ts4.5/rules/ensure-design-token-usage/lint-jsx-literal-for-color.d.ts +0 -3
- package/dist/types-ts4.5/rules/ensure-design-token-usage/lint-jsx-member-for-color.d.ts +0 -3
- package/dist/types-ts4.5/rules/ensure-design-token-usage/lint-object-for-color.d.ts +0 -4
- package/dist/types-ts4.5/rules/ensure-design-token-usage/lint-template-identifier-for-color.d.ts +0 -3
- package/dist/types-ts4.5/rules/ensure-design-token-usage/normalise-value.d.ts +0 -10
- package/dist/types-ts4.5/rules/ensure-design-token-usage/process-css-node.d.ts +0 -16
- package/dist/types-ts4.5/rules/ensure-design-token-usage/radius-value-to-token.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/remove-pixel-suffix.d.ts +0 -1
- package/dist/types-ts4.5/rules/ensure-design-token-usage/rule-meta.d.ts +0 -44
- package/dist/types-ts4.5/rules/ensure-design-token-usage/spacing.d.ts +0 -4
- package/dist/types-ts4.5/rules/ensure-design-token-usage/split-css-properties.d.ts +0 -6
- package/dist/types-ts4.5/rules/ensure-design-token-usage/split-shorthand-values.d.ts +0 -12
- package/dist/types-ts4.5/rules/ensure-design-token-usage/types.d.ts +0 -15
- package/dist/types-ts4.5/rules/ensure-design-token-usage-preview/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/ensure-icon-color/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/ensure-proper-xcss-usage/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/icon-label/index.d.ts +0 -2
- package/dist/types-ts4.5/rules/index.codegen.d.ts +0 -7
- package/dist/types-ts4.5/rules/lozenge-badge-tag-labelling-system-migration/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-banned-imports/index.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-banned-imports/paths.d.ts +0 -4
- package/dist/types-ts4.5/rules/no-boolean-autofocus-on-modal-dialog/index.d.ts +0 -5
- package/dist/types-ts4.5/rules/no-css-tagged-template-expression/index.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-dark-theme-vr-tests/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-deprecated-apis/helpers/filter-actionable-deprecations.d.ts +0 -1
- package/dist/types-ts4.5/rules/no-deprecated-apis/helpers/validate-deprecated-apis-config.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-deprecated-apis/index.d.ts +0 -5
- package/dist/types-ts4.5/rules/no-deprecated-design-token-usage/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-deprecated-imports/checks.d.ts +0 -11
- package/dist/types-ts4.5/rules/no-deprecated-imports/constants.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-deprecated-imports/handlers/icon.d.ts +0 -38
- package/dist/types-ts4.5/rules/no-deprecated-imports/index.d.ts +0 -29
- package/dist/types-ts4.5/rules/no-direct-use-of-web-platform-drag-and-drop/checks/is-blocked-add-event-listener.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-direct-use-of-web-platform-drag-and-drop/checks/is-blocked-bind-all.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-direct-use-of-web-platform-drag-and-drop/checks/is-blocked-bind.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-direct-use-of-web-platform-drag-and-drop/checks/is-blocked-jsx-attribute.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-direct-use-of-web-platform-drag-and-drop/index.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-direct-use-of-web-platform-drag-and-drop/shared/blocked-event-name-lookup.d.ts +0 -1
- package/dist/types-ts4.5/rules/no-direct-use-of-web-platform-drag-and-drop/shared/blocked-jsx-attribute-lookup.d.ts +0 -1
- package/dist/types-ts4.5/rules/no-direct-use-of-web-platform-drag-and-drop/shared/is-blocked-event-binding.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-emotion-primitives/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-empty-styled-expression/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-exported-css/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-exported-keyframes/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-html-anchor/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-html-anchor/node-types/jsx-element/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-anchor/node-types/styled-component/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-anchor/node-types/supported.d.ts +0 -7
- package/dist/types-ts4.5/rules/no-html-button/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-html-button/node-types/jsx-element/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-button/node-types/styled-component/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-button/node-types/supported.d.ts +0 -7
- package/dist/types-ts4.5/rules/no-html-checkbox/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-html-checkbox/node-types/jsx-element/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-checkbox/node-types/supported.d.ts +0 -7
- package/dist/types-ts4.5/rules/no-html-code/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-html-code/node-types/jsx-element/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-code/node-types/styled-component/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-code/node-types/supported.d.ts +0 -7
- package/dist/types-ts4.5/rules/no-html-heading/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-html-heading/node-types/jsx-element/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-heading/node-types/styled-component/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-heading/node-types/supported.d.ts +0 -7
- package/dist/types-ts4.5/rules/no-html-image/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-html-image/node-types/jsx-element/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-image/node-types/styled-component/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-image/node-types/supported.d.ts +0 -7
- package/dist/types-ts4.5/rules/no-html-image/utils/get-jsx-element-by-name.d.ts +0 -6
- package/dist/types-ts4.5/rules/no-html-radio/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-html-radio/node-types/jsx-element/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-radio/node-types/supported.d.ts +0 -7
- package/dist/types-ts4.5/rules/no-html-range/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-html-range/node-types/jsx-element/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-range/node-types/supported.d.ts +0 -7
- package/dist/types-ts4.5/rules/no-html-select/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-html-select/node-types/jsx-element/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-select/node-types/styled-component/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-select/node-types/supported.d.ts +0 -7
- package/dist/types-ts4.5/rules/no-html-text-input/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-html-text-input/node-types/jsx-element/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-text-input/node-types/supported.d.ts +0 -7
- package/dist/types-ts4.5/rules/no-html-textarea/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-html-textarea/node-types/jsx-element/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-textarea/node-types/styled-component/index.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-html-textarea/node-types/supported.d.ts +0 -7
- package/dist/types-ts4.5/rules/no-icon-spacing-prop/get-css-map-key.d.ts +0 -5
- package/dist/types-ts4.5/rules/no-icon-spacing-prop/get-icon-size.d.ts +0 -5
- package/dist/types-ts4.5/rules/no-icon-spacing-prop/get-spacing-attribute.d.ts +0 -5
- package/dist/types-ts4.5/rules/no-icon-spacing-prop/get-static-attribute-value.d.ts +0 -5
- package/dist/types-ts4.5/rules/no-icon-spacing-prop/has-spread-props.d.ts +0 -5
- package/dist/types-ts4.5/rules/no-icon-spacing-prop/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-icon-spacing-prop/spacing-to-padding.d.ts +0 -5
- package/dist/types-ts4.5/rules/no-icon-spacing-prop/upsert-css-map-import.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-icon-spacing-prop/upsert-css-map-variable.d.ts +0 -9
- package/dist/types-ts4.5/rules/no-icon-spacing-prop/upsert-flex-import.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-icon-spacing-prop/upsert-token-import.d.ts +0 -8
- package/dist/types-ts4.5/rules/no-invalid-css-map/get-css-map-object.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-invalid-css-map/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-invalid-css-map/utils.d.ts +0 -12
- package/dist/types-ts4.5/rules/no-keyframes-tagged-template-expression/index.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-margin/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-nested-styles/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-physical-properties/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-physical-properties/logical-physical-map.d.ts +0 -72
- package/dist/types-ts4.5/rules/no-physical-properties/physical-logical-map.d.ts +0 -34
- package/dist/types-ts4.5/rules/no-placeholder/affected-atlaskit-packages.d.ts +0 -1
- package/dist/types-ts4.5/rules/no-placeholder/affected-html-elements.d.ts +0 -1
- package/dist/types-ts4.5/rules/no-placeholder/index.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-readonly-or-disabled-inputs/affected-atlaskit-packages.d.ts +0 -1
- package/dist/types-ts4.5/rules/no-readonly-or-disabled-inputs/affected-html-elements.d.ts +0 -1
- package/dist/types-ts4.5/rules/no-readonly-or-disabled-inputs/index.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-readonly-or-disabled-inputs/unwanted-atlaskit-attributes.d.ts +0 -4
- package/dist/types-ts4.5/rules/no-readonly-or-disabled-inputs/unwanted-html-attributes.d.ts +0 -4
- package/dist/types-ts4.5/rules/no-separator-with-list-elements/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-styled-tagged-template-expression/index.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-to-match-snapshot/index.d.ts +0 -4
- package/dist/types-ts4.5/rules/no-unsafe-design-token-usage/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-unsafe-inline-snapshot/index.d.ts +0 -4
- package/dist/types-ts4.5/rules/no-unsafe-style-overrides/index.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-unsupported-drag-and-drop-libraries/index.d.ts +0 -2
- package/dist/types-ts4.5/rules/no-unsupported-drag-and-drop-libraries/paths.d.ts +0 -4
- package/dist/types-ts4.5/rules/no-unused-css-map/get-css-map-object.d.ts +0 -5
- package/dist/types-ts4.5/rules/no-unused-css-map/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/no-unused-css-map/unused-css-map-checker.d.ts +0 -14
- package/dist/types-ts4.5/rules/no-unused-css-map/utils.d.ts +0 -15
- package/dist/types-ts4.5/rules/prefer-primitives/index.d.ts +0 -2
- package/dist/types-ts4.5/rules/prefer-primitives/utils.d.ts +0 -2
- package/dist/types-ts4.5/rules/prefer-primitives/valid-primitive-elements.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-button-group-label/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-character-counter-field/index.d.ts +0 -6
- package/dist/types-ts4.5/rules/use-correct-field/index.d.ts +0 -5
- package/dist/types-ts4.5/rules/use-cx-function-in-xcss/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-datetime-picker-calendar-button/index.d.ts +0 -7
- package/dist/types-ts4.5/rules/use-drawer-label/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-field-message-wrapper/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-heading/config/index.d.ts +0 -9
- package/dist/types-ts4.5/rules/use-heading/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-heading/transformers/allowed-attrs.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-heading/transformers/common.d.ts +0 -6
- package/dist/types-ts4.5/rules/use-heading/transformers/native-elements.d.ts +0 -22
- package/dist/types-ts4.5/rules/use-heading/transformers/update-test-id-attribute-fix.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-heading-level-in-section-message/index.d.ts +0 -4
- package/dist/types-ts4.5/rules/use-heading-level-in-spotlight-card/index.d.ts +0 -4
- package/dist/types-ts4.5/rules/use-href-in-link-item/get-unique-button-item-name.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-href-in-link-item/has-import-of-name.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-href-in-link-item/index.d.ts +0 -4
- package/dist/types-ts4.5/rules/use-href-in-link-item/insert-button-item-default-import.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-href-in-link-item/insert-button-item-import.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-href-in-link-item/utils.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-latest-xcss-syntax/index.d.ts +0 -4
- package/dist/types-ts4.5/rules/use-latest-xcss-syntax/transformers/style-property/index.d.ts +0 -18
- package/dist/types-ts4.5/rules/use-latest-xcss-syntax/transformers/style-property/style-map.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-latest-xcss-syntax/transformers/style-property/supported.d.ts +0 -6
- package/dist/types-ts4.5/rules/use-latest-xcss-syntax/utils/is-string-or-number.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-latest-xcss-syntax-typography/config/get-config.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-latest-xcss-syntax-typography/config/patterns.d.ts +0 -6
- package/dist/types-ts4.5/rules/use-latest-xcss-syntax-typography/config/types.d.ts +0 -5
- package/dist/types-ts4.5/rules/use-latest-xcss-syntax-typography/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-latest-xcss-syntax-typography/linters/common.d.ts +0 -7
- package/dist/types-ts4.5/rules/use-latest-xcss-syntax-typography/linters/restricted-capitalisation.d.ts +0 -6
- package/dist/types-ts4.5/rules/use-latest-xcss-syntax-typography/linters/restricted-property.d.ts +0 -6
- package/dist/types-ts4.5/rules/use-latest-xcss-syntax-typography/linters/wrapped-token-value.d.ts +0 -7
- package/dist/types-ts4.5/rules/use-menu-section-title/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-modal-dialog-close-button/index.d.ts +0 -7
- package/dist/types-ts4.5/rules/use-onboarding-spotlight-label/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-popup-label/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-primitives/config/get-config.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-primitives/config/index.d.ts +0 -7
- package/dist/types-ts4.5/rules/use-primitives/config/types.d.ts +0 -4
- package/dist/types-ts4.5/rules/use-primitives/config/valid-patterns.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-primitives/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-primitives/transformers/compiled-styled/attributes.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-primitives/transformers/compiled-styled/convert-jsx-call-site.d.ts +0 -17
- package/dist/types-ts4.5/rules/use-primitives/transformers/compiled-styled/convert-styled-component-call-to-jsx.d.ts +0 -17
- package/dist/types-ts4.5/rules/use-primitives/transformers/compiled-styled/elements.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-primitives/transformers/compiled-styled/find-valid-jsx-usage-to-transform.d.ts +0 -9
- package/dist/types-ts4.5/rules/use-primitives/transformers/compiled-styled/find-valid-styled-component-call.d.ts +0 -7
- package/dist/types-ts4.5/rules/use-primitives/transformers/compiled-styled/index.d.ts +0 -25
- package/dist/types-ts4.5/rules/use-primitives/transformers/css-to-xcss-transformer.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-primitives/transformers/dimensions-map.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-primitives/transformers/emotion-css/attributes.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-primitives/transformers/emotion-css/elements.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-primitives/transformers/emotion-css/index.d.ts +0 -15
- package/dist/types-ts4.5/rules/use-primitives/transformers/space-token-map.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-primitives/transformers/space-token-positive-map.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-primitives/transformers/styled-object-to-xcss-tokens.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-primitives/transformers/supported-dimension-attributes-map.d.ts +0 -4
- package/dist/types-ts4.5/rules/use-primitives/transformers/supported-styles-map.d.ts +0 -4
- package/dist/types-ts4.5/rules/use-primitives/utils/convert-ast-object-expression-to-js-object.d.ts +0 -18
- package/dist/types-ts4.5/rules/use-primitives/utils/get-attribute-value-identifier.d.ts +0 -14
- package/dist/types-ts4.5/rules/use-primitives/utils/get-function-argument-at-pos.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-primitives/utils/get-jsx-attribute-by-name.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-primitives/utils/get-variable-definition-value.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-primitives/utils/get-variable-usage-count.d.ts +0 -7
- package/dist/types-ts4.5/rules/use-primitives/utils/is-function-named.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-primitives/utils/is-valid-css-properties-to-transform.d.ts +0 -4
- package/dist/types-ts4.5/rules/use-primitives/utils/spread-syntax.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-primitives/utils/update-jsx-attribute-by-name.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-primitives/utils/validate-styles.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-primitives-text/config/get-config.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-primitives-text/config/patterns.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-primitives-text/config/types.d.ts +0 -8
- package/dist/types-ts4.5/rules/use-primitives-text/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-primitives-text/transformers/add-color-inherit-attribute-fix.d.ts +0 -4
- package/dist/types-ts4.5/rules/use-primitives-text/transformers/allowed-attrs.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-primitives-text/transformers/common.d.ts +0 -6
- package/dist/types-ts4.5/rules/use-primitives-text/transformers/emphasis-elements.d.ts +0 -13
- package/dist/types-ts4.5/rules/use-primitives-text/transformers/has-text-children-only.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-primitives-text/transformers/paragraph-elements.d.ts +0 -25
- package/dist/types-ts4.5/rules/use-primitives-text/transformers/span-elements.d.ts +0 -13
- package/dist/types-ts4.5/rules/use-primitives-text/transformers/strong-elements.d.ts +0 -13
- package/dist/types-ts4.5/rules/use-primitives-text/transformers/update-test-id-attribute-fix.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-should-render-to-parent/add-prop.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-should-render-to-parent/index.d.ts +0 -6
- package/dist/types-ts4.5/rules/use-should-render-to-parent/set-prop-to-true.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-simple-field/index.d.ts +0 -4
- package/dist/types-ts4.5/rules/use-simple-form/index.d.ts +0 -5
- package/dist/types-ts4.5/rules/use-simple-form/top-level-attribute-names.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-spotlight-package/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-spotlight-package/linters/import-declaration/index.d.ts +0 -16
- package/dist/types-ts4.5/rules/use-tag-group-label/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-textfield-autocomplete/index.d.ts +0 -4
- package/dist/types-ts4.5/rules/use-tokens-shape/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-tokens-shape/transformers/index.d.ts +0 -26
- package/dist/types-ts4.5/rules/use-tokens-shape/transformers/style-map.d.ts +0 -10
- package/dist/types-ts4.5/rules/use-tokens-shape/transformers/supported.d.ts +0 -6
- package/dist/types-ts4.5/rules/use-tokens-space/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-tokens-space/transformers/style-property/index.d.ts +0 -26
- package/dist/types-ts4.5/rules/use-tokens-space/transformers/style-property/style-map.d.ts +0 -7
- package/dist/types-ts4.5/rules/use-tokens-space/transformers/style-property/supported.d.ts +0 -6
- package/dist/types-ts4.5/rules/use-tokens-space/utils/is-string-or-number.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-tokens-typography/config/get-config.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/config/rule-schema.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/config/types.d.ts +0 -7
- package/dist/types-ts4.5/rules/use-tokens-typography/convert-property-node-to-stringable-node.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/default-font-weight.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-tokens-typography/find-font-family-token-for-value.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-tokens-typography/find-font-weight-token-for-value.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/find-typography-token-for-values.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/font-weight-map.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/font-weight-tokens.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/get-literal-property.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/get-token-property.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-tokens-typography/insert-tokens-import.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-tokens-typography/is-code-font-family.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/is-font-family.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/is-font-size-small.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/is-font-size.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/is-typography-property.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-tokens-typography/is-valid-property-node.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-tokens-typography/is-valid-typography-token.d.ts +0 -36
- package/dist/types-ts4.5/rules/use-tokens-typography/not-undefined.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-tokens-typography/transformers/banned-properties.d.ts +0 -12
- package/dist/types-ts4.5/rules/use-tokens-typography/transformers/font-family.d.ts +0 -13
- package/dist/types-ts4.5/rules/use-tokens-typography/transformers/font-weight.d.ts +0 -13
- package/dist/types-ts4.5/rules/use-tokens-typography/transformers/restricted-capitalisation.d.ts +0 -12
- package/dist/types-ts4.5/rules/use-tokens-typography/transformers/style-object.d.ts +0 -33
- package/dist/types-ts4.5/rules/use-tokens-typography/transformers/untokenized-properties.d.ts +0 -12
- package/dist/types-ts4.5/rules/use-tokens-typography/types.d.ts +0 -15
- package/dist/types-ts4.5/rules/use-tokens-typography/typography-properties.d.ts +0 -1
- package/dist/types-ts4.5/rules/use-tokens-typography/typography-value-to-token.d.ts +0 -2
- package/dist/types-ts4.5/rules/use-visually-hidden/constants.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-visually-hidden/count-matching-key-values.d.ts +0 -6
- package/dist/types-ts4.5/rules/use-visually-hidden/fix-jsx.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-visually-hidden/fix-vanilla.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-visually-hidden/get-first-import.d.ts +0 -5
- package/dist/types-ts4.5/rules/use-visually-hidden/get-object-likeness.d.ts +0 -9
- package/dist/types-ts4.5/rules/use-visually-hidden/index.d.ts +0 -3
- package/dist/types-ts4.5/rules/use-visually-hidden/make-template-literal-into-entries.d.ts +0 -4
- package/dist/types-ts4.5/rules/use-visually-hidden/reference-object.d.ts +0 -11
- package/dist/types-ts4.5/rules/use-visually-hidden/utils.d.ts +0 -26
- package/dist/types-ts4.5/rules/utils/create-lint-rule.d.ts +0 -8
- package/dist/types-ts4.5/rules/utils/create-no-exported-rule/check-if-supported-export.d.ts +0 -15
- package/dist/types-ts4.5/rules/utils/create-no-exported-rule/is-styled-component.d.ts +0 -14
- package/dist/types-ts4.5/rules/utils/create-no-exported-rule/main.d.ts +0 -19
- package/dist/types-ts4.5/rules/utils/create-no-tagged-template-expression-rule/create-no-tagged-template-expression-rule.d.ts +0 -5
- package/dist/types-ts4.5/rules/utils/create-no-tagged-template-expression-rule/generate.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/create-no-tagged-template-expression-rule/get-tagged-template-expression-offset.d.ts +0 -4
- package/dist/types-ts4.5/rules/utils/create-no-tagged-template-expression-rule/index.d.ts +0 -7
- package/dist/types-ts4.5/rules/utils/create-no-tagged-template-expression-rule/no-tagged-template-expression-rule-schema.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/create-no-tagged-template-expression-rule/to-arguments.d.ts +0 -4
- package/dist/types-ts4.5/rules/utils/create-no-tagged-template-expression-rule/types.d.ts +0 -28
- package/dist/types-ts4.5/rules/utils/create-rule.d.ts +0 -11
- package/dist/types-ts4.5/rules/utils/error-boundary.d.ts +0 -18
- package/dist/types-ts4.5/rules/utils/find-in-parent.d.ts +0 -9
- package/dist/types-ts4.5/rules/utils/find-prop.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/get-deprecated-config.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/get-first-supported-import.d.ts +0 -17
- package/dist/types-ts4.5/rules/utils/get-import-name.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/get-imported-node-by-source.d.ts +0 -8
- package/dist/types-ts4.5/rules/utils/get-is-exception.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/get-jsx-element-by-name.d.ts +0 -6
- package/dist/types-ts4.5/rules/utils/get-module-of-identifier.d.ts +0 -10
- package/dist/types-ts4.5/rules/utils/get-node-source.d.ts +0 -3
- package/dist/types-ts4.5/rules/utils/get-rule-url.d.ts +0 -1
- package/dist/types-ts4.5/rules/utils/get-styled-component-call.d.ts +0 -6
- package/dist/types-ts4.5/rules/utils/includes-hard-coded-color.d.ts +0 -1
- package/dist/types-ts4.5/rules/utils/is-child-of-type.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-color-css-property-name.d.ts +0 -1
- package/dist/types-ts4.5/rules/utils/is-css-in-js-call-node.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-css-in-js-object-node.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-css-in-js-template-node.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-current-surface-custom-property-name.d.ts +0 -1
- package/dist/types-ts4.5/rules/utils/is-decendant-of-global-token.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-decendant-of-primitive.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-decendant-of-style-block.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-decendant-of-style-jsx-attribute.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-decendant-of-svg-element.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-decendant-of-type.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-decendant-of-xcss-block.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-deprecated-import-config.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-deprecated-jsx-attribute-config.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-elevation.d.ts +0 -5
- package/dist/types-ts4.5/rules/utils/is-hard-coded-color.d.ts +0 -1
- package/dist/types-ts4.5/rules/utils/is-legacy-color.d.ts +0 -1
- package/dist/types-ts4.5/rules/utils/is-legacy-named-color.d.ts +0 -1
- package/dist/types-ts4.5/rules/utils/is-node.d.ts +0 -6
- package/dist/types-ts4.5/rules/utils/is-property-key.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/is-token.d.ts +0 -1
- package/dist/types-ts4.5/rules/utils/jsx.d.ts +0 -2
- package/dist/types-ts4.5/rules/utils/named-colors.d.ts +0 -1
- package/dist/types-ts4.5/rules/utils/types.d.ts +0 -28
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
/**
|
|
3
|
-
* Inserts or updates `const iconSpacingStyles = cssMap({ spaceXXX: { padding: token('space.XXX') } })`
|
|
4
|
-
* after the last import statement.
|
|
5
|
-
*
|
|
6
|
-
* If `iconSpacingStyles` already exists, adds the new key to the existing cssMap object.
|
|
7
|
-
* If it doesn't exist, inserts a new declaration after the last import.
|
|
8
|
-
*/
|
|
9
|
-
export declare function upsertCssMapVariable(context: Rule.RuleContext, fixer: Rule.RuleFixer, paddingToken: string): Rule.Fix | undefined;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
/**
|
|
3
|
-
* Upserts `Flex` from `@atlaskit/primitives/compiled`, handling:
|
|
4
|
-
* 1. Already imported from `/compiled` → add Flex if missing
|
|
5
|
-
* 2. Import from `@atlaskit/primitives` (non-compiled) → migrate path + add Flex
|
|
6
|
-
* 3. No import → insert new `import { Flex } from '@atlaskit/primitives/compiled'`
|
|
7
|
-
*/
|
|
8
|
-
export declare function upsertFlexImport(context: Rule.RuleContext, fixer: Rule.RuleFixer): Rule.Fix | undefined;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
/**
|
|
3
|
-
* Upserts `token` from `@atlaskit/tokens`, handling:
|
|
4
|
-
* 1. Already imported → no-op
|
|
5
|
-
* 2. `@atlaskit/tokens` exists but missing `token` → add specifier
|
|
6
|
-
* 3. No import → insert new `import { token } from '@atlaskit/tokens'`
|
|
7
|
-
*/
|
|
8
|
-
export declare function upsertTokenImport(context: Rule.RuleContext, fixer: Rule.RuleFixer): Rule.Fix | undefined;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
import type { ObjectExpression } from 'estree';
|
|
3
|
-
export declare class CssMapObjectChecker {
|
|
4
|
-
private readonly allowedFunctionCalls;
|
|
5
|
-
private readonly cssMapObject;
|
|
6
|
-
private readonly report;
|
|
7
|
-
private readonly context;
|
|
8
|
-
constructor(cssMapObject: ObjectExpression, context: Rule.RuleContext);
|
|
9
|
-
private checkCssMapObjectValue;
|
|
10
|
-
private checkCssMapObject;
|
|
11
|
-
run(): void;
|
|
12
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Logical property to physical property map
|
|
3
|
-
* @example
|
|
4
|
-
* ```
|
|
5
|
-
* border-block-end border-bottom
|
|
6
|
-
* border-block-end-color border-bottom-color
|
|
7
|
-
* border-block-end-style border-bottom-style
|
|
8
|
-
* border-block-end-width border-bottom-width
|
|
9
|
-
* border-block-start border-top
|
|
10
|
-
* border-block-start-color border-top-color
|
|
11
|
-
* border-block-start-style border-top-style
|
|
12
|
-
* border-block-start-width border-top-width
|
|
13
|
-
* border-inline-end border-right
|
|
14
|
-
* border-inline-end-color border-right-color
|
|
15
|
-
* border-inline-end-style border-right-style
|
|
16
|
-
* border-inline-end-width border-right-width
|
|
17
|
-
* border-inline-start border-left
|
|
18
|
-
* border-inline-start-color border-left-color
|
|
19
|
-
* border-inline-start-style border-left-style
|
|
20
|
-
* border-inline-start-width border-left-width
|
|
21
|
-
* border-start-start-radius border-top-left-radius
|
|
22
|
-
* border-end-start-radius border-bottom-left-radius
|
|
23
|
-
* border-start-end-radius border-top-right-radius
|
|
24
|
-
* border-end-end-radius border-bottom-right-radius
|
|
25
|
-
* margin-block-end margin-bottom
|
|
26
|
-
* margin-block-start margin-top
|
|
27
|
-
* margin-inline-end margin-right
|
|
28
|
-
* margin-inline-start margin-left
|
|
29
|
-
* padding-block-end padding-bottom
|
|
30
|
-
* padding-block-start padding-top
|
|
31
|
-
* padding-inline-end padding-right
|
|
32
|
-
* padding-inline-start padding-left
|
|
33
|
-
* inset-inline-start left
|
|
34
|
-
* inset-inline-end right
|
|
35
|
-
* inset-block-start top
|
|
36
|
-
* inset-block-end bottom
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export declare const logicalPhysicalMap: {
|
|
40
|
-
readonly borderBlockEnd: "borderBottom";
|
|
41
|
-
readonly borderBlockEndColor: "borderBottomColor";
|
|
42
|
-
readonly borderBlockEndStyle: "borderBottomStyle";
|
|
43
|
-
readonly borderBlockEndWidth: "borderBottomWidth";
|
|
44
|
-
readonly borderBlockStart: "borderTop";
|
|
45
|
-
readonly borderBlockStartColor: "borderTopColor";
|
|
46
|
-
readonly borderBlockStartStyle: "borderTopStyle";
|
|
47
|
-
readonly borderBlockStartWidth: "borderTopWidth";
|
|
48
|
-
readonly borderInlineEnd: "borderRight";
|
|
49
|
-
readonly borderInlineEndColor: "borderRightColor";
|
|
50
|
-
readonly borderInlineEndStyle: "borderRightStyle";
|
|
51
|
-
readonly borderInlineEndWidth: "borderRightWidth";
|
|
52
|
-
readonly borderInlineStart: "borderLeft";
|
|
53
|
-
readonly borderInlineStartColor: "borderLeftColor";
|
|
54
|
-
readonly borderInlineStartStyle: "borderLeftStyle";
|
|
55
|
-
readonly borderInlineStartWidth: "borderLeftWidth";
|
|
56
|
-
readonly borderStartStartRadius: "borderTopLeftRadius";
|
|
57
|
-
readonly borderEndStartRadius: "borderBottomLeftRadius";
|
|
58
|
-
readonly borderStartEndRadius: "borderTopRightRadius";
|
|
59
|
-
readonly borderEndEndRadius: "borderBottomRightRadius";
|
|
60
|
-
readonly marginBlockEnd: "marginBottom";
|
|
61
|
-
readonly marginBlockStart: "marginTop";
|
|
62
|
-
readonly marginInlineEnd: "marginRight";
|
|
63
|
-
readonly marginInlineStart: "marginLeft";
|
|
64
|
-
readonly paddingBlockEnd: "paddingBottom";
|
|
65
|
-
readonly paddingBlockStart: "paddingTop";
|
|
66
|
-
readonly paddingInlineEnd: "paddingRight";
|
|
67
|
-
readonly paddingInlineStart: "paddingLeft";
|
|
68
|
-
readonly insetInlineStart: "left";
|
|
69
|
-
readonly insetInlineEnd: "right";
|
|
70
|
-
readonly insetBlockStart: "top";
|
|
71
|
-
readonly insetBlockEnd: "bottom";
|
|
72
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export declare const physicalLogicalMap: {
|
|
2
|
-
readonly borderBottom: "borderBlockEnd";
|
|
3
|
-
readonly borderBottomColor: "borderBlockEndColor";
|
|
4
|
-
readonly borderBottomStyle: "borderBlockEndStyle";
|
|
5
|
-
readonly borderBottomWidth: "borderBlockEndWidth";
|
|
6
|
-
readonly borderTop: "borderBlockStart";
|
|
7
|
-
readonly borderTopColor: "borderBlockStartColor";
|
|
8
|
-
readonly borderTopStyle: "borderBlockStartStyle";
|
|
9
|
-
readonly borderTopWidth: "borderBlockStartWidth";
|
|
10
|
-
readonly borderRight: "borderInlineEnd";
|
|
11
|
-
readonly borderRightColor: "borderInlineEndColor";
|
|
12
|
-
readonly borderRightStyle: "borderInlineEndStyle";
|
|
13
|
-
readonly borderRightWidth: "borderInlineEndWidth";
|
|
14
|
-
readonly borderLeft: "borderInlineStart";
|
|
15
|
-
readonly borderLeftColor: "borderInlineStartColor";
|
|
16
|
-
readonly borderLeftStyle: "borderInlineStartStyle";
|
|
17
|
-
readonly borderLeftWidth: "borderInlineStartWidth";
|
|
18
|
-
readonly borderTopLeftRadius: "borderStartStartRadius";
|
|
19
|
-
readonly borderBottomLeftRadius: "borderEndStartRadius";
|
|
20
|
-
readonly borderTopRightRadius: "borderStartEndRadius";
|
|
21
|
-
readonly borderBottomRightRadius: "borderEndEndRadius";
|
|
22
|
-
readonly marginBottom: "marginBlockEnd";
|
|
23
|
-
readonly marginTop: "marginBlockStart";
|
|
24
|
-
readonly marginRight: "marginInlineEnd";
|
|
25
|
-
readonly marginLeft: "marginInlineStart";
|
|
26
|
-
readonly paddingBottom: "paddingBlockEnd";
|
|
27
|
-
readonly paddingTop: "paddingBlockStart";
|
|
28
|
-
readonly paddingRight: "paddingInlineEnd";
|
|
29
|
-
readonly paddingLeft: "paddingInlineStart";
|
|
30
|
-
readonly left: "insetInlineStart";
|
|
31
|
-
readonly right: "insetInlineEnd";
|
|
32
|
-
readonly top: "insetBlockStart";
|
|
33
|
-
readonly bottom: "insetBlockEnd";
|
|
34
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const AFFECTED_ATLASKIT_PACKAGES: Record<string, string[]>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const AFFECTED_HTML_ELEMENTS: string[];
|
package/dist/types-ts4.5/rules/no-readonly-or-disabled-inputs/affected-atlaskit-packages.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const AFFECTED_ATLASKIT_PACKAGES: Record<string, string[]>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const AFFECTED_HTML_ELEMENTS: string[];
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
import type { CallExpression as ESCallExpression, ObjectExpression } from 'estree';
|
|
3
|
-
type CallExpression = ESCallExpression & Rule.NodeParentExtension;
|
|
4
|
-
export declare const getCssMapObject: (node: CallExpression) => ObjectExpression | undefined;
|
|
5
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
import type { CallExpression as ESCallExpression, ObjectExpression } from 'estree';
|
|
3
|
-
type CallExpression = ESCallExpression & Rule.NodeParentExtension;
|
|
4
|
-
export declare class UnusedCssMapChecker {
|
|
5
|
-
private readonly cssMapObject;
|
|
6
|
-
private readonly cssMapCallNode;
|
|
7
|
-
private readonly report;
|
|
8
|
-
private readonly context;
|
|
9
|
-
constructor(cssMapObject: ObjectExpression, context: Rule.RuleContext, cssMapCallNode: CallExpression);
|
|
10
|
-
private checkForUnusedStyles;
|
|
11
|
-
private findCssMapVariable;
|
|
12
|
-
run(): void;
|
|
13
|
-
}
|
|
14
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
import type { CallExpression as ESCallExpression, ObjectExpression } from 'estree';
|
|
3
|
-
type CallExpression = ESCallExpression & Rule.NodeParentExtension;
|
|
4
|
-
export declare const getCssMapObject: (node: CallExpression) => ObjectExpression | undefined;
|
|
5
|
-
export declare class UnusedCssMapChecker {
|
|
6
|
-
private readonly cssMapObject;
|
|
7
|
-
private readonly cssMapCallNode;
|
|
8
|
-
private readonly report;
|
|
9
|
-
private readonly context;
|
|
10
|
-
constructor(cssMapObject: ObjectExpression, context: Rule.RuleContext, cssMapCallNode: CallExpression);
|
|
11
|
-
private checkForUnusedStyles;
|
|
12
|
-
private findCssMapVariable;
|
|
13
|
-
run(): void;
|
|
14
|
-
}
|
|
15
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const validPrimitiveElements: Set<string>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
export declare const messageInsideForm = "When using `maxLength` or `minLength` props with Textfield/Textarea inside a Form, use `CharacterCounterField` from `@atlaskit/form` instead of Field and remove the props from the Textfield/Textarea. This ensures accessibility through real time feedback and aligns with the design system. Read more about [character counter fields](https://atlassian.design/components/form/examples#charactercounterfield)";
|
|
3
|
-
export declare const messageOutsideForm = "When using `maxLength` or `minLength` props with Textfield/Textarea, use `CharacterCounter` from `@atlaskit/form` alongside your input for real-time character count feedback. This ensures accessibility through screen reader announcements and visual feedback. Read more about [standalone character counter](https://atlassian.design/components/form/examples#standalone-charactercounter)";
|
|
4
|
-
export declare const ruleName: string;
|
|
5
|
-
declare const rule: Rule.RuleModule;
|
|
6
|
-
export default rule;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
export declare const addCalendarButtonProp = "Add `shouldShowCalendarButton` prop.";
|
|
3
|
-
export declare const setCalendarButtonPropToTrue = "Set `shouldShowCalendarButton` prop to `true`.";
|
|
4
|
-
export declare const addCalendarButtonProperty = "Add `shouldShowCalendarButton: true` to `datePickerProps`.";
|
|
5
|
-
export declare const setCalendarButtonPropertyToTrue = "Set `shouldShowCalendarButton` property in `datePickerProps` to `true`.";
|
|
6
|
-
declare const rule: Rule.RuleModule;
|
|
7
|
-
export default rule;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
type Pattern = 'native-elements';
|
|
2
|
-
export interface RuleConfig {
|
|
3
|
-
failSilently: boolean;
|
|
4
|
-
patterns: Pattern[];
|
|
5
|
-
enableUnsafeAutofix: boolean;
|
|
6
|
-
enableUnsafeReport: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare const getConfig: (overrides: Partial<RuleConfig>) => RuleConfig;
|
|
9
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const allowedAttrs: string[];
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
import { type JSXElement, type JSXIdentifier, type JSXOpeningElement } from 'eslint-codemod-utils';
|
|
3
|
-
import type { MetaData } from './common';
|
|
4
|
-
type ValidTags = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
5
|
-
interface ValidHeadingElement extends JSXElement {
|
|
6
|
-
parent: Rule.Node;
|
|
7
|
-
openingElement: {
|
|
8
|
-
name: JSXIdentifier & {
|
|
9
|
-
name: ValidTags;
|
|
10
|
-
};
|
|
11
|
-
} & JSXOpeningElement;
|
|
12
|
-
}
|
|
13
|
-
type CheckResult = {
|
|
14
|
-
success: boolean;
|
|
15
|
-
autoFixable?: boolean;
|
|
16
|
-
};
|
|
17
|
-
export declare const NativeElements: {
|
|
18
|
-
lint(node: Rule.Node, { context, config }: MetaData): void;
|
|
19
|
-
_check(node: Rule.Node, { config }: MetaData): CheckResult;
|
|
20
|
-
_fix(node: ValidHeadingElement, { context }: MetaData): Rule.ReportFixer;
|
|
21
|
-
};
|
|
22
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
export declare const noRawSpacingValues = "Don't use non-token values in padding or margin. There is ongoing work to make this a TypeScript error. Once that happens, you will have to delete/refactor anyway. Atlassians: See https://go.atlassian.com/xcss-spacing for details.";
|
|
3
|
-
declare const rule: Rule.RuleModule;
|
|
4
|
-
export default rule;
|
package/dist/types-ts4.5/rules/use-latest-xcss-syntax/transformers/style-property/index.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
import { type Property as ObjectEntry } from 'eslint-codemod-utils';
|
|
3
|
-
type Check = {
|
|
4
|
-
success: false;
|
|
5
|
-
ref: undefined;
|
|
6
|
-
} | {
|
|
7
|
-
success: true;
|
|
8
|
-
ref: ObjectEntry;
|
|
9
|
-
};
|
|
10
|
-
export declare const StyleProperty: {
|
|
11
|
-
lint(node: Rule.Node, { context }: {
|
|
12
|
-
context: Rule.RuleContext;
|
|
13
|
-
}): void;
|
|
14
|
-
_check(node: Rule.Node, { context }: {
|
|
15
|
-
context: Rule.RuleContext;
|
|
16
|
-
}): Check;
|
|
17
|
-
};
|
|
18
|
-
export {};
|
package/dist/types-ts4.5/rules/use-latest-xcss-syntax/transformers/style-property/style-map.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const styleMap: string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const isStringOrNumber: (value: string | number | bigint | true | RegExp | undefined) => value is string | number;
|
package/dist/types-ts4.5/rules/use-latest-xcss-syntax-typography/linters/wrapped-token-value.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
import type { MetaData } from './common';
|
|
3
|
-
export declare const WrappedTokenValue: {
|
|
4
|
-
lint(node: Rule.Node, { context, config }: MetaData): void;
|
|
5
|
-
_check(node: Rule.Node, { config }: MetaData): boolean;
|
|
6
|
-
_fix(node: Rule.Node): Rule.ReportFixer;
|
|
7
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Rule } from 'eslint';
|
|
2
|
-
export declare const addHasCloseButtonProp = "Add `hasCloseButton` prop.";
|
|
3
|
-
export declare const setHasCloseButtonPropToTrue = "Set `hasCloseButton` prop to `true`.";
|
|
4
|
-
export declare const useCloseButtonOrNewProp = "Set `hasCloseButton` prop to `true` in `ModalHeader` or use `CloseButton` export if customization is desired.";
|
|
5
|
-
export declare const ruleName: string;
|
|
6
|
-
declare const rule: Rule.RuleModule;
|
|
7
|
-
export default rule;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const attributes: string[];
|