@dcrackel/hematournamentui 1.0.22 → 1.0.23

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 (74) hide show
  1. package/.eslintrc.js +18 -18
  2. package/.gitattributes +2 -2
  3. package/.prettierignore +1 -1
  4. package/.storybook/main.js +18 -18
  5. package/.storybook/mockRoutes.js +9 -9
  6. package/.storybook/preview-head.html +3 -3
  7. package/.storybook/preview.js +17 -17
  8. package/LICENSE +21 -21
  9. package/README.md +83 -83
  10. package/dist/HemaTouranmentUI-lib.es.js +7060 -6920
  11. package/dist/HemaTouranmentUI-lib.umd.js +27 -27
  12. package/dist/style.css +1 -1
  13. package/index.html +12 -12
  14. package/package.json +58 -58
  15. package/postcss.config.js +6 -6
  16. package/prettier.config.js +10 -10
  17. package/src/index.js +25 -25
  18. package/src/main.js +2 -2
  19. package/src/mocks/fileMock.js +1 -1
  20. package/src/mocks/tournamentMock.js +34 -34
  21. package/src/stories/Atoms/Icon/BaseIcon.stories.js +54 -54
  22. package/src/stories/Atoms/Icon/BaseIcon.test.js +91 -91
  23. package/src/stories/Atoms/Icon/BaseIcon.vue +48 -48
  24. package/src/stories/Atoms/Input/BaseInput.stories.js +29 -28
  25. package/src/stories/Atoms/Input/BaseInput.test.js +87 -87
  26. package/src/stories/Atoms/Input/BaseInput.vue +85 -73
  27. package/src/stories/Atoms/RadioGroup/BaseRadioGroup.stories.js +31 -31
  28. package/src/stories/Atoms/RadioGroup/BaseRadioGroup.test.js +49 -49
  29. package/src/stories/Atoms/RadioGroup/BaseRadioGroup.vue +49 -49
  30. package/src/stories/Atoms/Tag/BaseTag.stories.js +29 -29
  31. package/src/stories/Atoms/Tag/BaseTag.test.js +42 -42
  32. package/src/stories/Atoms/Tag/BaseTag.vue +57 -57
  33. package/src/stories/Atoms/Text/BaseText.stories.js +77 -77
  34. package/src/stories/Atoms/Text/BaseText.test.js +172 -172
  35. package/src/stories/Atoms/Text/BaseText.vue +170 -170
  36. package/src/stories/Configure.mdx +320 -320
  37. package/src/stories/Molecules/Breadcrumb/Admin/Breadcrumb.stories.js +41 -41
  38. package/src/stories/Molecules/Breadcrumb/Admin/Breadcrumb.test.js +80 -80
  39. package/src/stories/Molecules/Breadcrumb/Admin/Breadcrumb.vue +31 -31
  40. package/src/stories/Molecules/Button/BaseButton.stories.js +93 -76
  41. package/src/stories/Molecules/Button/BaseButton.test.js +147 -147
  42. package/src/stories/Molecules/Button/BaseButton.vue +116 -125
  43. package/src/stories/Molecules/Cards/Detail/TournamentCardDetail.stories.js +33 -33
  44. package/src/stories/Molecules/Cards/Detail/TournamentCardDetail.vue +38 -38
  45. package/src/stories/Molecules/Cards/Header/TournamentCardHeader.stories.js +48 -48
  46. package/src/stories/Molecules/Cards/Header/TournamentCardHeader.vue +40 -40
  47. package/src/stories/Molecules/Filters/FilterAndSortBar/FilterAndSortBar.stories.js +36 -36
  48. package/src/stories/Molecules/Filters/FilterAndSortBar/FilterAndSortBar.vue +49 -49
  49. package/src/stories/Molecules/Filters/FilterUpcomingPast/FilterUpcomingPast.stories.js +32 -32
  50. package/src/stories/Molecules/Filters/FilterUpcomingPast/FilterUpcomingPast.vue +46 -46
  51. package/src/stories/Organisms/AddressAutocomplete/AddressAutocomplete.stories.js +25 -25
  52. package/src/stories/Organisms/AddressAutocomplete/AddressAutocomplete.vue +51 -51
  53. package/src/stories/Organisms/DatePicker/DatePicker.stories.js +25 -25
  54. package/src/stories/Organisms/DatePicker/DatePicker.vue +62 -62
  55. package/src/stories/Organisms/DropDown/DropDownMenu.stories.js +34 -34
  56. package/src/stories/Organisms/DropDown/DropDownMenu.vue +51 -51
  57. package/src/stories/Organisms/Grid/GridContainer.stories.js +47 -47
  58. package/src/stories/Organisms/Grid/GridContainer.vue +108 -108
  59. package/src/stories/Organisms/ImageCropper/ImageCropper.stories.js +28 -28
  60. package/src/stories/Organisms/ImageCropper/ImageCropper.vue +86 -86
  61. package/src/stories/Organisms/TextBoxEditor/TextBoxEditor.stories.js +28 -28
  62. package/src/stories/Organisms/TextBoxEditor/TextBoxEditor.vue +97 -97
  63. package/src/stories/Organisms/TournamentCard/TournamentCard.stories.js +37 -37
  64. package/src/stories/Organisms/TournamentCard/TournamentCard.vue +35 -35
  65. package/src/stories/Templates/Forms/AddTournamentPageOne/AddTournamentPageOne.stories.js +25 -25
  66. package/src/stories/Templates/Forms/AddTournamentPageOne/AddTournamentPageOne.vue +138 -137
  67. package/src/stories/Templates/Forms/AddTournamentPageTwo/AddTournamentPageTwo.stories.js +35 -0
  68. package/src/stories/Templates/Forms/AddTournamentPageTwo/AddTournamentPageTwo.vue +121 -0
  69. package/src/stories/Templates/Menu/Admin/AdminLeftMenu.stories.js +28 -28
  70. package/src/stories/Templates/Menu/Admin/AdminLeftMenu.vue +57 -57
  71. package/tailwind/output.css +1247 -1212
  72. package/tailwind/tailwind.css +4 -4
  73. package/tailwind.config.js +50 -50
  74. package/vite.config.js +23 -23
