@3squared/forge-ui-3 0.2.3 → 0.3.1

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 (46) hide show
  1. package/dist/esm/{forge-ui-3.mjs → forge-ui-3.js} +924 -899
  2. package/dist/esm/style.css +2 -2
  3. package/dist/index.d.ts +23 -23
  4. package/dist/src/components/ForgeAlert.vue.d.ts +1 -1
  5. package/dist/src/components/ForgeCheckbox.vue.d.ts +1 -1
  6. package/dist/src/components/ForgeChips.vue.d.ts +3 -3
  7. package/dist/src/components/ForgeDatepicker.vue.d.ts +3 -3
  8. package/dist/src/components/ForgeFormField.vue.d.ts +1 -1
  9. package/dist/src/components/ForgeLoader.vue.d.ts +1 -1
  10. package/dist/src/components/ForgeModal.vue.d.ts +2 -2
  11. package/dist/src/components/ForgeMultiSelect.vue.d.ts +2 -2
  12. package/dist/src/components/ForgeNavbar.vue.d.ts +2 -2
  13. package/dist/src/components/ForgeProgressBar.vue.d.ts +1 -1
  14. package/dist/src/components/ForgeStepper.vue.d.ts +2 -2
  15. package/dist/src/components/file-uploader/ForgeFileUploader.vue.d.ts +1 -1
  16. package/dist/src/components/file-uploader/components/FileInfo.vue.d.ts +1 -1
  17. package/dist/src/passthroughs/Badge.pt.d.ts +30 -0
  18. package/dist/src/passthroughs/Button.pt.d.ts +262 -0
  19. package/dist/src/passthroughs/Card.pt.d.ts +26 -0
  20. package/dist/src/passthroughs/Checkbox.pt.d.ts +17 -0
  21. package/dist/src/passthroughs/Chips.pt.d.ts +7 -0
  22. package/dist/src/passthroughs/Column.pt.d.ts +90 -0
  23. package/dist/src/passthroughs/Datepicker.pt.d.ts +40 -0
  24. package/dist/src/passthroughs/Dialog.pt.d.ts +38 -0
  25. package/dist/src/passthroughs/Divider.pt.d.ts +6 -0
  26. package/dist/src/passthroughs/Dropdown.pt.d.ts +49 -0
  27. package/dist/src/passthroughs/Image.pt.d.ts +15 -0
  28. package/dist/src/passthroughs/Input.pt.d.ts +13 -0
  29. package/dist/src/passthroughs/InputMask.pt.d.ts +8 -0
  30. package/dist/src/passthroughs/Message.pt.d.ts +30 -0
  31. package/dist/src/passthroughs/Navbar.pt.d.ts +57 -0
  32. package/dist/src/passthroughs/OverlayPanel.pt.d.ts +15 -0
  33. package/dist/src/passthroughs/ProgressBar.pt.d.ts +14 -0
  34. package/dist/src/passthroughs/ProgressSpinner.pt.d.ts +8 -0
  35. package/dist/src/passthroughs/SelectButton.pt.d.ts +21 -0
  36. package/dist/src/passthroughs/Steps.pt.d.ts +7 -0
  37. package/dist/src/passthroughs/Table.pt.d.ts +56 -0
  38. package/dist/src/passthroughs/Tabs.pt.d.ts +38 -0
  39. package/dist/src/passthroughs/TextArea.pt.d.ts +8 -0
  40. package/dist/src/passthroughs/Toast.pt.d.ts +36 -0
  41. package/dist/src/passthroughs/Tooltip.pt.d.ts +21 -0
  42. package/dist/src/types/forge-types.d.ts +3 -3
  43. package/package.json +18 -17
  44. package/src/styles/components/_tile.scss +6 -1
  45. package/src/styles/utilities/_variables.scss +37 -1
  46. package/src/types/forge-types.ts +1 -1
@@ -17,7 +17,12 @@
17
17
  @if $color == secondary {
18
18
  background-color: map-get($base-colors, "light") !important;
19
19
  border-color: black !important;
20
- } @else {
20
+ }
21
+ @else if $color == brand {
22
+ background-color: map-get($subtle-colors, $color + "-shade-1") !important;
23
+ border-color: map-get($base-colors, $color) !important;
24
+ }
25
+ @else{
21
26
  background-color: map-get($subtle-colors, $color + "-subtle") !important;
22
27
  border-color: map-get($base-colors, $color) !important;
23
28
  }
