@things-factory/tutorial-ui 6.0.145 → 6.1.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.
@@ -38,7 +38,7 @@ class TutorialDetail extends localize(i18next)(LitElement) {
38
38
  flex-direction: column;
39
39
  overflow-y: auto;
40
40
  }
41
- data-grist {
41
+ ox-grist {
42
42
  overflow-y: hidden;
43
43
  flex: 1;
44
44
  }
@@ -77,7 +77,7 @@ class TutorialDetail extends localize(i18next)(LitElement) {
77
77
  }
78
78
 
79
79
  get roleGrist() {
80
- return this.shadowRoot.querySelector('data-grist#role-grist')
80
+ return this.shadowRoot.querySelector('ox-grist#role-grist')
81
81
  }
82
82
 
83
83
  get nameInput() {
@@ -106,12 +106,12 @@ class TutorialDetail extends localize(i18next)(LitElement) {
106
106
  <div class="grist">
107
107
  <div class="grist-column">
108
108
  <h2>${i18next.t('title.role')}</h2>
109
- <data-grist
109
+ <ox-grist
110
110
  id="role-grist"
111
111
  .mode="${isMobileDevice() ? 'LIST' : 'GRID'}"
112
112
  .config="${this.roleConfig}"
113
113
  .fetchHandler="${this.fetchHandler.bind(this)}"
114
- ></data-grist>
114
+ ></ox-grist>
115
115
  </div>
116
116
  </div>
117
117
 
@@ -1,6 +1,6 @@
1
1
  import { getCodeByName } from '@things-factory/code-base'
2
2
  import '@things-factory/form-ui'
3
- import '@things-factory/grist-ui'
3
+ import '@operato/data-grist'
4
4
  import { i18next, localize } from '@things-factory/i18n-base'
5
5
  import { client, PageView, store } from '@things-factory/shell'
6
6
  import { gqlBuilder } from '@things-factory/utils'
@@ -1,5 +1,5 @@
1
1
  import '@things-factory/form-ui'
2
- import '@things-factory/grist-ui'
2
+ import '@operato/data-grist'
3
3
  import './tutorial-detail'
4
4
 
5
5
  import gql from 'graphql-tag'
@@ -35,7 +35,7 @@ class TutorialSettingList extends connect(store)(localize(i18next)(PageView)) {
35
35
  overflow: visible;
36
36
  }
37
37
 
38
- data-grist {
38
+ ox-grist {
39
39
  overflow-y: auto;
40
40
  flex: 1;
41
41
  }
@@ -64,11 +64,11 @@ class TutorialSettingList extends connect(store)(localize(i18next)(PageView)) {
64
64
  render() {
65
65
  return html`
66
66
  <search-form id="search-form" .fields=${this._searchFields} @submit=${() => this.dataGrist.fetch()}></search-form>
67
- <data-grist
67
+ <ox-grist
68
68
  .mode=${isMobileDevice() ? 'LIST' : 'GRID'}
69
69
  .config=${this.config}
70
70
  .fetchHandler="${this.fetchHandler.bind(this)}"
71
- ></data-grist>
71
+ ></ox-grist>
72
72
  `
73
73
  }
74
74
 
@@ -201,7 +201,7 @@ class TutorialSettingList extends connect(store)(localize(i18next)(PageView)) {
201
201
  }
202
202
 
203
203
  get dataGrist() {
204
- return this.shadowRoot.querySelector('data-grist')
204
+ return this.shadowRoot.querySelector('ox-grist')
205
205
  }
206
206
 
207
207
  async fetchHandler({ page, limit, sorters = [] }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/tutorial-ui",
3
- "version": "6.0.145",
3
+ "version": "6.1.1",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@operato/layout": "^1.0.1",
28
- "@things-factory/i18n-base": "^6.0.145",
29
- "@things-factory/more-base": "^6.0.145",
30
- "@things-factory/shell": "^6.0.145",
31
- "@things-factory/tutorial-base": "^6.0.145"
28
+ "@things-factory/i18n-base": "^6.1.1",
29
+ "@things-factory/more-base": "^6.1.1",
30
+ "@things-factory/shell": "^6.1.1",
31
+ "@things-factory/tutorial-base": "^6.1.1"
32
32
  },
33
- "gitHead": "0390e4f4308f8a5295e5cd2b65bafb859c5245f1"
33
+ "gitHead": "6db355e12ac7580863fe1a0f4b6d6258b2cadead"
34
34
  }