@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.
- package/.eslintrc.js +18 -18
- package/.gitattributes +2 -2
- package/.prettierignore +1 -1
- package/.storybook/main.js +18 -18
- package/.storybook/mockRoutes.js +9 -9
- package/.storybook/preview-head.html +3 -3
- package/.storybook/preview.js +17 -17
- package/LICENSE +21 -21
- package/README.md +83 -83
- package/dist/HemaTouranmentUI-lib.es.js +7060 -6920
- package/dist/HemaTouranmentUI-lib.umd.js +27 -27
- package/dist/style.css +1 -1
- package/index.html +12 -12
- package/package.json +58 -58
- package/postcss.config.js +6 -6
- package/prettier.config.js +10 -10
- package/src/index.js +25 -25
- package/src/main.js +2 -2
- package/src/mocks/fileMock.js +1 -1
- package/src/mocks/tournamentMock.js +34 -34
- package/src/stories/Atoms/Icon/BaseIcon.stories.js +54 -54
- package/src/stories/Atoms/Icon/BaseIcon.test.js +91 -91
- package/src/stories/Atoms/Icon/BaseIcon.vue +48 -48
- package/src/stories/Atoms/Input/BaseInput.stories.js +29 -28
- package/src/stories/Atoms/Input/BaseInput.test.js +87 -87
- package/src/stories/Atoms/Input/BaseInput.vue +85 -73
- package/src/stories/Atoms/RadioGroup/BaseRadioGroup.stories.js +31 -31
- package/src/stories/Atoms/RadioGroup/BaseRadioGroup.test.js +49 -49
- package/src/stories/Atoms/RadioGroup/BaseRadioGroup.vue +49 -49
- package/src/stories/Atoms/Tag/BaseTag.stories.js +29 -29
- package/src/stories/Atoms/Tag/BaseTag.test.js +42 -42
- package/src/stories/Atoms/Tag/BaseTag.vue +57 -57
- package/src/stories/Atoms/Text/BaseText.stories.js +77 -77
- package/src/stories/Atoms/Text/BaseText.test.js +172 -172
- package/src/stories/Atoms/Text/BaseText.vue +170 -170
- package/src/stories/Configure.mdx +320 -320
- package/src/stories/Molecules/Breadcrumb/Admin/Breadcrumb.stories.js +41 -41
- package/src/stories/Molecules/Breadcrumb/Admin/Breadcrumb.test.js +80 -80
- package/src/stories/Molecules/Breadcrumb/Admin/Breadcrumb.vue +31 -31
- package/src/stories/Molecules/Button/BaseButton.stories.js +93 -76
- package/src/stories/Molecules/Button/BaseButton.test.js +147 -147
- package/src/stories/Molecules/Button/BaseButton.vue +116 -125
- package/src/stories/Molecules/Cards/Detail/TournamentCardDetail.stories.js +33 -33
- package/src/stories/Molecules/Cards/Detail/TournamentCardDetail.vue +38 -38
- package/src/stories/Molecules/Cards/Header/TournamentCardHeader.stories.js +48 -48
- package/src/stories/Molecules/Cards/Header/TournamentCardHeader.vue +40 -40
- package/src/stories/Molecules/Filters/FilterAndSortBar/FilterAndSortBar.stories.js +36 -36
- package/src/stories/Molecules/Filters/FilterAndSortBar/FilterAndSortBar.vue +49 -49
- package/src/stories/Molecules/Filters/FilterUpcomingPast/FilterUpcomingPast.stories.js +32 -32
- package/src/stories/Molecules/Filters/FilterUpcomingPast/FilterUpcomingPast.vue +46 -46
- package/src/stories/Organisms/AddressAutocomplete/AddressAutocomplete.stories.js +25 -25
- package/src/stories/Organisms/AddressAutocomplete/AddressAutocomplete.vue +51 -51
- package/src/stories/Organisms/DatePicker/DatePicker.stories.js +25 -25
- package/src/stories/Organisms/DatePicker/DatePicker.vue +62 -62
- package/src/stories/Organisms/DropDown/DropDownMenu.stories.js +34 -34
- package/src/stories/Organisms/DropDown/DropDownMenu.vue +51 -51
- package/src/stories/Organisms/Grid/GridContainer.stories.js +47 -47
- package/src/stories/Organisms/Grid/GridContainer.vue +108 -108
- package/src/stories/Organisms/ImageCropper/ImageCropper.stories.js +28 -28
- package/src/stories/Organisms/ImageCropper/ImageCropper.vue +86 -86
- package/src/stories/Organisms/TextBoxEditor/TextBoxEditor.stories.js +28 -28
- package/src/stories/Organisms/TextBoxEditor/TextBoxEditor.vue +97 -97
- package/src/stories/Organisms/TournamentCard/TournamentCard.stories.js +37 -37
- package/src/stories/Organisms/TournamentCard/TournamentCard.vue +35 -35
- package/src/stories/Templates/Forms/AddTournamentPageOne/AddTournamentPageOne.stories.js +25 -25
- package/src/stories/Templates/Forms/AddTournamentPageOne/AddTournamentPageOne.vue +138 -137
- package/src/stories/Templates/Forms/AddTournamentPageTwo/AddTournamentPageTwo.stories.js +35 -0
- package/src/stories/Templates/Forms/AddTournamentPageTwo/AddTournamentPageTwo.vue +121 -0
- package/src/stories/Templates/Menu/Admin/AdminLeftMenu.stories.js +28 -28
- package/src/stories/Templates/Menu/Admin/AdminLeftMenu.vue +57 -57
- package/tailwind/output.css +1247 -1212
- package/tailwind/tailwind.css +4 -4
- package/tailwind.config.js +50 -50
- package/vite.config.js +23 -23
package/tailwind/tailwind.css
CHANGED
|
@@ -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');
|
package/tailwind.config.js
CHANGED
|
@@ -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
|
+
})
|