@genexus/mercury 0.2.0 → 0.3.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.
Files changed (64) hide show
  1. package/dist/assets/MERCURY_ASSETS.ts +3235 -0
  2. package/dist/assets/icons/editing-structures/dark/attribute-description.svg +1 -0
  3. package/dist/assets/icons/editing-structures/dark/attribute-formula.svg +1 -0
  4. package/dist/assets/icons/editing-structures/dark/attribute-key.svg +1 -0
  5. package/dist/assets/icons/editing-structures/dark/default.svg +1 -0
  6. package/dist/assets/icons/editing-structures/dark/formula-redundant.svg +1 -0
  7. package/dist/assets/icons/editing-structures/dark/logical-attributes.svg +1 -0
  8. package/dist/assets/icons/editing-structures/dark/platforms.svg +1 -0
  9. package/dist/assets/icons/editing-structures/dark/redundant-attribute.svg +1 -0
  10. package/dist/assets/icons/editing-structures/dark/system-index.svg +1 -0
  11. package/dist/assets/icons/editing-structures/dark/user-index.svg +1 -0
  12. package/dist/assets/icons/editing-structures/light/attribute-description.svg +1 -0
  13. package/dist/assets/icons/editing-structures/light/attribute-formula.svg +1 -0
  14. package/dist/assets/icons/editing-structures/light/attribute-key.svg +1 -0
  15. package/dist/assets/icons/editing-structures/light/default.svg +1 -0
  16. package/dist/assets/icons/editing-structures/light/formula-redundant.svg +1 -0
  17. package/dist/assets/icons/editing-structures/light/logical-attributes.svg +1 -0
  18. package/dist/assets/icons/editing-structures/light/platforms.svg +1 -0
  19. package/dist/assets/icons/editing-structures/light/redundant-attribute.svg +1 -0
  20. package/dist/assets/icons/editing-structures/light/system-index.svg +1 -0
  21. package/dist/assets/icons/editing-structures/light/user-index.svg +1 -0
  22. package/dist/assets/icons/objects/dark/conversational-flows.svg +1 -1
  23. package/dist/assets/icons/objects/dark/deployment-unit.svg +1 -1
  24. package/dist/assets/icons/objects/dark/diagram.svg +1 -1
  25. package/dist/assets/icons/objects/dark/document-workflow.svg +1 -1
  26. package/dist/assets/icons/objects/dark/file.svg +1 -1
  27. package/dist/assets/icons/objects/dark/image.svg +1 -1
  28. package/dist/assets/icons/objects/dark/main-object.svg +1 -1
  29. package/dist/assets/icons/objects/dark/object.svg +1 -1
  30. package/dist/assets/icons/objects/dark/offline-database.svg +1 -1
  31. package/dist/assets/icons/objects/dark/stencil.svg +1 -1
  32. package/dist/assets/icons/objects/dark/structured-data-type.svg +1 -1
  33. package/dist/assets/icons/objects/dark/super-app.svg +1 -1
  34. package/dist/assets/icons/objects/dark/table.svg +1 -1
  35. package/dist/assets/icons/objects/dark/theme-for-sd.svg +1 -1
  36. package/dist/assets/icons/objects/dark/theme-web.svg +1 -1
  37. package/dist/assets/icons/objects/dark/theme.svg +1 -1
  38. package/dist/assets/icons/objects/dark/url-rewrite.svg +1 -1
  39. package/dist/assets/icons/objects/dark/web-component.svg +1 -1
  40. package/dist/assets/icons/objects/dark/web-panel.svg +1 -1
  41. package/dist/assets/icons/objects/light/conversational-flows.svg +1 -1
  42. package/dist/assets/icons/objects/light/deployment-unit.svg +1 -1
  43. package/dist/assets/icons/objects/light/diagram.svg +1 -1
  44. package/dist/assets/icons/objects/light/document-workflow.svg +1 -1
  45. package/dist/assets/icons/objects/light/file.svg +1 -1
  46. package/dist/assets/icons/objects/light/image.svg +1 -1
  47. package/dist/assets/icons/objects/light/main-object.svg +1 -1
  48. package/dist/assets/icons/objects/light/object.svg +1 -1
  49. package/dist/assets/icons/objects/light/offline-database.svg +1 -1
  50. package/dist/assets/icons/objects/light/stencil.svg +1 -1
  51. package/dist/assets/icons/objects/light/structured-data-type.svg +1 -1
  52. package/dist/assets/icons/objects/light/super-app.svg +1 -1
  53. package/dist/assets/icons/objects/light/table.svg +1 -1
  54. package/dist/assets/icons/objects/light/theme-for-sd.svg +1 -1
  55. package/dist/assets/icons/objects/light/theme-web.svg +1 -1
  56. package/dist/assets/icons/objects/light/theme.svg +1 -1
  57. package/dist/assets/icons/objects/light/url-rewrite.svg +1 -1
  58. package/dist/assets/icons/objects/light/web-component.svg +1 -1
  59. package/dist/assets/icons/objects/light/web-panel.svg +1 -1
  60. package/dist/css/mercury.css +344 -2
  61. package/dist/css/mercury.css.map +1 -1
  62. package/dist/mercury.scss +502 -21
  63. package/package.json +7 -4
  64. package/dist/assets/MERCURY_ASSETS.js +0 -4030
