otimus-library 0.2.71 → 0.2.73

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,17 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class OcMessageComponent {
4
+ isOpen: boolean;
5
+ ocColor: 'default' | 'green' | 'red';
6
+ ocClosable: boolean;
7
+ ocIcon: string;
8
+ private _ocTitle;
9
+ set ocTitle(value: string);
10
+ get ocTitle(): string;
11
+ ocOnClose: EventEmitter<any>;
12
+ ocOnOpen: EventEmitter<any>;
13
+ open(): void;
14
+ close(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<OcMessageComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<OcMessageComponent, "oc-message", never, { "isOpen": { "alias": "isOpen"; "required": false; }; "ocColor": { "alias": "ocColor"; "required": false; }; "ocClosable": { "alias": "ocClosable"; "required": false; }; "ocIcon": { "alias": "ocIcon"; "required": false; }; "ocTitle": { "alias": "ocTitle"; "required": false; }; }, { "ocOnClose": "ocOnClose"; "ocOnOpen": "ocOnOpen"; }, never, ["[ocIcon]", "[ocHeader]", "*"], true, never>;
17
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otimus-library",
3
- "version": "0.2.71",
3
+ "version": "0.2.73",
4
4
  "license": "MIT",
5
5
  "peerDependencies": {
6
6
  "@angular/cdk": "^18.2.14",
package/public-api.d.ts CHANGED
@@ -24,3 +24,4 @@ export * from './lib/components/oc-tabs/oc-tabs.component';
24
24
  export * from './lib/components/oc-tab/oc-tab.component';
25
25
  export * from './lib/components/oc-accordion/oc-accordion.component';
26
26
  export * from './lib/components/oc-accordion-item/oc-accordion-item.component';
27
+ export * from './lib/components/oc-message/oc-message.component';
@@ -6,9 +6,9 @@
6
6
  margin: 20px 0;
7
7
  font-size: 1em;
8
8
  font-family: 'Arial', sans-serif;
9
-
9
+
10
10
  thead {
11
- min-height: 50px ;
11
+ min-height: 50px;
12
12
  height: 50px;
13
13
  }
14
14
 
@@ -19,9 +19,21 @@
19
19
  border-top: 0;
20
20
  border-bottom: 0;
21
21
  }
22
+
23
+ &.refreshing tr {
24
+ opacity: 0.4;
25
+ animation: refreshing 1.3s ease-in-out infinite;
26
+ }
27
+
28
+ @for $i from 1 through 10 {
29
+ &.refreshing tr:nth-child(#{$i}) {
30
+ animation-delay: #{($i - 1) * 0.2}s;
31
+ }
32
+ }
22
33
  }
23
34
 
24
- .oc.table th, .oc.table td {
35
+ .oc.table th,
36
+ .oc.table td {
25
37
  padding: 13px 15px;
26
38
  text-align: left;
27
39
  }
@@ -40,31 +52,46 @@
40
52
  border-bottom: 1px solid variables.$color-gray-5;
41
53
  }
42
54
 
43
- .oc.table th:first-child, .oc.table td:first-child {
55
+ .oc.table th:first-child,
56
+ .oc.table td:first-child {
44
57
  border-top-left-radius: 10px;
45
58
  }
46
59
 
47
- .oc.table th:last-child, .oc.table td:last-child {
60
+ .oc.table th:last-child,
61
+ .oc.table td:last-child {
48
62
  border-top-right-radius: 10px;
49
63
  }
50
64
 
51
- .oc.table th:first-child, .oc.table td:first-child {
65
+ .oc.table th:first-child,
66
+ .oc.table td:first-child {
52
67
  border-bottom-left-radius: 10px;
53
68
  }
54
69
 
55
- .oc.table th:last-child, .oc.table td:last-child {
70
+ .oc.table th:last-child,
71
+ .oc.table td:last-child {
56
72
  border-bottom-right-radius: 10px;
57
73
  }
58
74
 
59
75
  .oc.table tr:hover {
60
- background-color: #F5F5F5 !important;
76
+ background-color: #f5f5f5 !important;
61
77
  }
62
78
 
63
-
64
79
  .button-row {
65
80
  display: flex;
66
81
  justify-content: flex-end;
67
- gap: .75rem;
82
+ gap: 0.75rem;
83
+ }
84
+
85
+ @keyframes refreshing {
86
+ 0% {
87
+ opacity: 0.3;
88
+ }
89
+ 50% {
90
+ opacity: 0.6;
91
+ }
92
+ 100% {
93
+ opacity: 0.3;
94
+ }
68
95
  }
69
96
 
70
- @import './table.shui.scss';
97
+ @import './table.shui.scss';