@genexus/mercury 0.8.10 → 0.8.11

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 @@
1
+ .widget{--spacing-body-block-start: var(--mer-spacing--md);--spacing-body-block-end: var(--mer-spacing--md);--spacing-body-inline-start: var(--mer-spacing--md);--spacing-body-inline-end: var(--mer-spacing--md)}
@@ -0,0 +1,3 @@
1
+ @import "../../../mercury.scss";
2
+
3
+ @include mercury-only($components: true, $widget: true);
package/dist/bundles.d.ts CHANGED
@@ -2,7 +2,7 @@ export type MercuryBundles = [MercuryBundleReset, ...MercuryBundleOptimized[]] |
2
2
  export type MercuryBundleOptimized = MercuryBundleComponent | MercuryBundleComponentForm | MercuryBundleUtil;
3
3
  export type MercuryBundleFull = MercuryBundleComponent | MercuryBundleUtil | MercuryBundleUtilFormFull;
4
4
  export type MercuryBundleBase = "base/base" | "base/icons";
5
- export type MercuryBundleComponent = "components/accordion" | "components/chat" | "components/code" | "components/dialog" | "components/flexible-layout" | "components/list-box" | "components/markdown-viewer" | "components/navigation-list" | "components/segmented-control" | "components/sidebar" | "components/tab" | "components/tabular-grid" | "components/ticket-list" | "components/tree-view" | "components/tooltip";
5
+ export type MercuryBundleComponent = "components/accordion" | "components/chat" | "components/code" | "components/dialog" | "components/flexible-layout" | "components/list-box" | "components/markdown-viewer" | "components/navigation-list" | "components/segmented-control" | "components/sidebar" | "components/tab" | "components/tabular-grid" | "components/ticket-list" | "components/tooltip" | "components/tree-view" | "components/widget";
6
6
  export type MercuryBundleComponentForm = "components/button" | "components/checkbox" | "components/combo-box" | "components/edit" | "components/icon" | "components/radio-group" | "components/slider";
7
7
  export type MercuryBundleReset = "resets/box-sizing";
8
8
  export type MercuryBundleUtil = "utils/form" | "utils/layout" | "utils/typography" | "chameleon/scrollbar";
@@ -200,6 +200,14 @@ export declare const getThemeBundles: (basePath: string) => [{
200
200
  readonly name: BundleNames;
201
201
  readonly url: `${string}components/tree-view.css`;
202
202
  readonly attachStyleSheet: boolean;
203
+ }, {
204
+ readonly name: BundleNames;
205
+ readonly url: `${string}components/widget.css`;
206
+ readonly attachStyleSheet?: undefined;
207
+ } | {
208
+ readonly name: BundleNames;
209
+ readonly url: `${string}components/widget.css`;
210
+ readonly attachStyleSheet: boolean;
203
211
  }, {
204
212
  readonly name: BundleNames;
205
213
  readonly url: `${string}resets/box-sizing.css`;
package/dist/bundles.js CHANGED
@@ -48,6 +48,7 @@ export const getThemeBundles = (basePath) => [
48
48
  getThemeModelItem(basePath, "components/ticket-list"),
49
49
  getThemeModelItem(basePath, "components/tooltip"),
50
50
  getThemeModelItem(basePath, "components/tree-view"),
51
+ getThemeModelItem(basePath, "components/widget"),
51
52
  // Resets
52
53
  getThemeModelItem(basePath, "resets/box-sizing"),
53
54
  // Utils
package/dist/mercury.scss CHANGED
@@ -8613,6 +8613,21 @@
8613
8613
  );
8614
8614
  }
8615
8615
 
8616
+ %widget {
8617
+ --spacing-body-block-start: var(--mer-spacing--md);
8618
+ --spacing-body-block-end: var(--mer-spacing--md);
8619
+ --spacing-body-inline-start: var(--mer-spacing--md);
8620
+ --spacing-body-inline-end: var(--mer-spacing--md);
8621
+ }
8622
+
8623
+ /// @group Widget
8624
+ /// @param {String} $selector [".widget"] -
8625
+ @mixin widget($selector: ".widget") {
8626
+ #{$selector} {
8627
+ @extend %widget;
8628
+ }
8629
+ }
8630
+
8616
8631
 
8617
8632
  @mixin mercury(
8618
8633
  // Resets
@@ -8681,7 +8696,8 @@
8681
8696
  $tabular-grid: true,
8682
8697
  $ticket-list: true,
8683
8698
  $tooltip: true,
8684
- $tree-view: true
8699
+ $tree-view: true,
8700
+ $widget: true
8685
8701
  ) {
8686
8702
  // - - - - - - - - - - - - - - - - - - - -
8687
8703
  // Icons
@@ -16991,6 +17007,10 @@
16991
17007
  @if $tree-view {
16992
17008
  @include tree-view();
16993
17009
  }
17010
+
17011
+ @if $widget {
17012
+ @include widget();
17013
+ }
16994
17014
  }
16995
17015
 
16996
17016
  @mixin mercury-only(
@@ -17060,7 +17080,8 @@
17060
17080
  $tabular-grid: false,
17061
17081
  $ticket-list: false,
17062
17082
  $tooltip: false,
17063
- $tree-view: false
17083
+ $tree-view: false,
17084
+ $widget: false
17064
17085
  ) {
17065
17086
  @include mercury(
17066
17087
  // Resets
@@ -17129,6 +17150,7 @@
17129
17150
  $tabular-grid: $tabular-grid,
17130
17151
  $ticket-list: $ticket-list,
17131
17152
  $tooltip: $tooltip,
17132
- $tree-view: $tree-view
17153
+ $tree-view: $tree-view,
17154
+ $widget: $widget
17133
17155
  );
17134
17156
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@genexus/mercury",
3
- "version": "0.8.10",
3
+ "version": "0.8.11",
4
4
  "description": "Mercury is the design system designed for GeneXus IDE Web and GeneXus Next",
5
5
  "main": "dist/mercury.scss",
6
6
  "module": "dist/assets-manager.js",