@entur/chip 0.6.0 → 0.6.3

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.6.3](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.2...@entur/chip@0.6.3) (2022-08-09)
7
+
8
+ **Note:** Version bump only for package @entur/chip
9
+
10
+ ## [0.6.2](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.1...@entur/chip@0.6.2) (2022-08-09)
11
+
12
+ **Note:** Version bump only for package @entur/chip
13
+
14
+ ## [0.6.1](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.0...@entur/chip@0.6.1) (2022-07-05)
15
+
16
+ **Note:** Version bump only for package @entur/chip
17
+
6
18
  # [0.6.0](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.5.8...@entur/chip@0.6.0) (2022-06-28)
7
19
 
8
20
  ### Features
package/dist/styles.css CHANGED
@@ -2,6 +2,45 @@
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-action-chip--disabled {
31
+ opacity: 0.5;
32
+ pointer-events: none;
33
+ }
34
+ .eds-action-chip--disabled__wrapper {
35
+ cursor: not-allowed;
36
+ width: -webkit-fit-content;
37
+ width: -moz-fit-content;
38
+ width: fit-content;
39
+ }
40
+ .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
41
+ background-color: #ffffff;
42
+ }/* DO NOT CHANGE!*/
43
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
44
  .eds-chip {
6
45
  background: #ebebf1;
7
46
  border: 0.0625rem solid #d1d4e3;
@@ -31,6 +70,46 @@
31
70
  margin-left: 0.5rem;
32
71
  }/* DO NOT CHANGE!*/
33
72
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
73
+ .eds-tag-chip {
74
+ cursor: default;
75
+ padding-right: 0.25rem;
76
+ width: -webkit-fit-content;
77
+ width: -moz-fit-content;
78
+ width: fit-content;
79
+ }
80
+ .eds-tag-chip__close-button {
81
+ -webkit-appearance: none;
82
+ -moz-appearance: none;
83
+ appearance: none;
84
+ background: none;
85
+ border: none;
86
+ border-radius: 50%;
87
+ color: #181c56;
88
+ cursor: pointer;
89
+ display: flex;
90
+ font-size: 0.875rem;
91
+ padding: 0.25rem;
92
+ margin-left: 0.25rem;
93
+ transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
94
+ }
95
+ .eds-contrast .eds-tag-chip__close-button {
96
+ color: #ffffff;
97
+ }
98
+ .eds-tag-chip__close-button:hover {
99
+ background: #babbcf;
100
+ }
101
+ .eds-contrast .eds-tag-chip__close-button:hover {
102
+ background: #54568c;
103
+ }
104
+ .eds-tag-chip__close-button:focus {
105
+ outline-offset: 0.125rem;
106
+ outline: none;
107
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
108
+ }
109
+ .eds-contrast .eds-tag-chip__close-button:focus {
110
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
111
+ }/* DO NOT CHANGE!*/
112
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
34
113
  .eds-choice-chip {
35
114
  cursor: pointer;
36
115
  display: inline-block;
@@ -103,85 +182,6 @@
103
182
  color: #babbcf;
104
183
  }/* DO NOT CHANGE!*/
105
184
  /* 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-action-chip--disabled {
132
- opacity: 0.5;
133
- pointer-events: none;
134
- }
135
- .eds-action-chip--disabled__wrapper {
136
- cursor: not-allowed;
137
- width: -webkit-fit-content;
138
- width: -moz-fit-content;
139
- width: fit-content;
140
- }
141
- .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
142
- background-color: #ffffff;
143
- }/* DO NOT CHANGE!*/
144
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
145
- .eds-tag-chip {
146
- cursor: default;
147
- padding-right: 0.25rem;
148
- width: -webkit-fit-content;
149
- width: -moz-fit-content;
150
- width: fit-content;
151
- }
152
- .eds-tag-chip__close-button {
153
- -webkit-appearance: none;
154
- -moz-appearance: none;
155
- appearance: none;
156
- background: none;
157
- border: none;
158
- border-radius: 50%;
159
- color: #181c56;
160
- cursor: pointer;
161
- display: flex;
162
- font-size: 0.875rem;
163
- padding: 0.25rem;
164
- margin-left: 0.25rem;
165
- transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
166
- }
167
- .eds-contrast .eds-tag-chip__close-button {
168
- color: #ffffff;
169
- }
170
- .eds-tag-chip__close-button:hover {
171
- background: #babbcf;
172
- }
173
- .eds-contrast .eds-tag-chip__close-button:hover {
174
- background: #54568c;
175
- }
176
- .eds-tag-chip__close-button:focus {
177
- outline-offset: 0.125rem;
178
- outline: none;
179
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
180
- }
181
- .eds-contrast .eds-tag-chip__close-button:focus {
182
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
183
- }/* DO NOT CHANGE!*/
184
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
185
185
  .eds-filter-chip {
186
186
  cursor: pointer;
187
187
  -webkit-user-select: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/chip",
3
- "version": "0.6.0",
3
+ "version": "0.6.3",
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.8",
31
- "@entur/tokens": "^3.3.2",
30
+ "@entur/form": "^5.4.0",
31
+ "@entur/tokens": "^3.4.0",
32
32
  "@entur/utils": "^0.4.3",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
- "gitHead": "b8c747624dc3cb71b5710305c958ece5ba460e23"
35
+ "gitHead": "e1b5562e4aef1e81a68ca14f4b11a29c738a4fcf"
36
36
  }