@neo4j-ndl/base 1.4.1 → 1.5.0

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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 29 May 2023 14:39:58 GMT
3
+ * Generated on Mon, 05 Jun 2023 08:32:39 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -82,6 +82,7 @@
82
82
  --palette-dark-neutral-text-weak: 196, 200, 205 /* #C4C8CD */;
83
83
  --palette-dark-neutral-text-default: 245, 247, 250 /* #F5F7FA */;
84
84
  --palette-dark-neutral-text-inverse: 21, 30, 41 /* #151E29 */;
85
+ --palette-dark-neutral-icon: 196, 200, 205 /* #C4C8CD */;
85
86
  --palette-dark-neutral-bg-weak: 29, 38, 49; /* This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2 */
86
87
  --palette-dark-neutral-bg-default: 21, 30, 41 /* #151E29 */;
87
88
  --palette-dark-neutral-bg-strong: 45, 53, 63; /* This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2 */
@@ -128,6 +129,7 @@
128
129
  --palette-light-neutral-text-weak: 83, 91, 102 /* #535B66 */;
129
130
  --palette-light-neutral-text-default: 21, 30, 41 /* #151E29 */;
130
131
  --palette-light-neutral-text-inverse: 255, 255, 255 /* #FFFFFF */;
132
+ --palette-light-neutral-icon: 83, 91, 102 /* #535B66 */;
131
133
  --palette-light-neutral-bg-weak: 255, 255, 255 /* #FFFFFF */;
132
134
  --palette-light-neutral-bg-default: 245, 247, 250 /* #F5F7FA */;
133
135
  --palette-light-neutral-bg-strong: 230, 233, 238 /* #E6E9EE */;
@@ -206,4 +208,19 @@
206
208
  --space-11: 96px;
207
209
  --space-12: 128px;
208
210
  --space-13: 320px;
211
+ --z-index-0: 0;
212
+ --z-index-10: 10;
213
+ --z-index-20: 20;
214
+ --z-index-30: 30;
215
+ --z-index-40: 40;
216
+ --z-index-50: 50;
217
+ --z-index-60: 60;
218
+ --z-index-deep: -999999;
219
+ --z-index-auto: auto;
220
+ --z-index-alias-overlay: 10;
221
+ --z-index-alias-banner: 20;
222
+ --z-index-alias-popover: 30;
223
+ --z-index-alias-tooltip: 40;
224
+ --z-index-alias-blanket: 50;
225
+ --z-index-alias-modal: 60;
209
226
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 29 May 2023 14:39:58 GMT
3
+ * Generated on Mon, 05 Jun 2023 08:32:39 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1574,6 +1574,29 @@ module.exports = {
1574
1574
  ]
1575
1575
  }
1576
1576
  },
1577
+ "icon": {
1578
+ "value": "#C4C8CD",
1579
+ "description": "Used as a default neutral icon color",
1580
+ "filePath": "src/tokens/darkPalette.json",
1581
+ "isSource": true,
1582
+ "original": {
1583
+ "value": "{colors.neutral.50.value}",
1584
+ "description": "Used as a default neutral icon color"
1585
+ },
1586
+ "name": "PaletteDarkNeutralIcon",
1587
+ "attributes": {
1588
+ "category": "palette",
1589
+ "type": "dark",
1590
+ "item": "neutral",
1591
+ "subitem": "icon"
1592
+ },
1593
+ "path": [
1594
+ "palette",
1595
+ "dark",
1596
+ "neutral",
1597
+ "icon"
1598
+ ]
1599
+ },
1577
1600
  "bg": {
1578
1601
  "weak": {
1579
1602
  "value": "29, 38, 49",
@@ -2776,6 +2799,29 @@ module.exports = {
2776
2799
  ]
2777
2800
  }
2778
2801
  },
