@neo4j-ndl/base 1.7.1 → 1.7.2
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 +6 -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 +40 -15
- 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, 20 Jun 2023 08:49:26 GMT
|
|
463
463
|
*/
|
|
464
464
|
:root {
|
|
465
465
|
--transitions-values-properties-default: all;
|
|
@@ -1039,13 +1039,15 @@ h6,
|
|
|
1039
1039
|
letter-spacing: 0.016rem;
|
|
1040
1040
|
line-height: 1.5rem;
|
|
1041
1041
|
}
|
|
1042
|
+
.ndl-btn.ndl-disabled{
|
|
1043
|
+
cursor: not-allowed;
|
|
1044
|
+
}
|
|
1042
1045
|
/* State: Filled */
|
|
1043
1046
|
.ndl-btn.ndl-filled{
|
|
1044
1047
|
border-width: 0px;
|
|
1045
1048
|
color: rgb(var(--palette-neutral-text-inverse));
|
|
1046
1049
|
}
|
|
1047
1050
|
.ndl-btn.ndl-filled.ndl-disabled{
|
|
1048
|
-
cursor: default;
|
|
1049
1051
|
background-color: rgb(var(--palette-neutral-bg-strong));
|
|
1050
1052
|
color: rgb(var(--palette-neutral-text-weakest));
|
|
1051
1053
|
}
|
|
@@ -1056,7 +1058,6 @@ h6,
|
|
|
1056
1058
|
background-color: rgb(var(--palette-neutral-bg-weak));
|
|
1057
1059
|
}
|
|
1058
1060
|
.ndl-btn.ndl-outlined.ndl-disabled{
|
|
1059
|
-
cursor: default;
|
|
1060
1061
|
border-color: rgb(var(--palette-neutral-text-weakest));
|
|
1061
1062
|
background-color: rgb(var(--palette-neutral-bg-weak));
|
|
1062
1063
|
color: rgb(var(--palette-neutral-text-weakest));
|
|
@@ -1067,7 +1068,6 @@ h6,
|
|
|
1067
1068
|
background-color: transparent;
|
|
1068
1069
|
}
|
|
1069
1070
|
.ndl-btn.ndl-text.ndl-disabled{
|
|
1070
|
-
cursor: default;
|
|
1071
1071
|
color: rgb(var(--palette-neutral-text-weakest));
|
|
1072
1072
|
}
|
|
1073
1073
|
.ndl-btn.ndl-floating-btn:not(.ndl-disabled):not(.ndl-text){
|
|
@@ -1415,7 +1415,7 @@ a.ndl-btn{
|
|
|
1415
1415
|
margin-right: 0.5rem;
|
|
1416
1416
|
}
|
|
1417
1417
|
.ndl-tabs .ndl-tab.ndl-disabled{
|
|
1418
|
-
cursor:
|
|
1418
|
+
cursor: not-allowed;
|
|
1419
1419
|
color: rgb(var(--palette-neutral-text-weakest));
|
|
1420
1420
|
}
|
|
1421
1421
|
.ndl-tabs .ndl-tab.ndl-underline-tab {
|
|
@@ -1822,7 +1822,7 @@ a.ndl-btn{
|
|
|
1822
1822
|
z-index: 1;
|
|
1823
1823
|
background-color: var(--palette-neutral-hover);
|
|
1824
1824
|
}
|
|
1825
|
-
.ndl-form-item input[type='checkbox'][role='checkbox']:active:before, .ndl-form-item input[type='radio']:active:before {
|
|
1825
|
+
.ndl-form-item input[type='checkbox'][role='checkbox']:not(:disabled):active:before, .ndl-form-item input[type='radio']:not(:disabled):active:before {
|
|
1826
1826
|
content: '';
|
|
1827
1827
|
position: absolute;
|
|
1828
1828
|
width: calc(100% + 22px);
|
|
@@ -1854,7 +1854,7 @@ a.ndl-btn{
|
|
|
1854
1854
|
z-index: 1;
|
|
1855
1855
|
background-color: var(--palette-primary-hover-weak);
|
|
1856
1856
|
}
|
|
1857
|
-
.ndl-form-item input[type='checkbox'][role='checkbox']:checked:active:before, .ndl-form-item input[type='radio']:checked:active:before {
|
|
1857
|
+
.ndl-form-item input[type='checkbox'][role='checkbox']:checked:not(:disabled):active:before, .ndl-form-item input[type='radio']:checked:not(:disabled):active:before {
|
|
1858
1858
|
content: '';
|
|
1859
1859
|
position: absolute;
|
|
1860
1860
|
width: calc(100% + 22px);
|
|
@@ -1956,7 +1956,7 @@ a.ndl-btn{
|
|
|
1956
1956
|
--tw-ring-color: var(--palette-neutral-pressed);
|
|
1957
1957
|
--tw-ring-offset-width: 1px;
|
|
1958
1958
|
}
|
|
1959
|
-
.ndl-form-item input[type='checkbox'][role='switch']:focus-visible:enabled{
|
|
1959
|
+
.ndl-form-item input[type='checkbox'][role='switch']:focus-visible:enabled:not(:disabled){
|
|
1960
1960
|
outline-style: solid;
|
|
1961
1961
|
outline-width: 2px;
|
|
1962
1962
|
outline-offset: 1px;
|
|
@@ -1998,7 +1998,15 @@ a.ndl-btn{
|
|
|
1998
1998
|
);
|
|
1999
1999
|
}
|
|
2000
2000
|
.ndl-form-item input[type='checkbox'][role='switch']:disabled{
|
|
2001
|
+
cursor: not-allowed;
|
|
2001
2002
|
background-color: rgb(var(--palette-neutral-bg-strong));
|
|
2003
|
+
outline: 2px solid transparent;
|
|
2004
|
+
outline-offset: 2px;
|
|
2005
|
+
}
|
|
2006
|
+
.ndl-form-item input[type='checkbox'][role='switch']:active:disabled{
|
|
2007
|
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
2008
|
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
|
2009
|
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
2002
2010
|
}
|
|
2003
2011
|
/* Radio */
|
|
2004
2012
|
.ndl-form-item input[type='radio']{
|
|
@@ -2066,7 +2074,16 @@ a.ndl-btn{
|
|
|
2066
2074
|
color: rgb(var(--palette-neutral-text-weakest));
|
|
2067
2075
|
background-color: inherit;
|
|
2068
2076
|
}
|
|
2069
|
-
.ndl-form-item input[type='text']:disabled:active,
|
|
2077
|
+
.ndl-form-item input[type='text']:disabled:active,
|
|
2078
|
+
.ndl-form-item input[type='text']:disabled:focus,
|
|
2079
|
+
.ndl-form-item input[type='email']:disabled:active,
|
|
2080
|
+
.ndl-form-item input[type='email']:disabled:focus,
|
|
2081
|
+
.ndl-form-item input[type='password']:disabled:active,
|
|
2082
|
+
.ndl-form-item input[type='password']:disabled:focus,
|
|
2083
|
+
.ndl-form-item input[type='number']:disabled:active,
|
|
2084
|
+
.ndl-form-item input[type='number']:disabled:focus,
|
|
2085
|
+
.ndl-form-item input[type='url']:disabled:active,
|
|
2086
|
+
.ndl-form-item input[type='url']:disabled:focus{
|
|
2070
2087
|
outline: 2px solid transparent;
|
|
2071
2088
|
outline-offset: 2px;
|
|
2072
2089
|
}
|
|
@@ -2634,14 +2651,13 @@ a.ndl-btn{
|
|
|
2634
2651
|
line-height: 1.25rem;
|
|
2635
2652
|
}
|
|
2636
2653
|
.ndl-menu .ndl-menu-item:hover:not(.ndl-disabled),
|
|
2637
|
-
.ndl-menu .ndl-menu-item:focus {
|
|
2654
|
+
.ndl-menu .ndl-menu-item:focus:not(.ndl-disabled) {
|
|
2638
2655
|
/* Was :focus-visible, changed to support Safari */
|
|
2639
2656
|
border-radius: 8px;
|
|
2640
2657
|
background-color: rgb(var(--palette-neutral-bg-default));
|
|
2641
2658
|
}
|
|
2642
2659
|
.ndl-menu .ndl-menu-item.ndl-disabled{
|
|
2643
|
-
|
|
2644
|
-
cursor: default;
|
|
2660
|
+
cursor: not-allowed;
|
|
2645
2661
|
}
|
|
2646
2662
|
.ndl-menu .ndl-menu-item.ndl-disabled .ndl-menu-item-title{
|
|
2647
2663
|
color: rgb(var(--palette-neutral-text-weaker));
|
|
@@ -3781,6 +3797,7 @@ a.ndl-btn{
|
|
|
3781
3797
|
margin-right: auto;
|
|
3782
3798
|
}
|
|
3783
3799
|
.ndl-drag-and-drop.ndl-drag-disabled{
|
|
3800
|
+
cursor: not-allowed;
|
|
3784
3801
|
color: rgb(var(--palette-neutral-text-weakest));
|
|
3785
3802
|
}
|
|
3786
3803
|
.ndl-drag-and-drop.ndl-drag-active{
|
|
@@ -3891,6 +3908,13 @@ a.ndl-btn{
|
|
|
3891
3908
|
letter-spacing: 0.016rem;
|
|
3892
3909
|
line-height: 1.25rem;
|
|
3893
3910
|
}
|
|
3911
|
+
.ndl-dropdown div{
|
|
3912
|
+
cursor: pointer;
|
|
3913
|
+
}
|
|
3914
|
+
.ndl-dropdown.ndl-creatable div,
|
|
3915
|
+
.ndl-dropdown.ndl-multi div{
|
|
3916
|
+
cursor: text;
|
|
3917
|
+
}
|
|
3894
3918
|
.ndl-dropdown .ndl-sub-text{
|
|
3895
3919
|
color: rgb(var(--palette-neutral-text-weaker));
|
|
3896
3920
|
font-size: var(--font-size-body-small);
|
|
@@ -3931,6 +3955,7 @@ a.ndl-btn{
|
|
|
3931
3955
|
line-height: 1.25rem;
|
|
3932
3956
|
}
|
|
3933
3957
|
.ndl-dropdown .ndl-dropdown-icon{
|
|
3958
|
+
cursor: pointer;
|
|
3934
3959
|
color: rgb(var(--palette-neutral-text-weak));
|
|
3935
3960
|
}
|
|
3936
3961
|
.ndl-dropdown .ndl-dropdown-icon.ndl-extra-small{
|
|
@@ -4638,12 +4663,14 @@ a.ndl-btn{
|
|
|
4638
4663
|
letter-spacing: 0.016rem;
|
|
4639
4664
|
line-height: 1.5rem;
|
|
4640
4665
|
}
|
|
4666
|
+
.cm-editor .cm-button.ndl-disabled{
|
|
4667
|
+
cursor: not-allowed;
|
|
4668
|
+
}
|
|
4641
4669
|
.cm-editor .cm-button.ndl-filled{
|
|
4642
4670
|
border-width: 0px;
|
|
4643
4671
|
color: rgb(var(--palette-neutral-text-inverse));
|
|
4644
4672
|
}
|
|
4645
4673
|
.cm-editor .cm-button.ndl-filled.ndl-disabled{
|
|
4646
|
-
cursor: default;
|
|
4647
4674
|
background-color: rgb(var(--palette-neutral-bg-strong));
|
|
4648
4675
|
color: rgb(var(--palette-neutral-text-weakest));
|
|
4649
4676
|
}
|
|
@@ -4653,7 +4680,6 @@ a.ndl-btn{
|
|
|
4653
4680
|
background-color: rgb(var(--palette-neutral-bg-weak));
|
|
4654
4681
|
}
|
|
4655
4682
|
.cm-editor .cm-button.ndl-outlined.ndl-disabled{
|
|
4656
|
-
cursor: default;
|
|
4657
4683
|
border-color: rgb(var(--palette-neutral-text-weakest));
|
|
4658
4684
|
background-color: rgb(var(--palette-neutral-bg-weak));
|
|
4659
4685
|
color: rgb(var(--palette-neutral-text-weakest));
|
|
@@ -4663,7 +4689,6 @@ a.ndl-btn{
|
|
|
4663
4689
|
background-color: transparent;
|
|
4664
4690
|
}
|
|
4665
4691
|
.cm-editor .cm-button.ndl-text.ndl-disabled{
|
|
4666
|
-
cursor: default;
|
|
4667
4692
|
color: rgb(var(--palette-neutral-text-weakest));
|
|
4668
4693
|
}
|
|
4669
4694
|
.cm-editor .cm-button.ndl-floating-btn:not(.ndl-disabled):not(.ndl-text){
|
package/lib/tokens/js/tokens.js
CHANGED