@usssa/component-library 1.0.0-alpha.2 → 1.0.0-alpha.200

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 (139) hide show
  1. package/README.md +8 -5
  2. package/package.json +24 -8
  3. package/src/assets/logo.svg +19 -0
  4. package/src/assets/no-result.svg +25 -0
  5. package/src/assets/quasar-logo-vertical.svg +15 -0
  6. package/src/assets/upload-illustration.svg +48 -0
  7. package/src/components/ComponentLink.vue +26 -0
  8. package/src/components/core/UAvatar.vue +210 -0
  9. package/src/components/core/UAvatarGroup.vue +129 -0
  10. package/src/components/core/UBadgeStd.vue +96 -0
  11. package/src/components/core/UBannerStd.vue +184 -0
  12. package/src/components/core/UBreadCrumbs.vue +171 -0
  13. package/src/components/core/UBtnIcon.vue +160 -0
  14. package/src/components/core/UBtnStd.vue +134 -0
  15. package/src/components/core/UBtnToggle.vue +73 -0
  16. package/src/components/core/UCheckboxStd.vue +101 -0
  17. package/src/components/core/UChip.vue +274 -0
  18. package/src/components/core/UDate.vue +581 -0
  19. package/src/components/core/UDialogStd.vue +614 -0
  20. package/src/components/core/UDrawer/UDrawer.vue +471 -0
  21. package/src/components/core/UDrawer/UDrawerMenuItem.vue +124 -0
  22. package/src/components/core/UExpansionStd.vue +266 -0
  23. package/src/components/core/UInnerLoader.vue +69 -0
  24. package/src/components/core/UInputAddressLookup.vue +484 -0
  25. package/src/components/core/UInputPhoneStd.vue +303 -0
  26. package/src/components/core/UInputTextStd.vue +308 -0
  27. package/src/components/core/UInputTypeahead.vue +44 -0
  28. package/src/components/core/UInputTypeaheadAdvanceSearch.vue +134 -0
  29. package/src/components/core/UMenuButtonStd.vue +280 -0
  30. package/src/components/core/UMenuDropdown.vue +80 -0
  31. package/src/components/core/UMenuDropdownAdvancedSearch.vue +306 -0
  32. package/src/components/core/UMenuItem.vue +183 -0
  33. package/src/components/core/UMenuSearch.vue +73 -0
  34. package/src/components/core/UModal.vue +660 -0
  35. package/src/components/core/UMultiSelectStd.vue +699 -0
  36. package/src/components/core/UPagination.vue +156 -0
  37. package/src/components/core/URadioBtn.vue +139 -0
  38. package/src/components/core/URadioStd.vue +71 -0
  39. package/src/components/core/USelectStd.vue +564 -0
  40. package/src/components/core/USheet.vue +349 -0
  41. package/src/components/core/UStepper/UProgress.vue +157 -0
  42. package/src/components/core/UStepper/UStepper.vue +211 -0
  43. package/src/components/core/UTabBtnStd.vue +181 -0
  44. package/src/components/core/UTable/UTable.vue +1984 -0
  45. package/src/components/core/UTable/UTd.vue +63 -0
  46. package/src/components/core/UTable/UTh.vue +48 -0
  47. package/src/components/core/UTable/UTr.vue +20 -0
  48. package/src/components/core/UTableStd.vue +1449 -0
  49. package/src/components/core/UTabsStd.vue +140 -0
  50. package/src/components/core/UToggleStd.vue +164 -0
  51. package/src/components/core/UToolbar/UCustomMenuIcon.vue +58 -0
  52. package/src/components/core/UToolbar/UToolbar.vue +226 -0
  53. package/src/components/core/UTooltip.vue +78 -0
  54. package/src/components/core/UTypeahead.vue +890 -0
  55. package/src/components/core/UUploader.vue +644 -0
  56. package/src/components/index.js +91 -0
  57. package/src/composables/useNotify.js +79 -0
  58. package/src/composables/useOverlayLoader.js +23 -0
  59. package/src/composables/useScreenType.js +30 -0
  60. package/src/css/app.sass +168 -0
  61. package/src/css/colors.sass +103 -0
  62. package/src/css/media.sass +1 -0
  63. package/src/css/quasar.variables.sass +150 -0
  64. package/src/css/typography.sass +0 -0
  65. package/src/css/vars/colors.variables.sass +113 -0
  66. package/src/utils/data.ts +170 -0
  67. package/dist/spa/assets/Avatar.45667392.js +0 -9
  68. package/dist/spa/assets/AvatarGroup.99557443.js +0 -9
  69. package/dist/spa/assets/AvatarGroup.bb4cd03a.css +0 -1
  70. package/dist/spa/assets/BadgeStd.ee4129c5.js +0 -6
  71. package/dist/spa/assets/BannerPage.6c6a98c4.js +0 -10
  72. package/dist/spa/assets/BannerPage.d195fcac.css +0 -1
  73. package/dist/spa/assets/BtnIcon.89e50d2e.css +0 -1
  74. package/dist/spa/assets/BtnIcon.934f8c5b.js +0 -10
  75. package/dist/spa/assets/BtnStd.95fc4510.js +0 -11
  76. package/dist/spa/assets/CheckBox.3c204a4b.css +0 -1
  77. package/dist/spa/assets/CheckBox.fbc0bd1a.js +0 -7
  78. package/dist/spa/assets/Chip.49ffc857.js +0 -11
  79. package/dist/spa/assets/Chip.74acaa33.css +0 -1
  80. package/dist/spa/assets/ComponentBase.1ae19b7e.js +0 -1
  81. package/dist/spa/assets/ErrorNotFound.6cccfaee.js +0 -1
  82. package/dist/spa/assets/IndexPage.17d09b76.js +0 -1
  83. package/dist/spa/assets/InputText.19c0d7d1.css +0 -1
  84. package/dist/spa/assets/InputText.3fcd97a4.js +0 -20
  85. package/dist/spa/assets/KFOkCnqEu92Fr1MmgVxIIzQ.34e9582c.woff +0 -0
  86. package/dist/spa/assets/KFOlCnqEu92Fr1MmEU9fBBc-.9ce7f3ac.woff +0 -0
  87. package/dist/spa/assets/KFOlCnqEu92Fr1MmSU5fBBc-.bf14c7d7.woff +0 -0
  88. package/dist/spa/assets/KFOlCnqEu92Fr1MmWUlfBBc-.e0fd57c0.woff +0 -0
  89. package/dist/spa/assets/KFOlCnqEu92Fr1MmYUtfBBc-.f6537e32.woff +0 -0
  90. package/dist/spa/assets/KFOmCnqEu92Fr1Mu4mxM.f2abf7fb.woff +0 -0
  91. package/dist/spa/assets/MainLayout.912bb0f8.js +0 -1
  92. package/dist/spa/assets/MultiSelectStd.644b108c.js +0 -17
  93. package/dist/spa/assets/MultiSelectStd.c7af49eb.css +0 -1
  94. package/dist/spa/assets/QAvatar.5940a79e.js +0 -1
  95. package/dist/spa/assets/QCheckbox.48b43f7d.js +0 -1
  96. package/dist/spa/assets/QPage.ca395ec4.js +0 -1
  97. package/dist/spa/assets/QRadio.0a7f5e2c.js +0 -1
  98. package/dist/spa/assets/QResizeObserver.30c3566c.js +0 -1
  99. package/dist/spa/assets/QSelect.a40eb786.js +0 -1
  100. package/dist/spa/assets/QTabs.72f2507e.js +0 -1
  101. package/dist/spa/assets/QToggle.376c48be.js +0 -1
  102. package/dist/spa/assets/QTooltip.5aa8e325.js +0 -1
  103. package/dist/spa/assets/Radio.0ac35288.js +0 -7
  104. package/dist/spa/assets/Radio.aca54a89.css +0 -1
  105. package/dist/spa/assets/SelectStd.5c6891db.css +0 -1
  106. package/dist/spa/assets/SelectStd.daf1def9.js +0 -16
  107. package/dist/spa/assets/TabButtonPage.20e871dd.js +0 -7
  108. package/dist/spa/assets/TabButtonPage.36ce9f9c.css +0 -1
  109. package/dist/spa/assets/TabsPage.9b94ff39.css +0 -1
  110. package/dist/spa/assets/TabsPage.b92cccee.js +0 -9
  111. package/dist/spa/assets/TogglePage.8129b631.css +0 -1
  112. package/dist/spa/assets/TogglePage.ba6e325c.js +0 -9
  113. package/dist/spa/assets/UAvatar.dda7e478.js +0 -1
  114. package/dist/spa/assets/UAvatar.ea8daa38.css +0 -1
  115. package/dist/spa/assets/UBadgeStd.3965db9a.css +0 -1
  116. package/dist/spa/assets/UBadgeStd.e165ee05.js +0 -1
  117. package/dist/spa/assets/UBtnStd.979ec4e8.js +0 -1
  118. package/dist/spa/assets/UBtnStd.bdd4f5e5.css +0 -1
  119. package/dist/spa/assets/UTooltip.d2e04d0c.js +0 -1
  120. package/dist/spa/assets/UTooltip.efa029a7.css +0 -1
  121. package/dist/spa/assets/dom.e9d4ad51.js +0 -1
  122. package/dist/spa/assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.fd84f88b.woff +0 -0
  123. package/dist/spa/assets/flUhRq6tzZclQEJ-Vdg-IuiaDsNcIhQ8tQ.4a4dbc62.woff2 +0 -0
  124. package/dist/spa/assets/format.41663636.js +0 -1
  125. package/dist/spa/assets/index.43c62a18.js +0 -21
  126. package/dist/spa/assets/index.4fbd73cf.css +0 -5
  127. package/dist/spa/assets/option-sizes.10cc02d3.js +0 -1
  128. package/dist/spa/assets/render.e67ff27a.js +0 -1
  129. package/dist/spa/assets/tooltip.7c0d0774.js +0 -8
  130. package/dist/spa/assets/touch.9135741d.js +0 -1
  131. package/dist/spa/assets/use-checkbox.44a623c0.js +0 -1
  132. package/dist/spa/favicon.ico +0 -0
  133. package/dist/spa/icons/caret-down.svg +0 -5
  134. package/dist/spa/icons/circle-xmark.svg +0 -6
  135. package/dist/spa/icons/favicon-128x128.png +0 -0
  136. package/dist/spa/icons/favicon-16x16.png +0 -0
  137. package/dist/spa/icons/favicon-32x32.png +0 -0
  138. package/dist/spa/icons/favicon-96x96.png +0 -0
  139. package/dist/spa/index.html +0 -3
