@entur/chip 0.5.4 → 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,18 @@
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
+
10
+ ## [0.5.6](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.5...@entur/chip@0.5.6) (2022-05-13)
11
+
12
+ **Note:** Version bump only for package @entur/chip
13
+
14
+ ## [0.5.5](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.4...@entur/chip@0.5.5) (2022-05-04)
15
+
16
+ **Note:** Version bump only for package @entur/chip
17
+
6
18
  ## [0.5.4](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.3...@entur/chip@0.5.4) (2022-04-27)
7
19
 
8
20
  **Note:** Version bump only for package @entur/chip
package/dist/styles.css CHANGED
@@ -2,35 +2,6 @@
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-action-chip {
6
- cursor: pointer;
7
- }
8
- .eds-action-chip:focus {
9
- outline: none;
10
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
11
- outline-offset: 0.125rem;
12
- }
13
- .eds-contrast .eds-action-chip:focus {
14
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
15
- }
16
- .eds-action-chip:hover {
17
- border-color: #181c56;
18
- }
19
- .eds-contrast .eds-action-chip:hover {
20
- background-color: #54568c;
21
- border-color: #54568c;
22
- }
23
- .eds-action-chip:active {
24
- background: #d1d4e3;
25
- }
26
- .eds-contrast .eds-action-chip:active {
27
- background-color: #292b6a;
28
- border-color: #292b6a;
29
- }
30
- .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
31
- background-color: #ffffff;
32
- }/* DO NOT CHANGE!*/
33
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
34
5
  .eds-chip {
35
6
  background: #ebebf1;
36
7
  border: 0.0625rem solid #d1d4e3;
@@ -60,46 +31,6 @@
60
31
  margin-left: 0.5rem;
61
32
  }/* DO NOT CHANGE!*/
62
33
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
63
- .eds-tag-chip {
64
- cursor: default;
65
- padding-right: 0.25rem;
66
- width: -webkit-fit-content;
67
- width: -moz-fit-content;
68
- width: fit-content;
69
- }
70
- .eds-tag-chip__close-button {
71
- -webkit-appearance: none;
72
- -moz-appearance: none;
73
- appearance: none;
74
- background: none;
75
- border: none;
76
- border-radius: 50%;
77
- color: #181c56;
78
- cursor: pointer;
79
- display: flex;
80
- font-size: 0.875rem;
81
- padding: 0.25rem;
82
- margin-left: 0.25rem;
83
- transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
84
- }
85
- .eds-contrast .eds-tag-chip__close-button {
86
- color: #ffffff;
87
- }
88
- .eds-tag-chip__close-button:hover {
89
- background: #babbcf;
90
- }
91
- .eds-contrast .eds-tag-chip__close-button:hover {
92
- background: #54568c;
93
- }
94
- .eds-tag-chip__close-button:focus {
95
- outline-offset: 0.125rem;
96
- outline: none;
97
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
98
- }
99
- .eds-contrast .eds-tag-chip__close-button:focus {
100
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
101
- }/* DO NOT CHANGE!*/
102
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
103
34
  .eds-choice-chip {
104
35
  cursor: pointer;
105
36
  display: inline-block;
@@ -172,6 +103,75 @@
172
103
  color: #babbcf;
173
104
  }/* DO NOT CHANGE!*/
174
105
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
106
+ .eds-action-chip {
107
+ cursor: pointer;
108
+ }
109
+ .eds-action-chip:focus {
110
+ outline: none;
111
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
112
+ outline-offset: 0.125rem;
113
+ }
114
+ .eds-contrast .eds-action-chip:focus {
115
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
116
+ }
117
+ .eds-action-chip:hover {
118
+ border-color: #181c56;
119
+ }
120
+ .eds-contrast .eds-action-chip:hover {
121
+ background-color: #54568c;
122
+ border-color: #54568c;
123
+ }
124
+ .eds-action-chip:active {
125
+ background: #d1d4e3;
126
+ }
127
+ .eds-contrast .eds-action-chip:active {
128
+ background-color: #292b6a;
129
+ border-color: #292b6a;
130
+ }
131
+ .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
132
+ background-color: #ffffff;
133
+ }/* DO NOT CHANGE!*/
134
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
135
+ .eds-tag-chip {
136
+ cursor: default;
137
+ padding-right: 0.25rem;
138
+ width: -webkit-fit-content;
139
+ width: -moz-fit-content;
140
+ width: fit-content;
141
+ }
142
+ .eds-tag-chip__close-button {
143
+ -webkit-appearance: none;
144
+ -moz-appearance: none;
145
+ appearance: none;
146
+ background: none;
147
+ border: none;
148
+ border-radius: 50%;
149
+ color: #181c56;
150
+ cursor: pointer;
151
+ display: flex;
152
+ font-size: 0.875rem;
153
+ padding: 0.25rem;
154
+ margin-left: 0.25rem;
155
+ transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
156
+ }
157
+ .eds-contrast .eds-tag-chip__close-button {
158
+ color: #ffffff;
159
+ }
160
+ .eds-tag-chip__close-button:hover {
161
+ background: #babbcf;
162
+ }
163
+ .eds-contrast .eds-tag-chip__close-button:hover {
164
+ background: #54568c;
165
+ }
166
+ .eds-tag-chip__close-button:focus {
167
+ outline-offset: 0.125rem;
168
+ outline: none;
169
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
170
+ }
171
+ .eds-contrast .eds-tag-chip__close-button:focus {
172
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
173
+ }/* DO NOT CHANGE!*/
174
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
175
175
  .eds-filter-chip {
176
176
  cursor: pointer;
177
177
  -webkit-user-select: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/chip",
3
- "version": "0.5.4",
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.3",
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": "7b557782d62c07bdce744f9b084d57177e2202e9"
35
+ "gitHead": "02c1bc4caad8480d21d8560188ba21b972e3370e"
36
36
  }