Skip to content

Commit 03d5ebe

Browse files
author
Michael Jordan
authored
Merge branch 'main' into Issue-2664-useColorSlider-pageSize
2 parents bebd2cc + 65a6792 commit 03d5ebe

File tree

74 files changed

+4126
-343
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+4126
-343
lines changed

packages/@adobe/spectrum-css-temp/vars/spectrum-dark.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,6 @@
115115
--spectrum-tray-background-color: var(--spectrum-global-color-gray-100);
116116
--spectrum-well-background-color: rgba(227,227,227,0.02);
117117
--spectrum-well-border-color: rgba(255,255,255,0.05);
118+
/* react spectrum additions */
119+
--react-spectrum-datepicker-placeholder-color: var(--spectrum-global-color-gray-600); /* 4.8:1 contrast ratio */
118120
}

packages/@adobe/spectrum-css-temp/vars/spectrum-darkest.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,6 @@
118118
/* missing in spectrum-css */
119119
--spectrum-tray-background-color: var(--spectrum-global-color-gray-100);
120120
/* END RSP PATCH */
121+
/* react spectrum additions */
122+
--react-spectrum-datepicker-placeholder-color: var(--spectrum-global-color-gray-600); /* 4.8:1 contrast ratio */
121123
}

packages/@adobe/spectrum-css-temp/vars/spectrum-light.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,6 @@
115115
--spectrum-well-background-color: rgba(75,75,75,0.02);
116116
--spectrum-well-border-color: rgba(44,44,44,0.05);
117117
--spectrum-tray-background-color: var(--spectrum-global-color-gray-50);
118+
/* react spectrum additions */
119+
--react-spectrum-datepicker-placeholder-color: rgb(118, 118, 118); /* 4.54:1 contrast ratio */
118120
}

packages/@adobe/spectrum-css-temp/vars/spectrum-lightest.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,6 @@
118118
/* missing in spectrum-css */
119119
--spectrum-tray-background-color: var(--spectrum-global-color-gray-50);
120120
/* END RSP PATCH */
121+
/* react spectrum additions */
122+
--react-spectrum-datepicker-placeholder-color: rgb(118, 118, 118); /* 4.54:1 contrast ratio */
121123
}

packages/@internationalized/date/docs/ZonedDateTime.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ let date = new ZonedDateTime(
5151
You can also create a `ZonedDateTime` by parsing an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) formatted string using the one of the following functions:
5252

5353
* <TypeLink links={docs.links} type={docs.exports.parseZonedDateTime} /> – This function parses a date with an explicit time zone and optional UTC offset attached (e.g. `"2021-11-07T00:45[America/Los_Angeles]"` or `"2021-11-07T00:45-07:00[America/Los_Angeles]"`). This format preserves the maximum amount of information. If the exact local time and time zone that a user selected is important, use this format. Storing the time zone and offset that was selected rather than converting to UTC ensures that the local time is correct regardless of daylight saving rule changes (e.g. if a locale abolishes DST). Examples where this applies include calendar events, reminders, and other times that occur in a particular location.
54-
* <TypeLink links={docs.links} type={docs.exports.parseAbsolute} /> – This function parses an absolute date and time that occurs at the same instant at all locations on Earth. It can be represented in UTC (e.g. `"2021-11-07T07:45:00Z"`), or stored with a particular offset (e.g. `"2021-11-07T07:45:00-07:00"`). A time zone identifier, e.g. `America/Los_Angeles`, must be passed, and the result will be converted into that time zone. Absolute times are the best way to represent events that occurred in the past, or future events where an exact time regardless of time zone is needed.
54+
* <TypeLink links={docs.links} type={docs.exports.parseAbsolute} /> – This function parses an absolute date and time that occurs at the same instant at all locations on Earth. It can be represented in UTC (e.g. `"2021-11-07T07:45:00Z"`), or stored with a particular offset (e.g. `"2021-11-07T07:45:00-07:00"`). A time zone identifier, e.g. `America/Los_Angeles`, must be passed, and the result will be converted into that time zone. Absolute times are the best way to represent events that occurred in the past, or future events where an exact time is needed, regardless of time zone.
5555
* <TypeLink links={docs.links} type={docs.exports.parseAbsoluteToLocal} /> – This function parses an absolute date and time into the current user's local time zone. It is a shortcut for `parseAbsolute`, and accepts the same formats.
5656

5757
```tsx
Lines changed: 56 additions & 0 deletions
Loading
66.7 KB
Loading

0 commit comments

Comments
 (0)