package/dist/mercury.scss CHANGED
@@ -1540,7 +1540,6 @@ Dialog Footer
1540
1540
 
1541
1541
  %heading-base {
1542
1542
  font-family: var(--mer-font-family--title);
1543
- color: var(--mer-color__neutral-gray--100);
1544
1543
  line-height: var(--mer-line-height--tight);
1545
1544
  }
1546
1545
 
@@ -1580,6 +1579,13 @@ Dialog Footer
1580
1579
  font-weight: var(--mer-font__weight--semi-bold);
1581
1580
  }
1582
1581
 
1582
+ // Colors
1583
+ %heading__color {
1584
+ &--highlighted {
1585
+ color: var(--mer-text__highlighted);
1586
+ }
1587
+ }
1588
+
1583
1589
  %text-body {
1584
1590
  font-size: var(--mer-font__size--xs); // 14px
1585
1591
  font-family: var(--mer-body__font-family);
@@ -1619,46 +1625,52 @@ Dialog Footer
1619
1625
  }
1620
1626
 
1621
1627
  /// @group Typography
1622
- /// @param {String} $heading--1-selector [".heading-1"] -
1623
- /// @param {String} $heading--2-selector [".heading-2"] -
1624
- /// @param {String} $heading--3-selector [".heading-3"] -
1625
- /// @param {String} $heading--4-selector [".heading-4"] -
1626
- /// @param {String} $heading--5-selector [".heading-5"] -
1627
- /// @param {String} $heading--6-selector [".heading-6"] -
1628
- /// @param {String} $text-body-selector [".text-body"] -
1628
+ /// @param {String} $heading-1-selector [".heading-1"] -
1629
+ /// @param {String} $heading-2-selector [".heading-2"] -
1630
+ /// @param {String} $heading-3-selector [".heading-3"] -
1631
+ /// @param {String} $heading-4-selector [".heading-4"] -
1632
+ /// @param {String} $heading-5-selector [".heading-5"] -
1633
+ /// @param {String} $heading-6-selector [".heading-6"] -
1634
+ /// @param {String} $heading-highlighted-selector [".heading--highlighted"] -
1635
+ /// @param {String} $text-body-selector [".text--body"] -
1629
1636
  @mixin typography-classes(
1630
- $heading--1-selector: ".heading-1",
1631
- $heading--2-selector: ".heading-2",
1632
- $heading--3-selector: ".heading-3",
1633
- $heading--4-selector: ".heading-4",
1634
- $heading--5-selector: ".heading-5",
1635
- $heading--6-selector: ".heading-6",
1637
+ $heading-1-selector: ".heading-1",
1638
+ $heading-2-selector: ".heading-2",
1639
+ $heading-3-selector: ".heading-3",
1640
+ $heading-4-selector: ".heading-4",
1641
+ $heading-5-selector: ".heading-5",
1642
+ $heading-6-selector: ".heading-6",
1643
+ $heading-highlighted: ".heading--highlighted",
1636
1644
  $text-body-selector: ".text-body"
1637
1645
  ) {
1638
- #{$heading--1-selector} {
1646
+ #{$heading-1-selector} {
1639
1647
  @extend %heading-1;
1640
1648
  }
1641
1649
 
1642
- #{$heading--2-selector} {
1650
+ #{$heading-2-selector} {
1643
1651
  @extend %heading-2;
1644
1652
  }
1645
1653
 
1646
- #{$heading--3-selector} {
1654
+ #{$heading-3-selector} {
1647
1655
  @extend %heading-3;
1648
1656
  }
1649
1657
 
1650
- #{$heading--4-selector} {
1658
+ #{$heading-4-selector} {
1651
1659
  @extend %heading-4;
1652
1660
  }
1653
1661
 
1654
- #{$heading--5-selector} {
1662
+ #{$heading-5-selector} {
1655
1663
  @extend %heading-5;
1656
1664
  }
1657
1665
 
1658
- #{$heading--6-selector} {
1666
+ #{$heading-6-selector} {
1659
1667
  @extend %heading-6;
1660
1668
  }
1661
1669
 
1670
+ #{$heading-highlighted} {
1671
+ @extend %heading__color--highlighted;
1672
+ }
1673
+
1662
1674
  #{$text-body-selector} {
1663
1675
  @extend %text-body;
1664
1676
  }
@@ -1668,7 +1680,6 @@ Dialog Footer
1668
1680
 
1669
1681
  %layout {
1670
1682
  display: grid;
1671
- grid-template-rows: 1fr;
1672
1683
  padding-block: var(--mer-spacing--md);
1673
1684
  padding-inline: var(--mer-spacing--lg);
1674
1685
  gap: var(--mer-spacing--md);
@@ -1678,26 +1689,35 @@ Dialog Footer
1678
1689
  }
1679
1690
 
1680
1691
  &--cols-1 {
1692
+ // Do not add this property in the base class. Otherwise, putting this
1693
+ // class in the Host of the component will override any grid-template
1694
+ // property inside the Shadow DOM due to specificity
1695
+ grid-template-rows: 1fr;
1681
1696
  grid-template-columns: 1fr;
1682
1697
  }
1683
1698
 
1684
1699
  &--cols-2 {
1700
+ grid-template-rows: 1fr;
1685
1701
  grid-template-columns: repeat(2, 1fr);
1686
1702
  }
1687
1703
 
