@neo4j-ndl/base 3.3.1 → 3.3.3

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.
@@ -22,7 +22,7 @@
22
22
  "use strict";
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Wed, 19 Feb 2025 08:56:28 GMT
25
+ * Generated on Fri, 21 Feb 2025 10:58:11 GMT
26
26
  */
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
28
  exports.tokens = void 0;
@@ -22,7 +22,7 @@
22
22
  "use strict";
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Wed, 19 Feb 2025 08:56:28 GMT
25
+ * Generated on Fri, 21 Feb 2025 10:58:11 GMT
26
26
  */
27
27
  Object.defineProperty(exports, "__esModule", { value: true });
28
28
  exports.tokens = void 0;
@@ -22,7 +22,7 @@
22
22
  "use strict";
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Wed, 19 Feb 2025 08:56:28 GMT
25
+ * Generated on Fri, 21 Feb 2025 10:58:11 GMT
26
26
  */
27
27
  module.exports = {
28
28
  "transitions": {
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Wed, 19 Feb 2025 08:56:28 GMT
24
+ * Generated on Fri, 21 Feb 2025 10:58:11 GMT
25
25
  */
26
26
  export const tokens = {
27
27
  "transitions": [
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Wed, 19 Feb 2025 08:56:28 GMT
24
+ * Generated on Fri, 21 Feb 2025 10:58:11 GMT
25
25
  */
26
26
  export const tokens = {
27
27
  "transitions": {
@@ -22,7 +22,7 @@
22
22
  "use strict";
23
23
  /**
24
24
  * Do not edit directly
25
- * Generated on Wed, 19 Feb 2025 08:56:28 GMT
25
+ * Generated on Fri, 21 Feb 2025 10:58:11 GMT
26
26
  */
27
27
  module.exports = {
28
28
  "transitions": {
@@ -1133,11 +1133,6 @@ h6,
1133
1133
  width:100%;
1134
1134
  flex-direction:column;
1135
1135
  }
1136
- .ndl-accordion .ndl-accordion-item {
1137
- box-sizing:border-box;
1138
- height:48px;
1139
- width:auto;
1140
- }
1141
1136
  .ndl-accordion .ndl-accordion-item-expanded {
1142
1137
  height:auto;
1143
1138
  }
@@ -1145,11 +1140,8 @@ h6,
1145
1140
  position:relative;
1146
1141
  box-sizing:border-box;
1147
1142
  display:flex;
1148
- width:100%;
1143
+ flex-shrink:0;
1149
1144
  align-items:center;
1150
- padding-top:12px;
1151
- padding-bottom:12px;
1152
- padding-right:12px;
1153
1145
  }
1154
1146
  .ndl-accordion .ndl-accordion-item-header-button-disabled {
1155
1147
  cursor:not-allowed;
@@ -1158,17 +1150,9 @@ h6,
1158
1150
  .ndl-accordion .ndl-accordion-item-header-button:focus-visible {
1159
1151
  outline-style:solid;
1160
1152
  outline-width:2px;
1161
- outline-offset:-2px;
1162
1153
  outline-color:rgb(var(--theme-palette-primary-focus));
1163
1154
  }
1164
- .ndl-accordion .ndl-accordion-item-header-button:hover {
1165
- background-color:rgb(var(--theme-palette-neutral-hover));
1166
- }
1167
- .ndl-accordion .ndl-accordion-item-header-button:active {
1168
- background-color:rgb(var(--theme-palette-neutral-pressed));
1169
- }
1170
1155
  .ndl-accordion .ndl-accordion-item-header-button-title {
1171
- margin-left:12px;
1172
1156
  display:flex;
1173
1157
  width:100%;
1174
1158
  }
@@ -1179,18 +1163,17 @@ h6,
1179
1163
  pointer-events:none;
1180
1164
  box-sizing:border-box;
1181
1165
  display:flex;
1182
- width:100%;
1183
1166
  flex-direction:row;
1184
1167
  align-items:center;
1168
+ gap:12px;
1185
1169
  }
1186
1170
  .ndl-accordion .ndl-accordion-item-header-icon-wrapper-left {
1187
1171
  flex-direction:row-reverse;
1188
1172
  }
1189
- .ndl-accordion .ndl-accordion-item-header-icon {
1190
- margin-left:12px;
1173
+ .ndl-accordion .ndl-accordion-item-header-icon{
1191
1174
  width:20px;
1192
1175
  height:20px;
1193
- }
1176
+ }
1194
1177
  .ndl-accordion .ndl-accordion-item-content {
1195
1178
  visibility:hidden;
1196
1179
  height:0px;
@@ -1203,19 +1186,53 @@ h6,
1203
1186
  outline-offset:1px;
1204
1187
  outline-color:rgb(var(--theme-palette-primary-focus));
1205
1188
  }
1206
- .ndl-accordion .ndl-accordion-item-content-right {
1207
- padding-left:32px;
1208
- }
1209
1189
  .ndl-accordion .ndl-accordion-item-content-expanded {
1210
1190
  visibility:visible;
1211
1191
  height:auto;
1212
1192
  }
1213
1193
  .ndl-accordion .ndl-accordion-item-content-inner {
1214
1194
  box-sizing:border-box;
1215
- padding-left:12px;
1216
- padding-right:12px;
1217
- padding-bottom:12px;
1218
- padding-top:4px;
1195
+ padding-left:8px;
1196
+ padding-right:8px;
1197
+ padding-bottom:8px;
1198
+ }
1199
+ .ndl-accordion .ndl-accordion-item-classic {
1200
+ box-sizing:border-box;
1201
+ width:auto;
1202
+ }
1203
+ .ndl-accordion .ndl-accordion-item-classic .ndl-accordion-item-header-icon-wrapper {
1204
+ width:100%;
1205
+ }
1206
+ .ndl-accordion .ndl-accordion-item-classic .ndl-accordion-item-header-button {
1207
+ width:100%;
1208
+ padding:8px;
1209
+ }
1210
+ .ndl-accordion .ndl-accordion-item-classic .ndl-accordion-item-header-button:focus-visible {
1211
+ outline-offset:-2px;
1212
+ }
1213
+ .ndl-accordion .ndl-accordion-item-classic .ndl-accordion-item-header-button:hover {
1214
+ background-color:rgb(var(--theme-palette-neutral-hover));
1215
+ }
1216
+ .ndl-accordion .ndl-accordion-item-classic .ndl-accordion-item-header-button:active {
1217
+ background-color:rgb(var(--theme-palette-neutral-pressed));
1218
+ }
1219
+ .ndl-accordion .ndl-accordion-item-classic .ndl-accordion-item-content-left {
1220
+ padding-left:32px;
1221
+ }
1222
+ .ndl-accordion .ndl-accordion-item-clean {
1223
+ box-sizing:border-box;
1224
+ width:auto;
1225
+ }
1226
+ .ndl-accordion .ndl-accordion-item-clean .ndl-accordion-item-header {
1227
+ display:flex;
1228
+ flex-direction:row;
1229
+ align-items:center;
1230
+ justify-content:space-between;
1231
+ gap:12px;
1232
+ padding:8px;
1233
+ }
1234
+ .ndl-accordion .ndl-accordion-item-clean .ndl-accordion-item-header-button:focus-visible {
1235
+ outline-offset:1px;
1219
1236
  }
1220
1237
  .ndl-btn{
1221
1238
  transition:background-color var(--transitions-stripped-quick);
@@ -6405,31 +6422,46 @@ button.ndl-avatar:focus-visible {
6405
6422
  }
6406
6423
  .ndl-inline-edit .ndl-inline-idle-container {
6407
6424
  display:flex;
6408
- width:100%;
6409
6425
  height:100%;
6410
- cursor:pointer;
6426
+ width:-moz-max-content;
6427
+ width:max-content;
6428
+ max-width:100%;
6429
+ cursor:text;
6411
6430
  flex-direction:row;
6412
6431
  align-items:center;
6413
- justify-content:space-between;
6414
6432
  gap:4px;
6415
6433
  border-radius:4px;
6416
6434
  padding-left:4px;
6417
6435
  padding-right:4px;
6418
6436
  }
6419
- .ndl-inline-edit .ndl-inline-idle-container-disabled {
6437
+ .ndl-inline-edit .ndl-inline-idle-container:focus-visible {
6438
+ outline-width:2px;
6439
+ outline-offset:-1px;
6440
+ outline-color:rgb(var(--theme-palette-primary-focus));
6441
+ }
6442
+ .ndl-inline-edit .ndl-inline-idle-container.ndl-disabled {
6420
6443
  cursor:not-allowed;
6444
+ color:rgb(var(--theme-palette-neutral-text-weakest));
6421
6445
  }
6422
- .ndl-inline-edit .ndl-inline-idle-container:hover {
6446
+ .ndl-inline-edit .ndl-inline-idle-container:not(.ndl-inline-edit .ndl-inline-idle-container.ndl-disabled):hover {
6423
6447
  background-color:rgb(var(--theme-palette-neutral-hover));
6424
6448
  }
6425
6449
  .ndl-inline-edit .ndl-inline-edit-container {
6426
6450
  position:relative;
6427
6451
  display:flex;
6428
6452
  }
6429
- .ndl-inline-edit .ndl-inline-edit-container input{
6430
- outline-offset:-2px;
6431
- padding:0 4px; width:100%; border-radius:4px; outline-style:solid; outline-width:2px; outline-color:rgb(var(--theme-palette-primary-focus));
6432
- }
6453
+ .ndl-inline-edit .ndl-inline-edit-container input {
6454
+ width:100%;
6455
+ border-radius:4px;
6456
+ padding-top:0px;
6457
+ padding-bottom:0px;
6458
+ padding-left:4px;
6459
+ padding-right:4px;
6460
+ outline:2px solid transparent;
6461
+ outline-width:2px;
6462
+ outline-offset:-2px;
6463
+ outline-color:rgb(var(--theme-palette-primary-focus));
6464
+ }
6433
6465
  .ndl-inline-edit .ndl-inline-edit-container.ndl-inline-edit-error input {
6434
6466
  outline-color:rgb(var(--theme-palette-danger-border-strong));
6435
6467
  }
@@ -6441,13 +6473,13 @@ button.ndl-avatar:focus-visible {
6441
6473
  transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
6442
6474
  color:rgb(var(--theme-palette-danger-icon));
6443
6475
  }
6444
- .ndl-inline-edit .ndl-inline-edit-container .ndl-inline-edit-buttons{
6445
- position:absolute;
6476
+ .ndl-inline-edit .ndl-inline-edit-container .ndl-inline-edit-buttons {
6477
+ position:absolute;
6478
+ display:flex;
6479
+ gap:4px;
6446
6480
  inset-block-start:calc(100% + 4px);
6447
6481
  inset-inline-end:0;
6448
- display:flex;
6449
- gap:4px;
6450
- }
6482
+ }
6451
6483
  .ndl-dropdown-btn {
6452
6484
  display:inline-flex;
6453
6485
  cursor:pointer;
@@ -7618,6 +7650,10 @@ button.ndl-avatar:focus-visible {
7618
7650
  margin-top:48px;
7619
7651
  margin-bottom:48px;
7620
7652
  }
7653
+ .n-my-4 {
7654
+ margin-top:16px;
7655
+ margin-bottom:16px;
7656
+ }
7621
7657
  .n-my-5 {
7622
7658
  margin-top:20px;
7623
7659
  margin-bottom:20px;
@@ -7868,6 +7904,9 @@ button.ndl-avatar:focus-visible {
7868
7904
  .n-gap-token-6 {
7869
7905
  gap:16px;
7870
7906
  }
7907
+ .n-gap-token-7 {
7908
+ gap:24px;
7909
+ }
7871
7910
  .n-gap-token-8 {
7872
7911
  gap:32px;
7873
7912
  }
@@ -42594,6 +42633,9 @@ button.ndl-avatar:focus-visible {
42594
42633
  .n-stroke-palette-primary-bg-strong {
42595
42634
  stroke:rgb(var(--theme-palette-primary-bg-strong));
42596
42635
  }
42636
+ .n-p-10 {
42637
+ padding:40px;
42638
+ }
42597
42639
  .n-p-14 {
42598
42640
  padding:56px;
42599
42641
  }
@@ -42622,6 +42664,10 @@ button.ndl-avatar:focus-visible {
42622
42664
  padding-left:40px;
42623
42665
  padding-right:40px;
42624
42666
  }
42667
+ .n-px-5 {
42668
+ padding-left:20px;
42669
+ padding-right:20px;
42670
+ }
42625
42671
  .n-px-token-3 {
42626
42672
  padding-left:4px;
42627
42673
  padding-right:4px;
@@ -42646,6 +42692,10 @@ button.ndl-avatar:focus-visible {
42646
42692
  padding-left:48px;
42647
42693
  padding-right:48px;
42648
42694
  }
42695
+ .n-py-6 {
42696
+ padding-top:24px;
42697
+ padding-bottom:24px;
42698
+ }
42649
42699
  .n-py-token-2 {
42650
42700
  padding-top:2px;
42651
42701
  padding-bottom:2px;
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Wed, 19 Feb 2025 08:56:28 GMT
24
+ * Generated on Fri, 21 Feb 2025 10:58:11 GMT
25
25
  */
26
26
 
27
27
  :root {
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Wed, 19 Feb 2025 08:56:28 GMT
24
+ * Generated on Fri, 21 Feb 2025 10:58:11 GMT
25
25
  */
26
26
 
27
27
  module.exports = {
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Wed, 19 Feb 2025 08:56:28 GMT
24
+ * Generated on Fri, 21 Feb 2025 10:58:11 GMT
25
25
  */
26
26
 
27
27
  export const tokens = {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 19 Feb 2025 08:56:28 GMT
3
+ // Generated on Fri, 21 Feb 2025 10:58:11 GMT
4
4
 
5
5
  $transitions-values-properties-default: all;
6
6
  $transitions-values-duration-quick: 100ms;
@@ -21,7 +21,7 @@
21
21
 
22
22
  /**
23
23
  * Do not edit directly
24
- * Generated on Wed, 19 Feb 2025 08:56:28 GMT
24
+ * Generated on Fri, 21 Feb 2025 10:58:11 GMT
25
25
  */
26
26
  export const tokens: {
27
27
  transitions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-ndl/base",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "https://www.neo4j.design",
@@ -10,13 +10,13 @@
10
10
  "types": "./lib/types/index.d.ts",
11
11
  "exports": {
12
12
  ".": {
13
+ "types": "./lib/types/index.d.ts",
13
14
  "require": "./lib/cjs/index.js",
14
- "import": "./lib/esm/index.js",
15
- "types": "./lib/types/index.d.ts"
15
+ "import": "./lib/esm/index.js"
16
16
  },
17
17
  "./lib/neo4j-ds-styles.css": {
18
- "import": "./lib/neo4j-ds-styles.css",
19
- "require": "./lib/neo4j-ds-styles.css"
18
+ "require": "./lib/neo4j-ds-styles.css",
19
+ "import": "./lib/neo4j-ds-styles.css"
20
20
  }
21
21
  },
22
22
  "directories": {