groovinads-ui 1.1.6 → 1.2.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 (45) hide show
  1. package/.storybook/preview-head.html +3 -0
  2. package/.yarn/install-state.gz +0 -0
  3. package/authConfig.js +47 -0
  4. package/dist/index.es.js +45 -3
  5. package/dist/index.js +45 -3
  6. package/package.json +6 -4
  7. package/public/imgs/groovinads-logo.svg +1 -0
  8. package/public/imgs/not-found.svg +14 -0
  9. package/rollup.config.mjs +2 -1
  10. package/src/components/Button/Button.jsx +68 -57
  11. package/src/components/Dropdowns/DropdownComponent.jsx +72 -0
  12. package/src/components/Dropdowns/DropdownFilter.jsx +239 -0
  13. package/src/components/Dropdowns/DropdownInput.jsx +151 -0
  14. package/src/components/Dropdowns/index.js +5 -0
  15. package/src/components/Inputs/Input.jsx +25 -3
  16. package/src/components/Inputs/Textarea.jsx +1 -1
  17. package/src/components/Labels/Alert.jsx +62 -0
  18. package/src/components/Labels/Icon.jsx +76 -0
  19. package/src/components/Labels/PillComponent.jsx +8 -1
  20. package/src/components/Labels/Spinner.jsx +35 -0
  21. package/src/components/Labels/index.js +4 -1
  22. package/src/components/Navigation/Dropdowns/DeckDropdown.jsx +321 -0
  23. package/src/components/Navigation/Dropdowns/UserDropdown.jsx +69 -0
  24. package/src/components/Navigation/Dropdowns/index.js +4 -0
  25. package/src/components/Navigation/Navbar.jsx +51 -0
  26. package/src/components/Navigation/index.js +3 -0
  27. package/src/components/Toasts/ToastComponent.jsx +82 -0
  28. package/src/components/Toasts/ToastProgress.jsx +118 -0
  29. package/src/components/Toasts/index.js +4 -0
  30. package/src/hooks/getBaseDomain.jsx +9 -0
  31. package/src/hooks/index.js +2 -1
  32. package/src/index.js +16 -1
  33. package/src/services/components.services.js +10 -0
  34. package/src/services/helpers.js +30 -0
  35. package/src/services/index.jsx +10 -0
  36. package/src/services/url.path.js +23 -0
  37. package/src/stories/Alert.stories.jsx +11 -0
  38. package/src/stories/DropdownComponent.stories.jsx +30 -0
  39. package/src/stories/DropdownFilter.stories.jsx +60 -0
  40. package/src/stories/DropdownInput.stories.jsx +44 -0
  41. package/src/stories/Icon.stories.jsx +11 -0
  42. package/src/stories/Navbar.stories.jsx +20 -0
  43. package/src/stories/Spinner.stories.jsx +11 -0
  44. package/src/stories/ToastComponent.stories.jsx +11 -0
  45. package/src/stories/ToastProgress.stories.jsx +11 -0
@@ -1,3 +1,6 @@
1
+ <!-- Bootstrap styles -->
2
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css" />
3
+ <!-- Groovinads UI styles -->
1
4
  <link rel="stylesheet" href="http://ui.groovinads.com/styles.min.css">
2
5
  <!-- Fontawesome kit -->
3
6
  <script src="https://kit.fontawesome.com/79f14073fb.js" crossorigin="anonymous"></script>
Binary file
package/authConfig.js ADDED
@@ -0,0 +1,47 @@
1
+ const authConfig = {
2
+ urlBase: {
3
+ production: 'https://brands.groovinads.com/',
4
+ development: 'https://brands-dev.groovinads.com/',
5
+ localdev: 'http://localhost:3004/',
6
+ },
7
+ api: {
8
+ production: {
9
+ timeout: 300000,
10
+ host: 'https://api.groovinads.com/',
11
+ baseURL: '/',
12
+ google_client_id:
13
+ '34402980857-75fg00enhq4vsdm3o2mph1i775up7obc.apps.googleusercontent.com',
14
+ linkedin_client_id: '7722h3i3zigft8',
15
+ linkedin_redirect_uri: 'v2/auth/linkedin/login',
16
+ microsoft_tenant_id: '4b6628b3-2b2f-4508-b8c4-1eeb52016fe9',
17
+ microsoft_client_id: 'd1a1dc86-2810-4c24-b897-812f84e2e4bd',
18
+ microsoft_redirect_uri: 'v2/auth/microsoft/login',
19
+ },
20
+ development: {
21
+ timeout: 300000,
22
+ host: 'https://api-dev.groovinads.com/',
23
+ baseURL: '/',
24
+ google_client_id:
25
+ '228142881588-jsqi5d60a1pcb1mg52tg6h7228a7k35n.apps.googleusercontent.com',
26
+ linkedin_client_id: '77oiaxlgm1s3pi',
27
+ linkedin_redirect_uri: 'v2/auth/linkedin/login',
28
+ microsoft_tenant_id: '4b6628b3-2b2f-4508-b8c4-1eeb52016fe9',
29
+ microsoft_client_id: '11c7339b-d9ff-4db5-b3ba-695db6677a12',
30
+ microsoft_redirect_uri: 'v2/auth/microsoft/login',
31
+ },
32
+ localdev: {
33
+ timeout: 300000,
34
+ host: 'https://api-dev.groovinads.com/',
35
+ baseURL: '/',
36
+ google_client_id:
37
+ '228142881588-jsqi5d60a1pcb1mg52tg6h7228a7k35n.apps.googleusercontent.com',
38
+ linkedin_client_id: '77oiaxlgm1s3pi',
39
+ linkedin_redirect_uri: 'v2/auth/linkedin/login',
40
+ microsoft_tenant_id: '4b6628b3-2b2f-4508-b8c4-1eeb52016fe9',
41
+ microsoft_client_id: '11c7339b-d9ff-4db5-b3ba-695db6677a12',
42
+ microsoft_redirect_uri: 'v2/auth/microsoft/login',
43
+ },
44
+ },
45
+ };
46
+
47
+ export default authConfig;