password-validation-inputs.stories.mjs (872B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 4 5 // eslint-disable-next-line import/no-unresolved 6 import { html } from "lit.all.mjs"; 7 import "chrome://global/content/elements/moz-card.mjs"; 8 import "./password-validation-inputs.mjs"; 9 10 window.MozXULElement.insertFTLIfNeeded("browser/backupSettings.ftl"); 11 window.MozXULElement.insertFTLIfNeeded("branding/brand.ftl"); 12 13 export default { 14 title: "Domain-specific UI Widgets/Backup/Password Inputs", 15 component: "password-validation-inputs", 16 argTypes: {}, 17 }; 18 19 const Template = () => html` 20 <moz-card style="position: relative; width: 25rem;"> 21 <password-validation-inputs></password-validation-inputs> 22 </moz-card> 23 `; 24 25 export const Default = Template.bind({});