@neo4j-ndl/base 1.6.0 → 1.7.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/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 +203 -6
- 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 Mon, 19 Jun 2023 08:46:53 GMT
|
|
463
463
|
*/
|
|
464
464
|
:root {
|
|
465
465
|
--transitions-values-properties-default: all;
|
|
@@ -2852,20 +2852,20 @@ a.ndl-btn{
|
|
|
2852
2852
|
border-color: rgb(var(--palette-neutral-border-weak));
|
|
2853
2853
|
}
|
|
2854
2854
|
.ndl-drawer.ndl-drawer-right .ndl-drawer-header{
|
|
2855
|
-
margin-
|
|
2855
|
+
margin-right: 3rem;
|
|
2856
2856
|
padding-bottom: 1rem;
|
|
2857
|
-
text-align:
|
|
2857
|
+
text-align: left;
|
|
2858
2858
|
}
|
|
2859
2859
|
.ndl-drawer.ndl-drawer-right .ndl-drawer-actions{
|
|
2860
2860
|
margin-top: auto;
|
|
2861
2861
|
display: flex;
|
|
2862
|
-
justify-content: flex-
|
|
2862
|
+
justify-content: flex-end;
|
|
2863
2863
|
gap: 1rem;
|
|
2864
2864
|
padding-top: 1rem;
|
|
2865
2865
|
}
|
|
2866
2866
|
.ndl-drawer.ndl-drawer-right .ndl-drawer-close-button{
|
|
2867
|
-
|
|
2868
|
-
|
|
2867
|
+
left: unset;
|
|
2868
|
+
right: 1rem;
|
|
2869
2869
|
}
|
|
2870
2870
|
.ndl-drawer.ndl-drawer-overlay{
|
|
2871
2871
|
position: absolute;
|
|
@@ -4914,6 +4914,203 @@ a.cm-editor .cm-button{
|
|
|
4914
4914
|
content: '';
|
|
4915
4915
|
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2.0" aria-hidden="true" stroke="%23004092"><path stroke-linecap="round" stroke-linejoin="round" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"></path></svg>');
|
|
4916
4916
|
}
|
|
4917
|
+
/**
|
|
4918
|
+
*
|
|
4919
|
+
* Copyright (c) "Neo4j"
|
|
4920
|
+
* Neo4j Sweden AB [http://neo4j.com]
|
|
4921
|
+
*
|
|
4922
|
+
* This file is part of Neo4j.
|
|
4923
|
+
*
|
|
4924
|
+
* Neo4j is free software: you can redistribute it and/or modify
|
|
4925
|
+
* it under the terms of the GNU General Public License as published by
|
|
4926
|
+
* the Free Software Foundation, either version 3 of the License, or
|
|
4927
|
+
* (at your option) any later version.
|
|
4928
|
+
*
|
|
4929
|
+
* This program is distributed in the hope that it will be useful,
|
|
4930
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
4931
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
4932
|
+
* GNU General Public License for more details.
|
|
4933
|
+
*
|
|
4934
|
+
* You should have received a copy of the GNU General Public License
|
|
4935
|
+
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
4936
|
+
*/
|
|
4937
|
+
.ndl-textarea .ndl-textarea-wrapper{
|
|
4938
|
+
position: relative;
|
|
4939
|
+
width: 100%;
|
|
4940
|
+
}
|
|
4941
|
+
.ndl-textarea textarea::-moz-placeholder{
|
|
4942
|
+
color: rgb(var(--palette-neutral-text-weaker));
|
|
4943
|
+
}
|
|
4944
|
+
.ndl-textarea textarea::placeholder{
|
|
4945
|
+
color: rgb(var(--palette-neutral-text-weaker));
|
|
4946
|
+
}
|
|
4947
|
+
.ndl-textarea textarea{
|
|
4948
|
+
width: 100%;
|
|
4949
|
+
border-radius: 4px;
|
|
4950
|
+
border-width: 1px;
|
|
4951
|
+
border-color: rgb(var(--palette-neutral-border-strong));
|
|
4952
|
+
background-color: rgb(var(--palette-neutral-bg-weak));
|
|
4953
|
+
padding-left: 0.75rem;
|
|
4954
|
+
padding-right: 0.75rem;
|
|
4955
|
+
font-size: var(--font-size-body-medium);
|
|
4956
|
+
font-weight: var(--font-weight-normal);
|
|
4957
|
+
letter-spacing: 0.016rem;
|
|
4958
|
+
line-height: 1.25rem;
|
|
4959
|
+
|
|
4960
|
+
min-height: 80px;
|
|
4961
|
+
}
|
|
4962
|
+
.ndl-textarea textarea:active,
|
|
4963
|
+
.ndl-textarea textarea:focus{
|
|
4964
|
+
outline-style: solid;
|
|
4965
|
+
outline-width: 2px;
|
|
4966
|
+
outline-offset: -1px;
|
|
4967
|
+
outline-color: rgb(var(--palette-primary-focus));
|
|
4968
|
+
}
|
|
4969
|
+
.ndl-textarea textarea:disabled{
|
|
4970
|
+
cursor: not-allowed;
|
|
4971
|
+
color: rgb(var(--palette-neutral-text-weakest));
|
|
4972
|
+
background-color: inherit;
|
|
4973
|
+
}
|
|
4974
|
+
.ndl-textarea textarea:disabled:active{
|
|
4975
|
+
outline: 2px solid transparent;
|
|
4976
|
+
outline-offset: 2px;
|
|
4977
|
+
}
|
|
4978
|
+
/* Label */
|
|
4979
|
+
.ndl-textarea .ndl-textarea-label{
|
|
4980
|
+
display: inline-flex;
|
|
4981
|
+
align-items: flex-start;
|
|
4982
|
+
-moz-column-gap: 0.75rem;
|
|
4983
|
+
column-gap: 0.75rem;
|
|
4984
|
+
font-size: var(--font-size-body-medium);
|
|
4985
|
+
font-weight: var(--font-weight-normal);
|
|
4986
|
+
letter-spacing: 0.016rem;
|
|
4987
|
+
line-height: 1.25rem;
|
|
4988
|
+
}
|
|
4989
|
+
.ndl-textarea .ndl-textarea-label.ndl-fluid{
|
|
4990
|
+
display: flex;
|
|
4991
|
+
width: 100%;
|
|
4992
|
+
}
|
|
4993
|
+
.ndl-textarea .ndl-textarea-label.ndl-label-before{
|
|
4994
|
+
flex-direction: row-reverse;
|
|
4995
|
+
}
|
|
4996
|
+
.ndl-textarea .ndl-textarea-wrapper {
|
|
4997
|
+
display: flex;
|
|
4998
|
+
width: 100%;
|
|
4999
|
+
}
|
|
5000
|
+
.ndl-textarea .ndl-textarea-wrapper .ndl-textarea-optional{
|
|
5001
|
+
color: rgb(var(--palette-neutral-text-weaker));
|
|
5002
|
+
font-style: italic;
|
|
5003
|
+
margin-left: auto;
|
|
5004
|
+
}
|
|
5005
|
+
.ndl-textarea .ndl-textarea-wrapper .ndl-information-icon-small{
|
|
5006
|
+
margin-top: 0.125rem;
|
|
5007
|
+
margin-left: 3px;
|
|
5008
|
+
height: 1rem;
|
|
5009
|
+
width: 1rem;
|
|
5010
|
+
color: rgb(var(--palette-neutral-text-weak));
|
|
5011
|
+
}
|
|
5012
|
+
.ndl-textarea .ndl-textarea-wrapper .ndl-information-icon-large{
|
|
5013
|
+
margin-top: 0.125rem;
|
|
5014
|
+
margin-left: 3px;
|
|
5015
|
+
height: 1rem;
|
|
5016
|
+
width: 1rem;
|
|
5017
|
+
color: rgb(var(--palette-neutral-text-weak));
|
|
5018
|
+
}
|
|
5019
|
+
.ndl-textarea.ndl-type-text .ndl-textarea-label{
|
|
5020
|
+
flex-direction: column-reverse;
|
|
5021
|
+
align-items: flex-start;
|
|
5022
|
+
row-gap: 5px;
|
|
5023
|
+
}
|
|
5024
|
+
.ndl-textarea.ndl-type-text .ndl-textarea-label .ndl-textarea-label-text{
|
|
5025
|
+
color: rgb(var(--palette-neutral-text-weak));
|
|
5026
|
+
}
|
|
5027
|
+
.ndl-textarea.ndl-type-text .ndl-textarea-no-label{
|
|
5028
|
+
row-gap: 0px;
|
|
5029
|
+
}
|
|
5030
|
+
.ndl-textarea.ndl-type-radio{
|
|
5031
|
+
display: flex;
|
|
5032
|
+
align-items: center;
|
|
5033
|
+
color: rgb(var(--palette-neutral-text-default));
|
|
5034
|
+
}
|
|
5035
|
+
.ndl-textarea.ndl-disabled .ndl-textarea-label{
|
|
5036
|
+
cursor: not-allowed;
|
|
5037
|
+
color: rgb(var(--palette-neutral-text-weakest));
|
|
5038
|
+
}
|
|
5039
|
+
/* Form Message */
|
|
5040
|
+
.ndl-textarea .ndl-textarea-msg{
|
|
5041
|
+
margin-top: 0.25rem;
|
|
5042
|
+
display: flex;
|
|
5043
|
+
flex-direction: row;
|
|
5044
|
+
align-items: center;
|
|
5045
|
+
gap: 0.25rem;
|
|
5046
|
+
font-size: 0.75rem;
|
|
5047
|
+
line-height: 1rem;
|
|
5048
|
+
color: rgb(var(--palette-neutral-text-weaker));
|
|
5049
|
+
}
|
|
5050
|
+
.ndl-textarea .ndl-textarea-msg .ndl-error-text {
|
|
5051
|
+
display: inline-block;
|
|
5052
|
+
}
|
|
5053
|
+
.ndl-textarea.ndl-has-error textarea{
|
|
5054
|
+
outline-color: rgb(var(--palette-danger-border-strong));
|
|
5055
|
+
border-width: 2px;
|
|
5056
|
+
border-color: rgb(var(--palette-danger-border-strong));
|
|
5057
|
+
}
|
|
5058
|
+
.ndl-textarea.ndl-has-error .ndl-textarea-msg{
|
|
5059
|
+
color: rgb(var(--palette-danger-text));
|
|
5060
|
+
}
|
|
5061
|
+
.ndl-textarea.ndl-has-icon .ndl-error-icon{
|
|
5062
|
+
height: 1.25rem;
|
|
5063
|
+
width: 1.25rem;
|
|
5064
|
+
color: rgb(var(--palette-danger-text));
|
|
5065
|
+
}
|
|
5066
|
+
/* Size */
|
|
5067
|
+
.ndl-textarea.ndl-large textarea{
|
|
5068
|
+
padding-top: 0.75rem;
|
|
5069
|
+
padding-bottom: 0.75rem;
|
|
5070
|
+
font-size: var(--font-size-body-large);
|
|
5071
|
+
font-weight: var(--font-weight-normal);
|
|
5072
|
+
letter-spacing: 0.016rem;
|
|
5073
|
+
line-height: 1.5rem;
|
|
5074
|
+
min-height: 100px;
|
|
5075
|
+
}
|
|
5076
|
+
.ndl-textarea.ndl-large .ndl-textarea-label {
|
|
5077
|
+
font-size: var(--font-size-body-large);
|
|
5078
|
+
font-weight: var(--font-weight-normal);
|
|
5079
|
+
letter-spacing: 0.016rem;
|
|
5080
|
+
line-height: 1.5rem;
|
|
5081
|
+
}
|
|
5082
|
+
.ndl-textarea.ndl-large .ndl-textarea-msg {
|
|
5083
|
+
font-size: var(--font-size-body-medium);
|
|
5084
|
+
font-weight: var(--font-weight-normal);
|
|
5085
|
+
letter-spacing: 0.016rem;
|
|
5086
|
+
line-height: 1.25rem;
|
|
5087
|
+
}
|
|
5088
|
+
.ndl-textarea.ndl-large.ndl-has-icon .ndl-icon{
|
|
5089
|
+
position: absolute;
|
|
5090
|
+
height: 1.5rem;
|
|
5091
|
+
width: 1.5rem;
|
|
5092
|
+
color: rgb(var(--palette-neutral-text-weak));
|
|
5093
|
+
}
|
|
5094
|
+
.ndl-textarea.ndl-small textarea{
|
|
5095
|
+
padding-top: 0.5rem;
|
|
5096
|
+
padding-bottom: 0.5rem;
|
|
5097
|
+
font-size: var(--font-size-body-medium);
|
|
5098
|
+
font-weight: var(--font-weight-normal);
|
|
5099
|
+
letter-spacing: 0.016rem;
|
|
5100
|
+
line-height: 1.25rem;
|
|
5101
|
+
}
|
|
5102
|
+
.ndl-textarea.ndl-small .ndl-textarea-label {
|
|
5103
|
+
font-size: var(--font-size-body-medium);
|
|
5104
|
+
font-weight: var(--font-weight-normal);
|
|
5105
|
+
letter-spacing: 0.016rem;
|
|
5106
|
+
line-height: 1.25rem;
|
|
5107
|
+
}
|
|
5108
|
+
.ndl-textarea.ndl-small.ndl-has-icon .ndl-icon{
|
|
5109
|
+
height: 1.25rem;
|
|
5110
|
+
width: 1.25rem;
|
|
5111
|
+
position: absolute;
|
|
5112
|
+
color: rgb(var(--palette-neutral-text-weak));
|
|
5113
|
+
}
|
|
4917
5114
|
/**
|
|
4918
5115
|
*
|
|
4919
5116
|
* Copyright (c) "Neo4j"
|
package/lib/tokens/js/tokens.js
CHANGED