@entur/datepicker 9.0.3 → 9.0.4-beta.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.
Files changed (2) hide show
  1. package/dist/styles.css +40 -40
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -1,3 +1,21 @@
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
+ }
1
19
  /* DO NOT CHANGE!*/
2
20
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
21
  .eds-datepicker__calendar,
@@ -127,33 +145,6 @@
127
145
  }
128
146
  /* DO NOT CHANGE!*/
129
147
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
130
- [dir="ltr"] .eds-date-and-time-field__segment {
131
- text-align: right;
132
- }
133
- [dir="rtl"] .eds-date-and-time-field__segment {
134
- text-align: left;
135
- }
136
- .eds-date-and-time-field__segment {
137
- margin-top: 1rem;
138
- padding: 0 2px;
139
- font-feature-settings: "tnum";
140
- font-variant-numeric: tabular-nums;
141
- }
142
- .eds-date-and-time-field__segment--placeholder {
143
- color: #646464;
144
- }
145
- .eds-date-and-time-field__segment--dot-separator {
146
- margin-left: -0.1rem;
147
- margin-right: -0.2rem;
148
- }
149
- .eds-date-and-time-field__segment:focus {
150
- background-color: #656782;
151
- color: #ffffff;
152
- outline: transparent;
153
- border-radius: 0.0625rem;
154
- }
155
- /* DO NOT CHANGE!*/
156
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
157
148
  .eds-datepicker {
158
149
  position: relative;
159
150
  width: -moz-fit-content;
@@ -195,23 +186,32 @@
195
186
  background-color: transparent;
196
187
  background-color: initial;
197
188
  }
198
- .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
199
- margin-left: 1rem;
189
+ /* DO NOT CHANGE!*/
190
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
191
+ [dir="ltr"] .eds-date-and-time-field__segment {
192
+ text-align: right;
200
193
  }
201
- .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
202
- border-color: transparent;
203
- box-shadow: none;
194
+ [dir="rtl"] .eds-date-and-time-field__segment {
195
+ text-align: left;
204
196
  }
205
- .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
206
- border-color: transparent;
207
- box-shadow: none;
197
+ .eds-date-and-time-field__segment {
198
+ margin-top: 1rem;
199
+ padding: 0 2px;
200
+ font-feature-settings: "tnum";
201
+ font-variant-numeric: tabular-nums;
208
202
  }
209
- .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
210
- background: none;
203
+ .eds-date-and-time-field__segment--placeholder {
204
+ color: #646464;
211
205
  }
212
- .eds-datefield .eds-form-control__append--tooltip {
213
- margin-top: 0.75rem;
214
- margin-right: -0.25rem;
206
+ .eds-date-and-time-field__segment--dot-separator {
207
+ margin-left: -0.1rem;
208
+ margin-right: -0.2rem;
209
+ }
210
+ .eds-date-and-time-field__segment:focus {
211
+ background-color: #656782;
212
+ color: #ffffff;
213
+ outline: transparent;
214
+ border-radius: 0.0625rem;
215
215
  }
216
216
  /* DO NOT CHANGE!*/
217
217
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "9.0.3",
3
+ "version": "9.0.4-beta.0",
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.72",
31
- "@entur/button": "^3.2.3",
32
- "@entur/form": "^7.0.30",
33
- "@entur/icons": "^6.13.0",
34
- "@entur/modal": "^1.7.23",
35
- "@entur/tokens": "^3.11.1",
36
- "@entur/tooltip": "^2.6.39",
37
- "@entur/typography": "^1.8.18",
30
+ "@entur/a11y": "^0.2.73-beta.0",
31
+ "@entur/button": "^3.2.4-beta.0",
32
+ "@entur/form": "^7.0.31-beta.0",
33
+ "@entur/icons": "^6.13.1-beta.0",
34
+ "@entur/modal": "^1.7.24-beta.0",
35
+ "@entur/tokens": "^3.11.2-beta.0",
36
+ "@entur/tooltip": "^2.6.40-beta.0",
37
+ "@entur/typography": "^1.8.19-beta.0",
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": "298374e622bca3ae3bbb7226bdd94890be5f82c8"
51
+ "gitHead": "c312024e8f66298e0f6d4cf85849572f38b15d53"
52
52
  }