@@ -0,0 +1,91 @@
1
+ // import BtnStd from "./BtnStd.vue";
2
+ import UAvatar from './core/UAvatar.vue'
3
+ import UAvatarGroup from './core/UAvatarGroup.vue'
4
+ import UBadgeStd from './core/UBadgeStd.vue'
5
+ import UBannerStd from './core/UBannerStd.vue'
6
+ import UBreadCrumbs from './core/UBreadCrumbs.vue'
7
+ import UBtnIcon from './core/UBtnIcon.vue'
8
+ import UBtnStd from './core/UBtnStd.vue'
9
+ import UBtnToggle from './core/UBtnToggle.vue'
10
+ import UCheckboxStd from './core/UCheckboxStd.vue'
11
+ import UChip from './core/UChip.vue'
12
+ import UDate from './core/UDate.vue'
13
+ import UDialogStd from './core/UDialogStd.vue'
14
+ import UDrawer from './core/UDrawer/UDrawer.vue'
15
+ import UExpansionStd from './core/UExpansionStd.vue'
16
+ import UInnerLoader from './core/UInnerLoader.vue'
17
+ import UInputAddressLookup from './core/UInputAddressLookup.vue'
18
+ import UInputPhoneStd from './core/UInputPhoneStd.vue'
19
+ import UInputTextStd from './core/UInputTextStd.vue'
20
+ import UInputTypeaheadAdvanceSearch from './core/UInputTypeaheadAdvanceSearch.vue'
21
+ import UMenuButtonStd from './core/UMenuButtonStd.vue'
22
+ import UMenuDropdown from './core/UMenuDropdown.vue'
23
+ import UMenuDropdownAdvancedSearch from './core/UMenuDropdownAdvancedSearch.vue'
24
+ import UMenuItem from './core/UMenuItem.vue'
25
+ import UMenuSearch from './core/UMenuSearch.vue'
26
+ import UModal from './core/UModal.vue'
27
+ import UMultiSelectStd from './core/UMultiSelectStd.vue'
28
+ import UPagination from './core/UPagination.vue'
29
+ import URadioBtn from './core/URadioBtn.vue'
30
+ import URadioStd from './core/URadioStd.vue'
31
+ import USelectStd from './core/USelectStd.vue'
32
+ import USheet from './core/USheet.vue'
33
+ import UStepper from './core/UStepper/UStepper.vue'
34
+ import UTabBtnStd from './core/UTabBtnStd.vue'
35
+ import UTableStd from './core/UTableStd.vue'
36
+ import UTabsStd from './core/UTabsStd.vue'
37
+ import UToggleStd from './core/UToggleStd.vue'
38
+ import UToolbar from './core/UToolbar/UToolbar.vue'
39
+ import UTooltip from './core/UTooltip.vue'
40
+ import UTypeahead from './core/UTypeahead.vue'
41
+ import UUploader from './core/UUploader.vue'
42
+
43
+ import { useNotify } from '../composables/useNotify.js'
44
+ import { useOverlayLoader } from '../composables/useOverlayLoader.js'
45
+ import { useScreenType } from '../composables/useScreenType.js'
46
+
47
+ export {
48
+ UAvatar,
49
+ UAvatarGroup,
50
+ UBadgeStd,
51
+ UBannerStd,
52
+ UBreadCrumbs,
53
+ UBtnIcon,
54
+ UBtnStd,
55
+ UBtnToggle,
56
+ UCheckboxStd,
57
+ UChip,
58
+ UDate,
59
+ UDialogStd,
60
+ UDrawer,
61
+ UExpansionStd,
62
+ UInnerLoader,
63
+ UInputAddressLookup,
64
+ UInputPhoneStd,
65
+ UInputTextStd,
66
+ UInputTypeaheadAdvanceSearch,
67
+ UMenuButtonStd,
68
+ UMenuDropdown,
69
+ UMenuDropdownAdvancedSearch,
70
+ UMenuItem,
71
+ UMenuSearch,
72
+ UModal,
73
+ UMultiSelectStd,
74
+ UPagination,
75
+ URadioBtn,
76
+ URadioStd,
77
+ USelectStd,
78
+ useNotify,
79
+ useOverlayLoader,
80
+ useScreenType,
81
+ USheet,
82
+ UStepper,
83
+ UTabBtnStd,
84
+ UTableStd,
85
+ UTabsStd,
86
+ UToggleStd,
87
+ UToolbar,
88
+ UTooltip,
89
+ UTypeahead,
90
+ UUploader,
91
+ }
@@ -0,0 +1,79 @@
1
+ import { useQuasar } from 'quasar'
2
+
3
+ export const useNotify = () => {
4
+ const $q = useQuasar()
5
+
6
+ const handleGetActions = (data) => {
7
+ if (data.actionLabel) {
8
+ return [
9
+ {
10
+ label: data.actionLabel,
11
+ color: 'white',
12
+ noCaps: true,
13
+ unelevated: true,
14
+ class: 'u-notify-action-button',
15
+ handler: data.handler,
16
+ },
17
+ ]
18
+ } else {
19
+ return [
20
+ {
21
+ round: true,
22
+ color: 'white',
23
+ flat: true,
24
+ class: `u-notify-action-icon u-action-icon-${data.type}`,
25
+ icon: 'close',
26
+ handler: data.handler,
27
+ },
28
+ ]
29
+ }
30
+ }
31
+ /**
32
+ * it is chaing the custom icon with font awesome custom class
33
+ * @param {*} icon
34
+ */
35
+
36
+ // Adding class to Notification element to make it customizable
37
+ const handleGetCustomIcon = (icon, randomId) => {
38
+ setTimeout(() => {
39
+ let getNotificationElement = document.querySelector(
40
+ `.q-notification-elem-${randomId}`
41
+ )
42
+ if (getNotificationElement) {
43
+ let childElement = getNotificationElement.querySelector(
44
+ `.q-notification__wrapper .q-notification__content`
45
+ )
46
+ if (childElement.childNodes.length == 1) {
47
+ const iconEleHTML = `<i class='${icon}' aria-label='Custom Icon' style='height:24px; width:24px; font-size: 24px; margin-right: 8px' alt='Custom Icon Alt'></i>`
48
+ childElement.insertAdjacentHTML('afterbegin', iconEleHTML)
49
+ }
50
+ }
51
+ }, 100)
52
+ }
53
+
54
+ const notify = (props) => {
55
+ if (props.label && props.type) {
56
+ let randomId = Math.floor(100000 + Math.random() * 900000)
57
+ let notifyProps = {
58
+ type: props.type === 'accent' ? 'negative' : props.type,
59
+ message: props.label,
60
+ caption: props.message,
61
+ color: props.type,
62
+ timeout: props.timeout,
63
+ classes: `u-notify u-type-${props.type} q-notification-elem-${randomId} ${props?.altclasses}`,
64
+ position: props.position,
65
+ progress: props.progress,
66
+ icon: props.icon ? handleGetCustomIcon(props.icon, randomId) : null,
67
+ actions: handleGetActions(props),
68
+ }
69
+
70
+ $q.notify(notifyProps)
71
+ } else {
72
+ console.error(
73
+ 'Error: Failed prop types: The props `label` and `type` are marked as required in Notify, but its values are `undefined'
74
+ )
75
+ }
76
+ }
77
+
78
+ return { notify }
79
+ }
@@ -0,0 +1,23 @@
1
+ import { Loading, QSpinnerGears } from 'quasar'
2
+
3
+ export const useOverlayLoader = () => {
4
+
5
+ const showLoader = (props = {}) => {
6
+
7
+ Loading.show({
8
+ backgroundColor: props?.backgroundColor,
9
+ customClass: props.customClass ? props.customClass : '',
10
+ message: props?.message,
11
+ messageColor: props.messageColor ? props.messageColor: 'dark',
12
+ spinner: props.spinner ? props.spinner : QSpinnerGears,
13
+ spinnerSize: props.spinnerSize ? props.spinnerSize : '6rem',
14
+ spinnerColor: props?.spinnerColor
15
+ })
16
+ }
17
+
18
+ const hideLoader = () =>{
19
+ Loading.hide()
20
+ }
21
+
22
+ return { showLoader, hideLoader }
23
+ }
@@ -0,0 +1,30 @@
1
+ import { computed, ref, watch } from 'vue'
2
+ import { useQuasar } from 'quasar'
3
+
4
+ export const useScreenType = () => {
5
+ const $q = useQuasar()
6
+
7
+ const getScreenType = () => {
8
+ if ($q.screen.xs) return 'mobile' // Extra small screens (phones)
9
+ if ($q.screen.sm) return 'tablet' // Small screens (tablets)
10
+ return 'desktop' // Default is desktop
11
+ }
12
+
13
+ const screenType = ref(getScreenType())
14
+
15
+ const screen = computed(() => ({
16
+ isDesktop: screenType.value === 'desktop',
17
+ isMobile: screenType.value === 'mobile',
18
+ isTablet: screenType.value === 'tablet',
19
+ }))
20
+
21
+ // Watch for Quasar's screen changes and update `screenType`
22
+ watch(
23
+ () => $q.screen.name,
24
+ () => {
25
+ screenType.value = getScreenType()
26
+ }
27
+ )
28
+
29
+ return screen
30
+ }
@@ -0,0 +1,168 @@
1
+ @import './vars/colors.variables'
2
+ @import './colors'
3
+ @import './typography'
4
+ @import 'flag-icons/css/flag-icons.min'
5
+
6
+ // @import './media'
7
+
8
+ *
9
+ font-family: 'neue-haas-grotesk-text', 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif'
10
+
11
+ //FOCUS CLASSES
12
+
13
+ .focus-primary
14
+ &:focus
15
+ box-shadow: 0 0 0 2px rgba(35, 75, 169, .20)
16
+
17
+ .focus-positive
18
+ &:focus
19
+ box-shadow: 0 0 0 2px rgba(36, 133, 96, .20)
20
+
21
+ .focus-warning
22
+ &:focus
23
+ box-shadow: 0 0 0 2px rgba(254, 78, 17, .20)
24
+
25
+ .focus-accent
26
+ &:focus
27
+ box-shadow: 0 0 0 2px rgba(203, 42, 61, .20)
28
+
29
+ .focus-info
30
+ &:focus
31
+ box-shadow: 0 0 0 2px rgba(92, 74, 184, .20)
32
+
33
+ .focus-neutral
34
+ &:focus
35
+ box-shadow: 0 0 0 2px rgba(220, 225, 233, .20)
36
+
37
+ //Shadow CLASSES
38
+
39
+ .shadow-1
40
+ box-shadow: 0px 0px 4px 0px rgba(16, 17, 20, 0.08)
41
+
42
+ .shadow-2
43
+ box-shadow: 0px 0px 8px 0px rgba(16, 17, 20, 0.12)
44
+
45
+ .shadow-3
46
+ box-shadow: 0px 12px 12px 0px rgba(16, 17, 20, 0.16)
47
+
48
+ .shadow-4
49
+ box-shadow: 0px 0px 16px 0px rgba(16, 17, 20, 0.20)
50
+
51
+ .shadow-down-1
52
+ box-shadow: 0px 2px 2px 0px rgba(16, 17, 20, 0.04)
53
+
54
+ .shadow-down-2
55
+ box-shadow: 0px 4px 4px 0px rgba(16, 17, 20, 0.08)
56
+
57
+ .shadow-down-3
58
+ box-shadow: 0px 8px 8px 0px rgba(16, 17, 20, 0.12)
59
+
60
+ .shadow-down-4
61
+ box-shadow: 0px 12px 12px 0px rgba(16, 17, 20, 0.16)
62
+
63
+ .shadow-up-1
64
+ box-shadow: 0px -2px 2px 0px rgba(16, 17, 20, 0.04)
65
+
66
+ .shadow-up-2
67
+ box-shadow: 0px -4px 4px 0px rgba(16, 17, 20, 0.08)
68
+
69
+ .shadow-up-3
70
+ box-shadow: 0px -8px 8px 0px rgba(16, 17, 20, 0.12)
71
+
72
+ .shadow-up-4
73
+ box-shadow: 0px -12px 12px 0px rgba(16, 17, 20, 0.16)
74
+
75
+
76
+ // NOTIFY Custom CLASSES
77
+
78
+ .u-notify
79
+ width: 25.25rem
80
+ min-height: $xxl
81
+ border-radius: $xs
82
+ padding: $sm $sm $xs $sm
83
+ box-shadow: 0px 0px 8px 0px rgba(16, 17, 20, 0.12)
84
+
85
+ .q-notification__actions
86
+ padding: 0rem 0.5rem
87
+
88
+ .q-notification__progress
89
+ width: 25.25rem
90
+ bottom: -0.5rem
91
+ border-radius: 0rem 0.25rem
92
+ height: 0.25rem
93
+
94
+ .q-notification__content
95
+ .q-icon
96
+ margin-right: $xs
97
+
98
+ .q-notification__message
99
+ padding: 0rem
100
+ > div:first-child
101
+ font-size: 0.875rem
102
+ font-weight: 500
103
+ line-height: 1.25rem
104
+ letter-spacing: 0.03333rem
105
+ overflow-wrap: break-word
106
+
107
+ .q-notification__caption
108
+ font-size: 0.75rem
109
+ font-weight: 400
110
+ line-height: 1.25rem
111
+ letter-spacing: 0.01786rem
112
+ overflow-wrap: break-word
113
+
114
+ .u-notify-action-button
115
+ height: $lg
116
+ min-width: 5.5rem
117
+ max-width: 6.5rem
118
+ padding: 0rem $ba
119
+ border-radius: $xs
120
+ overflow-wrap: break-word
121
+ .block
122
+ white-space: nowrap
123
+ width: 6.5rem
124
+ overflow: hidden
125
+ text-overflow: ellipsis
126
+
127
+ .u-notify-action-icon
128
+ background: transparent !important
129
+
130
+ .u-action-icon-positive
131
+ .q-icon
132
+ color: $positive
133
+ .u-action-icon-info
134
+ .q-icon
135
+ color: $info
136
+ .u-action-icon-warning
137
+ .q-icon
138
+ color: $warning
139
+ .u-action-icon-accent
140
+ .q-icon
141
+ color: $accent
142
+
143
+ .u-type-positive
144
+ background: $green-2 !important
145
+ color: $green-7 !important
146
+ .q-btn
147
+ background: $positive
148
+
149
+ .u-type-info
150
+ background: $purple-1 !important
151
+ color: $purple-7 !important
152
+ .q-btn
153
+ background: $info
154
+
155
+ .u-type-warning
156
+ background: $orange-1 !important
157
+ color: $orange-7 !important
158
+ .q-btn
159
+ background: $warning
160
+
161
+ .u-type-accent
162
+ background: $red-1 !important
163
+ color: $red-7 !important
164
+ .q-btn
165
+ background: $accent
166
+
167
+ .icon-secondary-opacity
168
+ --fa-secondary-opacity: 0.20
@@ -0,0 +1,103 @@
1
+
2
+ // GOLD TEXT
3
+ .text-gold-1
4
+ color: $gold-1 !important
5
+ .text-gold-2
6
+ color: $gold-2 !important
7
+ .text-gold-3
8
+ color: $gold-3 !important
9
+ .text-gold-4
10
+ color: $gold-4 !important
11
+ .text-gold-5
12
+ color: $gold-5 !important
13
+ .text-gold-6
14
+ color: $gold-6 !important
15
+ .text-gold-7
16
+ color: $gold-7 !important
17
+ .text-gold-8
18
+ color: $gold-8 !important
19
+ .text-gold-9
20
+ color: $gold-9 !important
21
+
22
+ // GOLD BACKGROUND
23
+ .bg-gold-1
24
+ background-color: $gold-1 !important
25
+ .bg-gold-2
26
+ background-color: $gold-2 !important
27
+ .bg-gold-3
28
+ background-color: $gold-3 !important
29
+ .bg-gold-4
30
+ background-color: $gold-4 !important
31
+ .bg-gold-5
32
+ background-color: $gold-5 !important
33
+ .bg-gold-6
34
+ background-color: $gold-6 !important
35
+ .bg-gold-7
36
+ background-color: $gold-7 !important
37
+ .bg-gold-8
38
+ background-color: $gold-8 !important
39
+ .bg-gold-9
40
+ background-color: $gold-9 !important
41
+
42
+
43
+ // NEUTRAL TEXT
44
+ .text-neutral-1
45
+ color: $neutral-1 !important
46
+ .text-neutral-2
47
+ color: $neutral-2 !important
48
+ .text-neutral-3
49
+ color: $neutral-3 !important
50
+ .text-neutral-4
51
+ color: $neutral-4 !important
52
+ .text-neutral-5
53
+ color: $neutral-5 !important
54
+ .text-neutral-6
55
+ color: $neutral-6 !important
56
+ .text-neutral-7
57
+ color: $neutral-7 !important
58
+ .text-neutral-8
59
+ color: $neutral-8 !important
60
+ .text-neutral-9
61
+ color: $neutral-9 !important
62
+ .text-neutral-10
63
+ color: $neutral-10 !important
64
+
65
+ // RED TEXT
66
+ .text-red-5
67
+ color: $red-5 !important
68
+
69
+ // NEUTRAL BACKGROUND
70
+ .bg-neutral-1
71
+ background-color: $neutral-1 !important
72
+ .bg-neutral-2
73
+ background-color: $neutral-2 !important
74
+ .bg-neutral-3
75
+ background-color: $neutral-3 !important
76
+ .bg-neutral-4
77
+ background-color: $neutral-4 !important
78
+ .bg-neutral-5
79
+ background-color: $neutral-5 !important
80
+ .bg-neutral-6
81
+ background-color: $neutral-6 !important
82
+ .bg-neutral-7
83
+ background-color: $neutral-7 !important
84
+ .bg-neutral-8
85
+ background-color: $neutral-8 !important
86
+ .bg-neutral-9
87
+ background-color: $neutral-9 !important
88
+
89
+ //BLUE BACKGROUND
90
+ .bg-blue-1
91
+ background-color: $blue-1 !important
92
+
93
+
94
+ //USSSA Description content color
95
+ .text-description
96
+ color: $description
97
+
98
+ .bg-description
99
+ background-color: $description
100
+
101
+ //USSSA Surface background color
102
+ .bg-surface-bg-1
103
+ background-color: $surface-bg-1
@@ -0,0 +1 @@
1
+
@@ -0,0 +1,150 @@
1
+ // Quasar Sass (& SCSS) Variables
2
+ // --------------------------------------------------
3
+ // To customize the look and feel of this app, you can override
4
+ // the Sass/SCSS variables found in Quasar's source Sass/SCSS files.
5
+
6
+ // Check documentation for full list of Quasar variables
7
+
8
+ // Your own variables (that are declared here) and Quasar's own
9
+ // ones will be available out of the box in your .vue/.scss/.sass files
10
+
11
+ // It's highly recommended to change the default colors
12
+ // to match your app's branding.
13
+ // Tip: Use the "Theme Builder" on Quasar's documentation website.
14
+
15
+ @import 'vars/colors.variables'
16
+
17
+ // USSSA BRAND COLOR VALUES
18
+ $primary: $blue-8
19
+ $secondary: $blue-9
20
+ $accent: $red-5
21
+ $negative: $red-5
22
+ $warning: $orange-7
23
+ $positive: $green-6
24
+ $info: $purple-6
25
+ $dark: $neutral-13
26
+ $white: $neutral-1
27
+ $description: $neutral-9
28
+ $transparent: rgb(0, 0, 0, .10)
29
+ $dark-page: #121212
30
+
31
+ // BG Hover variables
32
+ $accent-bg-hover: rgb(203, 42, 61, .15)
33
+ $primary-bg-hover: rgb(35, 75, 169, .15)
34
+
35
+ // BODY
36
+ $body-xl: (size: 1.25rem, line-height: 1.75rem, letter-spacing: .03215rem, weight: 400) !default
37
+ $body-lg: (size: 1.125rem, line-height: 1.313rem, letter-spacing: .03215rem, weight: 400) !default
38
+ $body-md: (size: 1.00rem, line-height: 1.188rem, letter-spacing: .01786rem, weight: 400) !default
39
+ $body-sm: (size: 0.875rem, line-height: 1.188rem, letter-spacing: .01786rem, weight: 400) !default
40
+ $body-xs: (size: 0.75rem, line-height: 1.063rem, letter-spacing: .01786rem, weight: 400) !default
41
+ $body-xxs: (size: 0.688rem, line-height: 1.063rem, letter-spacing: .01786rem, weight: 400) !default
42
+
43
+ // BORDER RADIUS
44
+ $border-radius-xs: .25rem
45
+ $border-radius-sm: .5rem
46
+
47
+ // CAPTION
48
+ $caption-lg: (size: 1rem, line-height: 1.063rem, letter-spacing: .03333rem, weight: 500) !default
49
+ $caption-md: (size: 0.875rem, line-height: 1.063rem, letter-spacing: .03333rem, weight: 500) !default
50
+ $caption-sm: (size: 0.75rem, line-height: 1.063rem, letter-spacing: .03333rem, weight: 500) !default
51
+ $caption-xs: (size: 0.688rem, line-height: 1.063rem, letter-spacing: .03333rem, weight: 500) !default
52
+
53
+ // OVERLINE
54
+ $overline-lg: (size: 1.00rem, line-height: 1.50rem, letter-spacing: .53px, weight: 500) !default
55
+ $overline-md: (size: 0.875rem, line-height: 1.5rem, letter-spacing: .03333px, weight: 500) !default
56
+ $overline-sm: (size: 0.75rem, line-height: 1.5rem, letter-spacing: .03333px, weight: 500) !default
57
+ $overline-xs: (size: 0.688rem, line-height: 1.5rem, letter-spacing: .03333px, weight: 500) !default
58
+
59
+ // USSSA TYPOGRAPHY RESET
60
+ $h1: (size: 4.063rem, line-height: 5.079rem, letter-spacing: .35px, weight: 700) !default
61
+ $h2: (size: 2.5rem, line-height: 3.125rem, letter-spacing: .35px, weight: 700) !default
62
+ $h3: (size: 1.5rem, line-height: 1.875rem, letter-spacing: .35px, weight: 700) !default
63
+ $h4: (size: 1.25rem, line-height: 1.563rem, letter-spacing: .35px, weight: 700) !default
64
+
65
+ // QUASAR DEFAULTS
66
+ $h5: (size: 1.5rem, line-height: 2rem, letter-spacing: normal, weight: 700) !default
67
+ $h6: (size: 1.25rem, line-height: 2rem, letter-spacing: .0125em, weight: 700) !default
68
+
69
+ // USSSA CUSTOM
70
+ $h1-md: (size: 3.00rem , line-height: 3.75rem, letter-spacing: .35px, weight: bold) !default
71
+ $h1-sm: (size: 2.50rem , line-height: 3.44rem, letter-spacing: .35px, weight: bold) !default
72
+
73
+ $h2-md: (size: 2.25rem , line-height: 2.813rem, letter-spacing: .35px, weight: bold) !default
74
+ $h2-sm: (size: 2.00rem , line-height: 2.50rem, letter-spacing: .35px, weight: bold) !default
75
+
76
+ $h3-md: (size: 1.375rem , line-height: 1.719rem, letter-spacing: .35px, weight: bold) !default
77
+ $h3-sm: (size: 1.250rem , line-height: 1.563rem, letter-spacing: .35px, weight: bold) !default
78
+
79
+ $h4-md: (size: 1.125rem , line-height: 1.406rem, letter-spacing: .35px, weight: bold) !default
80
+ $h4-sm: (size: 1.00rem , line-height: 1.25rem, letter-spacing: .35px, weight: bold) !default
81
+
82
+ // HEADING
83
+ $heading-xxxl: (size: 3rem, line-height: 5.25rem, letter-spacing: -0.0156rem, weight: 700) !default
84
+ $heading-xxl: (size: 2.5rem, line-height: 3.281rem, letter-spacing: 0rem, weight: 700) !default
85
+ $heading-xl: (size: 2.0rem, line-height: 2.734rem, letter-spacing: 0rem, weight: 700) !default
86
+ $heading-lg: (size: 1.75rem, line-height: 1.75rem, letter-spacing: .00714rem, weight: 700) !default
87
+ $heading-md: (size: 1.5rem, line-height: 1.5rem, letter-spacing: .00714rem, weight: 700) !default
88
+ $heading-sm: (size: 1.25rem, line-height: 1.5rem, letter-spacing: 0rem, weight: 700) !default
89
+ $heading-xs: (size: 1.125rem, line-height: 1.313rem, letter-spacing: .0125rem, weight: 700) !default
90
+ $heading-xxs: (size: 1.0rem, line-height: 1.313rem, letter-spacing: .0125rem, weight: 700) !default
91
+
92
+ // DISPLAY
93
+ $display-xxxl: (size: 3.5rem, line-height: 3.5rem, letter-spacing: 0rem, weight: 500) !default
94
+ $display-xxl: (size: 3rem, line-height: 3rem, letter-spacing: 0rem, weight: 500) !default
95
+ $display-xl: (size: 2.5rem, line-height: 2.5rem, letter-spacing: 0rem, weight: 500) !default
96
+ $display-lg: (size: 2rem, line-height: 2rem, letter-spacing: .00714rem, weight: 500) !default
97
+ $display-md: (size: 1.5rem, line-height: 1.5rem, letter-spacing: .00714rem, weight: 500) !default
98
+ $display-sm: (size: 1.25rem, line-height: 1.5rem, letter-spacing: 0rem, weight: 500) !default
99
+ $display-xs: (size: 1.125rem, line-height: 1.313rem, letter-spacing: .0125rem, weight: 500) !default
100
+ $display-xxs: (size: 1.0rem, line-height: 1.313rem, letter-spacing: .0125rem, weight: 500) !default
101
+
102
+ $headings: ('h1': $h1, 'h1-md': $h1-md, 'h1-sm': $h1-sm, 'h2': $h2, 'h2-md': $h2-md, 'h2-sm': $h2-sm, 'h3': $h3, 'h3-md': $h3-md, 'h3-sm': $h3-sm, 'h4': $h4, 'h4-md': $h4-md, 'h4-sm': $h4-sm, 'h5': $h5, 'h6': $h6, 'body-xl': $body-xl, 'body-lg': $body-lg, 'body-md': $body-md, 'body-sm': $body-sm, 'body-xs': $body-xs, 'body-xxs': $body-xxs, 'overline-lg': $overline-lg, 'overline-md': $overline-md, 'overline-sm': $overline-sm,'overline-xs': $overline-xs, 'caption-lg': $caption-lg, 'caption-md': $caption-md, 'caption-sm': $caption-sm, 'caption-xs': $caption-xs, 'heading-xxxl': $heading-xxxl, 'heading-xxl':$heading-xxl,'heading-xl':$heading-xl,'heading-lg':$heading-lg,'heading-md':$heading-md,'heading-sm':$heading-sm,'heading-xs':$heading-xs,'heading-xxs': $heading-xxs, 'display-xxxl': $display-xxxl, 'display-xxl':$display-xxl,'display-xl':$display-xl,'display-lg':$display-lg,'display-md':$display-md,'display-sm':$display-sm,'display-xs':$display-xs,'display-xxs': $display-xxs) !default
103
+
104
+ // SPACING BASE
105
+ $space-base: 1rem !default
106
+ $space-x-base: $space-base !default
107
+ $space-y-base: $space-base !default
108
+
109
+ // SPACING SINGLE VARIABLES
110
+ $xxs: $space-base * .25 !default
111
+ $xs: $space-base * .5 !default
112
+ $sm: $space-base * .75 !default
113
+ $ms: $space-base * 1.5 !default
114
+ $ba: $space-base * 1 !default
115
+ $md: $space-base * 2 !default
116
+ $lg: $space-base * 2.5 !default
117
+ $xl: $space-base * 3 !default
118
+ $xxl: $space-base * 3.375 !default
119
+
120
+ // SPACING VARIABLES FOR QUASAR SPACING UTILITY CLASSES
121
+ $space-none: (x: 0, y: 0) !default
122
+ $space-xxs: (x: ($space-x-base * .25), y: ($space-y-base * .25)) !default
123
+ $space-xs: (x: ($space-x-base * .5), y: ($space-y-base * .5)) !default
124
+ $space-sm: (x: ($space-x-base * .75), y: ($space-y-base * .75)) !default
125
+ $space-ms: (x: ($space-x-base * 1.5), y: ($space-y-base * 1.5)) !default
126
+ $space-ba: (x: ($space-x-base * 1), y: ($space-y-base * 1)) !default
127
+ $space-md: (x: $space-x-base * 2, y: $space-y-base * 2) !default
128
+ $space-lg: (x: ($space-x-base * 2.5), y: ($space-y-base * 2.5)) !default
129
+ $space-xl: (x: ($space-x-base * 3), y: ($space-y-base * 3)) !default
130
+ $space-xxl: (x: ($space-x-base * 3.375), y: ($space-y-base * 3.375)) !default
131
+
132
+ $spaces: ('none': $space-none, 'xxs': $space-xxs, 'xs': $space-xs, 'sm': $space-sm, 'ms': $space-ms, 'ba': $space-ba, 'md': $space-md, 'lg': $space-lg, 'xl': $space-xl, 'xxl': $space-xxl) !default
133
+
134
+ //Shadow variables
135
+
136
+ $shadow-inner: 0px 0px 1px 1px rgb(16, 17, 20, .12) inset
137
+ $shadow-skeumorphic-primary: 0px 1px 0.4px 0px rgba(136, 136, 138, 0.40) inset, 0px -1px 0.4px 0px rgba(16, 17, 20, 0.40) inset, 0px 4px 10px 0px rgba(16,17,20,0.00), 0px 0px 0px 1px rgb(35,75,169)
138
+ $stroke-skeuomorphic: 1px solid rgba(255, 255, 255, 0.12)
139
+ $shadow-2: 0px 0px 8px 0px rgba(16, 17, 20, 0.12)
140
+
141
+ // Surface variables
142
+ $surface-bg-1: $neutral-1
143
+ $surface-bg-link-hover: rgba(16, 17, 20, .5)
144
+
145
+ // Transparent variables
146
+ $accent-transparent: rgba(203, 42, 61, .20)
147
+ $primary-transparent: rgb(35, 75, 169, .20)
148
+
149
+ // Others
150
+ $bg-blue-1: #E1E9F9
File without changes