tycho-components 0.40.1 → 0.40.3

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.
@@ -24,6 +24,8 @@ export { SentenceStatusNames } from "./types/SentenceStatus";
24
24
  export type { SentenceStatus } from "./types/SentenceStatus";
25
25
  export type { Mark, Break, Format as SentenceFormat, SentenceTier, Translation, SentenceParticipant, } from "./types/Sentence";
26
26
  export type { default as Sentence } from "./types/Sentence";
27
+ export { conlluAttributes } from "./types/Conllu";
28
+ export type { Conllu } from "./types/Conllu";
27
29
  export { INFLECTIONS, EXTENSIONS } from "./types/Struct";
28
30
  export type { Chunk, Edition, Format, Morpheme, Split, Struct, Token, ConlluToken, } from "./types/Struct";
29
31
  export type { CytoscapeTree, Tree } from "./types/Tree";
@@ -12,6 +12,7 @@ export { CorpusImageTypeNames } from "./types/CorpusImage";
12
12
  export { DEFAULT_EDITION_TIERS, EditionTiers, StructuralEditionTiers, isStructuralEditionTier, } from "./types/EditionTiers";
13
13
  export { DEFAULT_DELIMITERS, DELIMITERS, DelimiterNames, EMPTY_CONFIGURATION, } from "./types/ProcessConfiguration";
14
14
  export { SentenceStatusNames } from "./types/SentenceStatus";
15
+ export { conlluAttributes } from "./types/Conllu";
15
16
  export { INFLECTIONS, EXTENSIONS } from "./types/Struct";
16
17
  export { UserStatusNames } from "./types/User";
17
18
  export { useCorpusUtils } from "./useCorpusUtils";
@@ -0,0 +1,19 @@
1
+ export type ConlluToken = {
2
+ id: string;
3
+ form: string;
4
+ lemma: string;
5
+ upos: string;
6
+ xpos: string;
7
+ feats: string;
8
+ head: string;
9
+ deprel: string;
10
+ deps: string;
11
+ misc: string;
12
+ };
13
+ export type Conllu = {
14
+ uid: string;
15
+ page: string;
16
+ tokens: ConlluToken[];
17
+ attributes: Record<string, string>;
18
+ };
19
+ export declare const conlluAttributes: (keyof ConlluToken)[];
@@ -0,0 +1,12 @@
1
+ export const conlluAttributes = [
2
+ 'id',
3
+ 'form',
4
+ 'lemma',
5
+ 'upos',
6
+ 'xpos',
7
+ 'feats',
8
+ 'head',
9
+ 'deprel',
10
+ 'deps',
11
+ 'misc',
12
+ ];
@@ -21,7 +21,7 @@
21
21
  }
22
22
 
23
23
  .mark {
24
- font-family: 'Georgia', serif;
24
+ font-family: "Georgia", serif;
25
25
  cursor: pointer;
26
26
  @include body-xmedium-1;
27
27
  display: inline-flex;
@@ -29,17 +29,17 @@
29
29
  padding: 0 var(--spacing-050);
30
30
  margin-bottom: var(--spacing-050);
31
31
  width: auto;
32
- background-color: var(--layer-semantic-warning);
32
+ background-color: var(--layer-semantic-info);
33
33
  line-height: var(--spacing-300);
34
34
 
35
35
  &.selected {
36
- background-color: var(--layer-semantic-danger);
36
+ background-color: var(--layer-semantic-info);
37
37
  color: var(--text-primary);
38
38
  }
39
39
  }
40
40
 
41
41
  .token {
42
- font-family: 'Georgia', serif;
42
+ font-family: "Georgia", serif;
43
43
  cursor: pointer;
44
44
  @include body-xmedium-1;
45
45
  display: inline-flex;
@@ -0,0 +1,7 @@
1
+ export declare const fontBaseSize = 134;
2
+ export declare const fontRegularAscent = 98;
3
+ export declare const fontRegularDescent = 29;
4
+ export declare const fontRegularSizes: number[];
5
+ export declare const fontBoldAscent = 98;
6
+ export declare const fontBoldDescent = 29;
7
+ export declare const fontBoldSizes: number[];