@things-factory/warehouse-ui 4.3.49 → 4.3.50

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.
@@ -2,7 +2,7 @@ import '@things-factory/form-ui'
2
2
  import '@things-factory/grist-ui'
3
3
  import { i18next, localize } from '@things-factory/i18n-base'
4
4
  import { client } from '@things-factory/shell'
5
- import { ScrollbarStyles } from '@things-factory/styles'
5
+ import { CommonButtonStyles, ScrollbarStyles } from '@things-factory/styles'
6
6
  import { isMobileDevice } from '@things-factory/utils'
7
7
  import gql from 'graphql-tag'
8
8
  import { css, html, LitElement } from 'lit-element'
@@ -70,6 +70,9 @@ export class BufferLocationSelector extends localize(i18next)(LitElement) {
70
70
  .button-container button:active {
71
71
  background-color: var(--button-background-focus-color);
72
72
  }
73
+ [danger] {
74
+ --mdc-theme-primary: var(--mdc-danger-button-primary-color);
75
+ }
73
76
  `
74
77
  ]
75
78
  }
@@ -168,7 +171,7 @@ export class BufferLocationSelector extends localize(i18next)(LitElement) {
168
171
  type: 'string',
169
172
  name: 'name',
170
173
  header: i18next.t('field.name'),
171
- width: 180
174
+ width: 120
172
175
  },
173
176
  {
174
177
  type: 'string',
@@ -208,6 +211,12 @@ export class BufferLocationSelector extends localize(i18next)(LitElement) {
208
211
  header: i18next.t('field.description'),
209
212
  width: 220
210
213
  },
214
+ {
215
+ type: 'string',
216
+ name: 'zone',
217
+ header: i18next.t('field.zone'),
218
+ width: 120
219
+ },
211
220
  {
212
221
  type: 'string',
213
222
  name: 'row',
@@ -289,6 +298,7 @@ export class BufferLocationSelector extends localize(i18next)(LitElement) {
289
298
  id
290
299
  name
291
300
  description
301
+ zone
292
302
  row
293
303
  column
294
304
  shelf
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/warehouse-ui",
3
- "version": "4.3.49",
3
+ "version": "4.3.50",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -32,7 +32,7 @@
32
32
  "@things-factory/import-ui": "^4.3.47",
33
33
  "@things-factory/layout-base": "^4.3.47",
34
34
  "@things-factory/shell": "^4.3.47",
35
- "@things-factory/warehouse-base": "^4.3.49"
35
+ "@things-factory/warehouse-base": "^4.3.50"
36
36
  },
37
- "gitHead": "92f35aea7d93a7b25fb8c669e638372ffadc7202"
37
+ "gitHead": "4be34f9fc5e863e89894a44501e6194a3b74c21e"
38
38
  }