@entur/datepicker 8.1.1 → 8.1.3

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 +30 -30
  2. package/package.json +8 -8
package/dist/styles.css CHANGED
@@ -18,6 +18,33 @@
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: none;
44
+ border-radius: 0.0625rem;
45
+ }
46
+ /* DO NOT CHANGE!*/
47
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
21
48
  .eds-datepicker__calendar,
22
49
  .eds-contrast .eds-datepicker__calendar {
23
50
  width: -moz-fit-content;
@@ -145,33 +172,6 @@
145
172
  }
146
173
  /* DO NOT CHANGE!*/
147
174
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
148
- [dir="ltr"] .eds-date-and-time-field__segment {
149
- text-align: right;
150
- }
151
- [dir="rtl"] .eds-date-and-time-field__segment {
152
- text-align: left;
153
- }
154
- .eds-date-and-time-field__segment {
155
- margin-top: 1rem;
156
- padding: 0 2px;
157
- font-feature-settings: "tnum";
158
- font-variant-numeric: tabular-nums;
159
- }
160
- .eds-date-and-time-field__segment--placeholder {
161
- color: #646464;
162
- }
163
- .eds-date-and-time-field__segment--dot-separator {
164
- margin-left: -0.1rem;
165
- margin-right: -0.2rem;
166
- }
167
- .eds-date-and-time-field__segment:focus {
168
- background-color: #656782;
169
- color: #ffffff;
170
- outline: none;
171
- border-radius: 0.0625rem;
172
- }
173
- /* DO NOT CHANGE!*/
174
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
175
175
  .eds-datepicker {
176
176
  position: relative;
177
177
  width: -moz-fit-content;
@@ -264,9 +264,6 @@
264
264
  position: relative;
265
265
  top: -0.5rem;
266
266
  }
267
- :root {
268
- --eds-datepicker: 1;
269
- }
270
267
  .eds-simple-timepicker {
271
268
  --input-width: 7rem;
272
269
  width: var(--input-width);
@@ -284,3 +281,6 @@
284
281
  margin-top: -0.2rem;
285
282
  margin-left: -0.5rem;
286
283
  }
284
+ :root {
285
+ --eds-datepicker: 1;
286
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "8.1.1",
3
+ "version": "8.1.3",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -28,13 +28,13 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.70",
31
- "@entur/button": "^3.1.5",
32
- "@entur/form": "^7.0.21",
33
- "@entur/icons": "^6.9.0",
34
- "@entur/modal": "^1.7.14",
31
+ "@entur/button": "^3.1.7",
32
+ "@entur/form": "^7.0.23",
33
+ "@entur/icons": "^6.11.0",
34
+ "@entur/modal": "^1.7.16",
35
35
  "@entur/tokens": "^3.10.0",
36
- "@entur/tooltip": "^2.6.30",
37
- "@entur/typography": "^1.8.11",
36
+ "@entur/tooltip": "^2.6.32",
37
+ "@entur/typography": "^1.8.13",
38
38
  "@entur/utils": "^0.9.5",
39
39
  "@floating-ui/react-dom": "^1.0.0",
40
40
  "@internationalized/date": "^3.4.0",
@@ -52,5 +52,5 @@
52
52
  "node": "16.17.0",
53
53
  "yarn": "1.22.19"
54
54
  },
55
- "gitHead": "36f7ef81ee8188c701d607dc01124658dfff7265"
55
+ "gitHead": "d1d2a7c625523120a8b4a7fca83794fd827104a4"
56
56
  }