@1024pix/pix-ui 29.0.0 → 29.1.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/.circleci/config.yml +2 -2
- package/CHANGELOG.md +17 -0
- package/addon/components/pix-select.hbs +3 -3
- package/addon/styles/_pix-indicator-card.scss +0 -3
- package/addon/styles/_pix-input.scss +2 -7
- package/addon/styles/_pix-select.scss +7 -9
- package/addon/styles/normalize-reset/_normalize.scss +1 -1
- package/addon/styles/normalize-reset/_reset.scss +7 -2
- package/addon/styles/pix-design-tokens/_form.scss +2 -1
- package/docs/make-a-release.stories.mdx +1 -25
- package/package.json +2 -6
package/.circleci/config.yml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
version: 2.1
|
|
2
2
|
|
|
3
3
|
orbs:
|
|
4
|
-
browser-tools: circleci/browser-tools@1.
|
|
4
|
+
browser-tools: circleci/browser-tools@1.4.1
|
|
5
5
|
|
|
6
6
|
workflows:
|
|
7
7
|
version: 2
|
|
@@ -16,7 +16,7 @@ workflows:
|
|
|
16
16
|
jobs:
|
|
17
17
|
build-and-test:
|
|
18
18
|
docker:
|
|
19
|
-
- image: cimg/node:16.19.
|
|
19
|
+
- image: cimg/node:16.19.1-browsers
|
|
20
20
|
resource_class: medium+
|
|
21
21
|
steps:
|
|
22
22
|
- checkout
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Pix-UI Changelog
|
|
2
2
|
|
|
3
|
+
## v29.1.0 (28/03/2023)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### :building_construction: Tech
|
|
7
|
+
- [#364](https://github.com/1024pix/pix-ui/pull/364) [TECH] Mise à jour de ember-click-outside
|
|
8
|
+
|
|
9
|
+
### :bug: Correction
|
|
10
|
+
- [#372](https://github.com/1024pix/pix-ui/pull/372) [BUGFIX] Augmenter l'épaisseur du label de PixInput (PIX-7574).
|
|
11
|
+
- [#365](https://github.com/1024pix/pix-ui/pull/365) [BUGFIX] Corriger la sémantique et l'affichage du scroll sur la dropdown du PixSelect (PIX-7480)
|
|
12
|
+
|
|
13
|
+
### :coffee: Autre
|
|
14
|
+
- [#362](https://github.com/1024pix/pix-ui/pull/362) [CLEANUP] Nettoie quelques dépendances et de la doc
|
|
15
|
+
- [#371](https://github.com/1024pix/pix-ui/pull/371) [BUMP] Update actions/setup-node action to v3 (workflows)
|
|
16
|
+
- [#370](https://github.com/1024pix/pix-ui/pull/370) [BUMP] Update actions/checkout action to v3 (workflows)
|
|
17
|
+
- [#341](https://github.com/1024pix/pix-ui/pull/341) [BUMP] Update Node.js to v16.19.1 (.circleci)
|
|
18
|
+
- [#342](https://github.com/1024pix/pix-ui/pull/342) [BUMP] Update browser-tools orb to v1.4.1 (.circleci)
|
|
19
|
+
|
|
3
20
|
## v29.0.0 (24/03/2023)
|
|
4
21
|
|
|
5
22
|
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
/>
|
|
60
60
|
</div>
|
|
61
61
|
{{/if}}
|
|
62
|
-
<
|
|
62
|
+
<ul role="listbox" id={{this.listId}} class="pix-select__options">
|
|
63
63
|
<li
|
|
64
64
|
class="pix-select-options-category__option{{unless
|
|
65
65
|
@value
|
|
@@ -135,9 +135,9 @@
|
|
|
135
135
|
{{/each}}
|
|
136
136
|
{{/if}}
|
|
137
137
|
{{else}}
|
|
138
|
-
<
|
|
138
|
+
<li class="pix-select__empty-search-message">{{@emptySearchMessage}}</li>
|
|
139
139
|
{{/if}}
|
|
140
|
-
</
|
|
140
|
+
</ul>
|
|
141
141
|
</div>
|
|
142
142
|
{{#if @errorMessage}}
|
|
143
143
|
<p class="pix-select__error-message">{{@errorMessage}}</p>
|
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
justify-content: center;
|
|
24
24
|
color: $pix-neutral-60;
|
|
25
25
|
padding: $pix-spacing-s $pix-spacing-m;
|
|
26
|
-
margin: 0;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
&__title {
|
|
@@ -40,7 +39,6 @@
|
|
|
40
39
|
&__value {
|
|
41
40
|
@extend %pix-title-m;
|
|
42
41
|
|
|
43
|
-
margin: 0;
|
|
44
42
|
margin-bottom: $pix-spacing-xxs;
|
|
45
43
|
}
|
|
46
44
|
|
|
@@ -50,7 +48,6 @@
|
|
|
50
48
|
font-weight: $font-normal;
|
|
51
49
|
display: flex;
|
|
52
50
|
gap: 10px;
|
|
53
|
-
margin: 0;
|
|
54
51
|
}
|
|
55
52
|
|
|
56
53
|
&__tooltip {
|
|
@@ -4,16 +4,11 @@
|
|
|
4
4
|
position: relative;
|
|
5
5
|
|
|
6
6
|
&__label {
|
|
7
|
-
|
|
8
|
-
color: $pix-neutral-70;
|
|
9
|
-
margin-bottom: 4px;
|
|
7
|
+
@include label();
|
|
10
8
|
}
|
|
11
9
|
|
|
12
10
|
&__information {
|
|
13
|
-
|
|
14
|
-
margin-top: 4px;
|
|
15
|
-
color: $pix-neutral-60;
|
|
16
|
-
display: block;
|
|
11
|
+
@include subLabel();
|
|
17
12
|
}
|
|
18
13
|
|
|
19
14
|
&__container {
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
&__dropdown {
|
|
14
14
|
z-index: 200;
|
|
15
15
|
position: absolute;
|
|
16
|
-
max-height:
|
|
16
|
+
max-height: 12.5rem;
|
|
17
17
|
width: inherit;
|
|
18
18
|
border-top: none;
|
|
19
|
-
border-radius: 0 0
|
|
19
|
+
border-radius: 0 0 $pix-spacing-xxs $pix-spacing-xxs;
|
|
20
20
|
list-style-type: none;
|
|
21
21
|
padding: 0;
|
|
22
22
|
background-color: $pix-neutral-0;
|
|
@@ -24,19 +24,20 @@
|
|
|
24
24
|
transition: all 0.1s ease-in-out;
|
|
25
25
|
white-space: nowrap;
|
|
26
26
|
margin-top: $pix-spacing-xxs;
|
|
27
|
+
overflow-y: auto;
|
|
27
28
|
|
|
28
29
|
&::-webkit-scrollbar {
|
|
29
30
|
width: 0.5rem;
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
&::-webkit-scrollbar-track {
|
|
33
|
-
border-radius:
|
|
34
|
+
border-radius: $pix-spacing-xxs;
|
|
34
35
|
border: 1px solid $pix-neutral-20;
|
|
35
36
|
background: $pix-neutral-20;
|
|
36
37
|
}
|
|
37
38
|
|
|
38
39
|
&::-webkit-scrollbar-thumb {
|
|
39
|
-
border-radius:
|
|
40
|
+
border-radius: $pix-spacing-xxs;
|
|
40
41
|
width: 0.375rem;
|
|
41
42
|
background: $pix-neutral-30;
|
|
42
43
|
}
|
|
@@ -63,7 +64,7 @@
|
|
|
63
64
|
border-bottom: 2px solid $pix-neutral-22;
|
|
64
65
|
margin: $pix-spacing-s $pix-spacing-m;
|
|
65
66
|
color: $pix-neutral-30;
|
|
66
|
-
border-radius:
|
|
67
|
+
border-radius: $pix-spacing-xxs $pix-spacing-xxs 0 0;
|
|
67
68
|
|
|
68
69
|
&:focus-within {
|
|
69
70
|
background: $pix-neutral-10;
|
|
@@ -72,8 +73,6 @@
|
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
&__options {
|
|
75
|
-
overflow-y: auto;
|
|
76
|
-
max-height: inherit;
|
|
77
76
|
border-top: 1px solid $pix-neutral-20;
|
|
78
77
|
}
|
|
79
78
|
|
|
@@ -84,14 +83,13 @@
|
|
|
84
83
|
|
|
85
84
|
.pix-select-button {
|
|
86
85
|
display: flex;
|
|
87
|
-
flex-direction: row;
|
|
88
86
|
align-items: center;
|
|
89
87
|
position: relative;
|
|
90
88
|
border: 1px $pix-neutral-45 solid;
|
|
91
89
|
padding: 0 $pix-spacing-s 0 $pix-spacing-s;
|
|
92
90
|
width: 100%;
|
|
93
91
|
background-color: $pix-neutral-0;
|
|
94
|
-
border-radius:
|
|
92
|
+
border-radius: $pix-spacing-xxs;
|
|
95
93
|
outline: none;
|
|
96
94
|
height: 2.25rem;
|
|
97
95
|
cursor: pointer;
|
|
@@ -16,7 +16,7 @@ dernières features en précisant le numéro de la version.
|
|
|
16
16
|
|
|
17
17
|
Par ailleurs, sur Pix UI une release signifie aussi la mise à jour automatique de [notre storybook en ligne](https://storybook.pix.fr/).
|
|
18
18
|
|
|
19
|
-
## Effectuer la release
|
|
19
|
+
## Effectuer la release via slack
|
|
20
20
|
|
|
21
21
|
Aller dans le canal slack dédié aux releases : [#tech-releases](https://1024pix.slack.com/archives/CVAMDQYHY), puis taper la commande suivante :
|
|
22
22
|
|
|
@@ -43,27 +43,3 @@ Pour vérifier si la release s'est bien déroulée :
|
|
|
43
43
|
|
|
44
44
|
- vérifier le contenu du [CHANGELOG.md](../CHANGELOG.md) : contient-il toutes les PR qui ont été mergées récemment sur la branche `dev` ?
|
|
45
45
|
- vérifier si notre [Storybook en ligne](https://1024pix.github.io/pix-ui/) montre bien les nouveaux composants.
|
|
46
|
-
|
|
47
|
-
## Effectuer la release, méthode à la mano (déconseillée)
|
|
48
|
-
|
|
49
|
-
Après s'être mis à jour sur la branche dev, lancer le script de publication :
|
|
50
|
-
|
|
51
|
-
- `git checkout dev`
|
|
52
|
-
- `git pull`
|
|
53
|
-
- `./scripts/publish.sh <version_souhaitée>`
|
|
54
|
-
|
|
55
|
-
`<version_souhaitée>` peut prendre 3 valeurs :
|
|
56
|
-
|
|
57
|
-
- `patch` : correctif de bug
|
|
58
|
-
- `minor` : modifications n'apportant pas de changement dans l'utilisation de Pix UI
|
|
59
|
-
- `major` : modifications apportant des breaking changes
|
|
60
|
-
|
|
61
|
-
Pour plus d'informations au sujet de la version à choisir se référencer à [SemVer](https://semver.org/lang/fr/).
|
|
62
|
-
|
|
63
|
-
Le script de publication effectuera automatiquement les actions suivantes :
|
|
64
|
-
|
|
65
|
-
- mise à jour de la version du projet dans le `package.json`
|
|
66
|
-
- création d'un tag git correspondant à la nouvelle version
|
|
67
|
-
- mise à jour de la liste des changements dans le [CHANGELOG.md](../CHANGELOG.md)
|
|
68
|
-
- mise à jour de la branche `master` par rapport à `dev`
|
|
69
|
-
- re-[déploiement de storybook sur les GitHub Pages](/?path=/docs/développement-storybook--page)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@1024pix/pix-ui",
|
|
3
|
-
"version": "29.
|
|
3
|
+
"version": "29.1.0",
|
|
4
4
|
"description": "Pix-UI is the implementation of Pix design principles and guidelines for its products.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon"
|
|
@@ -53,8 +53,7 @@
|
|
|
53
53
|
"ember-cli-babel": "^7.26.8",
|
|
54
54
|
"ember-cli-htmlbars": "^6.1.1",
|
|
55
55
|
"ember-cli-sass": "^11.0.1",
|
|
56
|
-
"ember-
|
|
57
|
-
"ember-click-outside": "^4.0.0",
|
|
56
|
+
"ember-click-outside": "^6.0.1",
|
|
58
57
|
"ember-truth-helpers": "^3.1.1",
|
|
59
58
|
"lodash.debounce": "^4.0.8"
|
|
60
59
|
},
|
|
@@ -86,8 +85,6 @@
|
|
|
86
85
|
"@storybook/theming": "^6.5.13",
|
|
87
86
|
"@testing-library/dom": "^8.20.0",
|
|
88
87
|
"@testing-library/user-event": "^14.4.3",
|
|
89
|
-
"axios": "^1.2.0",
|
|
90
|
-
"broccoli-asset-rev": "^3.0.0",
|
|
91
88
|
"core-js": "^3.26.1",
|
|
92
89
|
"ember-cli": "^4.8.0",
|
|
93
90
|
"ember-cli-dependency-checker": "^3.3.1",
|
|
@@ -116,7 +113,6 @@
|
|
|
116
113
|
"html-webpack-plugin": "^5.5.0",
|
|
117
114
|
"loader.js": "^4.7.0",
|
|
118
115
|
"lodash": "^4.17.21",
|
|
119
|
-
"moment": "^2.29.4",
|
|
120
116
|
"npm-run-all": "^4.1.5",
|
|
121
117
|
"prettier": "^2.8.0",
|
|
122
118
|
"qunit": "^2.19.3",
|