@softheon/armature 19.14.1 → 19.16.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/README.md CHANGED
@@ -302,30 +302,28 @@ Its recommended to set the theme in an app initializer, though it can be done fr
302
302
  "sevenHundred": "#261E6F",
303
303
  "eightHundred": "#1F1865",
304
304
  "nineHundred": "#130F52",
305
- "a100": "#908AFF",
306
- "a200": "#5F57FF",
307
- "a300": "#5F57FF",
308
- "a400": "#5F57FF",
309
- "a500": "#2F24FF",
310
- "a700": "#160AFF"
305
+ "a50": "rgba(50, 40, 130, 0.04)",
306
+ "a100": "rgba(50, 40, 130, 0.08)",
307
+ "a200": "rgba(50, 40, 130, 0.16)",
308
+ "a300": "rgba(50, 40, 130, 0.24)",
309
+ "a400": "rgba(50, 40, 130, 0.32)",
310
+ "a500": "rgba(50, 40, 130, 0.40)",
311
+ "a600": "rgba(50, 40, 130, 0.48)",
312
+ "a700": "rgba(50, 40, 130, 0.56)",
313
+ "a800": "rgba(50, 40, 130, 0.64)",
314
+ "a900": "rgba(50, 40, 130, 0.72)"
311
315
  },
312
316
  "primaryContrast": {
313
- "fifty": "#000000",
314
- "oneHundred": "#000000",
315
- "twoHundred": "#000000",
316
- "threeHundred": "#000000",
317
+ "fifty": "rgba(0, 0, 0, 0.87)",
318
+ "oneHundred": "rgba(0, 0, 0, 0.87)",
319
+ "twoHundred": "rgba(0, 0, 0, 0.87)",
320
+ "threeHundred": "rgba(0, 0, 0, 0.87)",
317
321
  "fourHundred": "#ffffff",
318
322
  "fiveHundred": "#ffffff",
319
323
  "sixHundred": "#ffffff",
320
324
  "sevenHundred": "#ffffff",
321
325
  "eightHundred": "#ffffff",
322
- "nineHundred": "#ffffff",
323
- "a100": "#000000",
324
- "a200": "#000000",
325
- "a300": "#000000",
326
- "a400": "#000000",
327
- "a500": "#000000",
328
- "a700": "#000000"
326
+ "nineHundred": "#ffffff"
329
327
  }
330
328
  }
331
329
  ```
@@ -346,12 +344,6 @@ export class MyClass {
346
344
  }
347
345
  ```
348
346
 
349
- ### Colors with opacity
350
-
351
- The theme palettes all offer a rgb value through css variables, the following naming convention is used `--{{palette}}-color-{{partsNumber}}-parts-rgb`. So in order to get an opacity of .2 on the primary color, 500 parts the following css can be used
352
-
353
- `rgba(var(--primary-color-500-parts-rgb), .2)`
354
-
355
347
  ## Armature Navigation
356
348
 
357
349
  `<sof-ar-navigation></sof-ar-navigation>` is a mobile-responsive navigation component. It structures the application view content to the right and the navigation to the left.
@@ -1,5 +1,5 @@
1
1
  import { ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges, WritableSignal } from '@angular/core';
2
- import { ApplyColumnStateParams, ColDef, FilterModel, GridReadyEvent, HeaderPosition, NavigateToNextHeaderParams, PaginationChangedEvent, TabToNextHeaderParams } from "ag-grid-community";
2
+ import { ApplyColumnStateParams, ColDef, FilterModel, GridReadyEvent, HeaderPosition, NavigateToNextHeaderParams, PaginationChangedEvent, SortChangedEvent, TabToNextHeaderParams } from "ag-grid-community";
3
3
  import { MatSelect } from '@angular/material/select';
4
4
  import * as i0 from "@angular/core";
5
5
  /** The Softheon Armature Table component */
