@neo4j-ndl/base 1.8.4 → 1.8.5

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.8.5
4
+
5
+ ### Patch Changes
6
+
7
+ - cff6177: add keyboard navigation example, focusable cells prop for styling and minor table fixes
8
+
3
9
  ## 1.8.4
4
10
 
5
11
  ### Patch Changes
package/lib/NOTICE.txt CHANGED
@@ -85,6 +85,8 @@ Third-party licenses
85
85
  │ │ ├─ URL: https://github.com/gregberge/svgr/tree/main/packages/cli
86
86
  │ │ ├─ VendorName: Greg Bergé
87
87
  │ │ └─ VendorUrl: https://react-svgr.com
88
+ │ ├─ @table-nav/core@npm:0.0.5 (via npm:^0.0.5)
89
+ │ ├─ @table-nav/react@npm:0.0.5 [d75d7] (via npm:^0.0.5 [d75d7])
88
90
  │ ├─ @tanstack/react-table@npm:8.9.3 [a2e03] (via npm:^8.9.3 [a2e03])
89
91
  │ │ ├─ URL: git+https://github.com/tanstack/table.git
90
92
  │ │ ├─ VendorName: Tanner Linsley
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Mon, 10 Jul 2023 22:42:05 GMT
4
+ * Generated on Tue, 11 Jul 2023 10:57:03 GMT
5
5
  */
6
6
  exports.__esModule = true;
7
7
  exports.tokens = void 0;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Mon, 10 Jul 2023 22:42:05 GMT
4
+ * Generated on Tue, 11 Jul 2023 10:57:03 GMT
5
5
  */
6
6
  exports.__esModule = true;
7
7
  exports.tokens = void 0;
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Mon, 10 Jul 2023 22:42:05 GMT
4
+ * Generated on Tue, 11 Jul 2023 10:57:03 GMT
5
5
  */
6
6
  module.exports = {
7
7
  "transitions": {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 10 Jul 2023 22:42:05 GMT
3
+ * Generated on Tue, 11 Jul 2023 10:57:03 GMT
4
4
  */
5
5
  export const tokens = {
6
6
  "transitions": [
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 10 Jul 2023 22:42:05 GMT
3
+ * Generated on Tue, 11 Jul 2023 10:57:03 GMT
4
4
  */
5
5
  export const tokens = {
6
6
  "transitions": {
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Mon, 10 Jul 2023 22:42:05 GMT
4
+ * Generated on Tue, 11 Jul 2023 10:57:03 GMT
5
5
  */
6
6
  module.exports = {
7
7
  "transitions": {
@@ -459,7 +459,7 @@ video {
459
459
  */
460
460
  /**
461
461
  * Do not edit directly
462
- * Generated on Mon, 10 Jul 2023 22:42:05 GMT
462
+ * Generated on Tue, 11 Jul 2023 10:57:03 GMT
463
463
  */
464
464
  :root {
465
465
  --transitions-values-properties-default: all;
@@ -3254,8 +3254,19 @@ a.ndl-btn{
3254
3254
  * You should have received a copy of the GNU General Public License
3255
3255
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
3256
3256
  */
3257
+ .ndl-table-focusable-cells .ndl-focusable-cell {
3258
+ outline: none;
3259
+ border: 1px solid transparent;
3260
+ }
3261
+ .ndl-table-focusable-cells .ndl-focusable-cell:focus,
3262
+ .ndl-table-focusable-cells .ndl-focusable-cell:focus-visible {
3263
+ z-index: 2;
3264
+ border-radius: 2px;
3265
+ border: 1px solid rgb(var(--palette-primary-focus));
3266
+ }
3257
3267
  .ndl-table-root {
3258
3268
  /* Root wrapper div styles */
3269
+ isolation: isolate;
3259
3270
  display: flex;
3260
3271
  width: 100%;
3261
3272
  max-width: 100%;
@@ -3302,6 +3313,7 @@ a.ndl-btn{
3302
3313
  position: relative;
3303
3314
  background-color: rgb(var(--palette-neutral-bg-weak));
3304
3315
  overflow-y: auto;
3316
+ border-top-width: 0px;
3305
3317
  }
3306
3318
  /* Table body - Single row, multiple columns */
3307
3319
  .ndl-table-root .ndl-div-table .ndl-table-tbody .ndl-table-tr:not(:last-child):after {
@@ -3345,6 +3357,7 @@ a.ndl-btn{
3345
3357
  height: 48px;
3346
3358
  /* Fixed box shadow that does not match 1:1 the Figma - Agreed with the design team */
3347
3359
  box-shadow: 0 2px 8px rgb(var(--palette-neutral-bg-strongest), 10%);
3360
+ z-index: var(--z-index-alias-overlay);
3348
3361
  }
3349
3362
  /* Table head - Cell - Avoid hover effects on sibling cells when resizing */
3350
3363
  .ndl-table-root .ndl-div-table .ndl-table-thead.ndl-table-is-resizing .ndl-table-th {
@@ -3552,7 +3565,6 @@ a.ndl-btn{
3552
3565
  .ndl-table-root .ndl-table-navigation .ndl-table-pagination-icon{
3553
3566
  height: 1.25rem;
3554
3567
  width: 1.25rem;
3555
- color: rgb(var(--palette-neutral-text-weak));
3556
3568
  }
3557
3569
  .ndl-table-root .ndl-table-navigation .ndl-table-pagination-icon-button{
3558
3570
  position: relative;
@@ -3572,6 +3584,7 @@ a.ndl-btn{
3572
3584
  .ndl-table-root .ndl-table-navigation .ndl-table-pagination-icon-button:hover{
3573
3585
  background-color: rgb(var(--palette-primary-bg-strong));
3574
3586
  --tw-bg-opacity: 0.1;
3587
+ color: rgb(var(--palette-neutral-text-inverse));
3575
3588
  }
3576
3589
  .ndl-table-root .ndl-table-navigation .ndl-table-pagination-numeric-button {
3577
3590
  min-width: 36px;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 10 Jul 2023 22:42:05 GMT
3
+ * Generated on Tue, 11 Jul 2023 10:57:03 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 10 Jul 2023 22:42:05 GMT
3
+ * Generated on Tue, 11 Jul 2023 10:57:03 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 10 Jul 2023 22:42:05 GMT
3
+ * Generated on Tue, 11 Jul 2023 10:57:03 GMT
4
4
  */
5
5
 
6
6
  export const tokens = {
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 10 Jul 2023 22:42:05 GMT
3
+ // Generated on Tue, 11 Jul 2023 10:57:03 GMT
4
4
 
5
5
  $transitions-values-properties-default: all;
6
6
  $transitions-values-duration-default: 100ms;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 10 Jul 2023 22:42:05 GMT
3
+ * Generated on Tue, 11 Jul 2023 10:57:03 GMT
4
4
  */
5
5
  export const tokens: {
6
6
  transitions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neo4j-ndl/base",
3
- "version": "1.8.4",
3
+ "version": "1.8.5",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
6
  "homepage": "",