@1024pix/pix-ui 14.7.1 → 15.0.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,5 +1,8 @@
1
1
  version: 2.1
2
2
 
3
+ orbs:
4
+ browser-tools: circleci/browser-tools@1.3.0
5
+
3
6
  workflows:
4
7
  version: 2
5
8
  build-and-test:
@@ -13,8 +16,11 @@ workflows:
13
16
  jobs:
14
17
  build-and-test:
15
18
  docker:
16
- - image: circleci/node:12.14.0-browsers
19
+ - image: cimg/node:16.14.0-browsers
17
20
  steps:
21
+ - run: sudo npm i -g npm@8.13.2
22
+ - browser-tools/install-chrome
23
+ - browser-tools/install-chromedriver
18
24
  - checkout
19
25
  - run: npm ci
20
26
  - run: npm run lint:js
package/.nvmrc CHANGED
@@ -1 +1 @@
1
- 16.13.0
1
+ 16.14.0
@@ -1,5 +1,3 @@
1
- import './fonts.css';
2
-
3
1
  export const parameters = {
4
2
  a11y: {
5
3
  element: '#root',
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Pix-UI Changelog
2
2
 
3
+ ## v15.0.0 (05/07/2022)
4
+
5
+
6
+ ### :building_construction: Tech
7
+ - [#229](https://github.com/1024pix/pix-ui/pull/229) [TECH] Retirer la taille par defaut du composant PixMultiSelect
8
+ - [#224](https://github.com/1024pix/pix-ui/pull/224) [TECH] Fixer la version NodeJS à 16.14.0
9
+
10
+ ## v14.8.1 (30/06/2022)
11
+
12
+
13
+ ### :building_construction: Tech
14
+ - [#228](https://github.com/1024pix/pix-ui/pull/228) [TECH] Import et utilisation des polices Google Fonts dans le projet
15
+
3
16
  ## v14.7.1 (28/06/2022)
4
17
 
5
18
 
@@ -1,3 +1,45 @@
1
+ @font-face {
2
+ font-family: "Open Sans";
3
+ src: url("../@1024pix/pix-ui/fonts/OpenSans/OpenSans-Regular.ttf");
4
+ font-weight: normal;
5
+ font-style: normal;
6
+ }
7
+
8
+ @font-face {
9
+ font-family: "Open Sans";
10
+ src: url("../@1024pix/pix-ui/fonts/OpenSans/OpenSans-SemiBold.ttf");
11
+ font-weight: 600;
12
+ font-style: normal;
13
+ }
14
+
15
+ @font-face {
16
+ font-family: "Open Sans";
17
+ src: url("../@1024pix/pix-ui/fonts/OpenSans/OpenSans-Light.ttf");
18
+ font-weight: 300;
19
+ font-style: normal;
20
+ }
21
+
22
+ @font-face {
23
+ font-family: "Roboto";
24
+ src: url("../@1024pix/pix-ui/fonts/Roboto/Roboto-Regular.ttf");
25
+ font-weight: normal;
26
+ font-style: normal;
27
+ }
28
+
29
+ @font-face {
30
+ font-family: "Roboto";
31
+ src: url("../@1024pix/pix-ui/fonts/Roboto/Roboto-Medium.ttf");
32
+ font-weight: 500;
33
+ font-style: normal;
34
+ }
35
+
36
+ @font-face {
37
+ font-family: "Roboto";
38
+ src: url("../@1024pix/pix-ui/fonts/Roboto/Roboto-Light.ttf");
39
+ font-weight: 300;
40
+ font-style: normal;
41
+ }
42
+
1
43
  $font-open-sans: 'Open Sans', Arial, sans-serif;
2
44
  $font-roboto: 'Roboto', Arial, sans-serif;
3
45
 
@@ -1,8 +1,6 @@
1
1
  .pix-multi-select {
2
2
  display: inline-block;
3
3
  position: relative;
4
- min-width: 250px;
5
- width: 100%;
6
4
 
7
5
  &__label {
8
6
  @include label();
@@ -62,7 +60,6 @@
62
60
  color: $pix-neutral-30;
63
61
  right: 10px;
64
62
  top: calc(50% - 6px);
65
- padding: 0 0 2px;
66
63
  position: absolute;
67
64
  pointer-events: none;
68
65
 
@@ -55,8 +55,7 @@
55
55
  font-size: 11px;
56
56
  color: $pix-neutral-30;
57
57
  right: 10px;
58
- top: calc(50% - 4px);
59
- padding: 0 0 2px;
58
+ top: calc(50% - 6px);
60
59
  position: absolute;
61
60
  pointer-events: none;
62
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/pix-ui",
3
- "version": "14.7.1",
3
+ "version": "15.0.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"
@@ -8,7 +8,8 @@
8
8
  "license": "MIT",
9
9
  "author": "GIP Pix",
10
10
  "engines": {
11
- "node": "^16.13.0"
11
+ "node": "16.14.0",
12
+ "npm": "8.13.2"
12
13
  },
13
14
  "ember": {
14
15
  "edition": "octane"
@@ -33,6 +34,7 @@
33
34
  "lint:hbs:fix": "npm run lint:hbs -- --fix",
34
35
  "lint:js": "eslint .",
35
36
  "lint:js:fix": "npm run lint:js -- --fix",
37
+ "preinstall": "npx check-engine",
36
38
  "start": "ember serve",
37
39
  "storybook": "ember build && ember serve & start-storybook -p 9001 -s dist",
38
40
  "test": "ember test",
@@ -1 +0,0 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Roboto:wght@300;400;500;700;900&display=swap');