@neo4j-ndl/base 3.0.0-alpha-4904fb7 → 3.0.0-alpha-9886872
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 +74 -49
- 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
|
@@ -1232,8 +1232,8 @@ h6,
|
|
|
1232
1232
|
}
|
|
1233
1233
|
.ndl-btn.ndl-medium {
|
|
1234
1234
|
height:36px;
|
|
1235
|
-
padding-left:
|
|
1236
|
-
padding-right:
|
|
1235
|
+
padding-left:16px;
|
|
1236
|
+
padding-right:16px;
|
|
1237
1237
|
padding-top:8px;
|
|
1238
1238
|
padding-bottom:8px;
|
|
1239
1239
|
font-family:var(--font-font-family-body-label), sans-serif;
|
|
@@ -3148,18 +3148,20 @@ a.ndl-btn {
|
|
|
3148
3148
|
padding:4px;
|
|
3149
3149
|
color:rgb(var(--theme-palette-neutral-text-weak));
|
|
3150
3150
|
}
|
|
3151
|
+
.ndl-segmented-control.ndl-floating {
|
|
3152
|
+
--tw-shadow:var(--theme-shadow-overlay);
|
|
3153
|
+
--tw-shadow-colored:var(--theme-shadow-overlay);
|
|
3154
|
+
box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
3155
|
+
}
|
|
3151
3156
|
.ndl-segmented-control > button {
|
|
3152
3157
|
cursor:pointer;
|
|
3153
3158
|
border-radius:4px;
|
|
3154
3159
|
}
|
|
3155
3160
|
.ndl-segmented-control > button:focus-visible {
|
|
3156
|
-
outline:
|
|
3157
|
-
outline-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
box-shadow:var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
|
3161
|
-
--tw-ring-inset:inset;
|
|
3162
|
-
--tw-ring-color:rgb(var(--theme-palette-primary-focus));
|
|
3161
|
+
outline-style:solid;
|
|
3162
|
+
outline-width:2px;
|
|
3163
|
+
outline-offset:-2px;
|
|
3164
|
+
outline-color:rgb(var(--theme-palette-primary-focus));
|
|
3163
3165
|
}
|
|
3164
3166
|
.ndl-segmented-control > button:hover {
|
|
3165
3167
|
background-color:rgb(var(--theme-palette-neutral-hover));
|
|
@@ -3168,14 +3170,19 @@ a.ndl-btn {
|
|
|
3168
3170
|
background-color:rgb(var(--theme-palette-neutral-pressed));
|
|
3169
3171
|
}
|
|
3170
3172
|
.ndl-segmented-control .ndl-current {
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3173
|
+
border-width:1px;
|
|
3174
|
+
border-style:solid;
|
|
3175
|
+
border-color:rgb(var(--theme-palette-primary-border-weak));
|
|
3176
|
+
background-color:rgb(var(--theme-palette-primary-bg-weak));
|
|
3177
|
+
color:rgb(var(--theme-palette-primary-text));
|
|
3176
3178
|
}
|
|
3177
3179
|
.ndl-segmented-control .ndl-current:hover {
|
|
3178
|
-
|
|
3180
|
+
border-style:none;
|
|
3181
|
+
background-color:rgb(var(--theme-palette-neutral-hover));
|
|
3182
|
+
color:rgb(var(--theme-neutral-text-weak));
|
|
3183
|
+
}
|
|
3184
|
+
.ndl-segmented-control .ndl-current:active {
|
|
3185
|
+
background-color:rgb(var(--theme-palette-neutral-pressed));
|
|
3179
3186
|
}
|
|
3180
3187
|
.ndl-segmented-control.ndl-large {
|
|
3181
3188
|
height:48px;
|
|
@@ -3194,9 +3201,18 @@ a.ndl-btn {
|
|
|
3194
3201
|
.ndl-segmented-control.ndl-large .ndl-segment-icon {
|
|
3195
3202
|
padding:10px;
|
|
3196
3203
|
}
|
|
3204
|
+
.ndl-segmented-control.ndl-large .ndl-segment-icon.ndl-current:not(:hover) {
|
|
3205
|
+
padding:9px;
|
|
3206
|
+
}
|
|
3197
3207
|
.ndl-segmented-control.ndl-large > button {
|
|
3198
3208
|
height:40px;
|
|
3199
3209
|
}
|
|
3210
|
+
.ndl-segmented-control.ndl-large .ndl-current.ndl-segment-item:not(:hover) {
|
|
3211
|
+
padding-left:15px;
|
|
3212
|
+
padding-right:15px;
|
|
3213
|
+
padding-top:7px;
|
|
3214
|
+
padding-bottom:7px;
|
|
3215
|
+
}
|
|
3200
3216
|
.ndl-segmented-control.ndl-small {
|
|
3201
3217
|
height:36px;
|
|
3202
3218
|
font-family:var(--font-font-family-subheading-small), sans-serif;
|
|
@@ -3214,9 +3230,18 @@ a.ndl-btn {
|
|
|
3214
3230
|
.ndl-segmented-control.ndl-small .ndl-segment-icon {
|
|
3215
3231
|
padding:6px;
|
|
3216
3232
|
}
|
|
3233
|
+
.ndl-segmented-control.ndl-small .ndl-segment-icon.ndl-current:not(:hover) {
|
|
3234
|
+
padding:5px;
|
|
3235
|
+
}
|
|
3217
3236
|
.ndl-segmented-control.ndl-small > button {
|
|
3218
3237
|
height:28px;
|
|
3219
3238
|
}
|
|
3239
|
+
.ndl-segmented-control.ndl-small .ndl-current.ndl-segment-item:not(:hover) {
|
|
3240
|
+
padding-left:11px;
|
|
3241
|
+
padding-right:11px;
|
|
3242
|
+
padding-top:3px;
|
|
3243
|
+
padding-bottom:3px;
|
|
3244
|
+
}
|
|
3220
3245
|
@keyframes ndl-spinner{
|
|
3221
3246
|
0%{
|
|
3222
3247
|
transform:translate3d(0%, 0%, 0) rotate(0deg);
|
|
@@ -4765,8 +4790,8 @@ a.ndl-btn {
|
|
|
4765
4790
|
}
|
|
4766
4791
|
.ndl-cypher-editor .cm-editor .cm-button.ndl-medium, .ndl-codemirror-editor .cm-editor .cm-button.ndl-medium {
|
|
4767
4792
|
height:36px;
|
|
4768
|
-
padding-left:
|
|
4769
|
-
padding-right:
|
|
4793
|
+
padding-left:16px;
|
|
4794
|
+
padding-right:16px;
|
|
4770
4795
|
padding-top:8px;
|
|
4771
4796
|
padding-bottom:8px;
|
|
4772
4797
|
font-family:var(--font-font-family-body-label), sans-serif;
|
|
@@ -5008,17 +5033,17 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
|
|
|
5008
5033
|
border-radius:4px;
|
|
5009
5034
|
outline-offset:0px;
|
|
5010
5035
|
}
|
|
5011
|
-
.ndl-
|
|
5036
|
+
.ndl-text-area .ndl-text-area-wrapper {
|
|
5012
5037
|
position:relative;
|
|
5013
5038
|
width:100%;
|
|
5014
5039
|
}
|
|
5015
|
-
.ndl-
|
|
5040
|
+
.ndl-text-area textarea::-moz-placeholder {
|
|
5016
5041
|
color:rgb(var(--theme-palette-neutral-text-weaker));
|
|
5017
5042
|
}
|
|
5018
|
-
.ndl-
|
|
5043
|
+
.ndl-text-area textarea::placeholder {
|
|
5019
5044
|
color:rgb(var(--theme-palette-neutral-text-weaker));
|
|
5020
5045
|
}
|
|
5021
|
-
.ndl-
|
|
5046
|
+
.ndl-text-area textarea {
|
|
5022
5047
|
width:100%;
|
|
5023
5048
|
border-radius:4px;
|
|
5024
5049
|
border-width:1px;
|
|
@@ -5034,23 +5059,23 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
|
|
|
5034
5059
|
|
|
5035
5060
|
min-height:80px;
|
|
5036
5061
|
}
|
|
5037
|
-
.ndl-
|
|
5038
|
-
.ndl-
|
|
5062
|
+
.ndl-text-area textarea:active,
|
|
5063
|
+
.ndl-text-area textarea:focus {
|
|
5039
5064
|
outline-style:solid;
|
|
5040
5065
|
outline-width:2px;
|
|
5041
5066
|
outline-offset:-1px;
|
|
5042
5067
|
outline-color:rgb(var(--theme-palette-primary-focus));
|
|
5043
5068
|
}
|
|
5044
|
-
.ndl-
|
|
5069
|
+
.ndl-text-area textarea:disabled {
|
|
5045
5070
|
cursor:not-allowed;
|
|
5046
5071
|
color:rgb(var(--theme-palette-neutral-text-weakest));
|
|
5047
5072
|
background-color:inherit;
|
|
5048
5073
|
}
|
|
5049
|
-
.ndl-
|
|
5074
|
+
.ndl-text-area textarea:disabled:active {
|
|
5050
5075
|
outline:2px solid transparent;
|
|
5051
5076
|
outline-offset:2px;
|
|
5052
5077
|
}
|
|
5053
|
-
.ndl-
|
|
5078
|
+
.ndl-text-area .ndl-text-area-label {
|
|
5054
5079
|
display:inline-flex;
|
|
5055
5080
|
align-items:flex-start;
|
|
5056
5081
|
-moz-column-gap:12px;
|
|
@@ -5061,57 +5086,57 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
|
|
|
5061
5086
|
letter-spacing:0.016rem;
|
|
5062
5087
|
line-height:1.25rem;
|
|
5063
5088
|
}
|
|
5064
|
-
.ndl-
|
|
5089
|
+
.ndl-text-area .ndl-text-area-label.ndl-fluid {
|
|
5065
5090
|
display:flex;
|
|
5066
5091
|
width:100%;
|
|
5067
5092
|
}
|
|
5068
|
-
.ndl-
|
|
5093
|
+
.ndl-text-area .ndl-text-area-label.ndl-label-before {
|
|
5069
5094
|
flex-direction:row-reverse;
|
|
5070
5095
|
}
|
|
5071
|
-
.ndl-
|
|
5096
|
+
.ndl-text-area .ndl-text-area-wrapper{
|
|
5072
5097
|
display:flex;
|
|
5073
5098
|
width:100%;
|
|
5074
5099
|
}
|
|
5075
|
-
.ndl-
|
|
5100
|
+
.ndl-text-area .ndl-text-area-wrapper .ndl-text-area-optional {
|
|
5076
5101
|
color:rgb(var(--theme-palette-neutral-text-weaker));
|
|
5077
5102
|
font-style:italic;
|
|
5078
5103
|
margin-left:auto;
|
|
5079
5104
|
}
|
|
5080
|
-
.ndl-
|
|
5105
|
+
.ndl-text-area .ndl-text-area-wrapper .ndl-information-icon-small {
|
|
5081
5106
|
margin-top:2px;
|
|
5082
5107
|
margin-left:3px;
|
|
5083
5108
|
width:16px;
|
|
5084
5109
|
height:16px;
|
|
5085
5110
|
color:rgb(var(--theme-palette-neutral-text-weak));
|
|
5086
5111
|
}
|
|
5087
|
-
.ndl-
|
|
5112
|
+
.ndl-text-area .ndl-text-area-wrapper .ndl-information-icon-large {
|
|
5088
5113
|
margin-top:2px;
|
|
5089
5114
|
margin-left:3px;
|
|
5090
5115
|
width:20px;
|
|
5091
5116
|
height:20px;
|
|
5092
5117
|
color:rgb(var(--theme-palette-neutral-text-weak));
|
|
5093
5118
|
}
|
|
5094
|
-
.ndl-
|
|
5119
|
+
.ndl-text-area.ndl-type-text .ndl-text-area-label {
|
|
5095
5120
|
flex-direction:column-reverse;
|
|
5096
5121
|
align-items:flex-start;
|
|
5097
5122
|
row-gap:5px;
|
|
5098
5123
|
}
|
|
5099
|
-
.ndl-
|
|
5124
|
+
.ndl-text-area.ndl-type-text .ndl-text-area-label .ndl-text-area-label-text {
|
|
5100
5125
|
color:rgb(var(--theme-palette-neutral-text-weak));
|
|
5101
5126
|
}
|
|
5102
|
-
.ndl-
|
|
5127
|
+
.ndl-text-area.ndl-type-text .ndl-text-area-no-label {
|
|
5103
5128
|
row-gap:0px;
|
|
5104
5129
|
}
|
|
5105
|
-
.ndl-
|
|
5130
|
+
.ndl-text-area.ndl-type-radio {
|
|
5106
5131
|
display:flex;
|
|
5107
5132
|
align-items:center;
|
|
5108
5133
|
color:rgb(var(--theme-palette-neutral-text-default));
|
|
5109
5134
|
}
|
|
5110
|
-
.ndl-
|
|
5135
|
+
.ndl-text-area.ndl-disabled .ndl-text-area-label {
|
|
5111
5136
|
cursor:not-allowed;
|
|
5112
5137
|
color:rgb(var(--theme-palette-neutral-text-weakest));
|
|
5113
5138
|
}
|
|
5114
|
-
.ndl-
|
|
5139
|
+
.ndl-text-area .ndl-text-area-msg {
|
|
5115
5140
|
margin-top:4px;
|
|
5116
5141
|
display:flex;
|
|
5117
5142
|
flex-direction:row;
|
|
@@ -5121,23 +5146,23 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
|
|
|
5121
5146
|
line-height:1rem;
|
|
5122
5147
|
color:rgb(var(--theme-palette-neutral-text-weaker));
|
|
5123
5148
|
}
|
|
5124
|
-
.ndl-
|
|
5149
|
+
.ndl-text-area .ndl-text-area-msg .ndl-error-text{
|
|
5125
5150
|
display:inline-block;
|
|
5126
5151
|
}
|
|
5127
|
-
.ndl-
|
|
5152
|
+
.ndl-text-area.ndl-has-error textarea {
|
|
5128
5153
|
outline-color:rgb(var(--theme-palette-danger-border-strong));
|
|
5129
5154
|
border-width:2px;
|
|
5130
5155
|
border-color:rgb(var(--theme-palette-danger-border-strong));
|
|
5131
5156
|
}
|
|
5132
|
-
.ndl-
|
|
5157
|
+
.ndl-text-area.ndl-has-error .ndl-text-area-msg {
|
|
5133
5158
|
color:rgb(var(--theme-palette-danger-text));
|
|
5134
5159
|
}
|
|
5135
|
-
.ndl-
|
|
5160
|
+
.ndl-text-area.ndl-has-icon .ndl-error-icon {
|
|
5136
5161
|
width:20px;
|
|
5137
5162
|
height:20px;
|
|
5138
5163
|
color:rgb(var(--theme-palette-danger-text));
|
|
5139
5164
|
}
|
|
5140
|
-
.ndl-
|
|
5165
|
+
.ndl-text-area.ndl-large textarea {
|
|
5141
5166
|
padding-top:12px;
|
|
5142
5167
|
padding-bottom:12px;
|
|
5143
5168
|
font-family:var(--font-font-family-body-large), sans-serif;
|
|
@@ -5147,27 +5172,27 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
|
|
|
5147
5172
|
line-height:1.5rem;
|
|
5148
5173
|
min-height:100px;
|
|
5149
5174
|
}
|
|
5150
|
-
.ndl-
|
|
5175
|
+
.ndl-text-area.ndl-large .ndl-text-area-label{
|
|
5151
5176
|
font-family:var(--font-font-family-body-large), sans-serif;
|
|
5152
5177
|
font-size:var(--font-size-body-large);
|
|
5153
5178
|
font-weight:var(--font-weight-normal);
|
|
5154
5179
|
letter-spacing:0.016rem;
|
|
5155
5180
|
line-height:1.5rem;
|
|
5156
5181
|
}
|
|
5157
|
-
.ndl-
|
|
5182
|
+
.ndl-text-area.ndl-large .ndl-text-area-msg{
|
|
5158
5183
|
font-family:var(--font-font-family-body-medium), sans-serif;
|
|
5159
5184
|
font-size:var(--font-size-body-medium);
|
|
5160
5185
|
font-weight:var(--font-weight-normal);
|
|
5161
5186
|
letter-spacing:0.016rem;
|
|
5162
5187
|
line-height:1.25rem;
|
|
5163
5188
|
}
|
|
5164
|
-
.ndl-
|
|
5189
|
+
.ndl-text-area.ndl-large.ndl-has-icon .ndl-icon {
|
|
5165
5190
|
position:absolute;
|
|
5166
5191
|
width:24px;
|
|
5167
5192
|
height:24px;
|
|
5168
5193
|
color:rgb(var(--theme-palette-neutral-text-weak));
|
|
5169
5194
|
}
|
|
5170
|
-
.ndl-
|
|
5195
|
+
.ndl-text-area.ndl-small textarea, .ndl-text-area.ndl-medium textarea {
|
|
5171
5196
|
padding-top:8px;
|
|
5172
5197
|
padding-bottom:8px;
|
|
5173
5198
|
font-family:var(--font-font-family-body-medium), sans-serif;
|
|
@@ -5176,14 +5201,14 @@ a.ndl-cypher-editor .cm-editor .cm-button,a .ndl-codemirror-editor .cm-editor .c
|
|
|
5176
5201
|
letter-spacing:0.016rem;
|
|
5177
5202
|
line-height:1.25rem;
|
|
5178
5203
|
}
|
|
5179
|
-
.ndl-
|
|
5204
|
+
.ndl-text-area.ndl-small .ndl-text-area-label, .ndl-text-area.ndl-medium .ndl-text-area-label{
|
|
5180
5205
|
font-family:var(--font-font-family-body-medium), sans-serif;
|
|
5181
5206
|
font-size:var(--font-size-body-medium);
|
|
5182
5207
|
font-weight:var(--font-weight-normal);
|
|
5183
5208
|
letter-spacing:0.016rem;
|
|
5184
5209
|
line-height:1.25rem;
|
|
5185
5210
|
}
|
|
5186
|
-
.ndl-
|
|
5211
|
+
.ndl-text-area.ndl-small.ndl-has-icon .ndl-icon, .ndl-text-area.ndl-medium.ndl-has-icon .ndl-icon {
|
|
5187
5212
|
width:20px;
|
|
5188
5213
|
height:20px;
|
|
5189
5214
|
position:absolute;
|
package/lib/tokens/js/tokens.js
CHANGED