@hestia-earth/ui-components 0.27.21 → 0.27.23

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.
@@ -1,5 +1,5 @@
1
1
  import { SupportedExtensions } from '@hestia-earth/api';
2
- import { JSONLD } from '@hestia-earth/schema';
2
+ import { JSONLD, JSON as HestiaJSON } from '@hestia-earth/schema';
3
3
  import * as i0 from "@angular/core";
4
4
  interface INodeIncluded {
5
5
  node: JSONLD<any>;
@@ -10,11 +10,11 @@ export declare class NodeCsvExportConfirmComponent {
10
10
  private readonly activeModal;
11
11
  protected readonly faDownload: import("@fortawesome/fontawesome-common-types").IconDefinition;
12
12
  protected headers: import("@angular/core").WritableSignal<string[]>;
13
- protected nodes: import("@angular/core").ModelSignal<JSONLD<any>[]>;
14
- protected filename: import("@angular/core").ModelSignal<string>;
15
- protected headerKeys: import("@angular/core").ModelSignal<string[]>;
16
- protected extension: import("@angular/core").ModelSignal<SupportedExtensions>;
17
- protected isUpload: import("@angular/core").ModelSignal<boolean>;
13
+ nodes: import("@angular/core").ModelSignal<(JSONLD<any> | HestiaJSON<any>)[]>;
14
+ filename: import("@angular/core").ModelSignal<string>;
15
+ headerKeys: import("@angular/core").ModelSignal<string[]>;
16
+ extension: import("@angular/core").ModelSignal<SupportedExtensions>;
17
+ isUpload: import("@angular/core").ModelSignal<boolean>;
18
18
  protected closed: import("@angular/core").OutputEmitterRef<void>;
19
19
  protected showIncludeNodes: import("@angular/core").WritableSignal<boolean>;
20
20
  protected includedNodes: import("@angular/core").Signal<INodeIncluded[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/ui-components",
3
- "version": "0.27.21",
3
+ "version": "0.27.23",
4
4
  "description": "HESTIA reusable components",
5
5
  "repository": {
6
6
  "type": "git",
@@ -30,6 +30,7 @@
30
30
  "@hestia-earth/utils": ">=0.13.0",
31
31
  "@ng-bootstrap/ng-bootstrap": "^16.0.0",
32
32
  "@ngrx/component-store": "^17.0.0",
33
+ "@ngrx/signals": "^17.0.0",
33
34
  "angular-svg-icon": "^17.0.0",
34
35
  "angular-svg-icon-preloader": "^7.0.0",
35
36
  "bulma": "^0.9.4",
package/styles.scss CHANGED
@@ -1,6 +1,8 @@
1
+ @use './variables' as hv;
2
+
3
+ @import '@angular/cdk/overlay-prebuilt.css';
1
4
  @import '@hestia-earth/ui-framework/src/styles';
2
5
  @import './tags-input/styles.sass';
3
- @import '@angular/cdk/overlay-prebuilt.css';
4
6
 
5
7
  @import 'bulma-switch';
6
8
 
@@ -285,3 +287,35 @@ ngb-popover-window {
285
287
  padding-right: 0px !important;
286
288
  vertical-align: middle;
287
289
  }
290
+
291
+ .content-screen-padding {
292
+ padding-inline: clamp(
293
+ hv.$content-screen-padding-min-size,
294
+ -22.2174rem + 37.6812%,
295
+ hv.$content-screen-padding-max-size
296
+ );
297
+
298
+ @include touch {
299
+ padding-inline: clamp(
300
+ hv.$content-screen-padding-min-size-touch,
301
+ 0.1635rem + 2.6769%,
302
+ hv.$content-screen-padding-min-size
303
+ );
304
+ }
305
+
306
+ @include desktop {
307
+ padding-inline: clamp(
308
+ hv.$content-screen-padding-min-size-desktop,
309
+ (100vw - $desktop + $container-offset) / 2,
310
+ 100%
311
+ );
312
+ }
313
+
314
+ @include widescreen {
315
+ padding-inline: clamp(
316
+ hv.$content-screen-padding-min-size-desktop,
317
+ (100vw - $widescreen + $container-offset) / 2,
318
+ 100%
319
+ );
320
+ }
321
+ }
package/variables.scss CHANGED
@@ -5,3 +5,9 @@ $background-white-alt: #fefaef;
5
5
  // navigation-menu
6
6
  $navigation-menu-width-desktop: 14rem !default;
7
7
  $navigation-menu-collapsed-width-desktop: 2.8rem !default;
8
+
9
+ // content-screen
10
+ $content-screen-padding-max-size: 23rem;
11
+ $content-screen-padding-min-size: 1.875rem;
12
+ $content-screen-padding-min-size-touch: 1rem;
13
+ $content-screen-padding-min-size-desktop: 2rem;