@3squared/forge-ui-3 0.2.2 → 0.3.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 (47) 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/_chips.scss +3 -0
  45. package/src/styles/main.scss +1 -0
  46. package/src/styles/utilities/_variables.scss +33 -1
  47. package/src/types/forge-types.ts +1 -1
@@ -4,6 +4,7 @@
4
4
  @import 'components/_alert';
5
5
  @import 'components/_badge';
6
6
  @import 'components/_button';
7
+ @import 'components/_chips';
7
8
  @import 'components/_datepicker';
8
9
  @import 'components/_dialog';
9
10
  @import 'components/_dropdown';
@@ -1,7 +1,12 @@
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;
7
+ $brand-light: $indigo-100;
8
+ $brand-dark: $indigo-800;
9
+
5
10
  $primary: #0077c8;
6
11
  $primary-dark: #006bb4;
7
12
  $primary-light: #e5f0f7;
@@ -23,6 +28,7 @@ $danger-light: #FCEBE9;
23
28
  $light: #f6f6f6;
24
29
 
25
30
  $base-colors: (
31
+ 'brand': $brand,
26
32
  'primary': $primary,
27
33
  'secondary': $secondary,
28
34
  'success': $success,
@@ -35,6 +41,7 @@ $base-colors: (
35
41
  $badge-font-size: 0.75rem;
36
42
 
37
43
  $subtle-colors: (
44
+ 'brand-subtle': $brand-light,
38
45
  'primary-subtle': $primary-light,
39
46
  'success-subtle': $success-light,
40
47
  'warning-subtle': $warning-light,
@@ -43,6 +50,7 @@ $subtle-colors: (
43
50
  );
44
51
 
45
52
  $dark-colors: (
53
+ 'brand-dark': $brand-dark,
46
54
  'primary-dark': $primary-dark,
47
55
  'success-dark': $success-dark,
48
56
  'warning-dark': $warning-dark,
@@ -55,4 +63,28 @@ $dark-colors: (
55
63
  }
56
64
  }
57
65
 
58
- $theme-colors: map-merge-multiple($theme-colors, $base-colors, $subtle-colors, $dark-colors);
66
+ $theme-colors: map-merge-multiple($theme-colors, $base-colors, $subtle-colors, $dark-colors);
67
+
68
+ $brand-text-emphasis: shade-color($brand, 60%) !default;
69
+ $brand-bg-subtle: $brand-light !default;
70
+ $brand-border-subtle: tint-color($brand-dark, 60%) !default;
71
+
72
+ @import 'bootstrap/scss/maps';
73
+
74
+ $brand-theme-colors-text: (
75
+ "brand": $brand-text-emphasis
76
+ );
77
+
78
+ $theme-colors-text: map-merge($theme-colors-text, $brand-theme-colors-text);
79
+
80
+ $brand-theme-colors-bg-subtle: (
81
+ "brand": $brand-bg-subtle
82
+ );
83
+
84
+ $theme-colors-bg-subtle: map-merge($theme-colors-bg-subtle, $brand-theme-colors-bg-subtle);
85
+
86
+ $brand-theme-colors-border-subtle: (
87
+ "brand": $brand-border-subtle
88
+ );
89
+
90
+ $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