1688
1704
  &--cols-3 {
1705
+ grid-template-rows: 1fr;
1689
1706
  grid-template-columns: repeat(3, 1fr);
1690
1707
  }
1691
1708
 
1692
1709
  &--cols-4 {
1710
+ grid-template-rows: 1fr;
1693
1711
  grid-template-columns: repeat(4, 1fr);
1694
1712
  }
1695
1713
 
1696
1714
  &--cols-1-2 {
1715
+ grid-template-rows: 1fr;
1697
1716
  grid-template-columns: 1fr 2fr;
1698
1717
  }
1699
1718
 
1700
1719
  &--cols-2-1 {
1720
+ grid-template-rows: 1fr;
1701
1721
  grid-template-columns: 2fr 1fr;
1702
1722
  }
1703
1723
  }
@@ -2104,9 +2124,13 @@ Multicolor lists
2104
2124
 
2105
2125
  // objects
2106
2126
  $objects: workflow, work-panel, web-panel, web-component, version, url-rewrite, transaction, to-be-defined, theme, theme-web, theme-for-sd, table, super-app, subtype-group, structured-data-type, stencil, roles, report, references, query, procedure, patterns, panel-for-sd, orphant-document, offline-database, object, notification-templates, module, module-open, mini-app, menubar, menu, masterpage, main-object, language, knowledge-base, image, generator, generator-category, folder, folder-open, file, external-object, environment-select, environment-no-select, dso, domain, document, document-workflow, diagram, design, deployment-unit, dataview-index, datastore, datastore-category, data-view, data-selector, data-provider, dashboard, customization, conversational-flows, category, calendars, business-process-diagram, bg-color, attribute, api;
2127
+
2128
+ // editing-structures
2129
+ $editing-structures: user-index, system-index, redundant-attribute, platforms, logical-attributes, formula-redundant, default, attribute-key, attribute-formula, attribute-description;
2107
2130
 
2108
2131
  $all-multicolor-lists: (
2109
2132
  objects: $objects,
2133
+ editing-structures: $editing-structures,
2110
2134
  );
2111
2135
 