2802
+ "icon": {
2803
+ "value": "#535B66",
2804
+ "description": "Used as a default neutral icon color",
2805
+ "filePath": "src/tokens/lightPalette.json",
2806
+ "isSource": true,
2807
+ "original": {
2808
+ "value": "{colors.neutral.80.value}",
2809
+ "description": "Used as a default neutral icon color"
2810
+ },
2811
+ "name": "PaletteLightNeutralIcon",
2812
+ "attributes": {
2813
+ "category": "palette",
2814
+ "type": "light",
2815
+ "item": "neutral",
2816
+ "subitem": "icon"
2817
+ },
2818
+ "path": [
2819
+ "palette",
2820
+ "light",
2821
+ "neutral",
2822
+ "icon"
2823
+ ]
2824
+ },
2779
2825
  "bg": {
2780
2826
  "weak": {
2781
2827
  "value": "#FFFFFF",
@@ -4542,5 +4588,292 @@ module.exports = {
4542
4588
  "13"
4543
4589
  ]
4544
4590
  }
4591
+ },
4592
+ "zIndex": {
4593
+ "0": {
4594
+ "value": "0",
4595
+ "description": "Useful for creating a new stacking context.",
4596
+ "filePath": "src/tokens/zIndex.json",
4597
+ "isSource": true,
4598
+ "original": {
4599
+ "value": "0",
4600
+ "description": "Useful for creating a new stacking context."
4601
+ },
4602
+ "name": "ZIndex0",
4603
+ "attributes": {
4604
+ "category": "zIndex",
4605
+ "type": "0"
4606
+ },
4607
+ "path": [
4608
+ "zIndex",
4609
+ "0"
4610
+ ]
4611
+ },
4612
+ "10": {
4613
+ "value": "10",
4614
+ "description": "Used for overlay elements, like button groups on canvas elements. Can be used with an alias token.",
4615
+ "filePath": "src/tokens/zIndex.json",
4616
+ "isSource": true,
4617
+ "original": {
4618
+ "value": "10",
4619
+ "description": "Used for overlay elements, like button groups on canvas elements. Can be used with an alias token."
4620
+ },
4621
+ "name": "ZIndex10",
4622
+ "attributes": {
4623
+ "category": "zIndex",
4624
+ "type": "10"
4625
+ },
4626
+ "path": [
4627
+ "zIndex",
4628
+ "10"
4629
+ ]
4630
+ },
4631
+ "20": {
4632
+ "value": "20",
4633
+ "description": "Used for banners. Can be used with an alias token.",
4634
+ "filePath": "src/tokens/zIndex.json",
4635
+ "isSource": true,
4636
+ "original": {
4637
+ "value": "20",
4638
+ "description": "Used for banners. Can be used with an alias token."
4639
+ },
4640
+ "name": "ZIndex20",
4641
+ "attributes": {
4642
+ "category": "zIndex",
4643
+ "type": "20"
4644
+ },
4645
+ "path": [
4646
+ "zIndex",
4647
+ "20"
4648
+ ]
4649
+ },
4650
+ "30": {
4651
+ "value": "30",
4652
+ "description": "Used for popover elements like Dropdown menu. Can be used with an alias token.",
4653
+ "filePath": "src/tokens/zIndex.json",
4654
+ "isSource": true,
4655
+ "original": {
4656
+ "value": "30",
4657
+ "description": "Used for popover elements like Dropdown menu. Can be used with an alias token."
4658
+ },
4659
+ "name": "ZIndex30",
4660
+ "attributes": {
4661
+ "category": "zIndex",
4662
+ "type": "30"
4663
+ },
4664
+ "path": [
4665
+ "zIndex",
4666
+ "30"
4667
+ ]
4668
+ },
4669
+ "40": {
4670
+ "value": "40",
4671
+ "description": "Used in tooltip components, should be above everything as it will be probably visible on hover effects. There are exceptions for canvas tooltips (like in Bloom). Can be used with an alias token.",
4672
+ "filePath": "src/tokens/zIndex.json",
4673
+ "isSource": true,
4674
+ "original": {
4675
+ "value": "40",
4676
+ "description": "Used in tooltip components, should be above everything as it will be probably visible on hover effects. There are exceptions for canvas tooltips (like in Bloom). Can be used with an alias token."
4677
+ },
4678
+ "name": "ZIndex40",
4679
+ "attributes": {
4680
+ "category": "zIndex",
4681
+ "type": "40"
4682
+ },
4683
+ "path": [
4684
+ "zIndex",
4685
+ "40"
4686
+ ]
4687
+ },
4688
+ "50": {
4689
+ "value": "50",
4690
+ "description": "Used as a blanket layer that covers the underlying UI. For example can be used to detect clicks and close the content on top of it. Can be used with an alias token.",
4691
+ "filePath": "src/tokens/zIndex.json",
4692
+ "isSource": true,
4693
+ "original": {
4694
+ "value": "50",
4695
+ "description": "Used as a blanket layer that covers the underlying UI. For example can be used to detect clicks and close the content on top of it. Can be used with an alias token."
4696
+ },
4697
+ "name": "ZIndex50",
4698
+ "attributes": {
4699
+ "category": "zIndex",
4700
+ "type": "50"
4701
+ },
4702
+ "path": [
4703
+ "zIndex",
4704
+ "50"
4705
+ ]
4706
+ },
4707
+ "60": {
4708
+ "value": "60",
4709
+ "description": "Used for modals, always sitting on top of a blanket, can be a custom element or a Dialog. Can be used with an alias token.",
4710
+ "filePath": "src/tokens/zIndex.json",
4711
+ "isSource": true,
4712
+ "original": {
4713
+ "value": "60",
4714
+ "description": "Used for modals, always sitting on top of a blanket, can be a custom element or a Dialog. Can be used with an alias token."
4715
+ },
4716
+ "name": "ZIndex60",
4717
+ "attributes": {
4718
+ "category": "zIndex",
4719
+ "type": "60"
4720
+ },
4721
+ "path": [
4722
+ "zIndex",
4723
+ "60"
4724
+ ]
4725
+ },
4726
+ "deep": {
4727
+ "value": "-999999",
4728
+ "description": "Deep z-index is used to stack something behind everything else.",
4729
+ "filePath": "src/tokens/zIndex.json",
4730
+ "isSource": true,
4731
+ "original": {
4732
+ "value": "-999999",
4733
+ "description": "Deep z-index is used to stack something behind everything else."
4734
+ },
4735
+ "name": "ZIndexDeep",
4736
+ "attributes": {
4737
+ "category": "zIndex",
4738
+ "type": "deep"
4739
+ },
4740
+ "path": [
4741
+ "zIndex",
4742
+ "deep"
4743
+ ]
4744
+ },
4745
+ "auto": {
4746
+ "value": "auto",
4747
+ "filePath": "src/tokens/zIndex.json",
4748
+ "isSource": true,
4749
+ "original": {
4750
+ "value": "auto"
4751
+ },
4752
+ "name": "ZIndexAuto",
4753
+ "attributes": {
4754
+ "category": "zIndex",
4755
+ "type": "auto"
4756
+ },
4757
+ "path": [
4758
+ "zIndex",
4759
+ "auto"
4760
+ ]
4761
+ },
4762
+ "alias": {
4763
+ "overlay": {
4764
+ "value": "10",
4765
+ "filePath": "src/tokens/zIndex.json",
4766
+ "isSource": true,
4767
+ "original": {
4768
+ "value": "{zIndex.10.value}"
4769
+ },
4770
+ "name": "ZIndexAliasOverlay",
4771
+ "attributes": {
4772
+ "category": "zIndex",
4773
+ "type": "alias",
4774
+ "item": "overlay"
4775
+ },
4776
+ "path": [
4777
+ "zIndex",
4778
+ "alias",
4779
+ "overlay"
4780
+ ]
4781
+ },
4782
+ "banner": {
4783
+ "value": "20",
4784
+ "filePath": "src/tokens/zIndex.json",
4785
+ "isSource": true,
4786
+ "original": {
4787
+ "value": "{zIndex.20.value}"
4788
+ },
4789
+ "name": "ZIndexAliasBanner",
4790
+ "attributes": {
4791
+ "category": "zIndex",
4792
+ "type": "alias",
4793
+ "item": "banner"
4794
+ },
4795
+ "path": [
4796
+ "zIndex",
4797
+ "alias",
4798
+ "banner"
4799
+ ]
4800
+ },
4801
+ "popover": {
4802
+ "value": "30",
4803
+ "filePath": "src/tokens/zIndex.json",
4804
+ "isSource": true,
4805
+ "original": {
4806
+ "value": "{zIndex.30.value}"
4807
+ },
4808
+ "name": "ZIndexAliasPopover",
4809
+ "attributes": {
4810
+ "category": "zIndex",
4811
+ "type": "alias",
4812
+ "item": "popover"
4813
+ },
4814
+ "path": [
4815
+ "zIndex",
4816
+ "alias",
4817
+ "popover"
4818
+ ]
4819
+ },
4820
+ "tooltip": {
4821
+ "value": "40",
4822
+ "filePath": "src/tokens/zIndex.json",
4823
+ "isSource": true,
4824
+ "original": {
4825
+ "value": "{zIndex.40.value}"
4826
+ },
4827
+ "name": "ZIndexAliasTooltip",
4828
+ "attributes": {
4829
+ "category": "zIndex",
4830
+ "type": "alias",
4831
+ "item": "tooltip"
4832
+ },
4833
+ "path": [
4834
+ "zIndex",
4835
+ "alias",
4836
+ "tooltip"
4837
+ ]
4838
+ },
4839
+ "blanket": {
4840
+ "value": "50",
4841
+ "filePath": "src/tokens/zIndex.json",
4842
+ "isSource": true,
4843
+ "original": {
4844
+ "value": "{zIndex.50.value}"
4845
+ },
4846
+ "name": "ZIndexAliasBlanket",
4847
+ "attributes": {
4848
+ "category": "zIndex",
4849
+ "type": "alias",
4850
+ "item": "blanket"
4851
+ },
4852
+ "path": [
4853
+ "zIndex",
4854
+ "alias",
4855
+ "blanket"
4856
+ ]
4857
+ },
4858
+ "modal": {
4859
+ "value": "60",
4860
+ "filePath": "src/tokens/zIndex.json",
4861
+ "isSource": true,
4862
+ "original": {
4863
+ "value": "{zIndex.60.value}"
4864
+ },
4865
+ "name": "ZIndexAliasModal",
4866
+ "attributes": {
4867
+ "category": "zIndex",
4868
+ "type": "alias",
4869
+ "item": "modal"
4870
+ },
4871
+ "path": [
4872
+ "zIndex",
4873
+ "alias",
4874
+ "modal"
4875
+ ]
4876
+ }
4877
+ }
4545
4878
  }
