@spartacus/schematics
Version:
Spartacus schematics
20 lines • 1.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.POPOVER_DIRECTIVE_MIGRATION = void 0;
const constants_1 = require("../../../../shared/constants");
// projects/storefrontlib/shared/components/popover/popover.directive.ts
exports.POPOVER_DIRECTIVE_MIGRATION = [
{
class: constants_1.POPOVER_DIRECTIVE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedNode: constants_1.HANDLE_OPEN,
comment: `// ${constants_1.TODO_SPARTACUS} Method '${constants_1.POPOVER_DIRECTIVE}.${constants_1.HANDLE_OPEN}' was removed, use methods 'handleEscape', 'handleClick', 'handlePress', 'handleTab' instead.`,
},
{
class: constants_1.POPOVER_DIRECTIVE,
importPath: constants_1.SPARTACUS_STOREFRONTLIB,
deprecatedNode: constants_1.TOGGLE,
comment: `// ${constants_1.TODO_SPARTACUS} Method '${constants_1.POPOVER_DIRECTIVE}.${constants_1.TOGGLE}' was removed, use methods 'handleEscape', 'handleClick', 'handlePress', 'handleTab' instead.`,
},
];
//# sourceMappingURL=popover-directive.migration.js.map