@datagrok/webcomponents 1.2.4 → 1.2.6

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@datagrok/webcomponents",
3
3
  "friendlyName": "WebComponents",
4
- "version": "1.2.4",
4
+ "version": "1.2.6",
5
5
  "author": {
6
6
  "name": "Andrey Sharapov",
7
7
  "email": "andrey.sharapov@softwarecountry.com"
@@ -10,7 +10,7 @@
10
10
  "dependencies": {
11
11
  "@datagrok-libraries/dock-spawn-dg": "^0.1.0",
12
12
  "@datagrok-libraries/utils": "^4.5.7",
13
- "@datagrok-libraries/webcomponents": "^0.1.0",
13
+ "@datagrok-libraries/webcomponents": "^0.2.0",
14
14
  "cash-dom": "^8.1.4",
15
15
  "css-loader": "^7.1.2",
16
16
  "datagrok-api": "^1.25.0",
@@ -20,6 +20,7 @@
20
20
  "devDependencies": {
21
21
  "@typescript-eslint/eslint-plugin": "^8.8.1",
22
22
  "@typescript-eslint/parser": "^8.8.1",
23
+ "datagrok-tools": "^4.14.20",
23
24
  "eslint": "^8.57.1",
24
25
  "eslint-config-google": "^0.14.0",
25
26
  "source-map-loader": "^5.0.0",
@@ -33,7 +34,7 @@
33
34
  "debug-webcomponents": "webpack && grok publish",
34
35
  "release-webcomponents": "webpack && grok publish --release",
35
36
  "build-webcomponents": "webpack",
36
- "build": "webpack",
37
+ "build": "grok api && grok check --soft && webpack",
37
38
  "lint": "eslint . --ext .ts,.tsx",
38
39
  "lint-fix": "eslint . --ext .ts,.tsx --fix",
39
40
  "debug-webcomponents-dev": "webpack && grok publish dev",
@@ -0,0 +1,14 @@
1
+ /**
2
+ This file is auto-generated by the grok api command.
3
+ If you notice any changes, please push them to the repository.
4
+ Do not edit this file manually.
5
+ */
6
+ import * as grok from 'datagrok-api/grok';
7
+ import * as DG from 'datagrok-api/dg';
8
+
9
+
10
+ export namespace funcs {
11
+ export async function init(): Promise<void> {
12
+ return await grok.functions.call('WebComponents:Init', {});
13
+ }
14
+ }
package/src/package.ts CHANGED
@@ -9,6 +9,7 @@ import {
9
9
  ValidationIcon
10
10
  } from '@datagrok-libraries/webcomponents';
11
11
  import {DockSpawnTsWebcomponent} from '@datagrok-libraries/dock-spawn-dg';
12
+ import './styles.css';
12
13
 
13
14
  export const _package = new DG.Package();
14
15
 
package/src/styles.css ADDED
@@ -0,0 +1,4 @@
1
+ .d4-combo-popup-expanded.right-aligned .d4-combo-drop-down {
2
+ right: -37.5px;
3
+ left: unset !important;
4
+ }