@3squared/forge-ui-3 0.4.1 → 0.5.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.js +989 -871
- package/dist/esm/style.css +1 -1
- package/dist/src/components/ForgeActionButton.vue.d.ts +1 -1
- package/dist/src/components/ForgeAlert.vue.d.ts +6 -4
- package/dist/src/components/ForgeCheckbox.vue.d.ts +6 -4
- package/dist/src/components/ForgeChips.vue.d.ts +1 -1
- package/dist/src/components/ForgeDatepicker.vue.d.ts +408 -46
- package/dist/src/components/ForgeForm.vue.d.ts +14 -12
- package/dist/src/components/ForgeInlineEditor.vue.d.ts +15 -13
- package/dist/src/components/ForgeLink.vue.d.ts +4 -2
- package/dist/src/components/ForgeModal.vue.d.ts +6 -4
- package/dist/src/components/ForgeMultiSelect.vue.d.ts +6 -4
- package/dist/src/components/ForgeMultiSelectPreview.vue.d.ts +11 -9
- package/dist/src/components/ForgeNavbar.vue.d.ts +7 -5
- package/dist/src/components/ForgePageHeader.vue.d.ts +4 -2
- package/dist/src/components/ForgeProgressBar.vue.d.ts +6 -4
- package/dist/src/components/ForgeStatWidget.vue.d.ts +6 -4
- package/dist/src/components/ForgeStepper.vue.d.ts +7 -5
- package/dist/src/components/ForgeTile.vue.d.ts +6 -4
- package/dist/src/components/file-uploader/components/DragDropArea.vue.d.ts +6 -4
- package/dist/src/components/file-uploader/components/UploadButton.vue.d.ts +7 -5
- package/dist/src/components/table/ForgePaginationHeader.vue.d.ts +1 -1
- package/dist/src/components/table/ForgeTable.vue.d.ts +7 -5
- package/dist/src/passthroughs/Column.pt.d.ts +2 -2
- package/dist/src/passthroughs/Datepicker.pt.d.ts +2 -36
- package/package.json +5 -5
- package/src/styles/components/_button.scss +5 -1
- package/src/styles/components/_datepicker.scss +50 -3
- package/src/styles/components/_multiselect.scss +33 -53
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export interface ForgePageHeaderProps {
|
|
2
2
|
title: string;
|
|
3
3
|
}
|
|
4
|
-
declare
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
5
|
default?(_: {}): any;
|
|
6
|
-
}
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<ForgePageHeaderProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<ForgePageHeaderProps>>>, {}, {}>;
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
7
9
|
export default _default;
|
|
8
10
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
11
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -7,7 +7,10 @@ export interface ForgeProgressBarProps extends /* vue-ignore */ ProgressBarProps
|
|
|
7
7
|
animate: boolean;
|
|
8
8
|
pixelWidth?: number;
|
|
9
9
|
}
|
|
10
|
-
declare
|
|
10
|
+
declare function __VLS_template(): {
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
};
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeProgressBarProps>, {
|
|
11
14
|
severity: string;
|
|
12
15
|
striped: boolean;
|
|
13
16
|
animate: boolean;
|
|
@@ -19,9 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
19
22
|
severity: Severity;
|
|
20
23
|
animate: boolean;
|
|
21
24
|
striped: boolean;
|
|
22
|
-
}, {}
|
|
23
|
-
|
|
24
|
-
}>;
|
|
25
|
+
}, {}>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
27
|
export default _default;
|
|
26
28
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
29
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -4,7 +4,10 @@ export interface ForgeStatWidgetProps {
|
|
|
4
4
|
size?: Size;
|
|
5
5
|
severity: Severity;
|
|
6
6
|
}
|
|
7
|
-
declare
|
|
7
|
+
declare function __VLS_template(): {
|
|
8
|
+
default?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeStatWidgetProps>, {
|
|
8
11
|
size: string;
|
|
9
12
|
severity: string;
|
|
10
13
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeStatWidgetProps>, {
|
|
@@ -13,9 +16,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
13
16
|
}>>>, {
|
|
14
17
|
severity: Severity;
|
|
15
18
|
size: "sm" | "md" | "lg";
|
|
16
|
-
}, {}
|
|
17
|
-
|
|
18
|
-
}>;
|
|
19
|
+
}, {}>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
19
21
|
export default _default;
|
|
20
22
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
23
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -5,7 +5,11 @@ export interface ForgeStepperProps extends /* vue-ignore */ StepsProps {
|
|
|
5
5
|
currentStep?: number;
|
|
6
6
|
severity?: Severity;
|
|
7
7
|
}
|
|
8
|
-
declare
|
|
8
|
+
declare function __VLS_template(): Partial<Record<NonNullable<string | ((...args: any) => string) | undefined>, (_: {
|
|
9
|
+
nextStep: () => void;
|
|
10
|
+
previousStep: () => void;
|
|
11
|
+
}) => any>>;
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeStepperProps>, {
|
|
9
13
|
severity: string;
|
|
10
14
|
currentStep: number;
|
|
11
15
|
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -18,10 +22,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
18
22
|
}, {
|
|
19
23
|
severity: "secondary" | "info" | "success" | "warning" | "danger" | "primary" | "brand";
|
|
20
24
|
currentStep: number;
|
|
21
|
-
}, {}
|
|
22
|
-
|
|
23
|
-
previousStep: () => void;
|
|
24
|
-
}) => any>>>;
|
|
25
|
+
}, {}>;
|
|
26
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
25
27
|
export default _default;
|
|
26
28
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
29
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -5,7 +5,10 @@ export interface ForgeTileProps {
|
|
|
5
5
|
barPosition: BarPosition;
|
|
6
6
|
clickable: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare
|
|
8
|
+
declare function __VLS_template(): {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeTileProps>, {
|
|
9
12
|
severity: string;
|
|
10
13
|
barPosition: string;
|
|
11
14
|
clickable: boolean;
|
|
@@ -17,9 +20,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
17
20
|
severity: Severity;
|
|
18
21
|
barPosition: BarPosition;
|
|
19
22
|
clickable: boolean;
|
|
20
|
-
}, {}
|
|
21
|
-
|
|
22
|
-
}>;
|
|
23
|
+
}, {}>;
|
|
24
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
23
25
|
export default _default;
|
|
24
26
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
27
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { ForgeFileStatus } from '../../../types/forge-types';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
4
7
|
modelValue: {
|
|
5
8
|
required: true;
|
|
6
9
|
type: import('vue').PropType<ForgeFileStatus[]>;
|
|
@@ -34,9 +37,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
34
37
|
type: import('vue').PropType<string[]>;
|
|
35
38
|
required: true;
|
|
36
39
|
};
|
|
37
|
-
}>>, {}, {}
|
|
38
|
-
|
|
39
|
-
}>;
|
|
40
|
+
}>>, {}, {}>;
|
|
41
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
40
42
|
export default _default;
|
|
41
43
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
44
|
new (): {
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { ForgeFileStatus } from '../../../types/forge-types';
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
message?(_: {}): any;
|
|
5
|
+
"button-content"?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: import('vue').DefineComponent<{
|
|
4
8
|
modelValue: {
|
|
5
9
|
required: true;
|
|
6
10
|
type: import('vue').PropType<ForgeFileStatus[]>;
|
|
@@ -34,10 +38,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
34
38
|
type: import('vue').PropType<boolean>;
|
|
35
39
|
required: true;
|
|
36
40
|
};
|
|
37
|
-
}>>, {}, {}
|
|
38
|
-
|
|
39
|
-
"button-content"?(_: {}): any;
|
|
40
|
-
}>;
|
|
41
|
+
}>>, {}, {}>;
|
|
42
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
41
43
|
export default _default;
|
|
42
44
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
45
|
new (): {
|
|
@@ -14,7 +14,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
14
14
|
}>>> & {
|
|
15
15
|
"onUpdate:perPage"?: ((...args: any[]) => any) | undefined;
|
|
16
16
|
}, {
|
|
17
|
-
pageSizes: number
|
|
17
|
+
pageSizes: Array<number>;
|
|
18
18
|
perPage: number;
|
|
19
19
|
}, {}>;
|
|
20
20
|
export default _default;
|
|
@@ -7,7 +7,11 @@ export interface ForgeTableProps extends DataTableProps {
|
|
|
7
7
|
showClearButton?: boolean;
|
|
8
8
|
showExporterButton?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare
|
|
10
|
+
declare function __VLS_template(): Partial<Record<NonNullable<keyof DataTableSlots>, (_: {}) => any>> & {
|
|
11
|
+
"above-table"?(_: {}): any;
|
|
12
|
+
default?(_: {}): any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ForgeTableProps>, {
|
|
11
15
|
legacyPaginationFooter: boolean;
|
|
12
16
|
paginator: boolean;
|
|
13
17
|
alwaysShowPaginator: boolean;
|
|
@@ -29,10 +33,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
29
33
|
showExporterButton: boolean;
|
|
30
34
|
paginator: boolean;
|
|
31
35
|
alwaysShowPaginator: boolean;
|
|
32
|
-
}, {}
|
|
33
|
-
|
|
34
|
-
default?(_: {}): any;
|
|
35
|
-
}>;
|
|
36
|
+
}, {}>;
|
|
37
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
36
38
|
export default _default;
|
|
37
39
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
38
40
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -9,7 +9,7 @@ declare const _default: {
|
|
|
9
9
|
};
|
|
10
10
|
column: {
|
|
11
11
|
context: {
|
|
12
|
-
frozen: boolean |
|
|
12
|
+
frozen: boolean | "";
|
|
13
13
|
resizable: boolean;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
@@ -35,7 +35,7 @@ declare const _default: {
|
|
|
35
35
|
};
|
|
36
36
|
column: {
|
|
37
37
|
props: {
|
|
38
|
-
frozen: boolean |
|
|
38
|
+
frozen: boolean | "";
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
41
|
}) => {
|
|
@@ -1,40 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CalendarPassThroughOptions } from 'primevue/calendar';
|
|
2
2
|
|
|
3
3
|
declare const _default: {
|
|
4
|
-
calendar:
|
|
5
|
-
root: string;
|
|
6
|
-
input: string;
|
|
7
|
-
panel: ({ props }: CalendarPassThroughMethodOptions) => {
|
|
8
|
-
class: (string | {
|
|
9
|
-
'shadow border-0 position-absolute': boolean;
|
|
10
|
-
})[];
|
|
11
|
-
};
|
|
12
|
-
header: string;
|
|
13
|
-
previousButton: string;
|
|
14
|
-
nextButton: string;
|
|
15
|
-
yearTitle: string;
|
|
16
|
-
monthTitle: string;
|
|
17
|
-
table: string;
|
|
18
|
-
tableHeaderRow: string;
|
|
19
|
-
weekday: string;
|
|
20
|
-
monthPicker: string;
|
|
21
|
-
month: string;
|
|
22
|
-
yearPicker: string;
|
|
23
|
-
year: string;
|
|
24
|
-
timePicker: string;
|
|
25
|
-
separatorContainer: string;
|
|
26
|
-
separator: string;
|
|
27
|
-
hourPicker: string;
|
|
28
|
-
hour: string;
|
|
29
|
-
minutePicker: string;
|
|
30
|
-
minute: string;
|
|
31
|
-
secondPicker: string;
|
|
32
|
-
second: string;
|
|
33
|
-
buttonbar: ({ props }: CalendarPassThroughMethodOptions) => {
|
|
34
|
-
class: (string | {
|
|
35
|
-
'border-top': boolean;
|
|
36
|
-
})[];
|
|
37
|
-
};
|
|
38
|
-
};
|
|
4
|
+
calendar: CalendarPassThroughOptions;
|
|
39
5
|
};
|
|
40
6
|
export default _default;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@3squared/forge-ui-3",
|
|
3
3
|
"repository": "https://github.com/3Squared/ForgeUI-3",
|
|
4
4
|
"description": "ForgeUI 3 is Vue 3 UI Library which combines a variety of popular packages to create a consistent UI for your application.",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.5.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"contributors": [
|
|
@@ -46,13 +46,13 @@
|
|
|
46
46
|
"@vitejs/plugin-vue": "5.0.5",
|
|
47
47
|
"@vitest/coverage-v8": "1.6.0",
|
|
48
48
|
"@vitest/ui": "1.6.0",
|
|
49
|
-
"cypress": "13.
|
|
49
|
+
"cypress": "13.12.0",
|
|
50
50
|
"cypress-real-events": "1.13.0",
|
|
51
51
|
"sass": "1.77.6",
|
|
52
|
-
"typescript": "5.
|
|
53
|
-
"unplugin-vue-components": "0.27.
|
|
52
|
+
"typescript": "5.5.2",
|
|
53
|
+
"unplugin-vue-components": "0.27.2",
|
|
54
54
|
"rollup-plugin-visualizer": "5.12.0",
|
|
55
|
-
"vite": "5.3.
|
|
55
|
+
"vite": "5.3.2",
|
|
56
56
|
"vite-bundle-visualizer": "1.2.1",
|
|
57
57
|
"vite-plugin-istanbul": "6.0.2",
|
|
58
58
|
"vitest": "1.6.0",
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
@each $color, $value in $base-colors {
|
|
2
2
|
.btn.btn-text-#{$color}{
|
|
3
3
|
&:hover, &:active:focus {
|
|
4
|
-
|
|
4
|
+
@if ($color == 'brand') {
|
|
5
|
+
background-color: map-get($subtle-colors, '#{$color}-shade-1');
|
|
6
|
+
} @else {
|
|
7
|
+
background-color: map-get($subtle-colors, '#{$color}-subtle');
|
|
8
|
+
}
|
|
5
9
|
}
|
|
6
10
|
}
|
|
7
11
|
|
|
@@ -1,8 +1,55 @@
|
|
|
1
1
|
.datepicker-panel {
|
|
2
|
-
min-width:
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
min-width: 317px !important;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.p-datepicker-multiple-month {
|
|
6
|
+
max-width: 948px;
|
|
7
|
+
}
|
|
5
8
|
|
|
6
9
|
.p-datepicker-trigger {
|
|
7
10
|
display: none !important;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.datepicker-close-icon {
|
|
14
|
+
margin: 1.75rem;
|
|
15
|
+
|
|
16
|
+
&:hover {
|
|
17
|
+
color: map-get($theme-colors, 'danger') !important;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.datepicker-table {
|
|
22
|
+
border-collapse: separate;
|
|
23
|
+
border-spacing: 10px 12px;
|
|
24
|
+
margin: 6px;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@each $color, $value in $base-colors {
|
|
28
|
+
.date-#{$color} {
|
|
29
|
+
width: 32px;
|
|
30
|
+
height: 32px;
|
|
31
|
+
border-radius: 50%;
|
|
32
|
+
|
|
33
|
+
&.selected, &.selected:hover {
|
|
34
|
+
border-radius: 50%;
|
|
35
|
+
background-color: map-get($theme-colors, $color);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&:hover {
|
|
39
|
+
@if($color == 'brand') {
|
|
40
|
+
background-color: map-get($subtle-colors, '#{$color}-shade-1');
|
|
41
|
+
color: map-get($theme-colors, $color)
|
|
42
|
+
} @else {
|
|
43
|
+
background-color: map-get($subtle-colors, '#{$color}-subtle');
|
|
44
|
+
color: map-get($theme-colors, $color)
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.date {
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
8
55
|
}
|
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
display: block;
|
|
106
106
|
position: absolute;
|
|
107
107
|
box-sizing: border-box;
|
|
108
|
-
width:
|
|
109
|
-
height:
|
|
110
|
-
right:
|
|
111
|
-
top:
|
|
108
|
+
width: 16px;
|
|
109
|
+
height: 16px;
|
|
110
|
+
right: 8px;
|
|
111
|
+
top: 28%;
|
|
112
112
|
padding: unset;
|
|
113
113
|
margin: 0;
|
|
114
114
|
margin-top: auto;
|
|
@@ -119,22 +119,23 @@
|
|
|
119
119
|
transition: transform 0.2s ease;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.
|
|
123
|
-
position:
|
|
124
|
-
right:
|
|
125
|
-
top:
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
border-style: solid;
|
|
129
|
-
border-width: 5px 5px 0 5px;
|
|
130
|
-
border-color: #999999 transparent transparent transparent;
|
|
131
|
-
content: "";
|
|
122
|
+
.multiselect__clear-icon {
|
|
123
|
+
position: absolute;
|
|
124
|
+
right: 26px;
|
|
125
|
+
top: 25%;
|
|
126
|
+
cursor: pointer;
|
|
127
|
+
transition: transform 0.2s ease;
|
|
132
128
|
}
|
|
133
129
|
|
|
130
|
+
.multiselect__clear-icon:focus,
|
|
131
|
+
.multiselect__clear-icon:hover {
|
|
132
|
+
color: #ff0000;
|
|
133
|
+
}
|
|
134
|
+
|
|
134
135
|
.multiselect__tags {
|
|
135
136
|
min-height: 31px;
|
|
136
137
|
display: block;
|
|
137
|
-
padding: 3px 26px
|
|
138
|
+
padding: 3px 26px 3px 3px;
|
|
138
139
|
border-radius: 5px;
|
|
139
140
|
border: 1px solid $input-border-color;
|
|
140
141
|
background: #fff;
|
|
@@ -154,21 +155,23 @@
|
|
|
154
155
|
-webkit-overflow-scrolling: touch;
|
|
155
156
|
}
|
|
156
157
|
|
|
158
|
+
.multiselect__tag-icon {
|
|
159
|
+
position: unset;
|
|
160
|
+
margin-left: 8px;
|
|
161
|
+
margin-right: 4px;
|
|
162
|
+
}
|
|
163
|
+
|
|
157
164
|
.multiselect__tag {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
+
@if($color == "brand") {
|
|
166
|
+
background: map-get($subtle-colors, "brand-shade-1");
|
|
167
|
+
} @else {
|
|
168
|
+
background: map-get($subtle-colors, $color + "-subtle");
|
|
169
|
+
}
|
|
170
|
+
padding: 4px 3px 4px 10px;
|
|
171
|
+
border-radius: 21px;
|
|
172
|
+
border: 1px solid $value;
|
|
173
|
+
color: $value;
|
|
165
174
|
margin: 2.5px;
|
|
166
|
-
white-space: normal;
|
|
167
|
-
overflow: hidden;
|
|
168
|
-
max-width: 100%;
|
|
169
|
-
text-overflow: ellipsis;
|
|
170
|
-
font-weight: 400;
|
|
171
|
-
z-index: 2;
|
|
172
175
|
}
|
|
173
176
|
|
|
174
177
|
.multiselect__option {
|
|
@@ -232,29 +235,6 @@
|
|
|
232
235
|
accent-color: $value;
|
|
233
236
|
}
|
|
234
237
|
|
|
235
|
-
.multiselect__tag-icon {
|
|
236
|
-
cursor: pointer;
|
|
237
|
-
margin-left: 7px;
|
|
238
|
-
position: absolute;
|
|
239
|
-
right: 0;
|
|
240
|
-
top: 0;
|
|
241
|
-
bottom: 0;
|
|
242
|
-
font-weight: 400;
|
|
243
|
-
font-style: initial;
|
|
244
|
-
width: 22px;
|
|
245
|
-
text-align: center;
|
|
246
|
-
line-height: 21px;
|
|
247
|
-
transition: all 0.2s ease;
|
|
248
|
-
border-radius: 0;
|
|
249
|
-
border-left: 1px solid #ffffff
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
.multiselect__tag-icon:after {
|
|
253
|
-
content: "×";
|
|
254
|
-
color: #ffffff;
|
|
255
|
-
font-size: 14px;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
238
|
.multiselect__tag-icon:focus,
|
|
259
239
|
.multiselect__tag-icon:hover {
|
|
260
240
|
background: none;
|
|
@@ -262,7 +242,7 @@
|
|
|
262
242
|
|
|
263
243
|
.multiselect__tag-icon:focus:after,
|
|
264
244
|
.multiselect__tag-icon:hover:after {
|
|
265
|
-
color:
|
|
245
|
+
color: map-get($theme-colors, 'danger') !important;
|
|
266
246
|
}
|
|
267
247
|
|
|
268
248
|
.multiselect__clear-icon {
|
|
@@ -294,7 +274,7 @@
|
|
|
294
274
|
|
|
295
275
|
.multiselect__clear-icon:focus:after,
|
|
296
276
|
.multiselect__clear-icon:hover:after {
|
|
297
|
-
color:
|
|
277
|
+
color: map-get($theme-colors, 'danger') !important;
|
|
298
278
|
}
|
|
299
279
|
}
|
|
300
280
|
}
|