@neo4j-ndl/base 1.0.2 → 1.1.0

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.
@@ -459,7 +459,7 @@ video {
459
459
  */
460
460
  /**
461
461
  * Do not edit directly
462
- * Generated on Tue, 14 Mar 2023 15:52:14 GMT
462
+ * Generated on Mon, 03 Apr 2023 15:46:06 GMT
463
463
  */
464
464
  :root {
465
465
  --transitions-values-properties-default: all;
@@ -535,25 +535,52 @@ video {
535
535
  --colors-neutral-70: 113, 119, 128 /* #717780 */;
536
536
  --colors-neutral-80: 83, 91, 102 /* #535B66 */;
537
537
  --colors-neutral-90: 21, 30, 41 /* #151E29 */;
538
- --font-size-h1: 3rem;
539
- --font-size-h2: 2.5rem;
540
- --font-size-h3: 1.875rem;
541
- --font-size-h4: 1.5rem;
542
- --font-size-h5: 1.25rem;
543
- --font-size-h6: 1rem;
544
- --font-size-subheading-large: 1.25rem;
545
- --font-size-subheading-medium: 1rem;
546
- --font-size-subheading-small: 0.875rem;
547
- --font-size-body-large: 1rem;
548
- --font-size-body-medium: 0.875rem;
549
- --font-size-body-small: 0.75rem;
550
- --font-size-code: 0.875rem;
551
- --font-size-label: 0.875rem;
552
- --font-weight-bold: 700;
553
- --font-weight-semibold: 600;
554
- --font-weight-normal: 400;
555
- --font-weight-medium: 500;
556
- --font-weight-light: 300;
538
+ --palette-dark-neutral-text-weakest: 113, 119, 128 /* #717780 */;
539
+ --palette-dark-neutral-text-weaker: 178, 183, 189 /* #B2B7BD */;
540
+ --palette-dark-neutral-text-weak: 196, 200, 205 /* #C4C8CD */;
541
+ --palette-dark-neutral-text-default: 245, 247, 250 /* #F5F7FA */;
542
+ --palette-dark-neutral-text-inverse: 21, 30, 41 /* #151E29 */;
543
+ --palette-dark-neutral-bg-weak: 29, 38, 49; /* This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2 */
544
+ --palette-dark-neutral-bg-default: 21, 30, 41 /* #151E29 */;
545
+ --palette-dark-neutral-bg-strong: 45, 53, 63; /* This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2 */
546
+ --palette-dark-neutral-bg-strongest: 255, 255, 255 /* #FFFFFF */;
547
+ --palette-dark-neutral-border-weak: 37, 47, 59; /* This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2 */
548
+ --palette-dark-neutral-border-strong: 113, 119, 128 /* #717780 */;
549
+ --palette-dark-neutral-hover: rgba(196, 200, 205,0.1);
550
+ --palette-dark-neutral-pressed: rgba(196, 200, 205,0.2);
551
+ --palette-dark-primary-text: 163, 226, 255 /* #a3e2ff */;
552
+ --palette-dark-primary-icon: 163, 226, 255 /* #a3e2ff */;
553
+ --palette-dark-primary-bg-strong: 163, 226, 255 /* #a3e2ff */;
554
+ --palette-dark-primary-bg-weak: 49, 69, 84; /* This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2 */
555
+ --palette-dark-primary-border-strong: 163, 226, 255 /* #a3e2ff */;
556
+ --palette-dark-primary-border-weak: 78, 108, 126; /* This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2 */
557
+ --palette-dark-primary-focus: 122, 209, 255 /* #7ad1ff */;
558
+ --palette-dark-primary-hover-weak: rgba(122, 209, 255,0.08);
559
+ --palette-dark-primary-hover-strong: 122, 209, 255 /* #7ad1ff */;
560
+ --palette-dark-primary-pressed-weak: rgba(122, 209, 255,0.12);
561
+ --palette-dark-primary-pressed-strong: 122, 209, 255 /* #7ad1ff */;
562
+ --palette-dark-danger-text: 255, 184, 196 /* #ffb8c4 */;
563
+ --palette-dark-danger-icon: 255, 184, 196 /* #ffb8c4 */;
564
+ --palette-dark-danger-bg-strong: 255, 184, 196 /* #ffb8c4 */;
565
+ --palette-dark-danger-bg-weak: 68, 61, 72; /* This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2 */
566
+ --palette-dark-danger-border-strong: 255, 184, 196 /* #ffb8c4 */;
567
+ --palette-dark-danger-border-weak: 114, 91, 103; /* This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2 */
568
+ --palette-dark-danger-hover-weak: rgba(255, 102, 138,0.08);
569
+ --palette-dark-danger-hover-strong: 255, 102, 138 /* #ff668a */;
570
+ --palette-dark-danger-pressed-weak: rgba(255, 102, 138,0.12);
571
+ --palette-dark-danger-pressed-strong: 255, 102, 138 /* #ff668a */;
572
+ --palette-dark-warning-text: 255, 234, 140 /* #FFEA8C */;
573
+ --palette-dark-warning-icon: 255, 234, 140 /* #FFEA8C */;
574
+ --palette-dark-warning-bg-strong: 255, 234, 140 /* #FFEA8C */;
575
+ --palette-dark-warning-bg-weak: 68, 71, 60; /* This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2 */
576
+ --palette-dark-warning-border-strong: 255, 234, 140 /* #FFEA8C */;
577
+ --palette-dark-warning-border-weak: 114, 111, 80; /* This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2 */
578
+ --palette-dark-success-text: 152, 237, 203 /* #98EDCB */;
579
+ --palette-dark-success-icon: 152, 237, 203 /* #98EDCB */;
580
+ --palette-dark-success-bg-strong: 152, 237, 203 /* #98EDCB */;
581
+ --palette-dark-success-bg-weak: 47, 71, 73;
582
+ --palette-dark-success-border-strong: 152, 237, 203 /* #98EDCB */;
583
+ --palette-dark-success-border-weak: 73, 113, 106; /* This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2 */
557
584
  --palette-light-neutral-text-weakest: 178, 183, 189 /* #B2B7BD */;
558
585
  --palette-light-neutral-text-weaker: 113, 119, 128 /* #717780 */;
559
586
  --palette-light-neutral-text-weak: 83, 91, 102 /* #535B66 */;
@@ -600,6 +627,25 @@ video {
600
627
  --palette-light-success-bg-weak: 225, 250, 239 /* #E1FAEF */;
601
628
  --palette-light-success-border-strong: 50, 125, 96 /* #327D60 */;
602
629
  --palette-light-success-border-weak: 152, 237, 203 /* #98EDCB */;
630
+ --font-size-h1: 3rem;
631
+ --font-size-h2: 2.5rem;
632
+ --font-size-h3: 1.875rem;
633
+ --font-size-h4: 1.5rem;
634
+ --font-size-h5: 1.25rem;
635
+ --font-size-h6: 1rem;
636
+ --font-size-subheading-large: 1.25rem;
637
+ --font-size-subheading-medium: 1rem;
638
+ --font-size-subheading-small: 0.875rem;
639
+ --font-size-body-large: 1rem;
640
+ --font-size-body-medium: 0.875rem;
641
+ --font-size-body-small: 0.75rem;
642
+ --font-size-code: 0.875rem;
643
+ --font-size-label: 0.875rem;
644
+ --font-weight-bold: 700;
645
+ --font-weight-semibold: 600;
646
+ --font-weight-normal: 400;
647
+ --font-weight-medium: 500;
648
+ --font-weight-light: 300;
603
649
  --box-shadow-l2: 0px 1px 2px 0px rgba(12, 26, 37, 0.18);
604
650
  --box-shadow-l3: 0px 4px 8px 0px rgba(12, 26, 37, 0.04);
605
651
  --box-shadow-l4: 0px 4px 8px 0px rgba(12, 26, 37, 0.08);
@@ -2845,8 +2891,9 @@ a.ndl-btn{
2845
2891
  }
2846
2892
  /* Table body */
2847
2893
  .ndl-table-root .ndl-div-table .ndl-table-tbody {
2894
+ position: relative;
2848
2895
  background-color: rgb(var(--palette-light-neutral-bg-weak));
2849
- overflow-y: scroll;
2896
+ overflow-y: auto;
2850
2897
  }
2851
2898
  /* Table body - Single row, multiple columns */
2852
2899
  .ndl-table-root .ndl-div-table .ndl-table-tbody .ndl-table-tr:not(:last-child):after {
@@ -3897,16 +3944,16 @@ a.ndl-btn{
3897
3944
  pointer-events: none;
3898
3945
  opacity: 0.5;
3899
3946
  }
3900
- .ndl-code-block-container .ndl-highlight-wrapper{
3901
- position: relative;
3902
- }
3903
- .ndl-code-block-container .ndl-highlight-wrapper.ndl-focused{
3904
- overflow-y: auto;
3947
+ .ndl-code-block-container .ndl-code-content-container{
3948
+ display: flex;
3949
+ flex-shrink: 0;
3950
+ flex-grow: 1;
3951
+ width: calc(100% - 4px);
3905
3952
  }
3906
- .ndl-code-block-container .ndl-highlight-wrapper:not(.ndl-focused){
3907
- overflow-y: hidden;
3953
+ .ndl-code-block-container .ndl-code-content-container.ndl-disabled{
3954
+ opacity: 0.5;
3908
3955
  }
3909
- .ndl-code-block-container .ndl-highlight-wrapper:after{
3956
+ .ndl-code-block-container .ndl-code-content-container:after{
3910
3957
  position: absolute;
3911
3958
  top: 0px;
3912
3959
  right: 4px;
@@ -3921,6 +3968,21 @@ a.ndl-btn{
3921
3968
  --tw-content: "";
3922
3969
  content: var(--tw-content);
3923
3970
  }
3971
+ /* Pseudo element on the left and right to steal the editor focus when clicking outside */
3972
+ .ndl-code-block-container .ndl-code-content-container .ndl-code-pseudo-element{
3973
+ height: 100%;
3974
+ width: 1px;
3975
+ }
3976
+ .ndl-code-block-container .ndl-code-content-container .ndl-highlight-wrapper{
3977
+ position: relative;
3978
+ width: 100%;
3979
+ }
3980
+ .ndl-code-block-container .ndl-code-content-container .ndl-highlight-wrapper.ndl-focused{
3981
+ overflow-y: auto;
3982
+ }
3983
+ .ndl-code-block-container .ndl-code-content-container .ndl-highlight-wrapper:not(.ndl-focused){
3984
+ overflow-y: hidden;
3985
+ }
3924
3986
  /* Component's header icons */
3925
3987
  .ndl-code-block-container .ndl-code-block-actions{
3926
3988
  position: absolute;
@@ -3949,6 +4011,448 @@ a.ndl-btn{
3949
4011
  .ndl-code-block-container .ndl-linenumber {
3950
4012
  min-width: 32px !important;
3951
4013
  }
4014
+ /* Pseudo element on the top to steal the editor focus when clicking outside */
4015
+ .ndl-code-block-container::before {
4016
+ display: block;
4017
+ height: 1px;
4018
+ content: '';
4019
+ }
4020
+ /* Pseudo element on the bottom to steal the editor focus when clicking outside */
4021
+ .ndl-code-block-container::after {
4022
+ display: block;
4023
+ height: 1px;
4024
+ content: '';
4025
+ }
4026
+ /**
4027
+ *
4028
+ * Copyright (c) "Neo4j"
4029
+ * Neo4j Sweden AB [http://neo4j.com]
4030
+ *
4031
+ * This file is part of Neo4j.
4032
+ *
4033
+ * Neo4j is free software: you can redistribute it and/or modify
4034
+ * it under the terms of the GNU General Public License as published by
4035
+ * the Free Software Foundation, either version 3 of the License, or
4036
+ * (at your option) any later version.
4037
+ *
4038
+ * This program is distributed in the hope that it will be useful,
4039
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
4040
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4041
+ * GNU General Public License for more details.
4042
+ *
4043
+ * You should have received a copy of the GNU General Public License
4044
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
4045
+ */
4046
+ /*
4047
+ /* Needle Overrides */
4048
+ /*
4049
+ ############
4050
+ Generic Styles
4051
+ ############
4052
+ */
4053
+ .cm-editor .cm-lineNumbers .cm-gutterElement {
4054
+ font-family: 'Fira Code';
4055
+ padding: 0 5px 0 5px;
4056
+ }
4057
+ .cm-editor .cm-gutter {
4058
+ width: 100%;
4059
+ }
4060
+ .cm-editor .cm-content .cm-line {
4061
+ line-height: 1.4375;
4062
+ font-family: 'Fira Code';
4063
+ }
4064
+ .cm-editor .cm-scroller .cm-content,
4065
+ .cm-editor .cm-content {
4066
+ padding: 0;
4067
+ }
4068
+ .cm-editor .cm-gutters {
4069
+ border: none;
4070
+ padding-left: 5px;
4071
+ padding-right: 3px;
4072
+ }
4073
+ /* Theme Variables */
4074
+ .cm-light {
4075
+ --background: var(--palette-light-neutral-bg-weak);
4076
+ --color: var(--palette-light-neutral-text-default);
4077
+ --cursor-color: var(--colors-neutral-70);
4078
+ --selection-bg: var(--colors-neutral-40);
4079
+ --comment: var(--colors-neutral-60);
4080
+ --function: var(--colors-primary-50);
4081
+ --keyword: var(--colors-success-50);
4082
+ --relationship: var(--colors-success-50);
4083
+ --string: var(--colors-warning-60);
4084
+ --number: var(--colors-blueberry-50);
4085
+ --variable: var(--colors-blueberry-50);
4086
+ --button: var(--colors-primary-40);
4087
+ --procedure: var(--colors-primary-50);
4088
+ --ac-li-border: var(--colors-neutral-50);
4089
+ --ac-li-selected: var(--colors-primary-50);
4090
+ --ac-li-text: var(--colors-neutral-90);
4091
+ --ac-li-hover: var(--palette-light-neutral-bg-default);
4092
+ --ac-li-text-selected: var(--colors-neutral-10);
4093
+ --ac-tooltip-border: var(--colors-neutral-50);
4094
+ --ac-tooltip-background: var(--palette-light-neutral-bg-weak);
4095
+ }
4096
+ .cm-dark {
4097
+ --background: var(--colors-neutral-90);
4098
+ --color: var(--colors-neutral-50);
4099
+ --cursor-color: var(--colors-neutral-50);
4100
+ --selection-bg: var(--colors-neutral-80);
4101
+ --comment: var(--colors-neutral-40);
4102
+ --function: var(--colors-primary-30);
4103
+ --keyword: var(--colors-success-30);
4104
+ --relationship: var(--colors-success-20);
4105
+ --string: var(--colors-warning-30);
4106
+ --number: var(--colors-blueberry-40);
4107
+ --variable: var(--colors-blueberry-30);
4108
+ --button: var(--colors-primary-30);
4109
+ --procedure: var(--colors-primary-30);
4110
+ --ac-li-border: var(--colors-neutral-50);
4111
+ --ac-li-selected: var(--colors-primary-30);
4112
+ --ac-li-text: var(--colors-neutral-10);
4113
+ --ac-li-hover: var(--colors-neutral-80);
4114
+ --ac-li-text-selected: var(--colors-neutral-90);
4115
+ --ac-tooltip-border: var(--colors-neutral-80);
4116
+ /* TODO: This will be added to the dark theme palette soon */
4117
+ --ac-tooltip-background: 45, 53, 63;
4118
+ }
4119
+ .ndl-cypher-code-block .cm-light {
4120
+ --background: var(--colors-neutral-20);
4121
+ }
4122
+ /** Cursor Colors */
4123
+ .cm-editor {
4124
+ background-color: rgb(var(--background));
4125
+ color: rgb(var(--color));
4126
+ }
4127
+ .cm-editor .cm-cursor {
4128
+ z-index: 1;
4129
+ border-left: 0.67em solid rgba(var(--cursor-color), 0.35);
4130
+ }
4131
+ /** Selection Background */
4132
+ .cm-editor.cm-focused .cm-selectionBackground,
4133
+ .cm-editor .cm-selectionBackground {
4134
+ background: rgb(var(--selection-bg));
4135
+ }
4136
+ .cm-editor .cm-comment {
4137
+ color: rgb(var(--comment));
4138
+ }
4139
+ .cm-editor .cm-string {
4140
+ color: rgb(var(--string));
4141
+ }
4142
+ .cm-editor .cm-gutters {
4143
+ background-color: rgb(var(--background));
4144
+ }
4145
+ .cm-editor .cm-number {
4146
+ color: rgb(var(--number));
4147
+ }
4148
+ .cm-editor .cm-variable {
4149
+ color: rgb(var(--variable));
4150
+ }
4151
+ .cm-editor .cm-keyword {
4152
+ color: rgb(var(--keyword));
4153
+ }
4154
+ .cm-editor .cm-p-relationshipType .cm-variable,
4155
+ .cm-editor .cm-p-relationshipType .cm-operator {
4156
+ color: rgb(var(--relationship));
4157
+ }
4158
+ .cm-editor .cm-p-procedure,
4159
+ .cm-editor .cm-p-procedure .cm-keyword,
4160
+ .cm-editor .cm-p-procedure .cm-variable,
4161
+ .cm-editor .cm-p-procedure .cm-operator {
4162
+ color: rgb(var(--procedure));
4163
+ }
4164
+ .cm-editor .cm-p-variable,
4165
+ .cm-editor .cm-p-variable .cm-keyword {
4166
+ color: rgb(var(--variable));
4167
+ }
4168
+ .cm-editor .cm-p-procedureOutput > :is(.cm-keyword, .cm-variable) {
4169
+ color: rgb(var(--variable));
4170
+ }
4171
+ .cm-editor .cm-p-property > :is(.cm-keyword, .cm-variable) {
4172
+ color: rgb(var(--variable));
4173
+ }
4174
+ .cm-editor .cm-p-function > :is(.cm-keyword, .cm-variable) {
4175
+ color: rgb(var(--function));
4176
+ }
4177
+ /* Search Controls */
4178
+ .cm-editor .cm-button {
4179
+ background-color: rgb(var(--button));
4180
+ background-image: none;
4181
+ color: white;
4182
+ border: none;
4183
+ transition: background-color var(--transitions-stripped);
4184
+ display: inline-flex;
4185
+ cursor: pointer;
4186
+ align-items: center;
4187
+ justify-content: center;
4188
+ gap: 0.125rem;
4189
+ border-radius: 4px;
4190
+ font-weight: 700;
4191
+ outline: 2px solid transparent;
4192
+ outline-offset: 2px;
4193
+ --tw-ring-opacity: 1;
4194
+ --tw-ring-color: rgb(1 139 255 / var(--tw-ring-opacity));
4195
+ }
4196
+ .cm-editor .cm-button:focus-visible{
4197
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
4198
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
4199
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
4200
+ --tw-ring-offset-width: 2px;
4201
+ }
4202
+ .cm-editor .cm-button.ndl-loading{
4203
+ cursor: default;
4204
+ vertical-align: middle;
4205
+ opacity: 0.5;
4206
+ }
4207
+ .cm-editor .cm-button.ndl-small{
4208
+ height: 1.75rem;
4209
+ padding-left: 0.75rem;
4210
+ padding-right: 0.75rem;
4211
+ padding-top: 0.25rem;
4212
+ padding-bottom: 0.25rem;
4213
+ font-size: var(--font-size-label);
4214
+ font-weight: var(--font-weight-bold);
4215
+ letter-spacing: 0;
4216
+ line-height: 1.25rem;
4217
+ }
4218
+ .cm-editor .cm-button.ndl-medium{
4219
+ height: 2.25rem;
4220
+ padding-left: 1.5rem;
4221
+ padding-right: 1.5rem;
4222
+ padding-top: 0.5rem;
4223
+ padding-bottom: 0.5rem;
4224
+ font-size: var(--font-size-label);
4225
+ font-weight: var(--font-weight-bold);
4226
+ letter-spacing: 0;
4227
+ line-height: 1.25rem;
4228
+ }
4229
+ .cm-editor .cm-button.ndl-large{
4230
+ height: 3rem;
4231
+ padding-left: 1.5rem;
4232
+ padding-right: 1.5rem;
4233
+ padding-top: 0.75rem;
4234
+ padding-bottom: 0.75rem;
4235
+ }
4236
+
4237
+ .cm-editor .cm-button.ndl-large {
4238
+ font-size: var(--font-size-h6);
4239
+ font-weight: var(--font-weight-bold);
4240
+ letter-spacing: 0.016rem;
4241
+ line-height: 1.5rem;
4242
+ }
4243
+ .cm-editor .cm-button.ndl-filled{
4244
+ border-width: 0px;
4245
+ --tw-text-opacity: 1;
4246
+ color: rgb(255 255 255 / var(--tw-text-opacity));
4247
+ }
4248
+ .cm-editor .cm-button.ndl-filled.ndl-disabled{
4249
+ cursor: default;
4250
+ --tw-bg-opacity: 1;
4251
+ background-color: rgb(230 233 238 / var(--tw-bg-opacity));
4252
+ --tw-text-opacity: 1;
4253
+ color: rgb(178 183 189 / var(--tw-text-opacity));
4254
+ }
4255
+ .cm-editor .cm-button.ndl-outlined{
4256
+ border-width: 1px;
4257
+ border-style: solid;
4258
+ --tw-bg-opacity: 1;
4259
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
4260
+ }
4261
+ .cm-editor .cm-button.ndl-outlined.ndl-disabled{
4262
+ cursor: default;
4263
+ --tw-border-opacity: 1;
4264
+ border-color: rgb(178 183 189 / var(--tw-border-opacity));
4265
+ --tw-bg-opacity: 1;
4266
+ background-color: rgb(255 255 255 / var(--tw-bg-opacity));
4267
+ --tw-text-opacity: 1;
4268
+ color: rgb(178 183 189 / var(--tw-text-opacity));
4269
+ }
4270
+ .cm-editor .cm-button.ndl-text{
4271
+ border-style: none;
4272
+ background-color: transparent;
4273
+ }
4274
+ .cm-editor .cm-button.ndl-text.ndl-disabled{
4275
+ cursor: default;
4276
+ --tw-text-opacity: 1;
4277
+ color: rgb(178 183 189 / var(--tw-text-opacity));
4278
+ }
4279
+ .cm-editor .cm-button.ndl-floating-btn:not(.ndl-disabled):not(.ndl-text){
4280
+ --tw-shadow: 0px 4px 8px 0px rgba(12, 26, 37, 0.08);
4281
+ --tw-shadow-colored: 0px 4px 8px 0px var(--tw-shadow-color);
4282
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
4283
+ }
4284
+ a.cm-editor .cm-button{
4285
+ text-decoration-line: none;
4286
+ }
4287
+ .cm-completionLabel {
4288
+ font-family: 'Fira Code';
4289
+ font-weight: bold;
4290
+ vertical-align: middle;
4291
+ }
4292
+ .cm-editor .cm-completionIcon {
4293
+ vertical-align: middle;
4294
+ width: 18px;
4295
+ padding: 4px 6px 2px 2px;
4296
+ }
4297
+ .autocomplete-icon-shared {
4298
+ font-family: 'Fira Code';
4299
+ border-radius: 100%;
4300
+ border: 1px solid rgb(var(--ac-li-border));
4301
+ width: 20px;
4302
+ height: 20px;
4303
+ display: block;
4304
+ line-height: 19px;
4305
+ /* If overflow is not defined, it causes a flickering effect in Chrome (bug) */
4306
+ overflow: hidden;
4307
+ /** Share the same with all until we have a fixed set */
4308
+ background-color: rgb(var(--background));
4309
+ color: rgb(var(--keyword));
4310
+ }
4311
+ .cm-editor .cm-completionIcon-keyword:after {
4312
+ font-family: 'Fira Code';
4313
+ border-radius: 100%;
4314
+ border: 1px solid rgb(var(--ac-li-border));
4315
+ width: 20px;
4316
+ height: 20px;
4317
+ display: block;
4318
+ line-height: 19px;
4319
+ /* If overflow is not defined, it causes a flickering effect in Chrome (bug) */
4320
+ overflow: hidden;
4321
+ /** Share the same with all until we have a fixed set */
4322
+ background-color: rgb(var(--background));
4323
+ color: rgb(var(--keyword));
4324
+ content: 'K';
4325
+ }
4326
+ .cm-editor .cm-completionIcon-label:after {
4327
+ font-family: 'Fira Code';
4328
+ border-radius: 100%;
4329
+ border: 1px solid rgb(var(--ac-li-border));
4330
+ width: 20px;
4331
+ height: 20px;
4332
+ display: block;
4333
+ line-height: 19px;
4334
+ /* If overflow is not defined, it causes a flickering effect in Chrome (bug) */
4335
+ overflow: hidden;
4336
+ /** Share the same with all until we have a fixed set */
4337
+ background-color: rgb(var(--background));
4338
+ color: rgb(var(--keyword));
4339
+ content: 'L';
4340
+ }
4341
+ .cm-editor .cm-completionIcon-relationshipType:after {
4342
+ font-family: 'Fira Code';
4343
+ border-radius: 100%;
4344
+ border: 1px solid rgb(var(--ac-li-border));
4345
+ width: 20px;
4346
+ height: 20px;
4347
+ display: block;
4348
+ line-height: 19px;
4349
+ /* If overflow is not defined, it causes a flickering effect in Chrome (bug) */
4350
+ overflow: hidden;
4351
+ /** Share the same with all until we have a fixed set */
4352
+ background-color: rgb(var(--background));
4353
+ color: rgb(var(--keyword));
4354
+ content: 'R';
4355
+ }
4356
+ .cm-editor .cm-completionIcon-variable:after,
4357
+ .cm-editor .cm-completionIcon-procedureOutput:after {
4358
+ font-family: 'Fira Code';
4359
+ border-radius: 100%;
4360
+ border: 1px solid rgb(var(--ac-li-border));
4361
+ width: 20px;
4362
+ height: 20px;
4363
+ display: block;
4364
+ line-height: 19px;
4365
+ /* If overflow is not defined, it causes a flickering effect in Chrome (bug) */
4366
+ overflow: hidden;
4367
+ /** Share the same with all until we have a fixed set */
4368
+ background-color: rgb(var(--background));
4369
+ color: rgb(var(--keyword));
4370
+ content: 'V';
4371
+ }
4372
+ .cm-editor .cm-completionIcon-procedure:after,
4373
+ .cm-editor .cm-completionIcon-function:after {
4374
+ font-family: 'Fira Code';
4375
+ border-radius: 100%;
4376
+ border: 1px solid rgb(var(--ac-li-border));
4377
+ width: 20px;
4378
+ height: 20px;
4379
+ display: block;
4380
+ line-height: 19px;
4381
+ /* If overflow is not defined, it causes a flickering effect in Chrome (bug) */
4382
+ overflow: hidden;
4383
+ /** Share the same with all until we have a fixed set */
4384
+ background-color: rgb(var(--background));
4385
+ color: rgb(var(--keyword));
4386
+ content: 'λ';
4387
+ }
4388
+ .cm-editor .cm-completionIcon-function:after {
4389
+ font-family: 'Fira Code';
4390
+ border-radius: 100%;
4391
+ border: 1px solid rgb(var(--ac-li-border));
4392
+ width: 20px;
4393
+ height: 20px;
4394
+ display: block;
4395
+ line-height: 19px;
4396
+ /* If overflow is not defined, it causes a flickering effect in Chrome (bug) */
4397
+ overflow: hidden;
4398
+ /** Share the same with all until we have a fixed set */
4399
+ background-color: rgb(var(--background));
4400
+ color: rgb(var(--keyword));
4401
+ content: '$';
4402
+ }
4403
+ .cm-editor .cm-completionIcon-propertyKey:after {
4404
+ font-family: 'Fira Code';
4405
+ border-radius: 100%;
4406
+ border: 1px solid rgb(var(--ac-li-border));
4407
+ width: 20px;
4408
+ height: 20px;
4409
+ display: block;
4410
+ line-height: 19px;
4411
+ /* If overflow is not defined, it causes a flickering effect in Chrome (bug) */
4412
+ overflow: hidden;
4413
+ /** Share the same with all until we have a fixed set */
4414
+ background-color: rgb(var(--background));
4415
+ color: rgb(var(--keyword));
4416
+ content: 'P';
4417
+ }
4418
+ .cm-editor .cm-completionIcon-consoleCommand:after,
4419
+ .cm-editor .cm-completionIcon-consoleCommandSubcommand:after {
4420
+ font-family: 'Fira Code';
4421
+ border-radius: 100%;
4422
+ border: 1px solid rgb(var(--ac-li-border));
4423
+ width: 20px;
4424
+ height: 20px;
4425
+ display: block;
4426
+ line-height: 19px;
4427
+ /* If overflow is not defined, it causes a flickering effect in Chrome (bug) */
4428
+ overflow: hidden;
4429
+ /** Share the same with all until we have a fixed set */
4430
+ background-color: rgb(var(--background));
4431
+ color: rgb(var(--keyword));
4432
+ content: 'C';
4433
+ }
4434
+ .cm-tooltip-autocomplete {
4435
+ border-radius: var(--border-radius-sm);
4436
+ border: 1px solid rgb(var(--ac-tooltip-border)) !important;
4437
+ background-color: rgb(var(--ac-tooltip-background)) !important;
4438
+ overflow: hidden;
4439
+ margin-top: 4px;
4440
+ padding: 7px;
4441
+ }
4442
+ .cm-tooltip-autocomplete li {
4443
+ border-radius: var(--border-radius-sm);
4444
+ color: rgb(var(--ac-li-text)) !important;
4445
+ }
4446
+ .cm-tooltip-autocomplete li:hover {
4447
+ background-color: rgb(var(--ac-li-hover));
4448
+ }
4449
+ .cm-tooltip-autocomplete li[aria-selected='true'] {
4450
+ background: rgb(var(--ac-li-selected)) !important;
4451
+ color: rgb(var(--ac-li-text-selected)) !important;
4452
+ }
4453
+ .cm-tooltip-autocomplete li[aria-selected='true'] > div {
4454
+ opacity: 100%;
4455
+ }
3952
4456
  /**
3953
4457
  *
3954
4458
  * Copyright (c) "Neo4j"
@@ -4343,6 +4847,9 @@ a.ndl-btn{
4343
4847
  .n-mt-2{
4344
4848
  margin-top: 0.5rem;
4345
4849
  }
4850
+ .n-mt-token-8{
4851
+ margin-top: 32px;
4852
+ }
4346
4853
  .n-mt-4{
4347
4854
  margin-top: 1rem;
4348
4855
  }
@@ -4504,6 +5011,9 @@ a.ndl-btn{
4504
5011
  .n-gap-4{
4505
5012
  gap: 1rem;
4506
5013
  }
5014
+ .n-gap-token-8{
5015
+ gap: 32px;
5016
+ }
4507
5017
  .n-gap-1{
4508
5018
  gap: 0.25rem;
4509
5019
  }
@@ -4587,6 +5097,9 @@ a.ndl-btn{
4587
5097
  .n-rounded-5xl{
4588
5098
  border-radius: 20px;
4589
5099
  }
5100
+ .n-rounded-1xl{
5101
+ border-radius: 12px;
5102
+ }
4590
5103
  .n-rounded-2xl{
4591
5104
  border-radius: 14px;
4592
5105
  }
@@ -11632,6 +12145,9 @@ a.ndl-btn{
11632
12145
  .n-p-2{
11633
12146
  padding: 0.5rem;
11634
12147
  }
12148
+ .n-p-token-8{
12149
+ padding: 32px;
12150
+ }
11635
12151
  .n-p-14{
11636
12152
  padding: 3.5rem;
11637
12153
  }