@@ -1,4 +1,4 @@
1
- @import 'tailwindcss/base';
2
- @import 'tailwindcss/components';
3
- @import 'tailwindcss/utilities';
4
- @import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600;700&display=swap');
1
+ @import 'tailwindcss/base';
2
+ @import 'tailwindcss/components';
3
+ @import 'tailwindcss/utilities';
4
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600;700&display=swap');
@@ -1,50 +1,50 @@
1
- /** @type {import('tailwindcss').Config} */
2
- export default {
3
- content: [
4
- "./index.html",
5
- "./src/**/*.{vue,js,ts,jsx,tsx}",
6
- ],
7
- theme: {
8
- extend: {
9
- fontFamily: {
10
- sans: ['Inter', 'system-ui', '-apple-system', 'BlinkMacSystemFont']
11
- },
12
- lineHeight: {
13
- 'h1': '1.25',
14
- 'h2': '1.5',
15
- 'h3': '1.75'
16
- },
17
- colors: {
18
- primary: '#141B33',
19
- primaryHighlight: '#52586C',
20
- secondary: '#2B324B',
21
- quaternary: '#8991AC',
22
- tertiary: '#F6FAFD',
23
- dropdownSelect: '#D5E4EE',
24
- neutral: '#FFFFFF',
25
- bright: '#6190f2',
26
- alarm: '#FD546F',
27
- alarmText: '#F90229',
28
- alert: '#FFD255'
29
- }
30
- },
31
- },
32
- plugins: [
33
- function ({ addBase, theme }) {
34
- addBase({
35
- h1: {
36
- fontSize: theme('fontSize.3xl'),
37
- lineHeight: theme('lineHeight.leading-h1'),
38
- },
39
- h2: {
40
- fontSize: theme('fontSize.2xl'),
41
- lineHeight: theme('lineHeight.h2'),
42
- },
43
- h3: {
44
- fontSize: theme('fontSize.xl'),
45
- lineHeight: theme('lineHeight.h3'),
46
- },
47
- });
48
- },
49
- ],
50
- }
1
+ /** @type {import('tailwindcss').Config} */
2
+ export default {
3
+ content: [
4
+ "./index.html",
5
+ "./src/**/*.{vue,js,ts,jsx,tsx}",
6
+ ],
7
+ theme: {
8
+ extend: {
9
+ fontFamily: {
10
+ sans: ['Inter', 'system-ui', '-apple-system', 'BlinkMacSystemFont']
11
+ },
12
+ lineHeight: {
13
+ 'h1': '1.25',
14
+ 'h2': '1.5',
15
+ 'h3': '1.75'
16
+ },
17
+ colors: {
18
+ primary: '#141B33',
19
+ primaryHighlight: '#52586C',
20
+ secondary: '#2B324B',
21
+ quaternary: '#8991AC',
22
+ tertiary: '#F6FAFD',
23
+ dropdownSelect: '#D5E4EE',
24
+ neutral: '#FFFFFF',
25
+ bright: '#6190f2',
26
+ alarm: '#FD546F',
27
+ alarmText: '#F90229',
28
+ alert: '#FFD255'
29
+ }
30
+ },
31
+ },
32
+ plugins: [
33
+ function ({ addBase, theme }) {
34
+ addBase({
35
+ h1: {
36
+ fontSize: theme('fontSize.3xl'),
37
+ lineHeight: theme('lineHeight.leading-h1'),
38
+ },
39
+ h2: {
40
+ fontSize: theme('fontSize.2xl'),
41
+ lineHeight: theme('lineHeight.h2'),
42
+ },
43
+ h3: {
44
+ fontSize: theme('fontSize.xl'),
45
+ lineHeight: theme('lineHeight.h3'),
46
+ },
47
+ });
48
+ },
49
+ ],
50
+ }
package/vite.config.js CHANGED
@@ -1,23 +1,23 @@
1
- import { defineConfig } from 'vite'
2
- import vue from '@vitejs/plugin-vue'
3
- export default defineConfig({
4
- plugins: [vue()],
5
- test: {
6
- environment: "happy-dom",
7
- },
8
- build: {
9
- lib: {
10
- entry: 'src/index.js', // this will be your entry point file where you export components
11
- name: 'HemaTournamentUI', // this is the name of your library
12
- fileName: (format) => `HemaTouranmentUI-lib.${format}.js`
13
- },
14
- rollupOptions: {
15
- external: ['vue'], // add external dependencies here
16
- output: {
17
- globals: {
18
- vue: 'Vue'
19
- }
20
- }
21
- }
22
- }
23
- })
1
+ import { defineConfig } from 'vite'
2
+ import vue from '@vitejs/plugin-vue'
3
+ export default defineConfig({
4
+ plugins: [vue()],
5
+ test: {
6
+ environment: "happy-dom",
7
+ },
8
+ build: {
9
+ lib: {
10
+ entry: 'src/index.js', // this will be your entry point file where you export components
11
+ name: 'HemaTournamentUI', // this is the name of your library
12
+ fileName: (format) => `HemaTouranmentUI-lib.${format}.js`
13
+ },
14
+ rollupOptions: {
15
+ external: ['vue'], // add external dependencies here
16
+ output: {
17
+ globals: {
18
+ vue: 'Vue'
19
+ }
20
+ }
21
+ }
22
+ }
23
+ })