@entur/chip 0.5.6 → 0.5.7

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 CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [0.5.7](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.6...@entur/chip@0.5.7) (2022-06-02)
7
+
8
+ **Note:** Version bump only for package @entur/chip
9
+
6
10
  ## [0.5.6](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.5...@entur/chip@0.5.6) (2022-05-13)
7
11
 
8
12
  **Note:** Version bump only for package @entur/chip
package/dist/styles.css CHANGED
@@ -2,6 +2,35 @@
2
2
  --eds-chip: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
+ .eds-chip {
6
+ background: #ebebf1;
7
+ border: 0.0625rem solid #d1d4e3;
8
+ border-radius: 1rem;
9
+ color: inherit;
10
+ font-family: inherit;
11
+ font-size: 0.875rem;
12
+ height: 2rem;
13
+ min-width: 3rem;
14
+ padding: 0 0.75rem;
15
+ transition: background 0.1s ease-out, border 0.1s ease-out;
16
+ display: flex;
17
+ justify-content: center;
18
+ align-items: center;
19
+ }
20
+ .eds-chip svg {
21
+ font-size: 0.875rem;
22
+ }
23
+ .eds-contrast .eds-chip {
24
+ background-color: #393d79;
25
+ border-color: transparent;
26
+ }
27
+ .eds-chip--leading-icon .eds-icon {
28
+ margin-right: 0.5rem;
29
+ }
30
+ .eds-chip--trailing-icon .eds-icon {
31
+ margin-left: 0.5rem;
32
+ }/* DO NOT CHANGE!*/
33
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
34
  .eds-choice-chip {
6
35
  cursor: pointer;
7
36
  display: inline-block;
@@ -103,35 +132,6 @@
103
132
  background-color: #ffffff;
104
133
  }/* DO NOT CHANGE!*/
105
134
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
106
- .eds-chip {
107
- background: #ebebf1;
108
- border: 0.0625rem solid #d1d4e3;
109
- border-radius: 1rem;
110
- color: inherit;
111
- font-family: inherit;
112
- font-size: 0.875rem;
113
- height: 2rem;
114
- min-width: 3rem;
115
- padding: 0 0.75rem;
116
- transition: background 0.1s ease-out, border 0.1s ease-out;
117
- display: flex;
118
- justify-content: center;
119
- align-items: center;
120
- }
121
- .eds-chip svg {
122
- font-size: 0.875rem;
123
- }
124
- .eds-contrast .eds-chip {
125
- background-color: #393d79;
126
- border-color: transparent;
127
- }
128
- .eds-chip--leading-icon .eds-icon {
129
- margin-right: 0.5rem;
130
- }
131
- .eds-chip--trailing-icon .eds-icon {
132
- margin-left: 0.5rem;
133
- }/* DO NOT CHANGE!*/
134
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
135
135
  .eds-tag-chip {
136
136
  cursor: default;
137
137
  padding-right: 0.25rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/chip",
3
- "version": "0.5.6",
3
+ "version": "0.5.7",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/chip.esm.js",
@@ -27,10 +27,10 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/form": "^5.3.5",
30
+ "@entur/form": "^5.3.6",
31
31
  "@entur/tokens": "^3.3.2",
32
32
  "@entur/utils": "^0.4.3",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
- "gitHead": "9e25b2a4a4ab659dc368f51ad0e0b74bee26e1d0"
35
+ "gitHead": "02c1bc4caad8480d21d8560188ba21b972e3370e"
36
36
  }