@entur/datepicker 9.2.0 → 9.3.0

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/dist/styles.css CHANGED
@@ -18,33 +18,6 @@
18
18
  }
19
19
  /* DO NOT CHANGE!*/
20
20
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
21
- [dir="ltr"] .eds-date-and-time-field__segment {
22
- text-align: right;
23
- }
24
- [dir="rtl"] .eds-date-and-time-field__segment {
25
- text-align: left;
26
- }
27
- .eds-date-and-time-field__segment {
28
- margin-top: 1rem;
29
- padding: 0 2px;
30
- font-feature-settings: "tnum";
31
- font-variant-numeric: tabular-nums;
32
- }
33
- .eds-date-and-time-field__segment--placeholder {
34
- color: #646464;
35
- }
36
- .eds-date-and-time-field__segment--dot-separator {
37
- margin-left: -0.1rem;
38
- margin-right: -0.2rem;
39
- }
40
- .eds-date-and-time-field__segment:focus {
41
- background-color: #656782;
42
- color: #ffffff;
43
- outline: transparent;
44
- border-radius: 0.0625rem;
45
- }
46
- /* DO NOT CHANGE!*/
47
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
48
21
  .eds-datepicker__calendar,
49
22
  .eds-contrast .eds-datepicker__calendar {
50
23
  width: -moz-fit-content;
@@ -90,11 +63,19 @@
90
63
  border-spacing: 0px;
91
64
  border-collapse: collapse;
92
65
  }
66
+ .eds-datepicker__calendar__grid__weeknumber,
93
67
  .eds-datepicker__calendar__grid thead tr th,
68
+ .eds-contrast .eds-datepicker__calendar__grid__weeknumber,
94
69
  .eds-contrast .eds-datepicker__calendar__grid thead tr th {
95
70
  color: #54568c;
96
71
  font-size: 0.75rem;
97
72
  }
73
+ .eds-datepicker__calendar__grid__weeknumber-header, .eds-datepicker__calendar__grid__weeknumber,
74
+ .eds-contrast .eds-datepicker__calendar__grid__weeknumber-header,
75
+ .eds-contrast .eds-datepicker__calendar__grid__weeknumber {
76
+ text-align: right;
77
+ padding-right: 0.5rem;
78
+ }
98
79
  .eds-datepicker__calendar__grid__cell,
99
80
  .eds-contrast .eds-datepicker__calendar__grid__cell {
100
81
  height: 40px;
@@ -172,6 +153,33 @@
172
153
  }
173
154
  /* DO NOT CHANGE!*/
174
155
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
156
+ [dir="ltr"] .eds-date-and-time-field__segment {
157
+ text-align: right;
158
+ }
159
+ [dir="rtl"] .eds-date-and-time-field__segment {
160
+ text-align: left;
161
+ }
162
+ .eds-date-and-time-field__segment {
163
+ margin-top: 1rem;
164
+ padding: 0 2px;
165
+ font-feature-settings: "tnum";
166
+ font-variant-numeric: tabular-nums;
167
+ }
168
+ .eds-date-and-time-field__segment--placeholder {
169
+ color: #646464;
170
+ }
171
+ .eds-date-and-time-field__segment--dot-separator {
172
+ margin-left: -0.1rem;
173
+ margin-right: -0.2rem;
174
+ }
175
+ .eds-date-and-time-field__segment:focus {
176
+ background-color: #656782;
177
+ color: #ffffff;
178
+ outline: transparent;
179
+ border-radius: 0.0625rem;
180
+ }
181
+ /* DO NOT CHANGE!*/
182
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
175
183
  .eds-datepicker {
176
184
  position: relative;
177
185
  width: -moz-fit-content;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "9.2.0",
3
+ "version": "9.3.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -29,11 +29,11 @@
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.76",
31
31
  "@entur/button": "^3.2.11",
32
- "@entur/form": "^7.0.38",
32
+ "@entur/form": "^7.0.39",
33
33
  "@entur/icons": "^6.15.1",
34
- "@entur/modal": "^1.7.31",
34
+ "@entur/modal": "^1.7.32",
35
35
  "@entur/tokens": "^3.13.0",
36
- "@entur/tooltip": "^2.6.47",
36
+ "@entur/tooltip": "^2.6.48",
37
37
  "@entur/typography": "^1.8.24",
38
38
  "@entur/utils": "^0.10.0",
39
39
  "@floating-ui/react-dom": "^1.0.0",
@@ -48,5 +48,5 @@
48
48
  "classnames": "^2.3.1",
49
49
  "react-focus-lock": "^2.9.1"
50
50
  },
51
- "gitHead": "907373a47cc81ae12be266bac1d10522033f8b49"
51
+ "gitHead": "450b88a0baca11352d329ffa3fcd6c003ec1d338"
52
52
  }