@colijnit/corecomponents_v12 254.1.2 → 254.1.4

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.
@@ -0,0 +1,16 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { IconCacheService } from "../icon/icon-cache.service";
3
+ export declare class ListOfIconsComponent implements OnInit {
4
+ icons: IconCacheService;
5
+ set collection(value: any[]);
6
+ get collection(): any[];
7
+ showClass(): boolean;
8
+ readonly Icon: any;
9
+ showMenu: boolean;
10
+ activeItem: any;
11
+ private _collection;
12
+ constructor(icons: IconCacheService);
13
+ ngOnInit(): void;
14
+ toggleMenu(): void;
15
+ selectItem(item: any): void;
16
+ }
@@ -0,0 +1,2 @@
1
+ export declare class ListOfIconsModule {
2
+ }
@@ -0,0 +1,71 @@
1
+ @include export-module('co-list-of-icons-layout') {
2
+ .co-list-of-icons {
3
+ display: block;
4
+ padding: 8px;
5
+ font-family: $cc-co-input-text-font-family;
6
+ font-size: $cc-co-input-text-font-size;
7
+ background: $cc-co-list-of-values-background-color;
8
+ }
9
+
10
+ .icon-item {
11
+ position: relative;
12
+ display: flex;
13
+ flex-direction: column;
14
+ align-items: center;
15
+ cursor: pointer;
16
+
17
+ .drop-arrow {
18
+ position: absolute;
19
+ top: 8px;
20
+ right: -14px;
21
+ }
22
+
23
+ .co-icon svg {
24
+ fill: $color-menu;
25
+ }
26
+
27
+ .label {
28
+ margin-top: 2px;
29
+ }
30
+
31
+ &.menu-opened {
32
+ .drop-arrow {
33
+ transform: rotate(180deg);
34
+ }
35
+ }
36
+
37
+ &:hover,
38
+ &.menu-opened {
39
+ .co-icon svg {
40
+ fill: $color-action;
41
+ }
42
+
43
+ .label {
44
+ color: $color-action;
45
+ }
46
+ }
47
+ }
48
+
49
+ .dropdown-menu {
50
+ padding-top: 10px;
51
+
52
+ .icon-item {
53
+ margin-bottom: 8px;
54
+
55
+ &:last-of-type {
56
+ margin: 0;
57
+ }
58
+
59
+ &.active {
60
+ .co-icon svg {
61
+ fill: $color-action;
62
+ }
63
+
64
+ .label {
65
+ color: $color-action;
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+
@@ -0,0 +1,20 @@
1
+ $cc-co-input-text-font-family: $cc-font-family !default;
2
+ $cc-co-input-text-font-size: $cc-font-size-default !default;
3
+ $cc-co-input-text-font-color: $cc-color-dark !default;
4
+ $cc-co-input-text-background-color: white !default;
5
+ $cc-co-input-text-border-color: $cc-color-border !default;
6
+ $cc-co-input-placeholder-color: $cc-color-border !default;
7
+ $cc-co-input-placeholder-font-style: italic !default;
8
+ $cc-co-input-text-small-height: 45px !default;
9
+ $cc-co-input-text-icon-max-height: $cc-item-size !default;
10
+ $cc-co-input-text-icon-size: 50% !default;
11
+ $cc-co-input-text-icon-margin-number: 0 !default;
12
+ $cc-co-input-text-spacer-width: $cc-input-border-width !default;
13
+ $cc-co-input-text-right-spacer-width: 0 !default;
14
+ $cc-co-input-text-spacer-color: $cc-input-border-color !default;
15
+ $cc-co-list-of-values-background-color: white !default;
16
+ $cc-co-list-of-values-lov-options-border: 1px solid $cc-input-border-color !default;
17
+ $color-menu: #6b6e8a;
18
+ $color-action: #1A73E8;
19
+ //$cc-co-input-label-color: $cc-color-border !default;
20
+ //$cc-co-input-label-font-style: normal !default;
@@ -0,0 +1,5 @@
1
+ @include export-module('co-list-of-icons-theme') {
2
+ .co-list-of-icons {
3
+
4
+ }
5
+ }
@@ -0,0 +1,7 @@
1
+ @import "../../../style/mixin";
2
+ @import "../../../style/input.mixins";
3
+ @import "./material-definition";
4
+ @import "./layout";
5
+ @import "./theme";
6
+ @import "../../validation-error/style/material";
7
+ @import "../../base/commit-buttons/style/material";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "254.1.2",
3
+ "version": "254.1.4",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {
package/public-api.d.ts CHANGED
@@ -74,6 +74,8 @@ export * from './lib/components/view-mode-buttons/content-view-mode.enum';
74
74
  export * from './lib/components/list-of-values/list-of-values.component';
75
75
  export * from './lib/components/list-of-values/list-of-values-popup.component';
76
76
  export * from './lib/components/list-of-values/list-of-values.module';
77
+ export * from './lib/components/list-of-icons/list-of-icons.component';
78
+ export * from './lib/components/list-of-icons/list-of-icons.module';
77
79
  export * from './lib/components/responsive-text/responsive-text.component';
78
80
  export * from './lib/components/responsive-text/responsive-text.module';
79
81
  export * from './lib/components/color-picker/color-picker.component';