@3squared/forge-ui-3 0.2.3 → 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.
- package/dist/esm/{forge-ui-3.mjs → forge-ui-3.js} +924 -899
- package/dist/esm/style.css +2 -2
- package/dist/index.d.ts +23 -23
- package/dist/src/components/ForgeAlert.vue.d.ts +1 -1
- package/dist/src/components/ForgeCheckbox.vue.d.ts +1 -1
- package/dist/src/components/ForgeChips.vue.d.ts +3 -3
- package/dist/src/components/ForgeDatepicker.vue.d.ts +3 -3
- package/dist/src/components/ForgeFormField.vue.d.ts +1 -1
- package/dist/src/components/ForgeLoader.vue.d.ts +1 -1
- package/dist/src/components/ForgeModal.vue.d.ts +2 -2
- package/dist/src/components/ForgeMultiSelect.vue.d.ts +2 -2
- package/dist/src/components/ForgeNavbar.vue.d.ts +2 -2
- package/dist/src/components/ForgeProgressBar.vue.d.ts +1 -1
- package/dist/src/components/ForgeStepper.vue.d.ts +2 -2
- package/dist/src/components/file-uploader/ForgeFileUploader.vue.d.ts +1 -1
- package/dist/src/components/file-uploader/components/FileInfo.vue.d.ts +1 -1
- package/dist/src/passthroughs/Badge.pt.d.ts +30 -0
- package/dist/src/passthroughs/Button.pt.d.ts +262 -0
- package/dist/src/passthroughs/Card.pt.d.ts +26 -0
- package/dist/src/passthroughs/Checkbox.pt.d.ts +17 -0
- package/dist/src/passthroughs/Chips.pt.d.ts +7 -0
- package/dist/src/passthroughs/Column.pt.d.ts +90 -0
- package/dist/src/passthroughs/Datepicker.pt.d.ts +40 -0
- package/dist/src/passthroughs/Dialog.pt.d.ts +38 -0
- package/dist/src/passthroughs/Divider.pt.d.ts +6 -0
- package/dist/src/passthroughs/Dropdown.pt.d.ts +49 -0
- package/dist/src/passthroughs/Image.pt.d.ts +15 -0
- package/dist/src/passthroughs/Input.pt.d.ts +13 -0
- package/dist/src/passthroughs/InputMask.pt.d.ts +8 -0
- package/dist/src/passthroughs/Message.pt.d.ts +30 -0
- package/dist/src/passthroughs/Navbar.pt.d.ts +57 -0
- package/dist/src/passthroughs/OverlayPanel.pt.d.ts +15 -0
- package/dist/src/passthroughs/ProgressBar.pt.d.ts +14 -0
- package/dist/src/passthroughs/ProgressSpinner.pt.d.ts +8 -0
- package/dist/src/passthroughs/SelectButton.pt.d.ts +21 -0
- package/dist/src/passthroughs/Steps.pt.d.ts +7 -0
- package/dist/src/passthroughs/Table.pt.d.ts +56 -0
- package/dist/src/passthroughs/Tabs.pt.d.ts +38 -0
- package/dist/src/passthroughs/TextArea.pt.d.ts +8 -0
- package/dist/src/passthroughs/Toast.pt.d.ts +36 -0
- package/dist/src/passthroughs/Tooltip.pt.d.ts +21 -0
- package/dist/src/types/forge-types.d.ts +3 -3
- package/package.json +18 -17
- package/src/styles/utilities/_variables.scss +33 -1
- package/src/types/forge-types.ts +1 -1
|
@@ -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)
|
package/src/types/forge-types.ts
CHANGED
|
@@ -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
|
|