@entur/datepicker 9.0.1 → 9.0.2

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 +61 -61
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -1,64 +1,3 @@
1
- .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
2
- margin-left: 1rem;
3
- }
4
- .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
5
- border-color: transparent;
6
- box-shadow: none;
7
- }
8
- .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
9
- border-color: transparent;
10
- box-shadow: none;
11
- }
12
- .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
13
- background: none;
14
- }
15
- .eds-datefield .eds-form-control__append--tooltip {
16
- margin-top: 0.75rem;
17
- margin-right: -0.25rem;
18
- }
19
- /* DO NOT CHANGE!*/
20
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
21
- .eds-datepicker {
22
- position: relative;
23
- width: -moz-fit-content;
24
- width: fit-content;
25
- height: -moz-fit-content;
26
- height: fit-content;
27
- }
28
- .eds-datepicker__open-calendar-button {
29
- position: absolute;
30
- right: 0.5rem;
31
- top: 0.45rem;
32
- }
33
- .eds-datepicker__open-calendar-button.eds-icon-button {
34
- color: #181c56;
35
- }
36
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
37
- background-color: #656782;
38
- color: #ffffff;
39
- }
40
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
41
- border: 0.0625rem solid #181c56;
42
- }
43
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
44
- background-color: #8285a8;
45
- }
46
- .eds-datepicker__datefield {
47
- padding-right: 4rem;
48
- }
49
- .eds-datepicker__datefield--disabled {
50
- padding-right: 1rem;
51
- }
52
- .eds-datepicker__datefield__wrapper {
53
- position: relative;
54
- }
55
- .eds-datepicker__calendar-modal.eds-modal__content {
56
- padding: 0;
57
- padding: initial;
58
- width: inherit;
59
- background-color: transparent;
60
- background-color: initial;
61
- }
62
1
  /* DO NOT CHANGE!*/
63
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
64
3
  .eds-datepicker__calendar,
@@ -186,6 +125,24 @@
186
125
  .eds-contrast .eds-datepicker__calendar__grid__cell--today {
187
126
  border-bottom: 2px solid #ff5959;
188
127
  }
128
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
129
+ margin-left: 1rem;
130
+ }
131
+ .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
132
+ border-color: transparent;
133
+ box-shadow: none;
134
+ }
135
+ .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
136
+ border-color: transparent;
137
+ box-shadow: none;
138
+ }
139
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
140
+ background: none;
141
+ }
142
+ .eds-datefield .eds-form-control__append--tooltip {
143
+ margin-top: 0.75rem;
144
+ margin-right: -0.25rem;
145
+ }
189
146
  /* DO NOT CHANGE!*/
190
147
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
191
148
  [dir="ltr"] .eds-date-and-time-field__segment {
@@ -215,6 +172,49 @@
215
172
  }
216
173
  /* DO NOT CHANGE!*/
217
174
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
175
+ .eds-datepicker {
176
+ position: relative;
177
+ width: -moz-fit-content;
178
+ width: fit-content;
179
+ height: -moz-fit-content;
180
+ height: fit-content;
181
+ }
182
+ .eds-datepicker__open-calendar-button {
183
+ position: absolute;
184
+ right: 0.5rem;
185
+ top: 0.45rem;
186
+ }
187
+ .eds-datepicker__open-calendar-button.eds-icon-button {
188
+ color: #181c56;
189
+ }
190
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
191
+ background-color: #656782;
192
+ color: #ffffff;
193
+ }
194
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
195
+ border: 0.0625rem solid #181c56;
196
+ }
197
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
198
+ background-color: #8285a8;
199
+ }
200
+ .eds-datepicker__datefield {
201
+ padding-right: 4rem;
202
+ }
203
+ .eds-datepicker__datefield--disabled {
204
+ padding-right: 1rem;
205
+ }
206
+ .eds-datepicker__datefield__wrapper {
207
+ position: relative;
208
+ }
209
+ .eds-datepicker__calendar-modal.eds-modal__content {
210
+ padding: 0;
211
+ padding: initial;
212
+ width: inherit;
213
+ background-color: transparent;
214
+ background-color: initial;
215
+ }
216
+ /* DO NOT CHANGE!*/
217
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
218
218
  .eds-timepicker__wrapper {
219
219
  position: relative;
220
220
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "9.0.1",
3
+ "version": "9.0.2",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -27,14 +27,14 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.71",
31
- "@entur/button": "^3.2.1",
32
- "@entur/form": "^7.0.28",
33
- "@entur/icons": "^6.12.0",
34
- "@entur/modal": "^1.7.21",
35
- "@entur/tokens": "^3.11.0",
36
- "@entur/tooltip": "^2.6.37",
37
- "@entur/typography": "^1.8.16",
30
+ "@entur/a11y": "^0.2.72",
31
+ "@entur/button": "^3.2.2",
32
+ "@entur/form": "^7.0.29",
33
+ "@entur/icons": "^6.12.1",
34
+ "@entur/modal": "^1.7.22",
35
+ "@entur/tokens": "^3.11.1",
36
+ "@entur/tooltip": "^2.6.38",
37
+ "@entur/typography": "^1.8.17",
38
38
  "@entur/utils": "^0.9.5",
39
39
  "@floating-ui/react-dom": "^1.0.0",
40
40
  "@internationalized/date": "^3.4.0",
@@ -48,5 +48,5 @@
48
48
  "classnames": "^2.3.1",
49
49
  "react-focus-lock": "^2.9.1"
50
50
  },
51
- "gitHead": "b88f20e65837e48f9c1c2882f6d18233613d63a6"
51
+ "gitHead": "3fc001a78ef085d8fd22bb8aa245ec488214de72"
52
52
  }