2112
2136
  /* - - - - - - - - - - - - - - - - - -
@@ -2597,6 +2621,7 @@ MULTICOLOR CONSTRUCTS
2597
2621
 
2598
2622
  &__caption {
2599
2623
  @extend %heading-5;
2624
+ @extend %heading__color--highlighted;
2600
2625
  word-break: break-word;
2601
2626
  }
2602
2627
 
@@ -7152,6 +7177,462 @@ MULTICOLOR CONSTRUCTS
7152
7177
  }
7153
7178
 
7154
7179
 
7180
+
7181
+ /* =================================
7182
+ LIGHT CUSTOM PROPERTIES
7183
+ ================================= */
7184
+
7185
+ :root.light {
7186
+ /*editing-structures*/
7187
+ --icon__editing-structures_user-index--enabled: url('#{$icons-path}editing-structures/light/user-index.svg#enabled');
7188
+ --icon__editing-structures_user-index--hover: url('#{$icons-path}editing-structures/light/user-index.svg#hover');
7189
+ --icon__editing-structures_user-index--active: url('#{$icons-path}editing-structures/light/user-index.svg#active');
7190
+ --icon__editing-structures_user-index--disabled: url('#{$icons-path}editing-structures/light/user-index.svg#disabled');
7191
+ --icon__editing-structures_system-index--enabled: url('#{$icons-path}editing-structures/light/system-index.svg#enabled');
7192
+ --icon__editing-structures_system-index--hover: url('#{$icons-path}editing-structures/light/system-index.svg#hover');
7193
+ --icon__editing-structures_system-index--active: url('#{$icons-path}editing-structures/light/system-index.svg#active');
7194
+ --icon__editing-structures_system-index--disabled: url('#{$icons-path}editing-structures/light/system-index.svg#disabled');
7195
+ --icon__editing-structures_redundant-attribute--enabled: url('#{$icons-path}editing-structures/light/redundant-attribute.svg#enabled');
7196
+ --icon__editing-structures_redundant-attribute--hover: url('#{$icons-path}editing-structures/light/redundant-attribute.svg#hover');
7197
+ --icon__editing-structures_redundant-attribute--active: url('#{$icons-path}editing-structures/light/redundant-attribute.svg#active');
7198
+ --icon__editing-structures_redundant-attribute--disabled: url('#{$icons-path}editing-structures/light/redundant-attribute.svg#disabled');
7199
+ --icon__editing-structures_platforms--enabled: url('#{$icons-path}editing-structures/light/platforms.svg#enabled');
7200
+ --icon__editing-structures_platforms--hover: url('#{$icons-path}editing-structures/light/platforms.svg#hover');
7201
+ --icon__editing-structures_platforms--active: url('#{$icons-path}editing-structures/light/platforms.svg#active');
7202
+ --icon__editing-structures_platforms--disabled: url('#{$icons-path}editing-structures/light/platforms.svg#disabled');
7203
+ --icon__editing-structures_logical-attributes--enabled: url('#{$icons-path}editing-structures/light/logical-attributes.svg#enabled');
7204
+ --icon__editing-structures_logical-attributes--hover: url('#{$icons-path}editing-structures/light/logical-attributes.svg#hover');
7205
+ --icon__editing-structures_logical-attributes--active: url('#{$icons-path}editing-structures/light/logical-attributes.svg#active');
7206
+ --icon__editing-structures_logical-attributes--disabled: url('#{$icons-path}editing-structures/light/logical-attributes.svg#disabled');
7207
+ --icon__editing-structures_formula-redundant--enabled: url('#{$icons-path}editing-structures/light/formula-redundant.svg#enabled');
7208
+ --icon__editing-structures_formula-redundant--hover: url('#{$icons-path}editing-structures/light/formula-redundant.svg#hover');
7209
+ --icon__editing-structures_formula-redundant--active: url('#{$icons-path}editing-structures/light/formula-redundant.svg#active');
7210
+ --icon__editing-structures_formula-redundant--disabled: url('#{$icons-path}editing-structures/light/formula-redundant.svg#disabled');
7211
+ --icon__editing-structures_default--enabled: url('#{$icons-path}editing-structures/light/default.svg#enabled');
7212
+ --icon__editing-structures_default--hover: url('#{$icons-path}editing-structures/light/default.svg#hover');
7213
+ --icon__editing-structures_default--active: url('#{$icons-path}editing-structures/light/default.svg#active');
7214
+ --icon__editing-structures_default--disabled: url('#{$icons-path}editing-structures/light/default.svg#disabled');
7215
+ --icon__editing-structures_attribute-key--enabled: url('#{$icons-path}editing-structures/light/attribute-key.svg#enabled');
7216
+ --icon__editing-structures_attribute-key--hover: url('#{$icons-path}editing-structures/light/attribute-key.svg#hover');
7217
+ --icon__editing-structures_attribute-key--active: url('#{$icons-path}editing-structures/light/attribute-key.svg#active');
7218
+ --icon__editing-structures_attribute-key--disabled: url('#{$icons-path}editing-structures/light/attribute-key.svg#disabled');
7219
+ --icon__editing-structures_attribute-formula--enabled: url('#{$icons-path}editing-structures/light/attribute-formula.svg#enabled');
7220
+ --icon__editing-structures_attribute-formula--hover: url('#{$icons-path}editing-structures/light/attribute-formula.svg#hover');
7221
+ --icon__editing-structures_attribute-formula--active: url('#{$icons-path}editing-structures/light/attribute-formula.svg#active');
7222
+ --icon__editing-structures_attribute-formula--disabled: url('#{$icons-path}editing-structures/light/attribute-formula.svg#disabled');
7223
+ --icon__editing-structures_attribute-description--enabled: url('#{$icons-path}editing-structures/light/attribute-description.svg#enabled');
7224
+ --icon__editing-structures_attribute-description--hover: url('#{$icons-path}editing-structures/light/attribute-description.svg#hover');
7225
+ --icon__editing-structures_attribute-description--active: url('#{$icons-path}editing-structures/light/attribute-description.svg#active');
7226
+ --icon__editing-structures_attribute-description--disabled: url('#{$icons-path}editing-structures/light/attribute-description.svg#disabled');
7227
+
7228
+ }
7229
+
7230
+ /* =================================
7231
+ DARK CUSTOM PROPERTIES
7232
+ ================================= */
7233
+
7234
+ :root.dark {
7235
+ /*editing-structures*/
7236
+ --icon__editing-structures_user-index--enabled: url('#{$icons-path}editing-structures/dark/user-index.svg#enabled');
7237
+ --icon__editing-structures_user-index--hover: url('#{$icons-path}editing-structures/dark/user-index.svg#hover');
7238
+ --icon__editing-structures_user-index--active: url('#{$icons-path}editing-structures/dark/user-index.svg#active');
7239
+ --icon__editing-structures_user-index--disabled: url('#{$icons-path}editing-structures/dark/user-index.svg#disabled');
7240
+ --icon__editing-structures_system-index--enabled: url('#{$icons-path}editing-structures/dark/system-index.svg#enabled');
7241
+ --icon__editing-structures_system-index--hover: url('#{$icons-path}editing-structures/dark/system-index.svg#hover');
7242
+ --icon__editing-structures_system-index--active: url('#{$icons-path}editing-structures/dark/system-index.svg#active');
7243
+ --icon__editing-structures_system-index--disabled: url('#{$icons-path}editing-structures/dark/system-index.svg#disabled');
7244
+ --icon__editing-structures_redundant-attribute--enabled: url('#{$icons-path}editing-structures/dark/redundant-attribute.svg#enabled');
7245
+ --icon__editing-structures_redundant-attribute--hover: url('#{$icons-path}editing-structures/dark/redundant-attribute.svg#hover');
7246
+ --icon__editing-structures_redundant-attribute--active: url('#{$icons-path}editing-structures/dark/redundant-attribute.svg#active');
7247
+ --icon__editing-structures_redundant-attribute--disabled: url('#{$icons-path}editing-structures/dark/redundant-attribute.svg#disabled');
7248
+ --icon__editing-structures_platforms--enabled: url('#{$icons-path}editing-structures/dark/platforms.svg#enabled');
7249
+ --icon__editing-structures_platforms--hover: url('#{$icons-path}editing-structures/dark/platforms.svg#hover');
7250
+ --icon__editing-structures_platforms--active: url('#{$icons-path}editing-structures/dark/platforms.svg#active');
7251
+ --icon__editing-structures_platforms--disabled: url('#{$icons-path}editing-structures/dark/platforms.svg#disabled');
7252
+ --icon__editing-structures_logical-attributes--enabled: url('#{$icons-path}editing-structures/dark/logical-attributes.svg#enabled');
7253
+ --icon__editing-structures_logical-attributes--hover: url('#{$icons-path}editing-structures/dark/logical-attributes.svg#hover');
7254
+ --icon__editing-structures_logical-attributes--active: url('#{$icons-path}editing-structures/dark/logical-attributes.svg#active');
7255
+ --icon__editing-structures_logical-attributes--disabled: url('#{$icons-path}editing-structures/dark/logical-attributes.svg#disabled');
7256
+ --icon__editing-structures_formula-redundant--enabled: url('#{$icons-path}editing-structures/dark/formula-redundant.svg#enabled');
7257
+ --icon__editing-structures_formula-redundant--hover: url('#{$icons-path}editing-structures/dark/formula-redundant.svg#hover');
7258
+ --icon__editing-structures_formula-redundant--active: url('#{$icons-path}editing-structures/dark/formula-redundant.svg#active');
7259
+ --icon__editing-structures_formula-redundant--disabled: url('#{$icons-path}editing-structures/dark/formula-redundant.svg#disabled');
7260
+ --icon__editing-structures_default--enabled: url('#{$icons-path}editing-structures/dark/default.svg#enabled');
7261
+ --icon__editing-structures_default--hover: url('#{$icons-path}editing-structures/dark/default.svg#hover');
7262
+ --icon__editing-structures_default--active: url('#{$icons-path}editing-structures/dark/default.svg#active');
7263
+ --icon__editing-structures_default--disabled: url('#{$icons-path}editing-structures/dark/default.svg#disabled');
7264
+ --icon__editing-structures_attribute-key--enabled: url('#{$icons-path}editing-structures/dark/attribute-key.svg#enabled');
7265
+ --icon__editing-structures_attribute-key--hover: url('#{$icons-path}editing-structures/dark/attribute-key.svg#hover');
7266
+ --icon__editing-structures_attribute-key--active: url('#{$icons-path}editing-structures/dark/attribute-key.svg#active');
7267
+ --icon__editing-structures_attribute-key--disabled: url('#{$icons-path}editing-structures/dark/attribute-key.svg#disabled');
7268
+ --icon__editing-structures_attribute-formula--enabled: url('#{$icons-path}editing-structures/dark/attribute-formula.svg#enabled');
7269
+ --icon__editing-structures_attribute-formula--hover: url('#{$icons-path}editing-structures/dark/attribute-formula.svg#hover');
7270
+ --icon__editing-structures_attribute-formula--active: url('#{$icons-path}editing-structures/dark/attribute-formula.svg#active');
7271
+ --icon__editing-structures_attribute-formula--disabled: url('#{$icons-path}editing-structures/dark/attribute-formula.svg#disabled');
7272
+ --icon__editing-structures_attribute-description--enabled: url('#{$icons-path}editing-structures/dark/attribute-description.svg#enabled');
7273
+ --icon__editing-structures_attribute-description--hover: url('#{$icons-path}editing-structures/dark/attribute-description.svg#hover');
7274
+ --icon__editing-structures_attribute-description--active: url('#{$icons-path}editing-structures/dark/attribute-description.svg#active');
7275
+ --icon__editing-structures_attribute-description--disabled: url('#{$icons-path}editing-structures/dark/attribute-description.svg#disabled');
7276
+
7277
+ }
7278
+
7279
+ %icon__editing-structures {
7280
+
7281
+
7282
+ /* =================================
7283
+ LIGHT PLACEHOLDERS SELECTORS
7284
+ ================================= */
7285
+
7286
+
7287
+ /* - - - - - - - - - - - -
7288
+ user-index.svg
7289
+ - - - - - - - - - - - - */
7290
+
7291
+ &_user-index--enabled {
7292
+ --icon-path: var(--icon__editing-structures_user-index--enabled);
7293
+ }
7294
+ &_user-index--hover {
7295
+ --icon-path: var(--icon__editing-structures_user-index--hover);
7296
+ }
7297
+ &_user-index--active {
7298
+ --icon-path: var(--icon__editing-structures_user-index--active);
7299
+ }
7300
+ &_user-index--disabled {
7301
+ --icon-path: var(--icon__editing-structures_user-index--disabled);
7302
+ }
7303
+
7304
+ /* - - - - - - - - - - - -
7305
+ system-index.svg
7306
+ - - - - - - - - - - - - */
7307
+
7308
+ &_system-index--enabled {
7309
+ --icon-path: var(--icon__editing-structures_system-index--enabled);
7310
+ }
7311
+ &_system-index--hover {
7312
+ --icon-path: var(--icon__editing-structures_system-index--hover);
7313
+ }
7314
+ &_system-index--active {
7315
+ --icon-path: var(--icon__editing-structures_system-index--active);
7316
+ }
7317
+ &_system-index--disabled {
7318
+ --icon-path: var(--icon__editing-structures_system-index--disabled);
7319
+ }
7320
+
7321
+ /* - - - - - - - - - - - -
7322
+ redundant-attribute.svg
7323
+ - - - - - - - - - - - - */
7324
+
7325
+ &_redundant-attribute--enabled {
7326
+ --icon-path: var(--icon__editing-structures_redundant-attribute--enabled);
7327
+ }
7328
+ &_redundant-attribute--hover {
7329
+ --icon-path: var(--icon__editing-structures_redundant-attribute--hover);
7330
+ }
7331
+ &_redundant-attribute--active {
7332
+ --icon-path: var(--icon__editing-structures_redundant-attribute--active);
7333
+ }
7334
+ &_redundant-attribute--disabled {
7335
+ --icon-path: var(--icon__editing-structures_redundant-attribute--disabled);
7336
+ }
7337
+
7338
+ /* - - - - - - - - - - - -
7339
+ platforms.svg
7340
+ - - - - - - - - - - - - */
7341
+
7342
+ &_platforms--enabled {
7343
+ --icon-path: var(--icon__editing-structures_platforms--enabled);
7344
+ }
7345
+ &_platforms--hover {
7346
+ --icon-path: var(--icon__editing-structures_platforms--hover);
7347
+ }
7348
+ &_platforms--active {
7349
+ --icon-path: var(--icon__editing-structures_platforms--active);
7350
+ }
7351
+ &_platforms--disabled {
7352
+ --icon-path: var(--icon__editing-structures_platforms--disabled);
7353
+ }
7354
+
7355
+ /* - - - - - - - - - - - -
7356
+ logical-attributes.svg
7357
+ - - - - - - - - - - - - */
7358
+
7359
+ &_logical-attributes--enabled {
7360
+ --icon-path: var(--icon__editing-structures_logical-attributes--enabled);
7361
+ }
7362
+ &_logical-attributes--hover {
7363
+ --icon-path: var(--icon__editing-structures_logical-attributes--hover);
7364
+ }
7365
+ &_logical-attributes--active {
7366
+ --icon-path: var(--icon__editing-structures_logical-attributes--active);
7367
+ }
7368
+ &_logical-attributes--disabled {
7369
+ --icon-path: var(--icon__editing-structures_logical-attributes--disabled);
7370
+ }
7371
+
7372
+ /* - - - - - - - - - - - -
7373
+ formula-redundant.svg
7374
+ - - - - - - - - - - - - */
7375
+
7376
+ &_formula-redundant--enabled {
7377
+ --icon-path: var(--icon__editing-structures_formula-redundant--enabled);
7378
+ }
7379
+ &_formula-redundant--hover {
7380
+ --icon-path: var(--icon__editing-structures_formula-redundant--hover);
7381
+ }
7382
+ &_formula-redundant--active {
7383
+ --icon-path: var(--icon__editing-structures_formula-redundant--active);
7384
+ }
7385
+ &_formula-redundant--disabled {
7386
+ --icon-path: var(--icon__editing-structures_formula-redundant--disabled);
7387
+ }
7388
+
7389
+ /* - - - - - - - - - - - -
7390
+ default.svg
7391
+ - - - - - - - - - - - - */
7392
+
7393
+ &_default--enabled {
7394
+ --icon-path: var(--icon__editing-structures_default--enabled);
7395
+ }
7396
+ &_default--hover {
7397
+ --icon-path: var(--icon__editing-structures_default--hover);
7398
+ }
7399
+ &_default--active {
7400
+ --icon-path: var(--icon__editing-structures_default--active);
7401
+ }
7402
+ &_default--disabled {
7403
+ --icon-path: var(--icon__editing-structures_default--disabled);
7404
+ }
7405
+
7406
+ /* - - - - - - - - - - - -
7407
+ attribute-key.svg
7408
+ - - - - - - - - - - - - */
7409
+
7410
+ &_attribute-key--enabled {
7411
+ --icon-path: var(--icon__editing-structures_attribute-key--enabled);
7412
+ }
7413
+ &_attribute-key--hover {
7414
+ --icon-path: var(--icon__editing-structures_attribute-key--hover);
7415
+ }
7416
+ &_attribute-key--active {
7417
+ --icon-path: var(--icon__editing-structures_attribute-key--active);
7418
+ }
7419
+ &_attribute-key--disabled {
7420
+ --icon-path: var(--icon__editing-structures_attribute-key--disabled);
7421
+ }
7422
+
7423
+ /* - - - - - - - - - - - -
7424
+ attribute-formula.svg
7425
+ - - - - - - - - - - - - */
7426
+
7427
+ &_attribute-formula--enabled {
7428
+ --icon-path: var(--icon__editing-structures_attribute-formula--enabled);
7429
+ }
7430
+ &_attribute-formula--hover {
7431
+ --icon-path: var(--icon__editing-structures_attribute-formula--hover);
7432
+ }
7433
+ &_attribute-formula--active {
7434
+ --icon-path: var(--icon__editing-structures_attribute-formula--active);
7435
+ }
7436
+ &_attribute-formula--disabled {
7437
+ --icon-path: var(--icon__editing-structures_attribute-formula--disabled);
7438
+ }
7439
+
7440
+ /* - - - - - - - - - - - -
7441
+ attribute-description.svg
7442
+ - - - - - - - - - - - - */
7443
+
7444
+ &_attribute-description--enabled {
7445
+ --icon-path: var(--icon__editing-structures_attribute-description--enabled);
7446
+ }
7447
+ &_attribute-description--hover {
7448
+ --icon-path: var(--icon__editing-structures_attribute-description--hover);
7449
+ }
7450
+ &_attribute-description--active {
7451
+ --icon-path: var(--icon__editing-structures_attribute-description--active);
7452
+ }
7453
+ &_attribute-description--disabled {
7454
+ --icon-path: var(--icon__editing-structures_attribute-description--disabled);
7455
+ }
7456
+
7457
+
7458
+ /* =================================
7459
+ DARK PLACEHOLDERS SELECTORS
7460
+ ================================= */
7461
+
7462
+
7463
+ /* - - - - - - - - - - - -
7464
+ user-index.svg
7465
+ - - - - - - - - - - - - */
7466
+
7467
+ &_user-index--enabled {
7468
+ --icon-path: var(--icon__editing-structures_user-index--enabled);
7469
+ }
7470
+ &_user-index--hover {
7471
+ --icon-path: var(--icon__editing-structures_user-index--hover);
7472
+ }
7473
+ &_user-index--active {
7474
+ --icon-path: var(--icon__editing-structures_user-index--active);
7475
+ }
7476
+ &_user-index--disabled {
7477
+ --icon-path: var(--icon__editing-structures_user-index--disabled);
7478
+ }
7479
+
7480
+ /* - - - - - - - - - - - -
7481
+ system-index.svg
7482
+ - - - - - - - - - - - - */
7483
+
7484
+ &_system-index--enabled {
7485
+ --icon-path: var(--icon__editing-structures_system-index--enabled);
7486
+ }
7487
+ &_system-index--hover {
7488
+ --icon-path: var(--icon__editing-structures_system-index--hover);
7489
+ }
7490
+ &_system-index--active {
7491
+ --icon-path: var(--icon__editing-structures_system-index--active);
7492
+ }
7493
+ &_system-index--disabled {
7494
+ --icon-path: var(--icon__editing-structures_system-index--disabled);
7495
+ }
7496
+
7497
+ /* - - - - - - - - - - - -
7498
+ redundant-attribute.svg
7499
+ - - - - - - - - - - - - */
7500
+
7501
+ &_redundant-attribute--enabled {
7502
+ --icon-path: var(--icon__editing-structures_redundant-attribute--enabled);
7503
+ }
7504
+ &_redundant-attribute--hover {
7505
+ --icon-path: var(--icon__editing-structures_redundant-attribute--hover);
7506
+ }
7507
+ &_redundant-attribute--active {
7508
+ --icon-path: var(--icon__editing-structures_redundant-attribute--active);
7509
+ }
7510
+ &_redundant-attribute--disabled {
7511
+ --icon-path: var(--icon__editing-structures_redundant-attribute--disabled);
7512
+ }
7513
+
7514
+ /* - - - - - - - - - - - -
7515
+ platforms.svg
7516
+ - - - - - - - - - - - - */
7517
+
7518
+ &_platforms--enabled {
7519
+ --icon-path: var(--icon__editing-structures_platforms--enabled);
7520
+ }
7521
+ &_platforms--hover {
7522
+ --icon-path: var(--icon__editing-structures_platforms--hover);
7523
+ }
7524
+ &_platforms--active {
7525
+ --icon-path: var(--icon__editing-structures_platforms--active);
7526
+ }
7527
+ &_platforms--disabled {
7528
+ --icon-path: var(--icon__editing-structures_platforms--disabled);
7529
+ }
7530
+
7531
+ /* - - - - - - - - - - - -
7532
+ logical-attributes.svg
7533
+ - - - - - - - - - - - - */
7534
+
7535
+ &_logical-attributes--enabled {
7536
+ --icon-path: var(--icon__editing-structures_logical-attributes--enabled);
7537
+ }
7538
+ &_logical-attributes--hover {
7539
+ --icon-path: var(--icon__editing-structures_logical-attributes--hover);
7540
+ }
7541
+ &_logical-attributes--active {
7542
+ --icon-path: var(--icon__editing-structures_logical-attributes--active);
7543
+ }
7544
+ &_logical-attributes--disabled {
7545
+ --icon-path: var(--icon__editing-structures_logical-attributes--disabled);
7546
+ }
7547
+
7548
+ /* - - - - - - - - - - - -
7549
+ formula-redundant.svg
7550
+ - - - - - - - - - - - - */
7551
+
7552
+ &_formula-redundant--enabled {
7553
+ --icon-path: var(--icon__editing-structures_formula-redundant--enabled);
7554
+ }
7555
+ &_formula-redundant--hover {
7556
+ --icon-path: var(--icon__editing-structures_formula-redundant--hover);
7557
+ }
7558
+ &_formula-redundant--active {
7559
+ --icon-path: var(--icon__editing-structures_formula-redundant--active);
7560
+ }
7561
+ &_formula-redundant--disabled {
7562
+ --icon-path: var(--icon__editing-structures_formula-redundant--disabled);
7563
+ }
7564
+
7565
+ /* - - - - - - - - - - - -
7566
+ default.svg
7567
+ - - - - - - - - - - - - */
7568
+
7569
+ &_default--enabled {
7570
+ --icon-path: var(--icon__editing-structures_default--enabled);
7571
+ }
7572
+ &_default--hover {
7573
+ --icon-path: var(--icon__editing-structures_default--hover);
7574
+ }
7575
+ &_default--active {
7576
+ --icon-path: var(--icon__editing-structures_default--active);
7577
+ }
7578
+ &_default--disabled {
7579
+ --icon-path: var(--icon__editing-structures_default--disabled);
7580
+ }
7581
+
7582
+ /* - - - - - - - - - - - -
7583
+ attribute-key.svg
7584
+ - - - - - - - - - - - - */
7585
+
7586
+ &_attribute-key--enabled {
7587
+ --icon-path: var(--icon__editing-structures_attribute-key--enabled);
7588
+ }
7589
+ &_attribute-key--hover {
7590
+ --icon-path: var(--icon__editing-structures_attribute-key--hover);
7591
+ }
7592
+ &_attribute-key--active {
7593
+ --icon-path: var(--icon__editing-structures_attribute-key--active);
7594
+ }
7595
+ &_attribute-key--disabled {
7596
+ --icon-path: var(--icon__editing-structures_attribute-key--disabled);
7597
+ }
7598
+
7599
+ /* - - - - - - - - - - - -
7600
+ attribute-formula.svg
7601
+ - - - - - - - - - - - - */
7602
+
7603
+ &_attribute-formula--enabled {
7604
+ --icon-path: var(--icon__editing-structures_attribute-formula--enabled);
7605
+ }
7606
+ &_attribute-formula--hover {
7607
+ --icon-path: var(--icon__editing-structures_attribute-formula--hover);
7608
+ }
7609
+ &_attribute-formula--active {
7610
+ --icon-path: var(--icon__editing-structures_attribute-formula--active);
7611
+ }
7612
+ &_attribute-formula--disabled {
7613
+ --icon-path: var(--icon__editing-structures_attribute-formula--disabled);
7614
+ }
7615
+
7616
+ /* - - - - - - - - - - - -
7617
+ attribute-description.svg
7618
+ - - - - - - - - - - - - */
7619
+
7620
+ &_attribute-description--enabled {
7621
+ --icon-path: var(--icon__editing-structures_attribute-description--enabled);
7622
+ }
7623
+ &_attribute-description--hover {
7624
+ --icon-path: var(--icon__editing-structures_attribute-description--hover);
7625
+ }
7626
+ &_attribute-description--active {
7627
+ --icon-path: var(--icon__editing-structures_attribute-description--active);
7628
+ }
7629
+ &_attribute-description--disabled {
7630
+ --icon-path: var(--icon__editing-structures_attribute-description--disabled);
7631
+ }
7632
+
7633
+ }
7634
+
7635
+
7155
7636
  /*monochrome lists*/
