@uxland/primary-shell 7.47.6 → 7.48.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxland/primary-shell",
3
- "version": "7.47.6",
3
+ "version": "7.48.0",
4
4
  "description": "Primaria Shell",
5
5
  "author": "UXLand <dev@uxland.es>",
6
6
  "homepage": "https://github.com/uxland/harmonix/tree/app#readme",
@@ -29,7 +29,7 @@
29
29
  display: grid;
30
30
  flex: 1;
31
31
  min-height: 0;
32
- grid-template-columns: 1fr 1fr;
32
+ grid-template-columns: 50% 50%;
33
33
  gap: 16px;
34
34
  padding: 16px;
35
35
  }
@@ -54,31 +54,26 @@
54
54
  overflow-y: auto;
55
55
  }
56
56
 
57
- /* Left column: vertical stack of multiple views with a gap. The last view
58
- takes the remaining space and handles its own scroll; preceding views
59
- keep their natural height. */
57
+ /* Left column: vertical stack of accordion widgets. Each one keeps its natural
58
+ height and bounds its own inner scroll, so the column scrolls as a whole —
59
+ same as the right column. */
60
60
  .content > primaria-region[name="import-data-activity-history-region"] > div {
61
61
  display: flex;
62
62
  flex-direction: column;
63
63
  gap: 16px;
64
- overflow: hidden;
64
+ overflow-y: auto;
65
65
  }
66
66
 
67
67
  .content > primaria-region[name="import-data-activity-history-region"] > div > * {
68
68
  flex-shrink: 0;
69
69
  }
70
70
 
71
- .content > primaria-region[name="import-data-activity-history-region"] > div > *:last-child {
72
- flex: 1;
73
- min-height: 0;
74
- }
75
-
76
71
  .footer {
77
72
  display: flex;
78
73
  flex-direction: row;
79
74
  align-items: center;
80
75
  background: white;
81
- justify-content: end;
76
+ justify-content: center;
82
77
  gap: 12px;
83
78
  height: 56px;
84
79
  border-top: 1px solid var(--color-neutral-100);
@@ -20,6 +20,7 @@ export const template = (props: ImportDataManagerModal) => {
20
20
  variant="secondary"
21
21
  ></dss-button>
22
22
  <dss-button
23
+ icon="add_circle"
23
24
  label="${translate("importDataManager.actions.import")}"
24
25
  @click="${() => {
25
26
  props._accept();
@@ -1 +0,0 @@
1
- {"version":3,"file":"component-CQxI1o5p.js","sources":["../src/api/import-data-manager/component/template.ts","../src/api/import-data-manager/component/component.ts"],"sourcesContent":["import { html } from \"lit\";\nimport { translate } from \"../../../locales\";\nimport { shellApi } from \"../../api\";\nimport { ImportDataManagerModal } from \"./component\";\n\nexport const template = (props: ImportDataManagerModal) => {\n return html`\n <div class=\"container\">\n <div class=\"content\">\n <primaria-region name=\"${shellApi.regionManager.regions.shell.importDataActivityHistory}\"></primaria-region>\n <primaria-region name=\"${shellApi.regionManager.regions.shell.importData}\"></primaria-region>\n </div>\n <div class=\"footer\">\n <dss-button\n label=\"${translate(\"importDataManager.actions.cancel\")}\"\n @click=\"${() => {\n props.cancel();\n }}\"\n size=\"md\"\n variant=\"secondary\"\n ></dss-button>\n <dss-button\n label=\"${translate(\"importDataManager.actions.import\")}\"\n @click=\"${() => {\n props._accept();\n }}\"\n size=\"md\"\n variant=\"primary\"\n ></dss-button>\n </div>\n </div>\n `;\n};\n","import { LitElement, css, html, unsafeCSS } from \"lit\";\nimport { customElement } from \"lit/decorators.js\";\nimport { ConfirmationContentProps } from \"../../interaction-service\";\nimport styles from \"./styles.css?inline\";\nimport { template } from \"./template\";\n\n@customElement(\"import-data-manager-modal\")\nexport class ImportDataManagerModal extends LitElement implements ConfirmationContentProps<undefined, undefined> {\n data: undefined;\n setResult: (result: undefined) => void;\n setIsValid: (isValid: boolean) => void;\n confirm: () => void;\n // Injectat pel servei d'interacció igual que la resta; faltava des que es va afegir a la\n // interfície.\n confirmResult: (result: undefined) => void;\n cancel: () => void;\n\n render() {\n return html`${template(this)}`;\n }\n\n static styles = css`\n ${unsafeCSS(styles)}\n `;\n\n _accept = () => {\n this.confirm();\n };\n}\n"],"names":["template","props","html","shellApi","translate","ImportDataManagerModal","LitElement","css","unsafeCSS","styles","__decorateClass","customElement"],"mappings":";kiCAKaA,IAAW,CAACC,MAChBC;AAAAA;AAAAA;AAAAA,iCAGwBC,EAAS,cAAc,QAAQ,MAAM,yBAAyB;AAAA,iCAC9DA,EAAS,cAAc,QAAQ,MAAM,UAAU;AAAA;AAAA;AAAA;AAAA,mBAI7DC,EAAU,kCAAkC,CAAC;AAAA,oBAC5C,MAAM;AACd,EAAAH,EAAM,OAAA;AACR,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA,mBAKQG,EAAU,kCAAkC,CAAC;AAAA,oBAC5C,MAAM;AACd,EAAAH,EAAM,QAAA;AACR,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;AClBJ,IAAMI,IAAN,cAAqCC,EAAqE;AAAA,EAA1G,cAAA;AAAA,UAAA,GAAA,SAAA,GAkBL,KAAA,UAAU,MAAM;AACd,WAAK,QAAA;AAAA,IACP;AAAA,EAAA;AAAA,EAVA,SAAS;AACP,WAAOJ,IAAOF,EAAS,IAAI,CAAC;AAAA,EAC9B;AASF;AArBaK,EAcJ,SAASE;AAAAA,MACZC,EAAUC,CAAM,CAAC;AAAA;AAfVJ,IAANK,EAAA;AAAA,EADNC,EAAc,2BAA2B;AAAA,GAC7BN,CAAA;"}