@@ -100,6 +100,10 @@ export declare class SofTableComponent implements OnInit, OnChanges {
100
100
  private document;
101
101
  /** The id of the filter fieldset */
102
102
  filterFieldSetId: string;
103
+ /** The header cells sort icons */
104
+ headerSortIcons: {
105
+ [key: string]: string;
106
+ };
103
107
  /** On component init */
104
108
  ngOnInit(): void;
105
109
  /**
@@ -120,6 +124,11 @@ export declare class SofTableComponent implements OnInit, OnChanges {
120
124
  onFirstDataRendered(): void;
121
125
  /** Resize grid from size mode */
122
126
  private resizeGrid;
127
+ /**
128
+ * Refresh the cells if sorted to apply styling
129
+ * @note styling is applied with `this.defaultColDef.cellClassRules`, refreshing cells required to take effect.
130
+ */
131
+ onSortChanged(params: SortChangedEvent): void;
123
132
  /**
124
133
  * On page selection change
125
134
  * @param value The selected page number
@@ -83,3 +83,95 @@
83
83
  0px 1px 3px 0px rgba(0, 0, 0, 0.12);
84
84
  }
85
85
  }
86
+
87
+ /** Spacing Utility, Mobile responsive */
88
+
89
+ .sm-m-b-16 {
90
+ @media only screen and (max-width: vars.$mat-lt-md) {
91
+ margin-bottom: 16px !important;
92
+ }
93
+ }
94
+
95
+ .sm-m-b-24 {
96
+ @media only screen and (max-width: vars.$mat-lt-md) {
97
+ margin-bottom: 24px !important;
98
+ }
99
+ }
100
+
101
+ .sm-m-v-24 {
102
+ @media only screen and (max-width: vars.$mat-lt-md) {
103
+ margin-top: 24px !important;
104
+ margin-bottom: 24px !important;
105
+ }
106
+ }
107
+
108
+ .sm-m-b-32 {
109
+ @media only screen and (max-width: vars.$mat-lt-md) {
110
+ margin-bottom: 32px !important;
111
+ }
112
+ }
113
+
114
+ .sm-m-b-64 {
115
+ @media only screen and (max-width: vars.$mat-lt-md) {
116
+ margin-bottom: 64px !important;
117
+ }
118
+ }
119
+
120
+ .sm-screen-m-a-0 {
121
+ @media screen and (max-width: vars.$mat-lt-md) {
122
+ margin: 0 !important;
123
+ }
124
+ }
125
+
126
+ .sm-screen-m-l-0 {
127
+ @media screen and (max-width: vars.$mat-lt-md) {
128
+ margin-left: 0 !important;
129
+ }
130
+ }
131
+
132
+ .sm-screen-m-h-0 {
133
+ @media screen and (max-width: vars.$mat-lt-md) {
134
+ margin-left: 0 !important;
135
+ margin-right: 0 !important;
136
+ }
137
+ }
138
+
139
+ .sm-screen-p-a-0 {
140
+ @media screen and (max-width: vars.$mat-lt-md) {
141
+ padding: 0 !important;
142
+ }
143
+ }
144
+
145
+ .sm-screen-p-h-0 {
146
+ @media screen and (max-width: vars.$mat-lt-md) {
147
+ padding-left: 0 !important;
148
+ padding-right: 0 !important;
149
+ }
150
+ }
151
+
152
+ .md-screen-p-a-0 {
153
+ @media screen and (max-width: vars.$mat-lt-lg) {
154
+ padding: 0 !important;
155
+ }
156
+ }
157
+
158
+ .md-m-v-24 {
159
+ @media only screen and (max-width: vars.$mat-lt-lg) {
160
+ margin-top: 24px !important;
161
+ margin-bottom: 24px !important;
162
+ }
163
+ }
164
+
165
+ .mobile-no-h-margin {
166
+ @media only screen and (max-width: vars.$mat-lt-sm) {
167
+ margin-left: 0 !important;
168
+ margin-right: 0 !important;
169
+ }
170
+ }
171
+
172
+ .mobile-no-h-padding {
173
+ @media only screen and (max-width: vars.$mat-lt-sm) {
174
+ padding-left: 0 !important;
175
+ padding-right: 0 !important;
176
+ }
177
+ }