@muziehdesign/components 19.2.8-next.2413 → 19.2.8-next.2456
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/assets/icondefinitions.html +343 -0
- package/assets/icondefinitions.svg +1 -0
- package/assets/icons/arrow-long-down-mini.svg +1 -0
- package/assets/icons/arrow-long-up-mini.svg +1 -0
- package/assets/icons/at-symbol-outline.svg +1 -0
- package/assets/icons/check-circle-solid.svg +1 -0
- package/assets/icons/check-solid.svg +1 -0
- package/assets/icons/chevron-down-control.svg +1 -0
- package/assets/icons/chevron-down-solid.svg +1 -3
- package/assets/icons/chevron-left-solid.svg +1 -0
- package/assets/icons/chevron-right-solid.svg +1 -0
- package/assets/icons/chevron-up-solid.svg +1 -3
- package/assets/icons/dots-horizontal-outline.svg +1 -0
- package/assets/icons/exclamation-triangle-solid.svg +1 -0
- package/assets/icons/information-circle-solid.svg +1 -0
- package/assets/icons/menu-outline.svg +1 -0
- package/assets/icons/pencil-solid.svg +1 -0
- package/assets/icons/x-circle-solid.svg +1 -0
- package/fesm2022/muziehdesign-components.mjs +31 -83
- package/fesm2022/muziehdesign-components.mjs.map +1 -1
- package/lib/svg-icon/svg-icon.component.d.ts +3 -0
- package/package.json +1 -1
- package/public-api.d.ts +0 -3
- package/styles/design/_button.scss +8 -4
- package/styles/design/_dl.scss +5 -1
- package/styles/design/_dropdown-menu.scss +19 -16
- package/styles/design/_table.scss +2 -2
- package/styles/mixins/_dropdown.scss +1 -0
- package/styles/theme.scss +2 -0
- package/assets/icons/icondefinitions.svg +0 -0
- package/lib/dropdown/dropdown-item.directive.d.ts +0 -9
- package/lib/dropdown/dropdown.component.d.ts +0 -9
- package/lib/dropdown/dropdown.module.d.ts +0 -8
- package/styles/design/_components.scss +0 -0
- package/styles/design/_muzieh.scss +0 -19
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -36,9 +36,6 @@ export { MzDialogConfig } from './lib/dialog/dialog-config';
|
|
|
36
36
|
export { MzDialogRef } from './lib/dialog/dialog-ref';
|
|
37
37
|
export { DrawerContainerComponent } from './lib/dialog/container/drawer-container.component';
|
|
38
38
|
export { MzDialogModule } from './lib/dialog/dialog.module';
|
|
39
|
-
export { MzDropdownComponent } from './lib/dropdown/dropdown.component';
|
|
40
|
-
export { MzDropdownItemDirective } from './lib/dropdown/dropdown-item.directive';
|
|
41
|
-
export { MzDropdownModule } from './lib/dropdown/dropdown.module';
|
|
42
39
|
export { FilterComponent } from './lib/filter/filter.component';
|
|
43
40
|
export { FilterOptionModel } from './lib/filter/filter-option.model';
|
|
44
41
|
export { OptionsFilterComponent } from './lib/options-filter/options-filter.component';
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
.button {
|
|
2
2
|
--tw-ring-color: var(--color-primary);
|
|
3
|
-
@apply inline-flex px-4 py-2.5 font-medium items-center text-sm gap-
|
|
3
|
+
@apply inline-flex px-4 py-2.5 font-medium items-center text-sm gap-2 focus:outline-none focus:ring-2 focus:ring-offset-2 text-secondary relative;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.button-primary {
|
|
7
7
|
@apply text-white shadow-sm bg-blue-600 hover:bg-blue-700 active:bg-blue-800/95;
|
|
8
|
+
|
|
9
|
+
.button-loading-overlay {
|
|
10
|
+
@apply text-white;
|
|
11
|
+
}
|
|
8
12
|
}
|
|
9
13
|
|
|
10
14
|
.button-secondary {
|
|
11
15
|
@apply text-secondary shadow-sm bg-gray-200 hover:bg-gray-300 active:bg-gray-400/65;
|
|
12
16
|
}
|
|
13
17
|
|
|
14
|
-
.button-secondary.active {
|
|
18
|
+
.button-secondary.active, .button-secondary[aria-expanded=true] {
|
|
15
19
|
@apply bg-gray-400/65;
|
|
16
20
|
}
|
|
17
21
|
|
|
@@ -28,7 +32,7 @@
|
|
|
28
32
|
}
|
|
29
33
|
|
|
30
34
|
.button.loading {
|
|
31
|
-
@apply cursor-wait;
|
|
35
|
+
@apply cursor-wait text-transparent;
|
|
32
36
|
}
|
|
33
37
|
|
|
34
38
|
.button-loading-spinner {
|
|
@@ -36,7 +40,7 @@
|
|
|
36
40
|
}
|
|
37
41
|
|
|
38
42
|
.button-loading-overlay {
|
|
39
|
-
@apply absolute inset-0 flex items-center justify-center z-10;
|
|
43
|
+
@apply absolute inset-0 flex items-center justify-center z-10 text-secondary;
|
|
40
44
|
background-color: inherit;
|
|
41
45
|
}
|
|
42
46
|
|
package/styles/design/_dl.scss
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
display: none;
|
|
3
|
-
}
|
|
1
|
+
@use 'mixins/dropdown' as dropdown;
|
|
4
2
|
|
|
5
|
-
.dropdown-menu.show {
|
|
6
|
-
z-index: 1000;
|
|
7
|
-
float: left;
|
|
8
|
-
min-width: 10rem;
|
|
9
|
-
padding: 0.5rem 0;
|
|
10
|
-
display: block;
|
|
11
|
-
background-color: white;
|
|
12
|
-
}
|
|
13
3
|
|
|
14
|
-
.
|
|
15
|
-
|
|
16
|
-
padding: 0.
|
|
4
|
+
.menu {
|
|
5
|
+
@include dropdown.overlay();
|
|
6
|
+
padding: 0.75rem;
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
gap: 0.25rem;
|
|
10
|
+
|
|
11
|
+
.cdk-menu-item {
|
|
12
|
+
border-radius: var(--border-radius);
|
|
13
|
+
padding: 0.625rem 0.75rem;
|
|
14
|
+
text-align: left;
|
|
15
|
+
|
|
16
|
+
&:hover {
|
|
17
|
+
background-color: var(--color-neutral-100);
|
|
18
|
+
}
|
|
17
19
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
+
&:active {
|
|
21
|
+
background-color: var(--color-neutral-200);
|
|
22
|
+
}
|
|
20
23
|
}
|
|
21
24
|
}
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
margin-bottom: -7px;
|
|
73
73
|
margin-left: 10px;
|
|
74
74
|
height: 23px;
|
|
75
|
-
mask-image: url('/assets/arrow-up.svg');
|
|
75
|
+
mask-image: url('/assets/icons/arrow-long-up-mini.svg'); // TODO
|
|
76
76
|
mask-repeat: no-repeat;
|
|
77
77
|
mask-size: 1.2rem;
|
|
78
78
|
mask-position: center;
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
margin-bottom: -7px;
|
|
86
86
|
margin-left: 10px;
|
|
87
87
|
height: 23px;
|
|
88
|
-
mask-image: url('/assets/arrow-down.svg');
|
|
88
|
+
mask-image: url('/assets/icons/arrow-long-down-mini.svg');
|
|
89
89
|
mask-repeat: no-repeat;
|
|
90
90
|
mask-size: 1.2rem;
|
|
91
91
|
mask-position: center;
|
|
@@ -7,4 +7,5 @@
|
|
|
7
7
|
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1) !important;
|
|
8
8
|
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;
|
|
9
9
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow) !important;
|
|
10
|
+
font-size: 0.875rem;
|
|
10
11
|
}
|
package/styles/theme.scss
CHANGED
|
Binary file
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { MzDropdownComponent } from './dropdown.component';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class MzDropdownItemDirective {
|
|
4
|
-
private dropdown;
|
|
5
|
-
constructor(dropdown: MzDropdownComponent);
|
|
6
|
-
close(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MzDropdownItemDirective, [{ host: true; }]>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MzDropdownItemDirective, "[mzDropdownItem]", never, {}, {}, never, never, true, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class MzDropdownComponent {
|
|
3
|
-
label: string;
|
|
4
|
-
open: boolean;
|
|
5
|
-
toggle(): void;
|
|
6
|
-
collapse(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MzDropdownComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MzDropdownComponent, "mz-dropdown", never, { "label": { "alias": "label"; "required": false; }; "open": { "alias": "open"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./dropdown.component";
|
|
3
|
-
import * as i2 from "./dropdown-item.directive";
|
|
4
|
-
export declare class MzDropdownModule {
|
|
5
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MzDropdownModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MzDropdownModule, never, [typeof i1.MzDropdownComponent, typeof i2.MzDropdownItemDirective], [typeof i1.MzDropdownComponent, typeof i2.MzDropdownItemDirective]>;
|
|
7
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MzDropdownModule>;
|
|
8
|
-
}
|
|
File without changes
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
@use 'design/base';
|
|
2
|
-
@use 'design/material';
|
|
3
|
-
@use 'design/button';
|
|
4
|
-
@use 'design/breadcrumb';
|
|
5
|
-
@use 'design/dl';
|
|
6
|
-
@use 'design/dropdown-menu';
|
|
7
|
-
@use 'design/form';
|
|
8
|
-
@use 'design/icon';
|
|
9
|
-
@use 'design/modal';
|
|
10
|
-
@use 'design/pagination';
|
|
11
|
-
@use 'design/table';
|
|
12
|
-
@use 'design/tabs';
|
|
13
|
-
@use 'design/progress-bar';
|
|
14
|
-
@use 'design/alert';
|
|
15
|
-
@use 'design/date-picker';
|
|
16
|
-
@use 'design/infinite_scroll';
|
|
17
|
-
@tailwind base;
|
|
18
|
-
@tailwind components;
|
|
19
|
-
@tailwind utilities;
|