@entur/chip 0.6.49 → 0.6.50

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.
Files changed (2) hide show
  1. package/dist/styles.css +62 -62
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -1,5 +1,35 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
+ .eds-chip {
4
+ background: #ebebf1;
5
+ border: 0.0625rem solid #d1d4e3;
6
+ border-radius: 1rem;
7
+ color: inherit;
8
+ font-family: inherit;
9
+ font-size: 0.875rem;
10
+ height: 2rem;
11
+ min-width: 3rem;
12
+ padding: 0 0.75rem;
13
+ transition: background 0.1s ease-out, border 0.1s ease-out;
14
+ display: flex;
15
+ justify-content: center;
16
+ align-items: center;
17
+ }
18
+ .eds-chip svg {
19
+ font-size: 0.875rem;
20
+ }
21
+ .eds-contrast .eds-chip {
22
+ background-color: #393d79;
23
+ border-color: transparent;
24
+ }
25
+ .eds-chip--leading-icon .eds-icon:first-of-type {
26
+ margin-right: 0.5rem;
27
+ }
28
+ .eds-chip--trailing-icon .eds-icon:last-of-type {
29
+ margin-left: 0.5rem;
30
+ }
31
+ /* DO NOT CHANGE!*/
32
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
33
  .eds-choice-chip {
4
34
  cursor: pointer;
5
35
  display: inline-block;
@@ -72,33 +102,42 @@
72
102
  }
73
103
  /* DO NOT CHANGE!*/
74
104
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
75
- .eds-chip {
76
- background: #ebebf1;
77
- border: 0.0625rem solid #d1d4e3;
78
- border-radius: 1rem;
79
- color: inherit;
80
- font-family: inherit;
81
- font-size: 0.875rem;
82
- height: 2rem;
83
- min-width: 3rem;
84
- padding: 0 0.75rem;
85
- transition: background 0.1s ease-out, border 0.1s ease-out;
86
- display: flex;
87
- justify-content: center;
88
- align-items: center;
105
+ .eds-action-chip {
106
+ cursor: pointer;
89
107
  }
90
- .eds-chip svg {
91
- font-size: 0.875rem;
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;
92
112
  }
93
- .eds-contrast .eds-chip {
94
- background-color: #393d79;
95
- border-color: transparent;
113
+ .eds-contrast .eds-action-chip:focus {
114
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
96
115
  }
97
- .eds-chip--leading-icon .eds-icon:first-of-type {
98
- margin-right: 0.5rem;
116
+ .eds-action-chip:hover {
117
+ border-color: #181c56;
99
118
  }
100
- .eds-chip--trailing-icon .eds-icon:last-of-type {
101
- margin-left: 0.5rem;
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: -moz-fit-content;
137
+ width: fit-content;
138
+ }
139
+ .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
140
+ background-color: #ffffff;
102
141
  }
103
142
  /* DO NOT CHANGE!*/
104
143
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -142,45 +181,6 @@
142
181
  }
143
182
  /* DO NOT CHANGE!*/
144
183
  /* 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: -moz-fit-content;
177
- width: fit-content;
178
- }
179
- .eds-contrast .eds-action-chip__loading-dots .eds-loading-dots__dot {
180
- background-color: #ffffff;
181
- }
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.49",
3
+ "version": "0.6.50",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/chip.esm.js",
@@ -27,12 +27,12 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/form": "^7.0.21",
31
- "@entur/icons": "^6.9.0",
32
- "@entur/loader": "^0.4.42",
30
+ "@entur/form": "^7.0.22",
31
+ "@entur/icons": "^6.10.0",
32
+ "@entur/loader": "^0.4.43",
33
33
  "@entur/tokens": "^3.10.0",
34
34
  "@entur/utils": "^0.9.5",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "36f7ef81ee8188c701d607dc01124658dfff7265"
37
+ "gitHead": "9e97f6db17e2ad5096603ba20d568601059ca53e"
38
38
  }