@entur/chip 0.6.15 → 0.6.17

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.6.16](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.15...@entur/chip@0.6.16) (2023-01-19)
7
+
8
+ **Note:** Version bump only for package @entur/chip
9
+
6
10
  ## [0.6.15](https://bitbucket.org/enturas/design-system/compare/@entur/chip@0.6.12...@entur/chip@0.6.15) (2022-12-09)
7
11
 
8
12
  **Note:** Version bump only for package @entur/chip
package/dist/styles.css CHANGED
@@ -2,45 +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-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. */
44
5
  .eds-chip {
45
6
  background: #ebebf1;
46
7
  border: 0.0625rem solid #d1d4e3;
@@ -70,46 +31,6 @@
70
31
  margin-left: 0.5rem;
71
32
  }/* DO NOT CHANGE!*/
72
33
  /* 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. */
113
34
  .eds-choice-chip {
114
35
  cursor: pointer;
115
36
  display: inline-block;
@@ -181,6 +102,85 @@
181
102
  color: #babbcf;
182
103
  }/* DO NOT CHANGE!*/
183
104
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
105
+ .eds-tag-chip {
106
+ cursor: default;
107
+ padding-right: 0.25rem;
108
+ width: -webkit-fit-content;
109
+ width: -moz-fit-content;
110
+ width: fit-content;
111
+ }
112
+ .eds-tag-chip__close-button {
113
+ -webkit-appearance: none;
114
+ -moz-appearance: none;
115
+ appearance: none;
116
+ background: none;
117
+ border: none;
118
+ border-radius: 50%;
119
+ color: #181c56;
120
+ cursor: pointer;
121
+ display: flex;
122
+ font-size: 0.875rem;
123
+ padding: 0.25rem;
124
+ margin-left: 0.25rem;
125
+ transition: box-shadow 0.1s ease-in-out, background 0.1s ease-in-out;
126
+ }
127
+ .eds-contrast .eds-tag-chip__close-button {
128
+ color: #ffffff;
129
+ }
130
+ .eds-tag-chip__close-button:hover {
131
+ background: #babbcf;
132
+ }
133
+ .eds-contrast .eds-tag-chip__close-button:hover {
134
+ background: #54568c;
135
+ }
136
+ .eds-tag-chip__close-button:focus {
137
+ outline-offset: 0.125rem;
138
+ outline: none;
139
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
140
+ }
141
+ .eds-contrast .eds-tag-chip__close-button:focus {
142
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
143
+ }/* DO NOT CHANGE!*/
144
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
145
+ .eds-action-chip {
146
+ cursor: pointer;
147
+ }
148
+ .eds-action-chip:focus {
149
+ outline: none;
150
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
151
+ outline-offset: 0.125rem;
152
+ }
153
+ .eds-contrast .eds-action-chip:focus {
154
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
155
+ }
156
+ .eds-action-chip:hover {
157
+ border-color: #181c56;
158
+ }
159
+ .eds-contrast .eds-action-chip:hover {
160
+ background-color: #54568c;
161
+ border-color: #54568c;
162
+ }
163
+ .eds-action-chip:active {
164
+ background: #d1d4e3;
165
+ }
166
+ .eds-contrast .eds-action-chip:active {
167
+ background-color: #292b6a;
168
+ border-color: #292b6a;
169
+ }
170
+ .eds-action-chip--disabled {
171
+ opacity: 0.5;
172
+ pointer-events: none;
173
+ }
174
+ .eds-action-chip--disabled__wrapper {
175
+ cursor: not-allowed;
176
+ width: -webkit-fit-content;
177
+ width: -moz-fit-content;
178
+ width: fit-content;
179
+ }
180
+ .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
181
+ background-color: #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.15",
3
+ "version": "0.6.17",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/chip.esm.js",
@@ -19,7 +19,7 @@
19
19
  "scripts": {
20
20
  "start": "dts watch --noClean",
21
21
  "build": "dts build",
22
- "test": "dts test --env=jsdom",
22
+ "test": "dts test",
23
23
  "lint": "dts lint"
24
24
  },
25
25
  "peerDependencies": {
@@ -27,10 +27,12 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/form": "^5.4.12",
31
- "@entur/tokens": "^3.4.3",
32
- "@entur/utils": "^0.4.8",
30
+ "@entur/form": "^5.4.14",
31
+ "@entur/icons": "^5.4.2",
32
+ "@entur/loader": "^0.4.17",
33
+ "@entur/tokens": "^3.4.4",
34
+ "@entur/utils": "^0.5.0",
33
35
  "classnames": "^2.3.1"
34
36
  },
35
- "gitHead": "103844c30bdc32296f3998a360cf6066492173e9"
37
+ "gitHead": "36772ae4f2d8375622acff19736c07d15435cb95"
36
38
  }