@neo4j-ndl/base 1.4.2 → 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.
- package/CHANGELOG.md +6 -0
- package/lib/cjs/tailwind-preset.config.js +0 -6
- package/lib/cjs/tailwind-preset.config.js.map +1 -1
- package/lib/cjs/tailwindTheme.js +1 -0
- package/lib/cjs/tailwindTheme.js.map +1 -1
- package/lib/cjs/tokens/js/storybook-design-token.js +122 -1
- package/lib/cjs/tokens/js/storybook-design-token.js.map +1 -1
- package/lib/cjs/tokens/js/tokens-esm.js +20 -1
- package/lib/cjs/tokens/js/tokens-esm.js.map +1 -1
- package/lib/cjs/tokens/js/tokens.js +20 -1
- package/lib/cjs/tokens/js/tokens.js.map +1 -1
- package/lib/esm/tailwind-preset.config.js +0 -5
- package/lib/esm/tailwind-preset.config.js.map +1 -1
- package/lib/esm/tailwindTheme.js +1 -0
- package/lib/esm/tailwindTheme.js.map +1 -1
- package/lib/esm/tokens/js/storybook-design-token.js +122 -1
- package/lib/esm/tokens/js/storybook-design-token.js.map +1 -1
- package/lib/esm/tokens/js/tokens-esm.js +20 -1
- package/lib/esm/tokens/js/tokens-esm.js.map +1 -1
- package/lib/esm/tokens/js/tokens.js +20 -1
- package/lib/esm/tokens/js/tokens.js.map +1 -1
- package/lib/neo4j-ds-styles.css +43 -28
- package/lib/tokens/css/tokens.css +16 -1
- package/lib/tokens/js/tokens-raw.js +288 -1
- package/lib/tokens/js/tokens.js +20 -1
- package/lib/tokens/scss/tokens.scss +16 -1
- package/lib/types/tokens/js/storybook-design-token.d.ts +10 -1
- package/lib/types/tokens/js/tokens-esm.d.ts +19 -0
- package/lib/types/tokens/js/tokens.d.ts +19 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 05 Jun 2023 08:32:39 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
@@ -4588,5 +4588,292 @@ module.exports = {
|
|
|
4588
4588
|
"13"
|
|
4589
4589
|
]
|
|
4590
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
|
+
}
|
|
4591
4878
|
}
|
|
4592
4879
|
};
|
package/lib/tokens/js/tokens.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 05 Jun 2023 08:32:39 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const tokens = {
|
|
@@ -333,5 +333,24 @@ export const tokens = {
|
|
|
333
333
|
"11": "96px",
|
|
334
334
|
"12": "128px",
|
|
335
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
|
+
}
|
|
336
355
|
}
|
|
337
356
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
// Do not edit directly
|
|
3
|
-
// Generated on
|
|
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;
|
|
@@ -206,3 +206,18 @@ $space-10: 64px;
|
|
|
206
206
|
$space-11: 96px;
|
|
207
207
|
$space-12: 128px;
|
|
208
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
|
|
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
|
};
|
|
@@ -452,4 +452,23 @@ export namespace tokens {
|
|
|
452
452
|
"12": string;
|
|
453
453
|
"13": string;
|
|
454
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
|
+
};
|
|
455
474
|
}
|
|
@@ -451,3 +451,22 @@ export const space: {
|
|
|
451
451
|
"12": string;
|
|
452
452
|
"13": string;
|
|
453
453
|
};
|
|
454
|
+
export const zIndex: {
|
|
455
|
+
"0": string;
|
|
456
|
+
"10": string;
|
|
457
|
+
"20": string;
|
|
458
|
+
"30": string;
|
|
459
|
+
"40": string;
|
|
460
|
+
"50": string;
|
|
461
|
+
"60": string;
|
|
462
|
+
deep: string;
|
|
463
|
+
auto: string;
|
|
464
|
+
alias: {
|
|
465
|
+
overlay: string;
|
|
466
|
+
banner: string;
|
|
467
|
+
popover: string;
|
|
468
|
+
tooltip: string;
|
|
469
|
+
blanket: string;
|
|
470
|
+
modal: string;
|
|
471
|
+
};
|
|
472
|
+
};
|