4546
4879
  };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 29 May 2023 14:39:58 GMT
3
+ * Generated on Mon, 05 Jun 2023 08:32:39 GMT
4
4
  */
5
5
 
6
6
  export const tokens = {
@@ -117,6 +117,7 @@ export const tokens = {
117
117
  "default": "#F5F7FA",
118
118
  "inverse": "#151E29"
119
119
  },
120
+ "icon": "#C4C8CD",
120
121
  "bg": {
121
122
  "weak": "29, 38, 49",
122
123
  "default": "#151E29",
@@ -205,6 +206,7 @@ export const tokens = {
205
206
  "default": "#151E29",
206
207
  "inverse": "#FFFFFF"
207
208
  },
209
+ "icon": "#535B66",
208
210
  "bg": {
209
211
  "weak": "#FFFFFF",
210
212
  "default": "#F5F7FA",
@@ -331,5 +333,24 @@ export const tokens = {
331
333
  "11": "96px",
332
334
  "12": "128px",
333
335
  "13": "320px"
336
+ },
337
+ "zIndex": {
338
+ "0": "0",
339
+ "10": "10",
340
+ "20": "20",
341
+ "30": "30",
342
+ "40": "40",
343
+ "50": "50",
344
+ "60": "60",
345
+ "deep": "-999999",
346
+ "auto": "auto",
347
+ "alias": {
348
+ "overlay": "10",
349
+ "banner": "20",
350
+ "popover": "30",
351
+ "tooltip": "40",
352
+ "blanket": "50",
353
+ "modal": "60"
354
+ }
334
355
  }
335
356
  }
@@ -1,6 +1,6 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Mon, 29 May 2023 14:39:58 GMT
3
+ // Generated on Mon, 05 Jun 2023 08:32:39 GMT
4
4
 
5
5
  $transitions-values-properties-default: all;
6
6
  $transitions-values-duration-default: 100ms;
@@ -80,6 +80,7 @@ $palette-dark-neutral-text-weaker: #B2B7BD;
80
80
  $palette-dark-neutral-text-weak: #C4C8CD;
81
81
  $palette-dark-neutral-text-default: #F5F7FA;
82
82
  $palette-dark-neutral-text-inverse: #151E29;
83
+ $palette-dark-neutral-icon: #C4C8CD;
83
84
  $palette-dark-neutral-bg-weak: 29, 38, 49; // This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2
84
85
  $palette-dark-neutral-bg-default: #151E29;
85
86
  $palette-dark-neutral-bg-strong: 45, 53, 63; // This is a beta version of the dark palette design tokens. Will be officially supported in Needle v2
@@ -126,6 +127,7 @@ $palette-light-neutral-text-weaker: #717780;
126
127
  $palette-light-neutral-text-weak: #535B66;
127
128
  $palette-light-neutral-text-default: #151E29;
128
129
  $palette-light-neutral-text-inverse: #FFFFFF;
130
+ $palette-light-neutral-icon: #535B66;
129
131
  $palette-light-neutral-bg-weak: #FFFFFF;
130
132
  $palette-light-neutral-bg-default: #F5F7FA;
131
133
  $palette-light-neutral-bg-strong: #E6E9EE;
@@ -204,3 +206,18 @@ $space-10: 64px;
204
206
  $space-11: 96px;
205
207
  $space-12: 128px;
206
208
  $space-13: 320px;
209
+ $z-index-0: 0;
210
+ $z-index-10: 10;
211
+ $z-index-20: 20;
212
+ $z-index-30: 30;
213
+ $z-index-40: 40;
214
+ $z-index-50: 50;
215
+ $z-index-60: 60;
216
+ $z-index-deep: -999999;
217
+ $z-index-auto: auto;
218
+ $z-index-alias-overlay: 10;
219
+ $z-index-alias-banner: 20;
220
+ $z-index-alias-popover: 30;
221
+ $z-index-alias-tooltip: 40;
222
+ $z-index-alias-blanket: 50;
223
+ $z-index-alias-modal: 60;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 29 May 2023 14:39:58 GMT
3
+ * Generated on Mon, 05 Jun 2023 08:32:39 GMT
4
4
  */
5
5
  export const tokens: {
6
6
  transitions: {
@@ -49,4 +49,13 @@ export const tokens: {
49
49
  path: string[];
50
50
  value: string;
51
51
  }[];
52
+ zIndex: ({
53
+ path: string[];
54
+ value: string;
55
+ description: string;
56
+ } | {
57
+ path: string[];
58
+ value: string;
59
+ description?: undefined;
60
+ })[];
52
61
  };
@@ -114,6 +114,7 @@ export namespace tokens {
114
114
  export { _default_1 as default };
115
115
  export const inverse: string;
116
116
  }
117
+ const icon: string;
117
118
  namespace bg {
118
119
  const weak_1: string;
119
120
  export { weak_1 as weak };
@@ -135,7 +136,8 @@ export namespace tokens {
135
136
  export namespace primary_1 {
136
137
  const text_1: string;
137
138
  export { text_1 as text };
138
- export const icon: string;
139
+ const icon_1: string;
140
+ export { icon_1 as icon };
139
141
  export namespace bg_1 {
140
142
  const strong_2: string;
141
143
  export { strong_2 as strong };
@@ -170,8 +172,8 @@ export namespace tokens {
170
172
  export namespace danger_1 {
171
173
  const text_2: string;
172
174
  export { text_2 as text };
173
- const icon_1: string;
174
- export { icon_1 as icon };
175
+ const icon_2: string;
176
+ export { icon_2 as icon };
175
177
  export namespace bg_2 {
176
178
  const strong_6: string;
177
179
  export { strong_6 as strong };
@@ -205,8 +207,8 @@ export namespace tokens {
205
207
  export namespace warning_1 {
206
208
  const text_3: string;
207
209
  export { text_3 as text };
208
- const icon_2: string;
209
- export { icon_2 as icon };
210
+ const icon_3: string;
211
+ export { icon_3 as icon };
210
212
  export namespace bg_3 {
211
213
  const strong_10: string;
212
214
  export { strong_10 as strong };
@@ -226,8 +228,8 @@ export namespace tokens {
226
228
  export namespace success_1 {
227
229
  const text_4: string;
228
230
  export { text_4 as text };
229
- const icon_3: string;
230
- export { icon_3 as icon };
231
+ const icon_4: string;
232
+ export { icon_4 as icon };
231
233
  export namespace bg_4 {
232
234
  const strong_12: string;
233
235
  export { strong_12 as strong };
@@ -260,6 +262,8 @@ export namespace tokens {
260
262
  export { inverse_1 as inverse };
261
263
  }
262
264
  export { text_5 as text };
265
+ const icon_5: string;
266
+ export { icon_5 as icon };
263
267
  export namespace bg_5 {
264
268
  const weak_16: string;
265
269
  export { weak_16 as weak };
@@ -287,8 +291,8 @@ export namespace tokens {
287
291
  export namespace primary_2 {
288
292
  const text_6: string;
289
293
  export { text_6 as text };
290
- const icon_4: string;
291
- export { icon_4 as icon };
294
+ const icon_6: string;
295
+ export { icon_6 as icon };
292
296
  export namespace bg_6 {
293
297
  const strong_16: string;
294
298
  export { strong_16 as strong };
@@ -324,8 +328,8 @@ export namespace tokens {
324
328
  export namespace danger_2 {
325
329
  const text_7: string;
326
330
  export { text_7 as text };
327
- const icon_5: string;
328
- export { icon_5 as icon };
331
+ const icon_7: string;
332
+ export { icon_7 as icon };
329
333
  export namespace bg_7 {
330
334
  const strong_20: string;
331
335
  export { strong_20 as strong };
@@ -359,8 +363,8 @@ export namespace tokens {
359
363
  export namespace warning_2 {
360
364
  const text_8: string;
361
365
  export { text_8 as text };
362
- const icon_6: string;
363
- export { icon_6 as icon };
366
+ const icon_8: string;
367
+ export { icon_8 as icon };
364
368
  export namespace bg_8 {
365
369
  const strong_24: string;
366
370
  export { strong_24 as strong };
@@ -380,8 +384,8 @@ export namespace tokens {
380
384
  export namespace success_2 {
381
385
  const text_9: string;
382
386
  export { text_9 as text };
383
- const icon_7: string;
384
- export { icon_7 as icon };
387
+ const icon_9: string;
388
+ export { icon_9 as icon };
385
389
  export namespace bg_9 {
386
390
  const strong_26: string;
387
391
  export { strong_26 as strong };
@@ -448,4 +452,23 @@ export namespace tokens {
448
452
  "12": string;
449
453
  "13": string;
450
454
  };
455
+ const zIndex: {
456
+ "0": string;
457
+ "10": string;
458
+ "20": string;
459
+ "30": string;
460
+ "40": string;
461
+ "50": string;
462
+ "60": string;
463
+ deep: string;
464
+ auto: string;
465
+ alias: {
466
+ overlay: string;
467
+ banner: string;
468
+ popover: string;
469
+ tooltip: string;
470
+ blanket: string;
471
+ modal: string;
472
+ };
473
+ };
451
474
  }