@entur/datepicker 4.0.3 → 4.0.5

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 +60 -60
  2. package/package.json +11 -11
package/dist/styles.css CHANGED
@@ -2,6 +2,66 @@
2
2
  --eds-datepicker: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
6
+ margin-left: 1rem;
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:focus-within {
13
+ border-color: transparent;
14
+ box-shadow: none;
15
+ }
16
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
17
+ background: none;
18
+ }
19
+ .eds-datefield .eds-form-control__append--tooltip {
20
+ margin-top: 0.75rem;
21
+ margin-right: -0.25rem;
22
+ }/* DO NOT CHANGE!*/
23
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
24
+ .eds-datepicker {
25
+ position: relative;
26
+ width: -moz-fit-content;
27
+ width: fit-content;
28
+ }
29
+ .eds-datepicker__open-calendar-button {
30
+ position: absolute;
31
+ right: 0.5rem;
32
+ top: 0.45rem;
33
+ }
34
+ .eds-datepicker__open-calendar-button.eds-icon-button {
35
+ color: #181c56;
36
+ }
37
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
38
+ background-color: #656782;
39
+ color: #ffffff;
40
+ }
41
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
42
+ border: 0.0625rem solid #181c56;
43
+ }
44
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
45
+ background-color: #8285a8;
46
+ }
47
+ .eds-datepicker__datefield {
48
+ padding-right: 4rem;
49
+ }
50
+ .eds-datepicker__datefield--disabled {
51
+ padding-right: 1rem;
52
+ }
53
+ .eds-datepicker__datefield__wrapper {
54
+ position: relative;
55
+ }
56
+ .eds-datepicker__calendar-modal.eds-modal__content {
57
+ padding: 0;
58
+ padding: initial;
59
+ width: inherit;
60
+ background-color: transparent;
61
+ background-color: initial;
62
+ overflow: scroll;
63
+ }/* DO NOT CHANGE!*/
64
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
65
  .eds-datepicker__calendar,
6
66
  .eds-contrast .eds-datepicker__calendar {
7
67
  width: -moz-fit-content;
@@ -128,66 +188,6 @@
128
188
  border-bottom: 2px solid #ff5959;
129
189
  }/* DO NOT CHANGE!*/
130
190
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
131
- .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
132
- margin-left: 1rem;
133
- }
134
- .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
135
- border-color: transparent;
136
- box-shadow: none;
137
- }
138
- .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
139
- border-color: transparent;
140
- box-shadow: none;
141
- }
142
- .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
143
- background: none;
144
- }
145
- .eds-datefield .eds-form-control__append--tooltip {
146
- margin-top: 0.75rem;
147
- margin-right: -0.25rem;
148
- }/* DO NOT CHANGE!*/
149
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
150
- .eds-datepicker {
151
- position: relative;
152
- width: -moz-fit-content;
153
- width: fit-content;
154
- }
155
- .eds-datepicker__open-calendar-button {
156
- position: absolute;
157
- right: 0.5rem;
158
- top: 0.45rem;
159
- }
160
- .eds-datepicker__open-calendar-button.eds-icon-button {
161
- color: #181c56;
162
- }
163
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
164
- background-color: #656782;
165
- color: #ffffff;
166
- }
167
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
168
- border: 0.0625rem solid #181c56;
169
- }
170
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
171
- background-color: #8285a8;
172
- }
173
- .eds-datepicker__datefield {
174
- padding-right: 4rem;
175
- }
176
- .eds-datepicker__datefield--disabled {
177
- padding-right: 1rem;
178
- }
179
- .eds-datepicker__datefield__wrapper {
180
- position: relative;
181
- }
182
- .eds-datepicker__calendar-modal.eds-modal__content {
183
- padding: 0;
184
- padding: initial;
185
- width: inherit;
186
- background-color: transparent;
187
- background-color: initial;
188
- overflow: scroll;
189
- }/* DO NOT CHANGE!*/
190
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
191
191
  .eds-timepicker__wrapper {
192
192
  position: relative;
193
193
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "4.0.3",
3
+ "version": "4.0.5",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -27,15 +27,15 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.58",
31
- "@entur/button": "^2.10.13",
32
- "@entur/form": "^5.4.17",
33
- "@entur/icons": "^5.7.0",
34
- "@entur/modal": "^1.6.23",
35
- "@entur/tokens": "^3.7.0",
36
- "@entur/tooltip": "^2.6.4",
37
- "@entur/typography": "^1.7.9",
38
- "@entur/utils": "^0.5.4",
30
+ "@entur/a11y": "^0.2.59",
31
+ "@entur/button": "^2.10.14",
32
+ "@entur/form": "^5.4.19",
33
+ "@entur/icons": "^5.8.0",
34
+ "@entur/modal": "^1.6.24",
35
+ "@entur/tokens": "^3.8.0",
36
+ "@entur/tooltip": "^2.6.6",
37
+ "@entur/typography": "^1.7.10",
38
+ "@entur/utils": "^0.5.5",
39
39
  "@floating-ui/react-dom": "^1.0.0",
40
40
  "@internationalized/date": "^3.0.2",
41
41
  "@react-aria/button": "^3.6.4",
@@ -52,5 +52,5 @@
52
52
  "node": "16.17.0",
53
53
  "yarn": "1.22.19"
54
54
  },
55
- "gitHead": "ff44073d29948fc811c0dbd6921c003794285c06"
55
+ "gitHead": "3b97ecb2ab0cba40d9f353d936dc0a87a6253108"
56
56
  }