Commit 67ccc01f authored by Дмитрий Малюгин's avatar Дмитрий Малюгин 🕓
Browse files

refactor: update storybook and add tags for components

parent 33bc3924
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3,9 +3,12 @@ import type { StorybookConfig } from '@storybook/vue3-vite';
const config: StorybookConfig = {
  stories: ['../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
  addons: ['@storybook/addon-essentials', '@chromatic-com/storybook', '@storybook/addon-interactions'],

  framework: {
    name: '@storybook/vue3-vite',
    options: {},
  },

  docs: {}
};
export default config;
+2 −0
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@ const preview: Preview = {
      },
    },
  },

  tags: ['autodocs']
}

export default preview
−366 B (595 KiB)

File changed.

No diff preview for this file type.

+7 −7
Original line number Diff line number Diff line
@@ -7,23 +7,23 @@
## Список компонентов:
- Table;
- TreeList;
- MenuDial;
- Popup;
- Slider;
- Modal;
- Drawer;

- MenuDial;
- Paginator;
- Drawer;
- Modal;
- Slider;
- Knob;
- Select;
- SelectButton;

- Button;
- ProgressBar;
- Rating;
- ToggleSwitch;
- Tag;
- Checkbox;

- ProgressBar;
- Tag;
- Divider.

---
+10 −7
Original line number Diff line number Diff line
@@ -20,12 +20,12 @@
  },
  "devDependencies": {
    "@chromatic-com/storybook": "^3.2.3",
    "@storybook/addon-essentials": "^8.4.7",
    "@storybook/addon-interactions": "^8.4.7",
    "@storybook/blocks": "^8.4.7",
    "@storybook/test": "^8.4.7",
    "@storybook/vue3": "^8.4.7",
    "@storybook/vue3-vite": "^8.4.7",
    "@storybook/addon-essentials": "^8.5.0",
    "@storybook/addon-interactions": "^8.5.0",
    "@storybook/blocks": "^8.5.0",
    "@storybook/test": "^8.5.0",
    "@storybook/vue3": "^8.5.0",
    "@storybook/vue3-vite": "^8.5.0",
    "@tsconfig/node22": "^22.0.0",
    "@types/jsdom": "^21.1.7",
    "@types/node": "^22.10.1",
@@ -41,7 +41,7 @@
    "jsdom": "^25.0.1",
    "npm-run-all2": "^7.0.1",
    "prettier": "^3.3.3",
    "storybook": "^8.4.7",
    "storybook": "^8.5.0",
    "typescript": "~5.6.3",
    "vite": "^5.4.10",
    "vite-plugin-vue-devtools": "^7.5.4",
@@ -52,5 +52,8 @@
    "extends": [
      "plugin:storybook/recommended"
    ]
  },
  "volta": {
    "node": "23.1.0"
  }
}
Loading