diff --git a/.eslintrc.js b/.eslintrc.js
index a229133a2..b5ce81664 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -12,6 +12,19 @@ module.exports = {
'vitest-globals/env': true,
},
},
+ {
+ files: ['**/*.story.vue'],
+ rules: {
+ 'vue/no-undef-components': [
+ 'error',
+ {
+ ignorePatterns: ['Variant', 'Story'],
+ },
+ ],
+ // Story files can have static strings, it doesn't need to handle i18n always.
+ 'vue/no-bare-strings-in-template': 'off',
+ },
+ },
],
plugins: ['html', 'prettier'],
parserOptions: {
@@ -223,11 +236,5 @@ module.exports = {
globals: {
bus: true,
vi: true,
- // beforeEach: true,
- // afterEach: true,
- // test: true,
- // describe: true,
- // it: true,
- // expect: true,
},
};
diff --git a/app/javascript/dashboard/components-next/button/Button.story.vue b/app/javascript/dashboard/components-next/button/Button.story.vue
new file mode 100644
index 000000000..f25ceda0a
--- /dev/null
+++ b/app/javascript/dashboard/components-next/button/Button.story.vue
@@ -0,0 +1,126 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/javascript/dashboard/components-next/button/Button.vue b/app/javascript/dashboard/components-next/button/Button.vue
new file mode 100644
index 000000000..5f7e8d6c7
--- /dev/null
+++ b/app/javascript/dashboard/components-next/button/Button.vue
@@ -0,0 +1,130 @@
+
+
+
+
+