@dative-gpi/foundation-shared-components 0.0.2

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 (52) hide show
  1. package/components/FSBreadcrumbs.vue +64 -0
  2. package/components/FSButton.vue +82 -0
  3. package/components/FSCheckbox.vue +111 -0
  4. package/components/FSCol.vue +69 -0
  5. package/components/FSFadeOut.vue +67 -0
  6. package/components/FSIcon.vue +30 -0
  7. package/components/FSRadio.vue +118 -0
  8. package/components/FSRadioGroup.vue +75 -0
  9. package/components/FSRow.vue +75 -0
  10. package/components/FSSlideGroup.vue +57 -0
  11. package/components/FSSpan.vue +24 -0
  12. package/components/FSSwitch.vue +112 -0
  13. package/components/FSTab.vue +65 -0
  14. package/components/FSTabs.vue +60 -0
  15. package/components/FSTag.vue +85 -0
  16. package/components/FSTextField.vue +60 -0
  17. package/components/FSWindow.vue +26 -0
  18. package/components/FSWrapGroup.vue +56 -0
  19. package/composables/index.ts +2 -0
  20. package/composables/useColors.ts +64 -0
  21. package/composables/useTouch.ts +9 -0
  22. package/defaults/FSButtons.ts +63 -0
  23. package/importMap.json +59 -0
  24. package/importsGenerator.py +39 -0
  25. package/package.json +23 -0
  26. package/plugins/colorPlugin.ts +13 -0
  27. package/plugins/index.ts +1 -0
  28. package/shims-plugin.d.ts +9 -0
  29. package/styles/components/fs_breadcrumbs.scss +28 -0
  30. package/styles/components/fs_button.scss +28 -0
  31. package/styles/components/fs_checkbox.scss +15 -0
  32. package/styles/components/fs_col.scss +6 -0
  33. package/styles/components/fs_fade_out.scss +27 -0
  34. package/styles/components/fs_icon.scss +17 -0
  35. package/styles/components/fs_radio.scss +15 -0
  36. package/styles/components/fs_row.scss +6 -0
  37. package/styles/components/fs_span.scss +8 -0
  38. package/styles/components/fs_switch.scss +51 -0
  39. package/styles/components/fs_tabs.scss +63 -0
  40. package/styles/components/fs_tag.scss +45 -0
  41. package/styles/components/fs_text_field.scss +24 -0
  42. package/styles/components/fs_wrap_group.scss +12 -0
  43. package/styles/components/index.scss +14 -0
  44. package/styles/globals/breakpoints.scss +13 -0
  45. package/styles/globals/index.scss +6 -0
  46. package/styles/globals/overrides.scss +41 -0
  47. package/styles/globals/scrollbars.scss +45 -0
  48. package/styles/globals/text_fonts.scss +110 -0
  49. package/styles/globals/touchscreen.scss +11 -0
  50. package/styles/main.scss +3 -0
  51. package/themes/default.ts +24 -0
  52. package/themes/index.ts +1 -0
@@ -0,0 +1,110 @@
1
+ .text-h1 {
2
+ font-family: 'Montserrat', sans-serif !important;
3
+ font-style: normal;
4
+ font-weight: 700;
5
+
6
+ @include web {
7
+ font-size: 36px;
8
+ line-height: 40px;
9
+ letter-spacing: -0.72px;
10
+ }
11
+
12
+ @include mobile {
13
+ font-size: 29px;
14
+ line-height: 32px;
15
+ letter-spacing: -1.45px;
16
+ }
17
+ }
18
+
19
+ .text-h2 {
20
+ font-family: 'Montserrat', sans-serif !important;
21
+ font-style: normal;
22
+ font-weight: 600;
23
+
24
+ @include web {
25
+ font-size: 27px;
26
+ line-height: 32px;
27
+ letter-spacing: -0.81px;
28
+ }
29
+
30
+ @include mobile {
31
+ font-size: 22px;
32
+ line-height: 24px;
33
+ letter-spacing: -0.88px;
34
+ }
35
+ }
36
+
37
+ .text-h3 {
38
+ font-family: 'Montserrat', sans-serif !important;
39
+ font-style: normal;
40
+ font-weight: 600;
41
+
42
+ @include web {
43
+ font-size: 21px;
44
+ line-height: 24px;
45
+ letter-spacing: -0.63px;
46
+ }
47
+
48
+ @include mobile {
49
+ font-size: 17px;
50
+ line-height: 20px;
51
+ letter-spacing: -0.51px;
52
+ }
53
+ }
54
+
55
+ .text-body {
56
+ font-family: 'Montserrat', sans-serif !important;
57
+ font-style: normal !important;
58
+ font-weight: 500 !important;
59
+ text-transform: none !important;
60
+
61
+ @include web {
62
+ font-size: 16px !important;
63
+ line-height: 20px !important;
64
+ letter-spacing: -0.48px !important;
65
+ }
66
+
67
+ @include mobile {
68
+ font-size: 13px !important;
69
+ line-height: 16px !important;
70
+ letter-spacing: -0.39px !important;
71
+ }
72
+ }
73
+
74
+ .text-button {
75
+ font-family: 'Montserrat', sans-serif !important;
76
+ font-style: normal !important;
77
+ font-weight: 700 !important;
78
+ text-transform: none !important;
79
+
80
+ @include web {
81
+ font-size: 16px !important;
82
+ line-height: 20px !important;
83
+ letter-spacing: -0.48px !important;
84
+ }
85
+
86
+ @include mobile {
87
+ font-size: 13px !important;
88
+ line-height: 16px !important;
89
+ letter-spacing: -0.39px !important;
90
+ }
91
+ }
92
+
93
+ .text-overline {
94
+ font-family: 'Montserrat', sans-serif !important;
95
+ font-style: normal !important;
96
+ font-weight: 500 !important;
97
+ text-transform: none !important;
98
+
99
+ @include web {
100
+ font-size: 12px !important;
101
+ line-height: 16px !important;
102
+ letter-spacing: 0.08px !important;
103
+ }
104
+
105
+ @include mobile {
106
+ font-size: 10px !important;
107
+ line-height: 16px !important;
108
+ letter-spacing: 0.19px !important;
109
+ }
110
+ }
@@ -0,0 +1,11 @@
1
+ @mixin touchscreen {
2
+ @media (hover: none) {
3
+ @content;
4
+ }
5
+ }
6
+
7
+ @mixin clickscreen {
8
+ @media not all and (hover: none) {
9
+ @content;
10
+ }
11
+ }
@@ -0,0 +1,3 @@
1
+ // Warning: Imports are loaded in order. If you need to use a variable / property / mixin, import it after the file that defines it
2
+ @import 'globals/index.scss';
3
+ @import 'components/index.scss';
@@ -0,0 +1,24 @@
1
+ import { ThemeDefinition } from "vuetify";
2
+
3
+ export enum ColorBase {
4
+ Background = "background",
5
+ Light = "light",
6
+ Dark = "dark",
7
+ Primary = "primary",
8
+ Error = "error",
9
+ Warning = "warning",
10
+ Success = "success"
11
+ };
12
+
13
+ export const DefaultTheme: ThemeDefinition = {
14
+ dark: false,
15
+ colors: {
16
+ "background": "#F9F9F9",
17
+ "light" : "#DEE0E3",
18
+ "dark" : "#4D4D4D",
19
+ "primary" : "#0059E5",
20
+ "success" : "#56CC1F",
21
+ "warning" : "#FFB833",
22
+ "error" : "#EB1313"
23
+ }
24
+ }
@@ -0,0 +1 @@
1
+ export * from "./default";