@operato/data-grist 7.0.0-rc.6 → 7.0.0-rc.8

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.
@@ -6,7 +6,6 @@ import { customElement, property, query, state } from 'lit/decorators.js'
6
6
  import { ifDefined } from 'lit/directives/if-defined.js'
7
7
  import debounce from 'lodash-es/debounce'
8
8
 
9
- import { TooltipStyles } from '@operato/styles'
10
9
  import { sleep, parseToNumberOrNull } from '@operato/utils'
11
10
 
12
11
  import { ZERO_CONFIG, ZERO_DATA } from '../configure/zero-config'
@@ -58,7 +57,6 @@ export class DataGridBody extends LitElement {
58
57
  }, THRESHOLD)
59
58
 
60
59
  static styles = [
61
- TooltipStyles,
62
60
  dataGridBodyStyle,
63
61
  css`
64
62
  :host {
@@ -2,7 +2,6 @@ import { css, html, LitElement, PropertyValues, TemplateResult } from 'lit'
2
2
  // import { guard } from 'lit/directives/guard.js'
3
3
  import { customElement, property } from 'lit/decorators.js'
4
4
 
5
- import { TooltipStyles } from '@operato/styles'
6
5
  import { TooltipReactiveController } from '@operato/utils'
7
6
 
8
7
  import { ZERO_COLUMN } from '../configure/zero-config'
@@ -13,7 +12,6 @@ const DEFAULT_TEXT_ALIGN = 'left'
13
12
  @customElement('ox-grid-field')
14
13
  export class DataGridField extends LitElement {
15
14
  static styles = [
16
- TooltipStyles,
17
15
  css`
18
16
  :host {
19
17
  display: flex;
@@ -41,6 +39,7 @@ export class DataGridField extends LitElement {
41
39
 
42
40
  :host([gutter]) * {
43
41
  cursor: default;
42
+ font-size:1.2em;
44
43
  }
45
44
 
46
45
  :host([editing]) {
@@ -7,7 +7,6 @@ import { ifDefined } from 'lit/directives/if-defined.js'
7
7
  import throttle from 'lodash-es/throttle'
8
8
 
9
9
  import { OxPopup } from '@operato/popup'
10
- import { TooltipStyles } from '@operato/styles'
11
10
  import { TooltipReactiveController, closestElement } from '@operato/utils'
12
11
 
13
12
  import { ZERO_COLUMNS, ZERO_DATA } from '../configure/zero-config'
@@ -19,7 +18,6 @@ import { ColumnConfig, FilterConfigObject, FilterValue, GristData, SortersConfig
19
18
  export class DataGridHeader extends LitElement {
20
19
  static styles = [
21
20
  FilterStyles,
22
- TooltipStyles,
23
21
  css`
24
22
  :host {
25
23
  position: relative;
@@ -63,10 +61,11 @@ export class DataGridHeader extends LitElement {
63
61
  line-height: 1.6;
64
62
  text-transform: capitalize;
65
63
  align-self: center;
64
+ display: flex;
66
65
  }
67
66
 
68
67
  span[for-title] md-icon {
69
- font-size: var(--grid-record-fontsize);
68
+ font-size: 1.2em;
70
69
  }
71
70
 
72
71
  span[sorter],
@@ -3,12 +3,9 @@ import { LitElement, TemplateResult, css, html } from 'lit'
3
3
  import { ZERO_COLUMN, ZERO_RECORD } from '../configure/zero-config'
4
4
  import { customElement, property } from 'lit/decorators.js'
5
5
 
6
- import { TooltipStyles } from '@operato/styles'
7
-
8
6
  @customElement('ox-list-field')
9
7
  export class DataListField extends LitElement {
10
8
  static styles = [
11
- TooltipStyles,
12
9
  css`
13
10
  :host {
14
11
  display: flex;
@@ -31,6 +31,7 @@ export class DataReportField extends LitElement {
31
31
 
32
32
  :host([gutter]) * {
33
33
  cursor: default;
34
+ font-size:1.2em;
34
35
  }
35
36
 
36
37
  * {
@@ -10,8 +10,8 @@ export class GutterButton {
10
10
 
11
11
  var iconFn = typeof icon == 'function' ? icon : () => icon
12
12
 
13
- var inlineHeaderStyle = 'font-size: var(--grid-record-fontsize);margin-top:1px;'
14
- var inlineRecordStyle = 'font-size: var(--grid-record-fontsize);margin-top:1px;'
13
+ var inlineHeaderStyle = 'margin-top:1px;'
14
+ var inlineRecordStyle = 'margin-top:1px;'
15
15
 
16
16
  return Object.assign(
17
17
  {},