@entur/chip 0.6.13 → 0.6.15

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,14 @@
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.15](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.12...@entur/chip@0.6.15) (2022-12-09)
7
+
8
+ **Note:** Version bump only for package @entur/chip
9
+
10
+ ## [0.6.14](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.13...@entur/chip@0.6.14) (2022-11-24)
11
+
12
+ **Note:** Version bump only for package @entur/chip
13
+
6
14
  ## [0.6.13](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.12...@entur/chip@0.6.13) (2022-10-31)
7
15
 
8
16
  **Note:** Version bump only for package @entur/chip
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;
@@ -102,85 +181,6 @@
102
181
  color: #babbcf;
103
182
  }/* DO NOT CHANGE!*/
104
183
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
105
- .eds-action-chip {
106
- cursor: pointer;
107
- }
108
- .eds-action-chip:focus {
109
- outline: none;
110
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
111
- outline-offset: 0.125rem;
112
- }
113
- .eds-contrast .eds-action-chip:focus {
114
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
115
- }
116
- .eds-action-chip:hover {
117
- border-color: #181c56;
118
- }
119
- .eds-contrast .eds-action-chip:hover {
120
- background-color: #54568c;
121
- border-color: #54568c;
122
- }
123
- .eds-action-chip:active {
124
- background: #d1d4e3;
125
- }
126
- .eds-contrast .eds-action-chip:active {
127
- background-color: #292b6a;
128
- border-color: #292b6a;
129
- }
130
- .eds-action-chip--disabled {
131
- opacity: 0.5;
132
- pointer-events: none;
133
- }
134
- .eds-action-chip--disabled__wrapper {
135
- cursor: not-allowed;
136
- width: -webkit-fit-content;
137
- width: -moz-fit-content;
138
- width: fit-content;
139
- }
140
- .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
141
- background-color: #ffffff;
142
- }/* DO NOT CHANGE!*/
143
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
144
- .eds-tag-chip {
145
- cursor: default;
146
- padding-right: 0.25rem;
147
- width: -webkit-fit-content;
148
- width: -moz-fit-content;
149
- width: fit-content;
150
- }
151
- .eds-tag-chip__close-button {
152
- -webkit-appearance: none;
153
- -moz-appearance: none;
154
- appearance: none;
155
- background: none;
156
- border: none;
157
- border-radius: 50%;
158
- color: #181c56;
159
- cursor: pointer;
160
- display: flex;
161
- font-size: 0.875rem;
162
- padding: 0.25rem;
163
- margin-left: 0.25rem;
164
- transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
165
- }
166
- .eds-contrast .eds-tag-chip__close-button {
167
- color: #ffffff;
168
- }
169
- .eds-tag-chip__close-button:hover {
170
- background: #babbcf;
171
- }
172
- .eds-contrast .eds-tag-chip__close-button:hover {
173
- background: #54568c;
174
- }
175
- .eds-tag-chip__close-button:focus {
176
- outline-offset: 0.125rem;
177
- outline: none;
178
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
179
- }
180
- .eds-contrast .eds-tag-chip__close-button:focus {
181
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
182
- }/* DO NOT CHANGE!*/
183
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
184
184
  .eds-filter-chip {
185
185
  cursor: pointer;
186
186
  -webkit-user-select: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/chip",
3
- "version": "0.6.13",
3
+ "version": "0.6.15",
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.4.10",
31
- "@entur/tokens": "^3.4.1",
32
- "@entur/utils": "^0.4.6",
30
+ "@entur/form": "^5.4.12",
31
+ "@entur/tokens": "^3.4.3",
32
+ "@entur/utils": "^0.4.8",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
- "gitHead": "11fde5ffbfd805773572c3a7d999d63f2733e0c7"
35
+ "gitHead": "103844c30bdc32296f3998a360cf6066492173e9"
36
36
  }