@@ -1,7 +1,14 @@
1
1
  @import 'bootstrap/scss/functions';
2
2
  @import 'bootstrap/scss/variables';
3
+ @import 'bootstrap/scss/variables-dark';
3
4
 
4
5
  //Forge Theme
6
+ $brand: $indigo !default;
7
+ $brand-dark: $indigo-800 !default;
8
+ $brand-shade-1: $indigo-100 !default;
9
+ $brand-shade-2: $indigo-300 !default;
10
+ $brand-shade-3: $indigo-600 !default;
11
+
5
12
  $primary: #0077c8;
6
13
  $primary-dark: #006bb4;
7
14
  $primary-light: #e5f0f7;
@@ -23,6 +30,7 @@ $danger-light: #FCEBE9;
23
30
  $light: #f6f6f6;
24
31
 
25
32
  $base-colors: (
33
+ 'brand': $brand,
26
34
  'primary': $primary,
27
35
  'secondary': $secondary,
28
36
  'success': $success,
@@ -35,6 +43,9 @@ $base-colors: (
35
43
  $badge-font-size: 0.75rem;
36
44
 
37
45
  $subtle-colors: (
46
+ 'brand-shade-1': $brand-shade-1,
47
+ 'brand-shade-2': $brand-shade-2,
48
+ 'brand-shade-3': $brand-shade-3,
38
49
  'primary-subtle': $primary-light,
39
50
  'success-subtle': $success-light,
40
51
  'warning-subtle': $warning-light,
@@ -43,6 +54,7 @@ $subtle-colors: (
43
54
  );
44
55
 
45
56
  $dark-colors: (
57
+ 'brand-dark': $brand-dark,
46
58
  'primary-dark': $primary-dark,
47
59
  'success-dark': $success-dark,
48
60
  'warning-dark': $warning-dark,
@@ -55,4 +67,28 @@ $dark-colors: (
55
67
  }
56
68
  }
57
69
 
58
- $theme-colors: map-merge-multiple($theme-colors, $base-colors, $subtle-colors, $dark-colors);
70
+ $theme-colors: map-merge-multiple($theme-colors, $base-colors, $subtle-colors, $dark-colors);
71
+
72
+ $brand-text-emphasis: shade-color($brand, 60%) !default;
73
+ $brand-bg-subtle: $brand-shade-1 !default;
74
+ $brand-border-subtle: tint-color($brand-dark, 60%) !default;
75
+
76
+ @import 'bootstrap/scss/maps';
77
+
78
+ $brand-theme-colors-text: (
79
+ "brand": $brand-text-emphasis
80
+ );
81
+
82
+ $theme-colors-text: map-merge($theme-colors-text, $brand-theme-colors-text);
83
+
84
+ $brand-theme-colors-bg-subtle: (
85
+ "brand": $brand-bg-subtle
86
+ );
87
+
88
+ $theme-colors-bg-subtle: map-merge($theme-colors-bg-subtle, $brand-theme-colors-bg-subtle);
89
+
90
+ $brand-theme-colors-border-subtle: (
91
+ "brand": $brand-border-subtle
92
+ );
93
+
94
+ $theme-colors-border-subtle: map-merge($theme-colors-border-subtle, $brand-theme-colors-border-subtle)
@@ -2,7 +2,7 @@ import { ColumnProps } from "primevue/column";
2
2
  import { FilterMatchModeOptions, FilterOperatorOptions } from "primevue/api";
3
3
  import { FileUploadStatus } from "../components/file-uploader/utilities/utilities";
4
4
 
5
- export type Severity = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | undefined
5
+ export type Severity = 'primary' | 'secondary' | 'success' | 'warning' | 'danger' | 'info' | 'brand' | undefined
6
6
  export type Size = 'sm' | 'md' | 'lg' | undefined
7
7
  export type BarPosition = 'top' | 'left' | 'none'
8
8