7156
7637
 
7157
7638
 
package/package.json CHANGED
@@ -1,19 +1,21 @@
1
1
  {
2
2
  "name": "@genexus/mercury",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Mercury is the design system designed for GeneXus IDE Web and GeneXus Next",
5
5
  "main": "dist/mercury.scss",
6
+ "module": "dist/assets-manager.js",
7
+ "types": "dist/assets-manager.d.ts",
6
8
  "files": [
7
9
  "dist/"
8
10
  ],
9
11
  "type": "module",
10
12
  "scripts": {
11
- "build": "npm run icons-svg && npm run icons-sass && npm run build.scss && npm run copy-tasks && npm run showcase.scss",
13
+ "build": "tsc && npm run icons-svg && npm run icons-sass && npm run build.scss && npm run copy-tasks && npm run showcase.scss",
12
14
  "build-no-svg": "npm run build.scss && npm run copy-tasks",
13
15
  "build.scss": "scss-bundle -e ./src/mercury.scss -o dist/mercury.scss && sass test/test.scss dist/css/mercury.css",
14
16
  "test": "sass test/test.scss test/mercury.css",
15
17
  "validate.ci": "npm run build-no-svg",
16
- "icons-svg": "ssg-svg --srcDir=src/icons/svg-source --outDir=src/assets/icons/_generated/ --configFilePath=src/icons/svg-source/.config/color-states.json --showcaseDir=showcase/icons/ --showcaseBaseHref=../assets/icons/ --logDir=./log --objectFilePath=src/assets/MERCURY_ASSETS.js",
18
+ "icons-svg": "ssg-svg --srcDir=src/icons/svg-source --outDir=src/assets/icons/_generated/ --configFilePath=src/icons/svg-source/.config/color-states.json --showcaseDir=showcase/icons/ --showcaseBaseHref=../assets/icons/ --logDir=./log --objectFilePath=src/assets/MERCURY_ASSETS.ts",
17
19
  "icons-sass": "ssg-sass src/assets/icons/ src/icons/_generated/ src/icons/svg-source/.config/color-states.json",
18
20
  "watch:sass": "chokidar src/**/*.scss ../common/**/*.scss -c \"npm run build.scss\"",
19
21
  "copy-tasks": "node copy-tasks.js",
@@ -22,11 +24,12 @@
22
24
  "license": "MIT",
23
25
  "devDependencies": {
24
26
  "@atao60/fse-cli": "^0.1.9",
27
+ "@genexus/svg-sass-generator": "1.1.15",
25
28
  "chokidar": "^3.6.0",
26
29
  "chokidar-cli": "^3.0.0",
27
30
  "sass": "~1.72.0",
28
31
  "scss-bundle": "~3.1.2",
29
- "@genexus/svg-sass-generator": "1.1.15"
32
+ "typescript": "~5.5.3"
30
33
  },
31
34
  "engines": {
32
35
  "pnpm": ">=3"