@neo4j-ndl/base 1.8.12 → 1.8.14
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/CHANGELOG.md +12 -0
- package/lib/cjs/tokens/js/storybook-design-token.js +1 -1
- package/lib/cjs/tokens/js/tokens-esm.js +1 -1
- package/lib/cjs/tokens/js/tokens.js +1 -1
- package/lib/esm/tokens/js/storybook-design-token.js +1 -1
- package/lib/esm/tokens/js/tokens-esm.js +1 -1
- package/lib/esm/tokens/js/tokens.js +1 -1
- package/lib/neo4j-ds-styles.css +176 -156
- package/lib/tokens/css/tokens.css +1 -1
- package/lib/tokens/js/tokens-raw.js +1 -1
- package/lib/tokens/js/tokens.js +1 -1
- package/lib/tokens/scss/tokens.scss +1 -1
- package/lib/types/tokens/js/storybook-design-token.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/lib/neo4j-ds-styles.css
CHANGED
|
@@ -459,7 +459,7 @@ video {
|
|
|
459
459
|
*/
|
|
460
460
|
/**
|
|
461
461
|
* Do not edit directly
|
|
462
|
-
* Generated on
|
|
462
|
+
* Generated on Tue, 25 Jul 2023 12:39:54 GMT
|
|
463
463
|
*/
|
|
464
464
|
:root {
|
|
465
465
|
--transitions-values-properties-default: all;
|
|
@@ -2232,7 +2232,7 @@ a.ndl-btn{
|
|
|
2232
2232
|
gap: 0.25rem;
|
|
2233
2233
|
font-size: 0.75rem;
|
|
2234
2234
|
line-height: 1rem;
|
|
2235
|
-
color: rgb(var(--palette-neutral-text-
|
|
2235
|
+
color: rgb(var(--palette-neutral-text-weak));
|
|
2236
2236
|
}
|
|
2237
2237
|
.ndl-form-item .ndl-form-msg .ndl-error-text {
|
|
2238
2238
|
display: inline-block;
|
|
@@ -4618,31 +4618,6 @@ a.ndl-btn{
|
|
|
4618
4618
|
*/
|
|
4619
4619
|
/*
|
|
4620
4620
|
/* Needle Overrides */
|
|
4621
|
-
/*
|
|
4622
|
-
############
|
|
4623
|
-
Generic Styles
|
|
4624
|
-
############
|
|
4625
|
-
*/
|
|
4626
|
-
.cm-editor .cm-lineNumbers .cm-gutterElement {
|
|
4627
|
-
font-family: 'Fira Code';
|
|
4628
|
-
padding: 0 5px 0 5px;
|
|
4629
|
-
}
|
|
4630
|
-
.cm-editor .cm-gutter {
|
|
4631
|
-
width: 100%;
|
|
4632
|
-
}
|
|
4633
|
-
.cm-editor .cm-content .cm-line {
|
|
4634
|
-
line-height: 1.4375;
|
|
4635
|
-
font-family: 'Fira Code';
|
|
4636
|
-
}
|
|
4637
|
-
.cm-editor .cm-scroller .cm-content,
|
|
4638
|
-
.cm-editor .cm-content {
|
|
4639
|
-
padding: 0;
|
|
4640
|
-
}
|
|
4641
|
-
.cm-editor .cm-gutters {
|
|
4642
|
-
border: none;
|
|
4643
|
-
padding-left: 5px;
|
|
4644
|
-
padding-right: 3px;
|
|
4645
|
-
}
|
|
4646
4621
|
/* Theme Variables */
|
|
4647
4622
|
.cm-light {
|
|
4648
4623
|
--background: var(--palette-light-neutral-bg-weak);
|
|
@@ -4692,67 +4667,119 @@ a.ndl-btn{
|
|
|
4692
4667
|
.ndl-cypher-code-block .cm-light {
|
|
4693
4668
|
--background: var(--colors-neutral-20);
|
|
4694
4669
|
}
|
|
4695
|
-
|
|
4696
|
-
.
|
|
4670
|
+
/* Get this outside to avoid circular dependency: https://github.com/tailwindlabs/tailwindcss/issues/2807#issuecomment-730545363 */
|
|
4671
|
+
.autocomplete-icon-shared {
|
|
4672
|
+
font-family: 'Fira Code';
|
|
4673
|
+
border-radius: 100%;
|
|
4674
|
+
border: 1px solid rgb(var(--ac-li-border));
|
|
4675
|
+
width: 20px;
|
|
4676
|
+
height: 20px;
|
|
4677
|
+
display: block;
|
|
4678
|
+
line-height: 19px;
|
|
4679
|
+
/* If overflow is not defined, it causes a flickering effect in Chrome (bug) */
|
|
4680
|
+
overflow: hidden;
|
|
4681
|
+
/** Share the same with all until we have a fixed set */
|
|
4697
4682
|
background-color: rgb(var(--background));
|
|
4698
|
-
color: rgb(var(--
|
|
4683
|
+
color: rgb(var(--keyword));
|
|
4699
4684
|
}
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
.cm-editor.cm-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
}
|
|
4709
|
-
.cm-editor .cm-comment {
|
|
4710
|
-
color: rgb(var(--comment));
|
|
4685
|
+
/*
|
|
4686
|
+
############
|
|
4687
|
+
Generic Styles
|
|
4688
|
+
############
|
|
4689
|
+
*/
|
|
4690
|
+
.ndl-cypher-editor .cm-editor .cm-lineNumbers .cm-gutterElement, .ndl-codemirror-editor .cm-editor .cm-lineNumbers .cm-gutterElement {
|
|
4691
|
+
font-family: 'Fira Code';
|
|
4692
|
+
padding: 0 5px 0 5px;
|
|
4711
4693
|
}
|
|
4712
|
-
.cm-editor .cm-
|
|
4713
|
-
|
|
4694
|
+
.ndl-cypher-editor .cm-editor .cm-gutter, .ndl-codemirror-editor .cm-editor .cm-gutter {
|
|
4695
|
+
width: 100%;
|
|
4714
4696
|
}
|
|
4715
|
-
.cm-editor .cm-
|
|
4716
|
-
|
|
4697
|
+
.ndl-cypher-editor .cm-editor .cm-content .cm-line, .ndl-codemirror-editor .cm-editor .cm-content .cm-line {
|
|
4698
|
+
line-height: 1.4375;
|
|
4699
|
+
font-family: 'Fira Code';
|
|
4717
4700
|
}
|
|
4718
|
-
.cm-editor .cm-
|
|
4719
|
-
|
|
4701
|
+
.ndl-cypher-editor .cm-editor .cm-scroller .cm-content,
|
|
4702
|
+
.ndl-cypher-editor .cm-editor .cm-content,
|
|
4703
|
+
.ndl-codemirror-editor .cm-editor .cm-scroller .cm-content,
|
|
4704
|
+
.ndl-codemirror-editor .cm-editor .cm-content {
|
|
4705
|
+
padding: 0;
|
|
4720
4706
|
}
|
|
4721
|
-
.cm-editor .cm-
|
|
4722
|
-
|
|
4707
|
+
.ndl-cypher-editor .cm-editor .cm-gutters, .ndl-codemirror-editor .cm-editor .cm-gutters {
|
|
4708
|
+
border: none;
|
|
4709
|
+
padding-left: 5px;
|
|
4710
|
+
padding-right: 3px;
|
|
4723
4711
|
}
|
|
4724
|
-
|
|
4725
|
-
|
|
4712
|
+
/** Cursor Colors */
|
|
4713
|
+
.ndl-cypher-editor .cm-editor, .ndl-codemirror-editor .cm-editor {
|
|
4714
|
+
background-color: rgb(var(--background));
|
|
4715
|
+
color: rgb(var(--color));
|
|
4726
4716
|
}
|
|
4727
|
-
.cm-editor .cm-
|
|
4728
|
-
|
|
4729
|
-
|
|
4717
|
+
.ndl-cypher-editor .cm-editor .cm-cursor, .ndl-codemirror-editor .cm-editor .cm-cursor {
|
|
4718
|
+
z-index: 1;
|
|
4719
|
+
border-left: 0.67em solid rgba(var(--cursor-color), 0.35);
|
|
4720
|
+
}
|
|
4721
|
+
/** Selection Background */
|
|
4722
|
+
.ndl-cypher-editor .cm-editor.cm-focused .cm-selectionBackground,
|
|
4723
|
+
.ndl-cypher-editor .cm-editor .cm-selectionBackground,
|
|
4724
|
+
.ndl-codemirror-editor .cm-editor.cm-focused .cm-selectionBackground,
|
|
4725
|
+
.ndl-codemirror-editor .cm-editor .cm-selectionBackground {
|
|
4726
|
+
background: rgb(var(--selection-bg));
|
|
4727
|
+
}
|
|
4728
|
+
.ndl-cypher-editor .cm-editor .cm-comment, .ndl-codemirror-editor .cm-editor .cm-comment {
|
|
4729
|
+
color: rgb(var(--comment));
|
|
4730
|
+
}
|
|
4731
|
+
.ndl-cypher-editor .cm-editor .cm-string, .ndl-codemirror-editor .cm-editor .cm-string {
|
|
4732
|
+
color: rgb(var(--string));
|
|
4733
|
+
}
|
|
4734
|
+
.ndl-cypher-editor .cm-editor .cm-gutters, .ndl-codemirror-editor .cm-editor .cm-gutters {
|
|
4735
|
+
background-color: rgb(var(--background));
|
|
4736
|
+
}
|
|
4737
|
+
.ndl-cypher-editor .cm-editor .cm-number, .ndl-codemirror-editor .cm-editor .cm-number {
|
|
4738
|
+
color: rgb(var(--number));
|
|
4739
|
+
}
|
|
4740
|
+
.ndl-cypher-editor .cm-editor .cm-variable, .ndl-codemirror-editor .cm-editor .cm-variable {
|
|
4741
|
+
color: rgb(var(--variable));
|
|
4742
|
+
}
|
|
4743
|
+
.ndl-cypher-editor .cm-editor .cm-keyword, .ndl-codemirror-editor .cm-editor .cm-keyword {
|
|
4744
|
+
color: rgb(var(--keyword));
|
|
4745
|
+
}
|
|
4746
|
+
.ndl-cypher-editor .cm-editor .cm-p-relationshipType .cm-variable,
|
|
4747
|
+
.ndl-cypher-editor .cm-editor .cm-p-relationshipType .cm-operator,
|
|
4748
|
+
.ndl-codemirror-editor .cm-editor .cm-p-relationshipType .cm-variable,
|
|
4749
|
+
.ndl-codemirror-editor .cm-editor .cm-p-relationshipType .cm-operator {
|
|
4750
|
+
color: rgb(var(--relationship));
|
|
4751
|
+
}
|
|
4752
|
+
.ndl-cypher-editor .cm-editor .cm-p-procedure,
|
|
4753
|
+
.ndl-cypher-editor .cm-editor .cm-p-procedure .cm-keyword,
|
|
4754
|
+
.ndl-cypher-editor .cm-editor .cm-p-procedure .cm-variable,
|
|
4755
|
+
.ndl-cypher-editor .cm-editor .cm-p-procedure .cm-operator,
|
|
4756
|
+
.ndl-codemirror-editor .cm-editor .cm-p-procedure,
|
|
4757
|
+
.ndl-codemirror-editor .cm-editor .cm-p-procedure .cm-keyword,
|
|
4758
|
+
.ndl-codemirror-editor .cm-editor .cm-p-procedure .cm-variable,
|
|
4759
|
+
.ndl-codemirror-editor .cm-editor .cm-p-procedure .cm-operator {
|
|
4760
|
+
color: rgb(var(--procedure));
|
|
4761
|
+
}
|
|
4762
|
+
.ndl-cypher-editor .cm-editor .cm-p-variable,
|
|
4763
|
+
.ndl-cypher-editor .cm-editor .cm-p-variable .cm-keyword,
|
|
4764
|
+
.ndl-codemirror-editor .cm-editor .cm-p-variable,
|
|
4765
|
+
.ndl-codemirror-editor .cm-editor .cm-p-variable .cm-keyword {
|
|
4766
|
+
color: rgb(var(--variable));
|
|
4767
|
+
}
|
|
4768
|
+
.ndl-cypher-editor .cm-editor .cm-p-procedureOutput > :is(.cm-keyword, .cm-variable), .ndl-codemirror-editor .cm-editor .cm-p-procedureOutput > :is(.cm-keyword, .cm-variable) {
|
|
4769
|
+
color: rgb(var(--variable));
|
|
4770
|
+
}
|
|
4771
|
+
.ndl-cypher-editor .cm-editor .cm-p-property > :is(.cm-keyword, .cm-variable), .ndl-codemirror-editor .cm-editor .cm-p-property > :is(.cm-keyword, .cm-variable) {
|
|
4772
|
+
color: rgb(var(--variable));
|
|
4773
|
+
}
|
|
4774
|
+
.ndl-cypher-editor .cm-editor .cm-p-function > :is(.cm-keyword, .cm-variable), .ndl-codemirror-editor .cm-editor .cm-p-function > :is(.cm-keyword, .cm-variable) {
|
|
4775
|
+
color: rgb(var(--function));
|
|
4730
4776
|
}
|
|
4731
|
-
.cm-editor .cm-p-procedure,
|
|
4732
|
-
.cm-editor .cm-p-procedure .cm-keyword,
|
|
4733
|
-
.cm-editor .cm-p-procedure .cm-variable,
|
|
4734
|
-
.cm-editor .cm-p-procedure .cm-operator {
|
|
4735
|
-
color: rgb(var(--procedure));
|
|
4736
|
-
}
|
|
4737
|
-
.cm-editor .cm-p-variable,
|
|
4738
|
-
.cm-editor .cm-p-variable .cm-keyword {
|
|
4739
|
-
color: rgb(var(--variable));
|
|
4740
|
-
}
|
|
4741
|
-
.cm-editor .cm-p-procedureOutput > :is(.cm-keyword, .cm-variable) {
|
|
4742
|
-
color: rgb(var(--variable));
|
|
4743
|
-
}
|
|
4744
|
-
.cm-editor .cm-p-property > :is(.cm-keyword, .cm-variable) {
|
|
4745
|
-
color: rgb(var(--variable));
|
|
4746
|
-
}
|
|
4747
|
-
.cm-editor .cm-p-function > :is(.cm-keyword, .cm-variable) {
|
|
4748
|
-
color: rgb(var(--function));
|
|
4749
|
-
}
|
|
4750
4777
|
/* Search Controls */
|
|
4751
|
-
.cm-editor .cm-button {
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4778
|
+
.ndl-cypher-editor .cm-editor .cm-button, .ndl-codemirror-editor .cm-editor .cm-button {
|
|
4779
|
+
background-color: rgb(var(--button));
|
|
4780
|
+
background-image: none;
|
|
4781
|
+
color: white;
|
|
4782
|
+
border: none;
|
|
4756
4783
|
transition: background-color var(--transitions-stripped);
|
|
4757
4784
|
display: inline-flex;
|
|
4758
4785
|
cursor: pointer;
|
|
@@ -4764,19 +4791,19 @@ a.ndl-btn{
|
|
|
4764
4791
|
outline: 2px solid transparent;
|
|
4765
4792
|
outline-offset: 2px;
|
|
4766
4793
|
--tw-ring-color: rgb(var(--palette-primary-focus));
|
|
4767
|
-
|
|
4768
|
-
.cm-editor .cm-button:focus-visible{
|
|
4794
|
+
}
|
|
4795
|
+
.ndl-cypher-editor .cm-editor .cm-button:focus-visible, .ndl-codemirror-editor .cm-editor .cm-button:focus-visible{
|
|
4769
4796
|
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
4770
4797
|
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
4771
4798
|
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
4772
4799
|
--tw-ring-offset-width: 2px;
|
|
4773
4800
|
}
|
|
4774
|
-
.cm-editor .cm-button.ndl-loading{
|
|
4801
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-loading, .ndl-codemirror-editor .cm-editor .cm-button.ndl-loading{
|
|
4775
4802
|
cursor: default;
|
|
4776
4803
|
vertical-align: middle;
|
|
4777
4804
|
opacity: 0.5;
|
|
4778
4805
|
}
|
|
4779
|
-
.cm-editor .cm-button.ndl-extra-small{
|
|
4806
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-extra-small, .ndl-codemirror-editor .cm-editor .cm-button.ndl-extra-small{
|
|
4780
4807
|
height: 1.5rem;
|
|
4781
4808
|
padding-left: 0.75rem;
|
|
4782
4809
|
padding-right: 0.75rem;
|
|
@@ -4787,7 +4814,7 @@ a.ndl-btn{
|
|
|
4787
4814
|
letter-spacing: 0;
|
|
4788
4815
|
line-height: 1.25rem;
|
|
4789
4816
|
}
|
|
4790
|
-
.cm-editor .cm-button.ndl-small{
|
|
4817
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-small, .ndl-codemirror-editor .cm-editor .cm-button.ndl-small{
|
|
4791
4818
|
height: 1.75rem;
|
|
4792
4819
|
padding-left: 0.75rem;
|
|
4793
4820
|
padding-right: 0.75rem;
|
|
@@ -4798,7 +4825,7 @@ a.ndl-btn{
|
|
|
4798
4825
|
letter-spacing: 0;
|
|
4799
4826
|
line-height: 1.25rem;
|
|
4800
4827
|
}
|
|
4801
|
-
.cm-editor .cm-button.ndl-medium{
|
|
4828
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-medium, .ndl-codemirror-editor .cm-editor .cm-button.ndl-medium{
|
|
4802
4829
|
height: 2.25rem;
|
|
4803
4830
|
padding-left: 1.5rem;
|
|
4804
4831
|
padding-right: 1.5rem;
|
|
@@ -4809,7 +4836,7 @@ a.ndl-btn{
|
|
|
4809
4836
|
letter-spacing: 0;
|
|
4810
4837
|
line-height: 1.25rem;
|
|
4811
4838
|
}
|
|
4812
|
-
.cm-editor .cm-button.ndl-large{
|
|
4839
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-large, .ndl-codemirror-editor .cm-editor .cm-button.ndl-large{
|
|
4813
4840
|
height: 3rem;
|
|
4814
4841
|
padding-left: 1.5rem;
|
|
4815
4842
|
padding-right: 1.5rem;
|
|
@@ -4817,73 +4844,60 @@ a.ndl-btn{
|
|
|
4817
4844
|
padding-bottom: 0.75rem;
|
|
4818
4845
|
}
|
|
4819
4846
|
|
|
4820
|
-
.cm-editor .cm-button.ndl-large
|
|
4847
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-large,
|
|
4848
|
+
.ndl-codemirror-editor .cm-editor .cm-button.ndl-large {
|
|
4821
4849
|
font-size: var(--font-size-h6);
|
|
4822
4850
|
font-weight: var(--font-weight-bold);
|
|
4823
4851
|
letter-spacing: 0.016rem;
|
|
4824
4852
|
line-height: 1.5rem;
|
|
4825
4853
|
}
|
|
4826
|
-
.cm-editor .cm-button.ndl-disabled{
|
|
4854
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-disabled, .ndl-codemirror-editor .cm-editor .cm-button.ndl-disabled{
|
|
4827
4855
|
cursor: not-allowed;
|
|
4828
4856
|
}
|
|
4829
|
-
.cm-editor .cm-button.ndl-filled{
|
|
4857
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-filled, .ndl-codemirror-editor .cm-editor .cm-button.ndl-filled{
|
|
4830
4858
|
border-width: 0px;
|
|
4831
4859
|
color: rgb(var(--palette-neutral-text-inverse));
|
|
4832
4860
|
}
|
|
4833
|
-
.cm-editor .cm-button.ndl-filled.ndl-disabled{
|
|
4861
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-filled.ndl-disabled, .ndl-codemirror-editor .cm-editor .cm-button.ndl-filled.ndl-disabled{
|
|
4834
4862
|
background-color: rgb(var(--palette-neutral-bg-strong));
|
|
4835
4863
|
color: rgb(var(--palette-neutral-text-weakest));
|
|
4836
4864
|
}
|
|
4837
|
-
.cm-editor .cm-button.ndl-outlined{
|
|
4865
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-outlined, .ndl-codemirror-editor .cm-editor .cm-button.ndl-outlined{
|
|
4838
4866
|
border-width: 1px;
|
|
4839
4867
|
border-style: solid;
|
|
4840
4868
|
background-color: rgb(var(--palette-neutral-bg-weak));
|
|
4841
4869
|
}
|
|
4842
|
-
.cm-editor .cm-button.ndl-outlined.ndl-disabled{
|
|
4870
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-outlined.ndl-disabled, .ndl-codemirror-editor .cm-editor .cm-button.ndl-outlined.ndl-disabled{
|
|
4843
4871
|
border-color: rgb(var(--palette-neutral-text-weakest));
|
|
4844
4872
|
background-color: rgb(var(--palette-neutral-bg-weak));
|
|
4845
4873
|
color: rgb(var(--palette-neutral-text-weakest));
|
|
4846
4874
|
}
|
|
4847
|
-
.cm-editor .cm-button.ndl-text{
|
|
4875
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-text, .ndl-codemirror-editor .cm-editor .cm-button.ndl-text{
|
|
4848
4876
|
border-style: none;
|
|
4849
4877
|
background-color: transparent;
|
|
4850
4878
|
}
|
|
4851
|
-
.cm-editor .cm-button.ndl-text.ndl-disabled{
|
|
4879
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-text.ndl-disabled, .ndl-codemirror-editor .cm-editor .cm-button.ndl-text.ndl-disabled{
|
|
4852
4880
|
color: rgb(var(--palette-neutral-text-weakest));
|
|
4853
4881
|
}
|
|
4854
|
-
.cm-editor .cm-button.ndl-floating-btn:not(.ndl-disabled):not(.ndl-text){
|
|
4882
|
+
.ndl-cypher-editor .cm-editor .cm-button.ndl-floating-btn:not(.ndl-disabled):not(.ndl-text), .ndl-codemirror-editor .cm-editor .cm-button.ndl-floating-btn:not(.ndl-disabled):not(.ndl-text){
|
|
4855
4883
|
--tw-shadow: 0px 4px 8px 0px rgba(12, 26, 37, 0.08);
|
|
4856
4884
|
--tw-shadow-colored: 0px 4px 8px 0px var(--tw-shadow-color);
|
|
4857
4885
|
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
4858
4886
|
}
|
|
4859
|
-
a.cm-editor .cm-button{
|
|
4887
|
+
a.ndl-cypher-editor .cm-editor .cm-button, a .ndl-codemirror-editor .cm-editor .cm-button{
|
|
4860
4888
|
text-decoration-line: none;
|
|
4861
4889
|
}
|
|
4862
|
-
.cm-completionLabel {
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
}
|
|
4867
|
-
.cm-editor .cm-completionIcon {
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
}
|
|
4872
|
-
.
|
|
4873
|
-
font-family: 'Fira Code';
|
|
4874
|
-
border-radius: 100%;
|
|
4875
|
-
border: 1px solid rgb(var(--ac-li-border));
|
|
4876
|
-
width: 20px;
|
|
4877
|
-
height: 20px;
|
|
4878
|
-
display: block;
|
|
4879
|
-
line-height: 19px;
|
|
4880
|
-
/* If overflow is not defined, it causes a flickering effect in Chrome (bug) */
|
|
4881
|
-
overflow: hidden;
|
|
4882
|
-
/** Share the same with all until we have a fixed set */
|
|
4883
|
-
background-color: rgb(var(--background));
|
|
4884
|
-
color: rgb(var(--keyword));
|
|
4885
|
-
}
|
|
4886
|
-
.cm-editor .cm-completionIcon-keyword:after {
|
|
4890
|
+
.ndl-cypher-editor .cm-completionLabel, .ndl-codemirror-editor .cm-completionLabel {
|
|
4891
|
+
font-family: 'Fira Code';
|
|
4892
|
+
font-weight: bold;
|
|
4893
|
+
vertical-align: middle;
|
|
4894
|
+
}
|
|
4895
|
+
.ndl-cypher-editor .cm-editor .cm-completionIcon, .ndl-codemirror-editor .cm-editor .cm-completionIcon {
|
|
4896
|
+
vertical-align: middle;
|
|
4897
|
+
width: 18px;
|
|
4898
|
+
padding: 4px 6px 2px 2px;
|
|
4899
|
+
}
|
|
4900
|
+
.ndl-cypher-editor .cm-editor .cm-completionIcon-keyword:after, .ndl-codemirror-editor .cm-editor .cm-completionIcon-keyword:after {
|
|
4887
4901
|
font-family: 'Fira Code';
|
|
4888
4902
|
border-radius: 100%;
|
|
4889
4903
|
border: 1px solid rgb(var(--ac-li-border));
|
|
@@ -4896,9 +4910,9 @@ a.cm-editor .cm-button{
|
|
|
4896
4910
|
/** Share the same with all until we have a fixed set */
|
|
4897
4911
|
background-color: rgb(var(--background));
|
|
4898
4912
|
color: rgb(var(--keyword));
|
|
4899
|
-
|
|
4913
|
+
content: 'K';
|
|
4900
4914
|
}
|
|
4901
|
-
.cm-editor .cm-completionIcon-label:after {
|
|
4915
|
+
.ndl-cypher-editor .cm-editor .cm-completionIcon-label:after, .ndl-codemirror-editor .cm-editor .cm-completionIcon-label:after {
|
|
4902
4916
|
font-family: 'Fira Code';
|
|
4903
4917
|
border-radius: 100%;
|
|
4904
4918
|
border: 1px solid rgb(var(--ac-li-border));
|
|
@@ -4911,9 +4925,9 @@ a.cm-editor .cm-button{
|
|
|
4911
4925
|
/** Share the same with all until we have a fixed set */
|
|
4912
4926
|
background-color: rgb(var(--background));
|
|
4913
4927
|
color: rgb(var(--keyword));
|
|
4914
|
-
|
|
4928
|
+
content: 'L';
|
|
4915
4929
|
}
|
|
4916
|
-
.cm-editor .cm-completionIcon-relationshipType:after {
|
|
4930
|
+
.ndl-cypher-editor .cm-editor .cm-completionIcon-relationshipType:after, .ndl-codemirror-editor .cm-editor .cm-completionIcon-relationshipType:after {
|
|
4917
4931
|
font-family: 'Fira Code';
|
|
4918
4932
|
border-radius: 100%;
|
|
4919
4933
|
border: 1px solid rgb(var(--ac-li-border));
|
|
@@ -4926,10 +4940,12 @@ a.cm-editor .cm-button{
|
|
|
4926
4940
|
/** Share the same with all until we have a fixed set */
|
|
4927
4941
|
background-color: rgb(var(--background));
|
|
4928
4942
|
color: rgb(var(--keyword));
|
|
4929
|
-
|
|
4943
|
+
content: 'R';
|
|
4930
4944
|
}
|
|
4931
|
-
.cm-editor .cm-completionIcon-variable:after,
|
|
4932
|
-
|
|
4945
|
+
.ndl-cypher-editor .cm-editor .cm-completionIcon-variable:after,
|
|
4946
|
+
.ndl-cypher-editor .cm-editor .cm-completionIcon-procedureOutput:after,
|
|
4947
|
+
.ndl-codemirror-editor .cm-editor .cm-completionIcon-variable:after,
|
|
4948
|
+
.ndl-codemirror-editor .cm-editor .cm-completionIcon-procedureOutput:after {
|
|
4933
4949
|
font-family: 'Fira Code';
|
|
4934
4950
|
border-radius: 100%;
|
|
4935
4951
|
border: 1px solid rgb(var(--ac-li-border));
|
|
@@ -4942,10 +4958,12 @@ a.cm-editor .cm-button{
|
|
|
4942
4958
|
/** Share the same with all until we have a fixed set */
|
|
4943
4959
|
background-color: rgb(var(--background));
|
|
4944
4960
|
color: rgb(var(--keyword));
|
|
4945
|
-
|
|
4961
|
+
content: 'V';
|
|
4946
4962
|
}
|
|
4947
|
-
.cm-editor .cm-completionIcon-procedure:after,
|
|
4948
|
-
|
|
4963
|
+
.ndl-cypher-editor .cm-editor .cm-completionIcon-procedure:after,
|
|
4964
|
+
.ndl-cypher-editor .cm-editor .cm-completionIcon-function:after,
|
|
4965
|
+
.ndl-codemirror-editor .cm-editor .cm-completionIcon-procedure:after,
|
|
4966
|
+
.ndl-codemirror-editor .cm-editor .cm-completionIcon-function:after {
|
|
4949
4967
|
font-family: 'Fira Code';
|
|
4950
4968
|
border-radius: 100%;
|
|
4951
4969
|
border: 1px solid rgb(var(--ac-li-border));
|
|
@@ -4958,9 +4976,9 @@ a.cm-editor .cm-button{
|
|
|
4958
4976
|
/** Share the same with all until we have a fixed set */
|
|
4959
4977
|
background-color: rgb(var(--background));
|
|
4960
4978
|
color: rgb(var(--keyword));
|
|
4961
|
-
|
|
4979
|
+
content: 'λ';
|
|
4962
4980
|
}
|
|
4963
|
-
.cm-editor .cm-completionIcon-function:after {
|
|
4981
|
+
.ndl-cypher-editor .cm-editor .cm-completionIcon-function:after, .ndl-codemirror-editor .cm-editor .cm-completionIcon-function:after {
|
|
4964
4982
|
font-family: 'Fira Code';
|
|
4965
4983
|
border-radius: 100%;
|
|
4966
4984
|
border: 1px solid rgb(var(--ac-li-border));
|
|
@@ -4973,9 +4991,9 @@ a.cm-editor .cm-button{
|
|
|
4973
4991
|
/** Share the same with all until we have a fixed set */
|
|
4974
4992
|
background-color: rgb(var(--background));
|
|
4975
4993
|
color: rgb(var(--keyword));
|
|
4976
|
-
|
|
4994
|
+
content: '$';
|
|
4977
4995
|
}
|
|
4978
|
-
.cm-editor .cm-completionIcon-propertyKey:after {
|
|
4996
|
+
.ndl-cypher-editor .cm-editor .cm-completionIcon-propertyKey:after, .ndl-codemirror-editor .cm-editor .cm-completionIcon-propertyKey:after {
|
|
4979
4997
|
font-family: 'Fira Code';
|
|
4980
4998
|
border-radius: 100%;
|
|
4981
4999
|
border: 1px solid rgb(var(--ac-li-border));
|
|
@@ -4988,10 +5006,12 @@ a.cm-editor .cm-button{
|
|
|
4988
5006
|
/** Share the same with all until we have a fixed set */
|
|
4989
5007
|
background-color: rgb(var(--background));
|
|
4990
5008
|
color: rgb(var(--keyword));
|
|
4991
|
-
|
|
5009
|
+
content: 'P';
|
|
4992
5010
|
}
|
|
4993
|
-
.cm-editor .cm-completionIcon-consoleCommand:after,
|
|
4994
|
-
|
|
5011
|
+
.ndl-cypher-editor .cm-editor .cm-completionIcon-consoleCommand:after,
|
|
5012
|
+
.ndl-cypher-editor .cm-editor .cm-completionIcon-consoleCommandSubcommand:after,
|
|
5013
|
+
.ndl-codemirror-editor .cm-editor .cm-completionIcon-consoleCommand:after,
|
|
5014
|
+
.ndl-codemirror-editor .cm-editor .cm-completionIcon-consoleCommandSubcommand:after {
|
|
4995
5015
|
font-family: 'Fira Code';
|
|
4996
5016
|
border-radius: 100%;
|
|
4997
5017
|
border: 1px solid rgb(var(--ac-li-border));
|
|
@@ -5004,30 +5024,30 @@ a.cm-editor .cm-button{
|
|
|
5004
5024
|
/** Share the same with all until we have a fixed set */
|
|
5005
5025
|
background-color: rgb(var(--background));
|
|
5006
5026
|
color: rgb(var(--keyword));
|
|
5007
|
-
|
|
5027
|
+
content: 'C';
|
|
5008
5028
|
}
|
|
5009
|
-
.cm-tooltip-autocomplete {
|
|
5010
|
-
border-radius: var(--border-radius-sm);
|
|
5011
|
-
border: 1px solid rgb(var(--ac-tooltip-border)) !important;
|
|
5012
|
-
background-color: rgb(var(--ac-tooltip-background)) !important;
|
|
5013
|
-
overflow: hidden;
|
|
5014
|
-
margin-top: 4px;
|
|
5015
|
-
padding: 7px;
|
|
5016
|
-
}
|
|
5017
|
-
.cm-tooltip-autocomplete li {
|
|
5029
|
+
.ndl-cypher-editor .cm-tooltip-autocomplete, .ndl-codemirror-editor .cm-tooltip-autocomplete {
|
|
5018
5030
|
border-radius: var(--border-radius-sm);
|
|
5019
|
-
|
|
5031
|
+
border: 1px solid rgb(var(--ac-tooltip-border)) !important;
|
|
5032
|
+
background-color: rgb(var(--ac-tooltip-background)) !important;
|
|
5033
|
+
overflow: hidden;
|
|
5034
|
+
margin-top: 4px;
|
|
5035
|
+
padding: 7px;
|
|
5020
5036
|
}
|
|
5021
|
-
.cm-tooltip-autocomplete li
|
|
5022
|
-
|
|
5037
|
+
.ndl-cypher-editor .cm-tooltip-autocomplete li, .ndl-codemirror-editor .cm-tooltip-autocomplete li {
|
|
5038
|
+
border-radius: var(--border-radius-sm);
|
|
5039
|
+
color: rgb(var(--ac-li-text)) !important;
|
|
5023
5040
|
}
|
|
5024
|
-
.cm-tooltip-autocomplete li
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5041
|
+
.ndl-cypher-editor .cm-tooltip-autocomplete li:hover, .ndl-codemirror-editor .cm-tooltip-autocomplete li:hover {
|
|
5042
|
+
background-color: rgb(var(--ac-li-hover));
|
|
5043
|
+
}
|
|
5044
|
+
.ndl-cypher-editor .cm-tooltip-autocomplete li[aria-selected='true'], .ndl-codemirror-editor .cm-tooltip-autocomplete li[aria-selected='true'] {
|
|
5045
|
+
background: rgb(var(--ac-li-selected)) !important;
|
|
5046
|
+
color: rgb(var(--ac-li-text-selected)) !important;
|
|
5030
5047
|
}
|
|
5048
|
+
.ndl-cypher-editor .cm-tooltip-autocomplete li[aria-selected='true'] > div, .ndl-codemirror-editor .cm-tooltip-autocomplete li[aria-selected='true'] > div {
|
|
5049
|
+
opacity: 100%;
|
|
5050
|
+
}
|
|
5031
5051
|
/**
|
|
5032
5052
|
*
|
|
5033
5053
|
* Copyright (c) "Neo4j"
|
package/lib/tokens/js/tokens.js
CHANGED