@siemens/ix-aggrid 1.6.3 → 2.0.0-beta.1

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.
@@ -9,6 +9,7 @@
9
9
  import { test as base } from '@playwright/test';
10
10
  async function extendPageFixture(page, testInfo) {
11
11
  const originalGoto = page.goto.bind(page);
12
+ const originalSceenshot = page.screenshot.bind(page);
12
13
  const theme = testInfo.project.metadata.theme;
13
14
  testInfo.annotations.push({
14
15
  type: theme,
@@ -19,6 +20,10 @@ async function extendPageFixture(page, testInfo) {
19
20
  await page.waitForTimeout(1000);
20
21
  return response;
21
22
  };
23
+ page.screenshot = async (options) => {
24
+ await page.waitForTimeout(150);
25
+ return originalSceenshot(options);
26
+ };
22
27
  return page;
23
28
  }
24
29
  export const regressionTest = base.extend({
@@ -1 +1 @@
1
- {"version":3,"file":"page.js","sourceRoot":"","sources":["../../../../../src/components/tests/utils/test/page.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAQ,IAAI,IAAI,IAAI,EAAY,MAAM,kBAAkB,CAAC;AAEhE,KAAK,UAAU,iBAAiB,CAAC,IAAU,EAAE,QAAkB;EAC7D,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;EAC1C,MAAM,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC;EAC9C,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC;IACxB,IAAI,EAAE,KAAK;GACZ,CAAC,CAAC;EACH,IAAI,CAAC,IAAI,GAAG,KAAK,EAAE,GAAW,EAAE,OAAO,EAAE,EAAE;IACzC,MAAM,QAAQ,GAAG,MAAM,YAAY,CAAC,8CAA8C,GAAG,UAAU,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IACjH,qDAAqD;IACrD,MAAM,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAChC,OAAO,QAAQ,CAAC;EAClB,CAAC,CAAC;EAEF,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,CAAC,MAAM,CAAC;EACxC,IAAI,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE;IACtC,IAAI,GAAG,MAAM,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC/C,MAAM,GAAG,CAAC,IAAI,CAAC,CAAC;EAClB,CAAC;CACF,CAAC,CAAC","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Page, test as base, TestInfo } from '@playwright/test';\n\nasync function extendPageFixture(page: Page, testInfo: TestInfo) {\n const originalGoto = page.goto.bind(page);\n const theme = testInfo.project.metadata.theme;\n testInfo.annotations.push({\n type: theme,\n });\n page.goto = async (url: string, options) => {\n const response = await originalGoto(`http://127.0.0.1:8080/src/components/tests/${url}?theme=${theme}`, options);\n // Inital timeout for webKit to render Web Components\n await page.waitForTimeout(1000);\n return response;\n };\n\n return page;\n}\n\nexport const regressionTest = base.extend({\n page: async ({ page }, use, testInfo) => {\n page = await extendPageFixture(page, testInfo);\n await use(page);\n },\n});\n"]}
1
+ {"version":3,"file":"page.js","sourceRoot":"","sources":["../../../../../src/components/tests/utils/test/page.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAA+B,IAAI,IAAI,IAAI,EAAY,MAAM,kBAAkB,CAAC;AAEvF,KAAK,UAAU,iBAAiB,CAAC,IAAU,EAAE,QAAkB;EAC7D,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;EAC1C,MAAM,iBAAiB,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;EACrD,MAAM,KAAK,GAAG,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAC;EAC9C,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC;IACxB,IAAI,EAAE,KAAK;GACZ,CAAC,CAAC;EACH,IAAI,CAAC,IAAI,GAAG,KAAK,EAAE,GAAW,EAAE,OAAO,EAAE,EAAE;IACzC,MAAM,QAAQ,GAAG,MAAM,YAAY,CAAC,8CAA8C,GAAG,UAAU,KAAK,EAAE,EAAE,OAAO,CAAC,CAAC;IACjH,qDAAqD;IACrD,MAAM,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC;IAChC,OAAO,QAAQ,CAAC;EAClB,CAAC,CAAC;EAEF,IAAI,CAAC,UAAU,GAAG,KAAK,EAAE,OAA+B,EAAE,EAAE;IAC1D,MAAM,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;IAC/B,OAAO,iBAAiB,CAAC,OAAO,CAAC,CAAC;EACpC,CAAC,CAAC;EAEF,OAAO,IAAI,CAAC;AACd,CAAC;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,IAAI,CAAC,MAAM,CAAC;EACxC,IAAI,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,QAAQ,EAAE,EAAE;IACtC,IAAI,GAAG,MAAM,iBAAiB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAC/C,MAAM,GAAG,CAAC,IAAI,CAAC,CAAC;EAClB,CAAC;CACF,CAAC,CAAC","sourcesContent":["/*\n * SPDX-FileCopyrightText: 2023 Siemens AG\n *\n * SPDX-License-Identifier: MIT\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nimport { Page, PageScreenshotOptions, test as base, TestInfo } from '@playwright/test';\n\nasync function extendPageFixture(page: Page, testInfo: TestInfo) {\n const originalGoto = page.goto.bind(page);\n const originalSceenshot = page.screenshot.bind(page);\n const theme = testInfo.project.metadata.theme;\n testInfo.annotations.push({\n type: theme,\n });\n page.goto = async (url: string, options) => {\n const response = await originalGoto(`http://127.0.0.1:8080/src/components/tests/${url}?theme=${theme}`, options);\n // Inital timeout for webKit to render Web Components\n await page.waitForTimeout(1000);\n return response;\n };\n\n page.screenshot = async (options?: PageScreenshotOptions) => {\n await page.waitForTimeout(150);\n return originalSceenshot(options);\n };\n\n return page;\n}\n\nexport const regressionTest = base.extend({\n page: async ({ page }, use, testInfo) => {\n page = await extendPageFixture(page, testInfo);\n await use(page);\n },\n});\n"]}
@@ -1 +1 @@
1
- [class*=ag-theme-ix]{--ag-background-color:transparent;--ag-foreground-color:var(--theme-color-std-text);--ag-secondary-foreground-color:var(--theme-color-std-text);--ag-header-background-color:transparent;--ag-odd-row-background-color:transparent;--ag-row-hover-color:var(--theme-table-data-row--background--hover);--ag-selected-row-background-color:var(--theme-table-data-row--background--selected);--ag-range-selection-background-color:var(--theme-table-data-row--background--selected);--ag-range-selection-border-color:var(--theme-input--border-color--focus);--ag-header-column-resize-handle-color:var(--theme-table-header-splitter--background);--ag-header-column-resize-handle-height:100%;--ag-header-column-resize-handle-width:1px;--ag-input-focus-box-shadow:none;--ag-input-focus-border-color:var(--theme-input--border-color--focus);--ag-checkbox-checked-color:var(--theme-input--border-color--focus);--ag-control-panel-background-color:var(--theme-color-1)}[class*=ag-theme-ix] .ag-input-wrapper input{clip:unset !important;clip-path:unset !important;height:inherit !important;width:inherit !important;overflow:inherit !important;position:inherit !important;white-space:inherit !important}[class*=ag-theme-ix] .ag-root-wrapper{border:none}[class*=ag-theme-ix] .ag-filter{color:var(--theme-color-std-text);background-color:var(--ag-control-panel-background-color)}[class*=ag-theme-ix] .ag-select-list{color:var(--theme-color-std-text);background-color:var(--ag-control-panel-background-color);font-family:Siemens Sans;font-size:0.875rem;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:normal}[class*=ag-theme-ix] .ag-header-cell .ag-header-cell-resize::after{background-color:transparent}[class*=ag-theme-ix] .ag-header-active .ag-header-cell-resize::after{background-color:var(--ag-header-column-resize-handle-color)}[class*=ag-theme-ix] .ag-icon{color:var(--theme-table-header-sort--color)}[class*=ag-theme-ix] .ag-paging-button{color:var(--theme-btn-invisible-primary--color)}[class*=ag-theme-ix] .ag-paging-button.ag-disabled{color:var(--theme-btn-invisible-primary--color--disabled)}[class*=ag-theme-ix] .ag-paging-button.ag-disabled .ag-icon{color:inherit}[class*=ag-theme-ix] .ag-header-cell-resize::after{transition:background-color 250ms linear}[class*=ag-theme-ix] .ag-header-cell-resize:hover::after{background-color:var(--theme-table-header-splitter--background--hover)}[class*=ag-theme-ix] .ag-row-focus::before{border:1px solid var(--theme-color-input--focus)}[class*=ag-theme-ix] .ag-row-hover:active{background-color:var(--theme-table-data-row--background--active)}[class*=ag-theme-ix] .ag-row-hover.ag-row-selected{background-color:var(--theme-table-data-row--background--selected-hover)}[class*=ag-theme-ix] .ag-row-hover.ag-row-selected:active{background-color:var(--theme-table-data-row--background--selected-active)}[class*=ag-theme-ix] .ag-header-cell{font-family:Siemens Sans;font-size:0.875rem;font-weight:bold;font-stretch:normal;font-style:normal;line-height:1.43;letter-spacing:normal;color:var(--theme-table-header-cell--color)}[class*=ag-theme-ix] .ag-cell{font-family:Siemens Sans;font-size:0.875rem;font-weight:normal;font-stretch:normal;font-style:normal;letter-spacing:normal;color:var(--theme-table-data-cell--color)}[class*=ag-theme-ix] .ag-filter-wrapper{background-color:var(--theme-color-1)}[class*=ag-theme-ix] .ag-filter-wrapper .ag-checkbox .ag-input-wrapper,[class*=ag-theme-ix] .ag-filter-wrapper .ag-radio-button .ag-input-wrapper{color:var(--theme-color-primary)}
1
+ [class*=ag-theme-ix]{--ag-background-color:transparent;--ag-foreground-color:var(--theme-color-std-text);--ag-secondary-foreground-color:var(--theme-color-std-text);--ag-header-background-color:transparent;--ag-odd-row-background-color:transparent;--ag-row-hover-color:var(--theme-table-data-row--background--hover);--ag-selected-row-background-color:var(--theme-table-data-row--background--selected);--ag-range-selection-background-color:var(--theme-table-data-row--background--selected);--ag-range-selection-border-color:var(--theme-input--border-color--focus);--ag-header-column-resize-handle-color:var(--theme-table-header-splitter--background);--ag-header-column-resize-handle-height:100%;--ag-header-column-resize-handle-width:1px;--ag-input-focus-box-shadow:none;--ag-input-focus-border-color:var(--theme-input--border-color--focus);--ag-checkbox-checked-color:var(--theme-input--border-color--focus);--ag-control-panel-background-color:var(--theme-color-1)}[class*=ag-theme-ix] .ag-input-wrapper input{clip:unset !important;clip-path:unset !important;height:inherit !important;width:inherit !important;overflow:inherit !important;position:inherit !important;white-space:inherit !important}[class*=ag-theme-ix] .ag-root-wrapper{border:none}[class*=ag-theme-ix] .ag-filter{color:var(--theme-color-std-text);background-color:var(--ag-control-panel-background-color)}[class*=ag-theme-ix] .ag-select-list{font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;color:var(--theme-color-std-text);background-color:var(--ag-control-panel-background-color)}[class*=ag-theme-ix] .ag-header-cell .ag-header-cell-resize::after{background-color:transparent}[class*=ag-theme-ix] .ag-header-active .ag-header-cell-resize::after{background-color:var(--ag-header-column-resize-handle-color)}[class*=ag-theme-ix] .ag-icon{color:var(--theme-table-header-sort--color)}[class*=ag-theme-ix] .ag-paging-button{color:var(--theme-btn-invisible-primary--color)}[class*=ag-theme-ix] .ag-paging-button.ag-disabled{color:var(--theme-btn-invisible-primary--color--disabled)}[class*=ag-theme-ix] .ag-paging-button.ag-disabled .ag-icon{color:inherit}[class*=ag-theme-ix] .ag-cell-inline-editing{box-shadow:none}[class*=ag-theme-ix] .ag-header-cell-resize::after{transition:background-color 250ms linear}[class*=ag-theme-ix] .ag-header-cell-resize:hover::after{background-color:var(--theme-table-header-splitter--background--hover)}[class*=ag-theme-ix] .ag-row-focus::before{border:1px solid var(--theme-color-input--focus)}[class*=ag-theme-ix] .ag-row-hover:active{background-color:var(--theme-table-data-row--background--active)}[class*=ag-theme-ix] .ag-row-hover.ag-row-selected{background-color:var(--theme-table-data-row--background--selected-hover)}[class*=ag-theme-ix] .ag-row-hover.ag-row-selected:active{background-color:var(--theme-table-data-row--background--selected-active)}[class*=ag-theme-ix] .ag-header-cell{font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;font-weight:700;color:var(--theme-table-header-cell--color)}[class*=ag-theme-ix] .ag-cell{font-feature-settings:"clig" off, "liga" off;font-family:Siemens Sans, Siemens Sans, Arial, Helvetica, sans-serif;font-style:normal;font-size:var(--theme-ms-0);line-height:var(--theme-line-height-md);font-weight:var(--theme-font-weight-normal);letter-spacing:var(--theme-letter-spacing-xl);text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smooting:grayscale;color:var(--theme-table-data-cell--color);line-height:min(var(--ag-internal-calculated-line-height), var(--ag-internal-padded-row-height))}[class*=ag-theme-ix] .ag-filter-wrapper{background-color:var(--theme-color-1)}[class*=ag-theme-ix] .ag-filter-wrapper .ag-checkbox .ag-input-wrapper,[class*=ag-theme-ix] .ag-filter-wrapper .ag-radio-button .ag-input-wrapper{color:var(--theme-color-primary)}
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "directory": "packages/aggrid"
9
9
  },
10
10
  "description": "AG Grid theme based on ix theme variables",
11
- "version": "1.6.3",
11
+ "version": "2.0.0-beta.1",
12
12
  "main": "dist/index.cjs.js",
13
13
  "module": "dist/index.js",
14
14
  "es2015": "dist/esm/index.mjs",
@@ -36,7 +36,7 @@
36
36
  "jest-cli": "^27.5.1",
37
37
  "puppeteer": "^19.5.2",
38
38
  "ag-grid-community": "29.1.0",
39
- "@siemens/ix": "~1.6.3",
39
+ "@siemens/ix": "~2.0.0-beta.1",
40
40
  "@stencil/core": "^3.2.1",
41
41
  "@stencil/sass": "~3.0.0",
42
42
  "@playwright/test": "^1.32.1",
@@ -44,6 +44,6 @@
44
44
  },
45
45
  "peerDependencies": {
46
46
  "ag-grid-community": "^28 || ^29",
47
- "@siemens/ix": "~1.6.3"
47
+ "@siemens/ix": "~2.0.0-beta.1"
48
48
  }
49
49
  }