@autoafleveren/ui 0.0.2-beta → 0.1.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.
Files changed (88) hide show
  1. package/components.d.ts +1 -0
  2. package/composables.d.ts +1 -0
  3. package/{src → dist}/config/eslint.cjs +19 -11
  4. package/{src → dist}/config/nuxt.cjs +3 -1
  5. package/{src → dist}/config/tailwind/config.cjs +12 -9
  6. package/dist/icons.cjs +1 -0
  7. package/dist/icons.js +5025 -0
  8. package/dist/style.css +1 -0
  9. package/dist/types/components/AppButton/AppButton.vue.d.ts +56 -0
  10. package/dist/types/components/AppButton/ButtonIconSlot.vue.d.ts +22 -0
  11. package/dist/types/components/AppButton/index.d.ts +3 -0
  12. package/dist/types/components/AppLoader/AppLoader.vue.d.ts +27 -0
  13. package/dist/types/components/AppLoader/index.d.ts +2 -0
  14. package/dist/types/components/AppNavigationMenu/AppNavigationMenu.vue.d.ts +2 -0
  15. package/dist/types/components/AppNavigationMenu/Mobile.vue.d.ts +2 -0
  16. package/dist/types/components/AppNavigationMenu/NavigationItem.vue.d.ts +16 -0
  17. package/{src/modules/components/index.ts → dist/types/components/index.d.ts} +1 -1
  18. package/{src/modules/composables/index.ts → dist/types/composables/index.d.ts} +1 -0
  19. package/dist/types/composables/useLayout/index.d.ts +14 -0
  20. package/dist/types/composables/useNavigation/__mocks__/navigation.d.ts +2 -0
  21. package/dist/types/composables/useNavigation/index.d.ts +140 -0
  22. package/dist/types/icons/heroicons.d.ts +4 -0
  23. package/dist/types/icons/index.d.ts +1 -0
  24. package/dist/types/index.d.ts +3 -0
  25. package/dist/types/layouts/Auth/Auth.vue.d.ts +9 -0
  26. package/dist/types/layouts/index.d.ts +2 -0
  27. package/dist/ui-library.css +3 -0
  28. package/dist/ui.cjs +2 -0
  29. package/dist/ui.js +402 -0
  30. package/icons.d.ts +1 -0
  31. package/index.d.ts +4 -0
  32. package/layouts.d.ts +1 -0
  33. package/package.json +76 -62
  34. package/.babelrc +0 -6
  35. package/.env.example +0 -1
  36. package/.eslintrc.cjs +0 -4
  37. package/.gitignore +0 -32
  38. package/.storybook/main.ts +0 -42
  39. package/.storybook/manager.ts +0 -6
  40. package/.storybook/preview-head.html +0 -3
  41. package/.storybook/preview.ts +0 -30
  42. package/.storybook/theme/dark.ts +0 -12
  43. package/.storybook/theme/index.ts +0 -2
  44. package/.storybook/theme/light.ts +0 -12
  45. package/.yarn/install-state.gz +0 -0
  46. package/.yarn/releases/yarn-4.0.0-rc.40.cjs +0 -876
  47. package/.yarnrc.yml +0 -13
  48. package/index.html +0 -16
  49. package/postcss.config.cjs +0 -6
  50. package/shims-vue.d.ts +0 -6
  51. package/src/App.vue +0 -7
  52. package/src/css/main.css +0 -16
  53. package/src/main.ts +0 -8
  54. package/src/modules/components/AppButton/AppButton.vue +0 -42
  55. package/src/modules/components/AppButton/__tests__/app-button.spec.ts +0 -15
  56. package/src/modules/components/AppButton/index.ts +0 -37
  57. package/src/modules/components/AppIcon/AppIcon.vue +0 -21
  58. package/src/modules/components/AppIcon/index.ts +0 -1
  59. package/src/modules/components/AppNavigationMenu/AppNavigationMenu.vue +0 -16
  60. package/src/modules/components/AppNavigationMenu/Mobile.vue +0 -81
  61. package/src/modules/components/AppNavigationMenu/NavigationItem.vue +0 -15
  62. package/src/modules/composables/useNavigation.ts +0 -51
  63. package/src/modules/icons/heroicons.ts +0 -5
  64. package/src/modules/icons/index.ts +0 -1
  65. package/src/modules/layouts/Auth/Auth.vue +0 -11
  66. package/src/modules/layouts/Base/Base.vue +0 -20
  67. package/src/modules/layouts/index.ts +0 -7
  68. package/src/stories/Introduction.stories.mdx +0 -153
  69. package/src/stories/assets/code-brackets.svg +0 -1
  70. package/src/stories/assets/colors.svg +0 -1
  71. package/src/stories/assets/comments.svg +0 -1
  72. package/src/stories/assets/direction.svg +0 -1
  73. package/src/stories/assets/flow.svg +0 -1
  74. package/src/stories/assets/plugin.svg +0 -1
  75. package/src/stories/assets/repo.svg +0 -1
  76. package/src/stories/assets/stackalt.svg +0 -1
  77. package/src/stories/components/Button/Button.stories.ts +0 -69
  78. package/src/stories/layouts/Auth.stories.ts +0 -26
  79. package/src/stories/layouts/Base.stories.ts +0 -26
  80. package/tailwind.config.cjs +0 -13
  81. package/tsconfig.app.json +0 -19
  82. package/tsconfig.json +0 -14
  83. package/tsconfig.node.json +0 -8
  84. package/tsconfig.vitest.json +0 -9
  85. package/vite.config.ts +0 -58
  86. package/vitest.config.ts +0 -16
  87. package/vitest.setup.ts +0 -7
  88. /package/{src → dist}/config/tailwind/screens.json +0 -0
