@pareto-engineering/design-system 4.0.0-alpha.44 → 4.0.0-alpha.45
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/dist/cjs/b/Page/common/PageHelmet/PageHelmet.js +8 -0
- package/dist/es/b/Page/common/PageHelmet/PageHelmet.js +8 -0
- package/package.json +4 -4
- package/src/stories/colors.js +1 -0
- package/src/ui/b/Page/common/PageHelmet/PageHelmet.jsx +12 -0
- package/tests/__snapshots__/Storyshots.test.js.snap +287 -0
|
@@ -46,6 +46,14 @@ const helmetMap = [{
|
|
|
46
46
|
href: v,
|
|
47
47
|
key: "canonical"
|
|
48
48
|
})
|
|
49
|
+
}, {
|
|
50
|
+
test: true,
|
|
51
|
+
variables: ['og_image', 'main_image'],
|
|
52
|
+
render: () => /*#__PURE__*/React.createElement("meta", {
|
|
53
|
+
name: "twitter:card",
|
|
54
|
+
content: "summary_large_image",
|
|
55
|
+
key: "twitter_card"
|
|
56
|
+
})
|
|
49
57
|
}, {
|
|
50
58
|
variables: ['twitter_title', 'title', 'title_tag'],
|
|
51
59
|
render: v => /*#__PURE__*/React.createElement("meta", {
|
|
@@ -37,6 +37,14 @@ const helmetMap = [{
|
|
|
37
37
|
href: v,
|
|
38
38
|
key: "canonical"
|
|
39
39
|
})
|
|
40
|
+
}, {
|
|
41
|
+
test: true,
|
|
42
|
+
variables: ['og_image', 'main_image'],
|
|
43
|
+
render: () => /*#__PURE__*/React.createElement("meta", {
|
|
44
|
+
name: "twitter:card",
|
|
45
|
+
content: "summary_large_image",
|
|
46
|
+
key: "twitter_card"
|
|
47
|
+
})
|
|
40
48
|
}, {
|
|
41
49
|
variables: ['twitter_title', 'title', 'title_tag'],
|
|
42
50
|
render: v => /*#__PURE__*/React.createElement("meta", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pareto-engineering/design-system",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.45",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/es/index.js",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@lexical/react": "^0.11.3",
|
|
54
|
-
"@pareto-engineering/assets": "^4.0.0-alpha.
|
|
54
|
+
"@pareto-engineering/assets": "^4.0.0-alpha.45",
|
|
55
55
|
"@pareto-engineering/bem": "^4.0.0-alpha.20",
|
|
56
56
|
"@pareto-engineering/styles": "^4.0.0-alpha.39",
|
|
57
|
-
"@pareto-engineering/utils": "^4.0.0-alpha.
|
|
57
|
+
"@pareto-engineering/utils": "^4.0.0-alpha.45",
|
|
58
58
|
"date-fns": "^2.29.3",
|
|
59
59
|
"downshift": "^6.1.12",
|
|
60
60
|
"formik": "^2.2.9",
|
|
@@ -70,5 +70,5 @@
|
|
|
70
70
|
"relay-test-utils": "^15.0.0"
|
|
71
71
|
},
|
|
72
72
|
"browserslist": "> 2%",
|
|
73
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "f8569362e917c041134b268ea001cd5418dd216a"
|
|
74
74
|
}
|
package/src/stories/colors.js
CHANGED
|
@@ -59,6 +59,18 @@ const helmetMap = [
|
|
|
59
59
|
)),
|
|
60
60
|
},
|
|
61
61
|
|
|
62
|
+
{
|
|
63
|
+
test :true,
|
|
64
|
+
variables:['og_image', 'main_image'],
|
|
65
|
+
render :() => (
|
|
66
|
+
<meta
|
|
67
|
+
name="twitter:card"
|
|
68
|
+
content="summary_large_image"
|
|
69
|
+
key="twitter_card"
|
|
70
|
+
/>
|
|
71
|
+
),
|
|
72
|
+
},
|
|
73
|
+
|
|
62
74
|
{
|
|
63
75
|
variables:['twitter_title', 'title', 'title_tag'],
|
|
64
76
|
render :(v) => (
|
|
@@ -1157,6 +1157,15 @@ exports[`Storyshots a/Label Compact 1`] = `
|
|
|
1157
1157
|
|
|
1158
1158
|
label
|
|
1159
1159
|
</span>,
|
|
1160
|
+
<span
|
|
1161
|
+
className="base label x-outline-inputs modifierCompact"
|
|
1162
|
+
>
|
|
1163
|
+
This is a
|
|
1164
|
+
|
|
1165
|
+
outline-inputs
|
|
1166
|
+
|
|
1167
|
+
label
|
|
1168
|
+
</span>,
|
|
1160
1169
|
<span
|
|
1161
1170
|
className="base label x-heading modifierCompact"
|
|
1162
1171
|
>
|
|
@@ -1540,6 +1549,15 @@ exports[`Storyshots a/Label Ghost 1`] = `
|
|
|
1540
1549
|
|
|
1541
1550
|
label
|
|
1542
1551
|
</span>,
|
|
1552
|
+
<span
|
|
1553
|
+
className="base label x-outline-inputs modifierGhost"
|
|
1554
|
+
>
|
|
1555
|
+
This is a
|
|
1556
|
+
|
|
1557
|
+
outline-inputs
|
|
1558
|
+
|
|
1559
|
+
label
|
|
1560
|
+
</span>,
|
|
1543
1561
|
<span
|
|
1544
1562
|
className="base label x-heading modifierGhost"
|
|
1545
1563
|
>
|
|
@@ -1923,6 +1941,15 @@ exports[`Storyshots a/Label Normal 1`] = `
|
|
|
1923
1941
|
|
|
1924
1942
|
label
|
|
1925
1943
|
</span>,
|
|
1944
|
+
<span
|
|
1945
|
+
className="base label x-outline-inputs"
|
|
1946
|
+
>
|
|
1947
|
+
This is a
|
|
1948
|
+
|
|
1949
|
+
outline-inputs
|
|
1950
|
+
|
|
1951
|
+
label
|
|
1952
|
+
</span>,
|
|
1926
1953
|
<span
|
|
1927
1954
|
className="base label x-heading"
|
|
1928
1955
|
>
|
|
@@ -3546,6 +3573,16 @@ exports[`Storyshots b/Button Arrow Left 1`] = `
|
|
|
3546
3573
|
|
|
3547
3574
|
button
|
|
3548
3575
|
</button>,
|
|
3576
|
+
<button
|
|
3577
|
+
className="base button x-outline-inputs arrow-left"
|
|
3578
|
+
type="button"
|
|
3579
|
+
>
|
|
3580
|
+
This is a
|
|
3581
|
+
|
|
3582
|
+
outline-inputs
|
|
3583
|
+
|
|
3584
|
+
button
|
|
3585
|
+
</button>,
|
|
3549
3586
|
<button
|
|
3550
3587
|
className="base button x-heading arrow-left"
|
|
3551
3588
|
type="button"
|
|
@@ -4063,6 +4100,20 @@ exports[`Storyshots b/Button Arrow Left Simple 1`] = `
|
|
|
4063
4100
|
button
|
|
4064
4101
|
</span>
|
|
4065
4102
|
</button>,
|
|
4103
|
+
<button
|
|
4104
|
+
className="base button x-outline-inputs modifierSimple arrow-left"
|
|
4105
|
+
type="button"
|
|
4106
|
+
>
|
|
4107
|
+
<span
|
|
4108
|
+
className="modifierUnderlined"
|
|
4109
|
+
>
|
|
4110
|
+
This is a
|
|
4111
|
+
|
|
4112
|
+
outline-inputs
|
|
4113
|
+
|
|
4114
|
+
button
|
|
4115
|
+
</span>
|
|
4116
|
+
</button>,
|
|
4066
4117
|
<button
|
|
4067
4118
|
className="base button x-heading modifierSimple arrow-left"
|
|
4068
4119
|
type="button"
|
|
@@ -4564,6 +4615,16 @@ exports[`Storyshots b/Button Arrow Right 1`] = `
|
|
|
4564
4615
|
|
|
4565
4616
|
button
|
|
4566
4617
|
</button>,
|
|
4618
|
+
<button
|
|
4619
|
+
className="base button x-outline-inputs arrow-right"
|
|
4620
|
+
type="button"
|
|
4621
|
+
>
|
|
4622
|
+
This is a
|
|
4623
|
+
|
|
4624
|
+
outline-inputs
|
|
4625
|
+
|
|
4626
|
+
button
|
|
4627
|
+
</button>,
|
|
4567
4628
|
<button
|
|
4568
4629
|
className="base button x-heading arrow-right"
|
|
4569
4630
|
type="button"
|
|
@@ -5081,6 +5142,20 @@ exports[`Storyshots b/Button Arrow Right Simple 1`] = `
|
|
|
5081
5142
|
button
|
|
5082
5143
|
</span>
|
|
5083
5144
|
</button>,
|
|
5145
|
+
<button
|
|
5146
|
+
className="base button x-outline-inputs modifierSimple arrow-right"
|
|
5147
|
+
type="button"
|
|
5148
|
+
>
|
|
5149
|
+
<span
|
|
5150
|
+
className="modifierUnderlined"
|
|
5151
|
+
>
|
|
5152
|
+
This is a
|
|
5153
|
+
|
|
5154
|
+
outline-inputs
|
|
5155
|
+
|
|
5156
|
+
button
|
|
5157
|
+
</span>
|
|
5158
|
+
</button>,
|
|
5084
5159
|
<button
|
|
5085
5160
|
className="base button x-heading modifierSimple arrow-right"
|
|
5086
5161
|
type="button"
|
|
@@ -5591,6 +5666,16 @@ exports[`Storyshots b/Button Compact 1`] = `
|
|
|
5591
5666
|
|
|
5592
5667
|
button
|
|
5593
5668
|
</button>,
|
|
5669
|
+
<button
|
|
5670
|
+
className="base button x-outline-inputs modifierCompact"
|
|
5671
|
+
type="button"
|
|
5672
|
+
>
|
|
5673
|
+
This is a
|
|
5674
|
+
|
|
5675
|
+
outline-inputs
|
|
5676
|
+
|
|
5677
|
+
button
|
|
5678
|
+
</button>,
|
|
5594
5679
|
<button
|
|
5595
5680
|
className="base button x-heading modifierCompact"
|
|
5596
5681
|
type="button"
|
|
@@ -6039,6 +6124,17 @@ exports[`Storyshots b/Button Disabled 1`] = `
|
|
|
6039
6124
|
|
|
6040
6125
|
button
|
|
6041
6126
|
</button>,
|
|
6127
|
+
<button
|
|
6128
|
+
className="base button x-outline-inputs"
|
|
6129
|
+
disabled={true}
|
|
6130
|
+
type="button"
|
|
6131
|
+
>
|
|
6132
|
+
This is a
|
|
6133
|
+
|
|
6134
|
+
outline-inputs
|
|
6135
|
+
|
|
6136
|
+
button
|
|
6137
|
+
</button>,
|
|
6042
6138
|
<button
|
|
6043
6139
|
className="base button x-heading"
|
|
6044
6140
|
disabled={true}
|
|
@@ -6506,6 +6602,17 @@ exports[`Storyshots b/Button Disabled Arrow Left 1`] = `
|
|
|
6506
6602
|
|
|
6507
6603
|
button
|
|
6508
6604
|
</button>,
|
|
6605
|
+
<button
|
|
6606
|
+
className="base button x-outline-inputs arrow-left"
|
|
6607
|
+
disabled={true}
|
|
6608
|
+
type="button"
|
|
6609
|
+
>
|
|
6610
|
+
This is a
|
|
6611
|
+
|
|
6612
|
+
outline-inputs
|
|
6613
|
+
|
|
6614
|
+
button
|
|
6615
|
+
</button>,
|
|
6509
6616
|
<button
|
|
6510
6617
|
className="base button x-heading arrow-left"
|
|
6511
6618
|
disabled={true}
|
|
@@ -6973,6 +7080,17 @@ exports[`Storyshots b/Button Disabled Arrow Right 1`] = `
|
|
|
6973
7080
|
|
|
6974
7081
|
button
|
|
6975
7082
|
</button>,
|
|
7083
|
+
<button
|
|
7084
|
+
className="base button x-outline-inputs arrow-right"
|
|
7085
|
+
disabled={true}
|
|
7086
|
+
type="button"
|
|
7087
|
+
>
|
|
7088
|
+
This is a
|
|
7089
|
+
|
|
7090
|
+
outline-inputs
|
|
7091
|
+
|
|
7092
|
+
button
|
|
7093
|
+
</button>,
|
|
6976
7094
|
<button
|
|
6977
7095
|
className="base button x-heading arrow-right"
|
|
6978
7096
|
disabled={true}
|
|
@@ -7449,6 +7567,17 @@ exports[`Storyshots b/Button Ghost Disabled 1`] = `
|
|
|
7449
7567
|
|
|
7450
7568
|
button
|
|
7451
7569
|
</button>,
|
|
7570
|
+
<button
|
|
7571
|
+
className="base button x-outline-inputs modifierGhost"
|
|
7572
|
+
disabled={true}
|
|
7573
|
+
type="button"
|
|
7574
|
+
>
|
|
7575
|
+
This is a
|
|
7576
|
+
|
|
7577
|
+
outline-inputs
|
|
7578
|
+
|
|
7579
|
+
button
|
|
7580
|
+
</button>,
|
|
7452
7581
|
<button
|
|
7453
7582
|
className="base button x-heading modifierGhost"
|
|
7454
7583
|
disabled={true}
|
|
@@ -7893,6 +8022,16 @@ exports[`Storyshots b/Button Ghosts 1`] = `
|
|
|
7893
8022
|
|
|
7894
8023
|
button
|
|
7895
8024
|
</button>,
|
|
8025
|
+
<button
|
|
8026
|
+
className="base button x-outline-inputs modifierGhost"
|
|
8027
|
+
type="button"
|
|
8028
|
+
>
|
|
8029
|
+
This is a
|
|
8030
|
+
|
|
8031
|
+
outline-inputs
|
|
8032
|
+
|
|
8033
|
+
button
|
|
8034
|
+
</button>,
|
|
7896
8035
|
<button
|
|
7897
8036
|
className="base button x-heading modifierGhost"
|
|
7898
8037
|
type="button"
|
|
@@ -8318,6 +8457,16 @@ exports[`Storyshots b/Button Gradient 1`] = `
|
|
|
8318
8457
|
|
|
8319
8458
|
button
|
|
8320
8459
|
</button>,
|
|
8460
|
+
<button
|
|
8461
|
+
className="base button x-outline-inputs modifierGradient"
|
|
8462
|
+
type="button"
|
|
8463
|
+
>
|
|
8464
|
+
This is a
|
|
8465
|
+
|
|
8466
|
+
outline-inputs
|
|
8467
|
+
|
|
8468
|
+
button
|
|
8469
|
+
</button>,
|
|
8321
8470
|
<button
|
|
8322
8471
|
className="base button x-heading modifierGradient"
|
|
8323
8472
|
type="button"
|
|
@@ -9456,6 +9605,47 @@ exports[`Storyshots b/Button Loading 1`] = `
|
|
|
9456
9605
|
</svg>
|
|
9457
9606
|
</div>
|
|
9458
9607
|
</button>,
|
|
9608
|
+
<button
|
|
9609
|
+
className="base button x-outline-inputs"
|
|
9610
|
+
type="button"
|
|
9611
|
+
>
|
|
9612
|
+
<div
|
|
9613
|
+
className="base loading-circle"
|
|
9614
|
+
style={
|
|
9615
|
+
{
|
|
9616
|
+
"--height-width": "1.15em",
|
|
9617
|
+
"--stroke-width": undefined,
|
|
9618
|
+
"--x": "var(--on-x)",
|
|
9619
|
+
}
|
|
9620
|
+
}
|
|
9621
|
+
>
|
|
9622
|
+
<svg
|
|
9623
|
+
className="svg-circle"
|
|
9624
|
+
preserveAspectRatio="xMinYMin meet"
|
|
9625
|
+
style={
|
|
9626
|
+
{
|
|
9627
|
+
"--animation-duration": "2s",
|
|
9628
|
+
}
|
|
9629
|
+
}
|
|
9630
|
+
version="1.1"
|
|
9631
|
+
viewBox="25 25 50 50"
|
|
9632
|
+
x="0px"
|
|
9633
|
+
xmlSpace="preserve"
|
|
9634
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
9635
|
+
y="0px"
|
|
9636
|
+
>
|
|
9637
|
+
<circle
|
|
9638
|
+
className="path"
|
|
9639
|
+
cx="50"
|
|
9640
|
+
cy="50"
|
|
9641
|
+
fill="none"
|
|
9642
|
+
r="20"
|
|
9643
|
+
strokeLinecap="round"
|
|
9644
|
+
strokeMiterlimit="10"
|
|
9645
|
+
/>
|
|
9646
|
+
</svg>
|
|
9647
|
+
</div>
|
|
9648
|
+
</button>,
|
|
9459
9649
|
<button
|
|
9460
9650
|
className="base button x-heading"
|
|
9461
9651
|
type="button"
|
|
@@ -10470,6 +10660,16 @@ exports[`Storyshots b/Button Normal 1`] = `
|
|
|
10470
10660
|
|
|
10471
10661
|
button
|
|
10472
10662
|
</button>,
|
|
10663
|
+
<button
|
|
10664
|
+
className="base button x-outline-inputs"
|
|
10665
|
+
type="button"
|
|
10666
|
+
>
|
|
10667
|
+
This is a
|
|
10668
|
+
|
|
10669
|
+
outline-inputs
|
|
10670
|
+
|
|
10671
|
+
button
|
|
10672
|
+
</button>,
|
|
10473
10673
|
<button
|
|
10474
10674
|
className="base button x-heading"
|
|
10475
10675
|
type="button"
|
|
@@ -10987,6 +11187,20 @@ exports[`Storyshots b/Button Simple 1`] = `
|
|
|
10987
11187
|
button
|
|
10988
11188
|
</span>
|
|
10989
11189
|
</button>,
|
|
11190
|
+
<button
|
|
11191
|
+
className="base button x-outline-inputs modifierSimple"
|
|
11192
|
+
type="button"
|
|
11193
|
+
>
|
|
11194
|
+
<span
|
|
11195
|
+
className="modifierUnderlined"
|
|
11196
|
+
>
|
|
11197
|
+
This is a
|
|
11198
|
+
|
|
11199
|
+
outline-inputs
|
|
11200
|
+
|
|
11201
|
+
button
|
|
11202
|
+
</span>
|
|
11203
|
+
</button>,
|
|
10990
11204
|
<button
|
|
10991
11205
|
className="base button x-heading modifierSimple"
|
|
10992
11206
|
type="button"
|
|
@@ -11603,6 +11817,21 @@ exports[`Storyshots b/Button Simple Disabled 1`] = `
|
|
|
11603
11817
|
button
|
|
11604
11818
|
</span>
|
|
11605
11819
|
</button>,
|
|
11820
|
+
<button
|
|
11821
|
+
className="base button x-outline-inputs modifierSimple"
|
|
11822
|
+
disabled={true}
|
|
11823
|
+
type="button"
|
|
11824
|
+
>
|
|
11825
|
+
<span
|
|
11826
|
+
className="modifierUnderlined"
|
|
11827
|
+
>
|
|
11828
|
+
This is a
|
|
11829
|
+
|
|
11830
|
+
outline-inputs
|
|
11831
|
+
|
|
11832
|
+
button
|
|
11833
|
+
</span>
|
|
11834
|
+
</button>,
|
|
11606
11835
|
<button
|
|
11607
11836
|
className="base button x-heading modifierSimple"
|
|
11608
11837
|
disabled={true}
|
|
@@ -12125,6 +12354,16 @@ exports[`Storyshots b/Button/Group Base 1`] = `
|
|
|
12125
12354
|
|
|
12126
12355
|
button
|
|
12127
12356
|
</button>
|
|
12357
|
+
<button
|
|
12358
|
+
className="base button x-outline-inputs"
|
|
12359
|
+
type="button"
|
|
12360
|
+
>
|
|
12361
|
+
This is a
|
|
12362
|
+
|
|
12363
|
+
outline-inputs
|
|
12364
|
+
|
|
12365
|
+
button
|
|
12366
|
+
</button>
|
|
12128
12367
|
<button
|
|
12129
12368
|
className="base button x-heading"
|
|
12130
12369
|
type="button"
|
|
@@ -13241,6 +13480,35 @@ exports[`Storyshots b/Logo Color 1`] = `
|
|
|
13241
13480
|
}
|
|
13242
13481
|
/>
|
|
13243
13482
|
</svg>,
|
|
13483
|
+
<svg
|
|
13484
|
+
className="base svg base logo x-outline-inputs y-transparent"
|
|
13485
|
+
height="2em"
|
|
13486
|
+
preserveAspectRatio="xMinYMin meet"
|
|
13487
|
+
version="1.1"
|
|
13488
|
+
viewBox="0 0 156 30"
|
|
13489
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
13490
|
+
>
|
|
13491
|
+
<use
|
|
13492
|
+
className=""
|
|
13493
|
+
href="/logo.svg#logo_squares"
|
|
13494
|
+
id="logo_squares"
|
|
13495
|
+
style={
|
|
13496
|
+
{
|
|
13497
|
+
"style": undefined,
|
|
13498
|
+
}
|
|
13499
|
+
}
|
|
13500
|
+
/>
|
|
13501
|
+
<use
|
|
13502
|
+
className=""
|
|
13503
|
+
href="/logo.svg#logo_pareto"
|
|
13504
|
+
id="logo_pareto"
|
|
13505
|
+
style={
|
|
13506
|
+
{
|
|
13507
|
+
"style": undefined,
|
|
13508
|
+
}
|
|
13509
|
+
}
|
|
13510
|
+
/>
|
|
13511
|
+
</svg>,
|
|
13244
13512
|
<svg
|
|
13245
13513
|
className="base svg base logo x-heading y-transparent"
|
|
13246
13514
|
height="2em"
|
|
@@ -14234,6 +14502,25 @@ exports[`Storyshots b/Logo Square 1`] = `
|
|
|
14234
14502
|
}
|
|
14235
14503
|
/>
|
|
14236
14504
|
</svg>,
|
|
14505
|
+
<svg
|
|
14506
|
+
className="base svg base logo x-outline-inputs y-transparent"
|
|
14507
|
+
height="2em"
|
|
14508
|
+
preserveAspectRatio="xMinYMin meet"
|
|
14509
|
+
version="1.1"
|
|
14510
|
+
viewBox="0 0 39 39"
|
|
14511
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14512
|
+
>
|
|
14513
|
+
<use
|
|
14514
|
+
className=""
|
|
14515
|
+
href="/logo_square.svg#logo"
|
|
14516
|
+
id="logo"
|
|
14517
|
+
style={
|
|
14518
|
+
{
|
|
14519
|
+
"style": undefined,
|
|
14520
|
+
}
|
|
14521
|
+
}
|
|
14522
|
+
/>
|
|
14523
|
+
</svg>,
|
|
14237
14524
|
<svg
|
|
14238
14525
|
className="base svg base logo x-heading y-transparent"
|
|
14239
14526
|
height="2em"
|