@neo4j-ndl/base 3.1.4 → 3.2.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.
- 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 +197 -0
- 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/lib/neo4j-ds-styles.css
CHANGED
|
@@ -5280,6 +5280,27 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
|
|
|
5280
5280
|
.ndl-banner .ndl-banner-actions .ndl-cypher-editor .cm-editor .cm-button:not(:disabled):active,.ndl-banner .ndl-banner-actions .ndl-codemirror-editor .cm-editor .cm-button:not(:disabled):active {
|
|
5281
5281
|
background-color:rgb(var(--theme-palette-neutral-pressed));
|
|
5282
5282
|
}
|
|
5283
|
+
.ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-cypher-editor .cm-editor .cm-button,.ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-codemirror-editor .cm-editor .cm-button {
|
|
5284
|
+
border-color:rgb(var(--theme-palette-neutral-text-inverse));
|
|
5285
|
+
background-color:transparent;
|
|
5286
|
+
color:rgb(var(--theme-palette-neutral-text-inverse));
|
|
5287
|
+
}
|
|
5288
|
+
.ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-cypher-editor .cm-editor .cm-button:not(:disabled):hover,.ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-codemirror-editor .cm-editor .cm-button:not(:disabled):hover {
|
|
5289
|
+
background-color:rgb(149 154 161 / var(--tw-bg-opacity));
|
|
5290
|
+
--tw-bg-opacity:0.1;
|
|
5291
|
+
}
|
|
5292
|
+
.ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-cypher-editor .cm-editor .cm-button:not(:disabled):active,.ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-codemirror-editor .cm-editor .cm-button:not(:disabled):active {
|
|
5293
|
+
background-color:rgb(149 154 161 / var(--tw-bg-opacity));
|
|
5294
|
+
--tw-bg-opacity:0.2;
|
|
5295
|
+
}
|
|
5296
|
+
.ndl-theme-dark .ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-cypher-editor .cm-editor .cm-button:not(:disabled):hover,.ndl-theme-dark .ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-codemirror-editor .cm-editor .cm-button:not(:disabled):hover {
|
|
5297
|
+
background-color:rgb(111 117 126 / var(--tw-bg-opacity));
|
|
5298
|
+
--tw-bg-opacity:0.1;
|
|
5299
|
+
}
|
|
5300
|
+
.ndl-theme-dark .ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-cypher-editor .cm-editor .cm-button:not(:disabled):active,.ndl-theme-dark .ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-codemirror-editor .cm-editor .cm-button:not(:disabled):active {
|
|
5301
|
+
background-color:rgb(111 117 126 / var(--tw-bg-opacity));
|
|
5302
|
+
--tw-bg-opacity:0.2;
|
|
5303
|
+
}
|
|
5283
5304
|
.ndl-cypher-editor .cm-completionLabel, .ndl-codemirror-editor .cm-completionLabel{
|
|
5284
5305
|
font-family:'Fira Code';
|
|
5285
5306
|
font-weight:700;
|
|
@@ -7435,6 +7456,173 @@ button.ndl-avatar:focus-visible {
|
|
|
7435
7456
|
letter-spacing:0.016rem;
|
|
7436
7457
|
line-height:1.5rem;
|
|
7437
7458
|
}
|
|
7459
|
+
:root{
|
|
7460
|
+
--spotlight-target-pulse-color:rgba(233, 222, 255, 0.5);
|
|
7461
|
+
}
|
|
7462
|
+
.ndl-theme-dark{
|
|
7463
|
+
--spotlight-target-pulse-color:rgba(233, 222, 255, 0.2);
|
|
7464
|
+
}
|
|
7465
|
+
.ndl-spotlight-overlay {
|
|
7466
|
+
visibility:hidden;
|
|
7467
|
+
position:fixed;
|
|
7468
|
+
top:0px;
|
|
7469
|
+
bottom:0px;
|
|
7470
|
+
right:0px;
|
|
7471
|
+
left:0px;
|
|
7472
|
+
z-index:30;
|
|
7473
|
+
background-color:rgba(0, 0, 0, 0.4);
|
|
7474
|
+
transition:opacity 0.2s ease;
|
|
7475
|
+
opacity:0;
|
|
7476
|
+
}
|
|
7477
|
+
.ndl-spotlight-overlay.ndl-spotlight-overlay-open {
|
|
7478
|
+
visibility:visible;
|
|
7479
|
+
opacity:1;
|
|
7480
|
+
}
|
|
7481
|
+
.ndl-spotlight {
|
|
7482
|
+
width:320px;
|
|
7483
|
+
overflow:hidden;
|
|
7484
|
+
border-width:1px;
|
|
7485
|
+
border-color:rgb(var(--theme-palette-discovery-border-strong));
|
|
7486
|
+
background-color:rgb(var(--theme-palette-discovery-bg-strong));
|
|
7487
|
+
padding-bottom:16px;
|
|
7488
|
+
color:rgb(var(--theme-palette-neutral-text-inverse));
|
|
7489
|
+
}
|
|
7490
|
+
.ndl-spotlight .ndl-spotlight-header,
|
|
7491
|
+
.ndl-spotlight .ndl-spotlight-body {
|
|
7492
|
+
margin-top:16px;
|
|
7493
|
+
width:100%;
|
|
7494
|
+
padding-left:16px;
|
|
7495
|
+
padding-right:16px;
|
|
7496
|
+
color:rgb(var(--theme-palette-neutral-text-inverse));
|
|
7497
|
+
}
|
|
7498
|
+
.ndl-spotlight .ndl-spotlight-header + .ndl-spotlight-body {
|
|
7499
|
+
margin-top:4px;
|
|
7500
|
+
}
|
|
7501
|
+
.ndl-spotlight .ndl-spotlight-image {
|
|
7502
|
+
width:100%;
|
|
7503
|
+
}
|
|
7504
|
+
.ndl-spotlight .ndl-spotlight-label {
|
|
7505
|
+
margin-left:16px;
|
|
7506
|
+
margin-right:16px;
|
|
7507
|
+
margin-top:16px;
|
|
7508
|
+
}
|
|
7509
|
+
.ndl-spotlight .ndl-spotlight-icon-wrapper {
|
|
7510
|
+
margin-top:16px;
|
|
7511
|
+
width:100%;
|
|
7512
|
+
padding-left:16px;
|
|
7513
|
+
padding-right:16px;
|
|
7514
|
+
}
|
|
7515
|
+
.ndl-spotlight .ndl-spotlight-icon-wrapper .ndl-icon-svg {
|
|
7516
|
+
width:48px;
|
|
7517
|
+
height:48px;
|
|
7518
|
+
}
|
|
7519
|
+
.ndl-spotlight .ndl-spotlight-footer {
|
|
7520
|
+
margin-top:16px;
|
|
7521
|
+
display:flex;
|
|
7522
|
+
width:100%;
|
|
7523
|
+
flex-direction:row;
|
|
7524
|
+
flex-wrap:wrap;
|
|
7525
|
+
align-items:center;
|
|
7526
|
+
justify-content:space-between;
|
|
7527
|
+
padding-left:16px;
|
|
7528
|
+
padding-right:16px;
|
|
7529
|
+
}
|
|
7530
|
+
.ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions {
|
|
7531
|
+
margin-left:auto;
|
|
7532
|
+
display:flex;
|
|
7533
|
+
flex-direction:row;
|
|
7534
|
+
flex-wrap:wrap;
|
|
7535
|
+
gap:8px;
|
|
7536
|
+
}
|
|
7537
|
+
.ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-btn {
|
|
7538
|
+
border-color:rgb(var(--theme-palette-neutral-text-inverse));
|
|
7539
|
+
background-color:transparent;
|
|
7540
|
+
color:rgb(var(--theme-palette-neutral-text-inverse));
|
|
7541
|
+
}
|
|
7542
|
+
.ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-btn:not(:disabled):hover {
|
|
7543
|
+
background-color:rgb(149 154 161 / var(--tw-bg-opacity));
|
|
7544
|
+
--tw-bg-opacity:0.1;
|
|
7545
|
+
}
|
|
7546
|
+
.ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-btn:not(:disabled):active {
|
|
7547
|
+
background-color:rgb(149 154 161 / var(--tw-bg-opacity));
|
|
7548
|
+
--tw-bg-opacity:0.2;
|
|
7549
|
+
}
|
|
7550
|
+
.ndl-theme-dark .ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-btn:not(:disabled):hover {
|
|
7551
|
+
background-color:rgb(111 117 126 / var(--tw-bg-opacity));
|
|
7552
|
+
--tw-bg-opacity:0.1;
|
|
7553
|
+
}
|
|
7554
|
+
.ndl-theme-dark .ndl-spotlight .ndl-spotlight-footer .ndl-spotlight-actions .ndl-btn:not(:disabled):active {
|
|
7555
|
+
background-color:rgb(111 117 126 / var(--tw-bg-opacity));
|
|
7556
|
+
--tw-bg-opacity:0.2;
|
|
7557
|
+
}
|
|
7558
|
+
.ndl-spotlight-target {
|
|
7559
|
+
position:relative;
|
|
7560
|
+
cursor:pointer;
|
|
7561
|
+
--tw-ring-color:rgb(var(--theme-palette-primary-focus));
|
|
7562
|
+
}
|
|
7563
|
+
.ndl-spotlight-target:focus-visible {
|
|
7564
|
+
border-style:none;
|
|
7565
|
+
outline:2px solid transparent;
|
|
7566
|
+
outline-offset:2px;
|
|
7567
|
+
--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
7568
|
+
--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
7569
|
+
box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
7570
|
+
--tw-ring-offset-width:2px;
|
|
7571
|
+
}
|
|
7572
|
+
.ndl-spotlight-target .ndl-spotlight-target-inert:focus-visible {
|
|
7573
|
+
border-style:none;
|
|
7574
|
+
outline:2px solid transparent;
|
|
7575
|
+
outline-offset:2px;
|
|
7576
|
+
--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
7577
|
+
--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
7578
|
+
box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
7579
|
+
}
|
|
7580
|
+
.ndl-spotlight-target .ndl-spotlight-target-inert > *{
|
|
7581
|
+
pointer-events:none;
|
|
7582
|
+
}
|
|
7583
|
+
.ndl-spotlight-target-indicator-border {
|
|
7584
|
+
pointer-events:none;
|
|
7585
|
+
cursor:pointer;
|
|
7586
|
+
border-width:2px;
|
|
7587
|
+
border-color:rgb(var(--theme-palette-discovery-border-strong));
|
|
7588
|
+
}
|
|
7589
|
+
.ndl-spotlight-target-indicator-border.ndl-spotlight-target-pulse{
|
|
7590
|
+
animation:pulse-shadow-border 2s infinite;
|
|
7591
|
+
}
|
|
7592
|
+
.ndl-spotlight-target-indicator-point {
|
|
7593
|
+
pointer-events:none;
|
|
7594
|
+
cursor:pointer;
|
|
7595
|
+
background-color:rgb(var(--theme-palette-discovery-bg-strong));
|
|
7596
|
+
}
|
|
7597
|
+
.ndl-spotlight-target-indicator-point.ndl-spotlight-target-pulse{
|
|
7598
|
+
animation:pulse-shadow-point 2s infinite;
|
|
7599
|
+
}
|
|
7600
|
+
.ndl-spotlight-target-open {
|
|
7601
|
+
z-index:31;
|
|
7602
|
+
cursor:default;
|
|
7603
|
+
}
|
|
7604
|
+
@keyframes pulse-shadow-border{
|
|
7605
|
+
25%{
|
|
7606
|
+
box-shadow:0 0 0 6px rgb(var(--theme-palette-discovery-bg-weak)), 0 0 0 12px var(--spotlight-target-pulse-color);
|
|
7607
|
+
animation-timing-function:ease-in;
|
|
7608
|
+
}
|
|
7609
|
+
50%,
|
|
7610
|
+
100%{
|
|
7611
|
+
box-shadow:0 0 0 6px transparent, 0 0 0 12px transparent;
|
|
7612
|
+
animation-timing-function:ease-out;
|
|
7613
|
+
}
|
|
7614
|
+
}
|
|
7615
|
+
@keyframes pulse-shadow-point{
|
|
7616
|
+
25%{
|
|
7617
|
+
box-shadow:0 0 0 4px rgb(var(--theme-palette-discovery-bg-weak)), 0 0 0 8px var(--spotlight-target-pulse-color);
|
|
7618
|
+
animation-timing-function:ease-in;
|
|
7619
|
+
}
|
|
7620
|
+
50%,
|
|
7621
|
+
100%{
|
|
7622
|
+
box-shadow:0 0 0 4px transparent, 0 0 0 8px transparent;
|
|
7623
|
+
animation-timing-function:ease-out;
|
|
7624
|
+
}
|
|
7625
|
+
}
|
|
7438
7626
|
.n-sr-only {
|
|
7439
7627
|
position:absolute;
|
|
7440
7628
|
width:1px;
|
|
@@ -7464,6 +7652,9 @@ button.ndl-avatar:focus-visible {
|
|
|
7464
7652
|
.n-isolate {
|
|
7465
7653
|
isolation:isolate;
|
|
7466
7654
|
}
|
|
7655
|
+
.n-z-\[32\] {
|
|
7656
|
+
z-index:32;
|
|
7657
|
+
}
|
|
7467
7658
|
.n-m-auto {
|
|
7468
7659
|
margin:auto;
|
|
7469
7660
|
}
|
|
@@ -7596,6 +7787,9 @@ button.ndl-avatar:focus-visible {
|
|
|
7596
7787
|
.n-h-\[290px\] {
|
|
7597
7788
|
height:290px;
|
|
7598
7789
|
}
|
|
7790
|
+
.n-h-\[500px\] {
|
|
7791
|
+
height:500px;
|
|
7792
|
+
}
|
|
7599
7793
|
.n-h-full {
|
|
7600
7794
|
height:100%;
|
|
7601
7795
|
}
|
|
@@ -7718,6 +7912,9 @@ button.ndl-avatar:focus-visible {
|
|
|
7718
7912
|
.n-gap-9 {
|
|
7719
7913
|
gap:36px;
|
|
7720
7914
|
}
|
|
7915
|
+
.n-gap-token-10 {
|
|
7916
|
+
gap:64px;
|
|
7917
|
+
}
|
|
7721
7918
|
.n-gap-token-2 {
|
|
7722
7919
|
gap:2px;
|
|
7723
7920
|
}
|
package/lib/tokens/js/tokens.js
CHANGED