@@ -1,42 +0,0 @@
1
- const { mergeConfig } = require('vite');
2
-
3
- import type { StorybookConfig } from '@storybook/core-common';
4
-
5
- const config: StorybookConfig = {
6
- stories: [
7
- "../src/stories/*.stories.mdx",
8
- "../src/stories/components/**/*.stories.ts",
9
- "../src/stories/layouts/*.stories.ts"
10
- ],
11
- addons: [
12
- "@storybook/addon-links",
13
- "@storybook/addon-essentials",
14
- "@storybook/addon-interactions",
15
- "@storybook/addon-postcss",
16
- 'storybook-dark-mode',
17
- ],
18
- framework: "@storybook/vue3",
19
- typescript: {
20
- check: true,
21
- },
22
- features: {
23
- storyStoreV7: true,
24
- },
25
- core: {
26
- builder: "@storybook/builder-vite",
27
- },
28
- // @ts-ignore
29
- async viteFinal(config) {
30
- return mergeConfig(config, {
31
- server: {
32
- hmr: false,
33
- },
34
-
35
- optimizeDeps: {
36
- include: ['storybook-dark-mode'],
37
- },
38
- });
39
- },
40
- }
41
-
42
- module.exports = config;
@@ -1,6 +0,0 @@
1
- import { addons } from '@storybook/addons';
2
- import theme from './theme/light';
3
-
4
- addons.setConfig({
5
- theme,
6
- });
@@ -1,3 +0,0 @@
1
- <script>
2
- window.global = window;
3
- </script>
@@ -1,30 +0,0 @@
1
- import '../dist/ui-library.css';
2
- import { dark, light } from './theme';
3
- import { themes } from '@storybook/theming';
4
-
5
- export const parameters = {
6
- actions: { argTypesRegex: "^on[A-Z].*" },
7
- controls: {
8
- matchers: {
9
- color: /(background|color)$/i,
10
- date: /Date$/,
11
- },
12
- },
13
- docs: {
14
- light,
15
- },
16
- darkMode: {
17
- dark: {
18
- ...themes.dark,
19
- brandImage: dark.brandImage,
20
- colorPrimary: dark.colorPrimary,
21
- colorSecondary: dark.colorSecondary,
22
- },
23
- light: {
24
- ...themes.normal,
25
- brandImage: light.brandImage,
26
- colorPrimary: light.colorPrimary,
27
- colorSecondary: light.colorSecondary,
28
- },
29
- },
30
- }
@@ -1,12 +0,0 @@
1
- import { create } from '@storybook/theming';
2
-
3
- export default create({
4
- base: 'light',
5
- brandTitle: 'AutoAfleveren.nl component library',
6
- brandUrl: 'https://autoafleveren.nl',
7
- brandImage: 'https://autoafleveren.nl/wp-content/uploads/2021/05/Autoafleveren-wit-200x18.png',
8
- brandTarget: '_self',
9
-
10
- colorPrimary: 'rgb(61, 197, 20)',
11
- colorSecondary: '#47a6dc',
12
- });
@@ -1,2 +0,0 @@
1
- export { default as light } from './light';
2
- export { default as dark } from './dark';
@@ -1,12 +0,0 @@
1
- import { create } from '@storybook/theming';
2
-
3
- export default create({
4
- base: 'light',
5
- brandTitle: 'AutoAfleveren.nl component library',
6
- brandUrl: 'https://autoafleveren.nl',
7
- brandImage: 'https://autoafleveren.nl/wp-content/uploads/2021/05/Autoafleveren.nl_logo_300.png',
8
- brandTarget: '_self',
9
-
10
- colorPrimary: 'rgb(61, 197, 20)',
11
- colorSecondary: '#47a6dc',
12
- });
Binary file