Skip to content

Commit 401603d

Browse files
committed
Merge tag 'v2.22.0' into release/opensource
2 parents 2cf575f + 966f1cb commit 401603d

File tree

99 files changed

+890
-237
lines changed

Some content is hidden

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

99 files changed

+890
-237
lines changed

.github/workflows/storybook.yml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,3 +341,59 @@ jobs:
341341
export SITE_URL=$(echo ${row} | base64 --decode | jq -r ".url")
342342
gh api ${STATUS_URL} -f state=success -f environment_url=${SITE_URL} -H "Accept: application/vnd.github.ant-man-preview+json"
343343
done
344+
345+
attach-artifact:
346+
runs-on: ubuntu-latest
347+
if: ${{ github.event_name == 'release' }}
348+
needs:
349+
- framework-build
350+
steps:
351+
- uses: tibdex/github-app-token@v1
352+
id: get_installation_token
353+
with:
354+
app_id: 244972
355+
private_key: ${{ secrets.DSE_CI_APP_KEY }}
356+
- uses: actions/checkout@v2
357+
358+
- uses: actions/download-artifact@v2
359+
with:
360+
path: workspace
361+
362+
- name: 'Github: attach artifact to release'
363+
env:
364+
DSE_API_RELEASE_TOKEN: ${{ secrets.DSE_API_RELEASE_TOKEN }}
365+
VERSION_FROM_TAG: ${{ github.event.release.tag_name }}
366+
GITHUB_TOKEN: ${{ steps.get_installation_token.outputs.token }}
367+
run: |-
368+
gh release view ${VERSION_FROM_TAG} | grep ${VERSION_FROM_TAG}
369+
370+
if [ $? -eq 0 ]; then
371+
cp workspace/artifact/dist.zip workspace/slds-${VERSION_FROM_TAG}.zip
372+
echo "=============================="
373+
echo "» Attaching artifact to release ${VERSION_FROM_TAG}"
374+
gh release upload ${VERSION_FROM_TAG} workspace/slds-${VERSION_FROM_TAG}.zip#"SLDS ${VERSION_FROM_TAG}" --clobber
375+
else
376+
echo "=============================="
377+
echo "» ERROR: release ${VERSION_FROM_TAG} not found on Github"
378+
fi
379+
380+
update-database:
381+
runs-on: ubuntu-latest
382+
if: ${{ github.event_name == 'release' }}
383+
needs:
384+
- attach-artifact
385+
steps:
386+
- uses: actions/checkout@v2
387+
- name: Trigger database update via API
388+
env:
389+
DSE_API_RELEASE_TOKEN: ${{ secrets.DSE_API_RELEASE_TOKEN }}
390+
VERSION_FROM_TAG: ${{ github.event.release.tag_name }}
391+
run: |-
392+
export SALESFORCE_VERSION=$(cat package.json | jq -r .slds.id)
393+
curl --location --request PATCH 'https://api.lightningdesignsystem.com/v1/release' \
394+
--header 'Content-Type: application/json' \
395+
--header 'Authorization: Bearer '"$DSE_API_RELEASE_TOKEN"'' \
396+
--data-raw '{
397+
"version":"'"${VERSION_FROM_TAG:1:20}"'",
398+
"salesforce_version": "'"$SALESFORCE_VERSION"'"
399+
}'

RELEASENOTES.general.md

Lines changed: 67 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,72 @@
11
<!-- Release notes authoring guidelines: http://keepachangelog.com/ -->
22
<!-- On release, add general notes here. In time the legacy release notes will be add to this -->
33

4-
## 2.21.5 - July 19, 2023
4+
## 2.22.0 - August 16, 2023
5+
6+
- Updated icons to `v10.7.0`
7+
- Standard Set:
8+
- Added `attribute_based_pricing`
9+
- Added `bundles_pricing`
10+
- Added `data_cloud`
11+
- Added `data_graph`
12+
- Added `dynamic_highlights_panel`
13+
- Added `header_discounts`
14+
- Added `impact_outcome`
15+
- Added `impact_strategy_assignment`
16+
- Added `impact_strategy`
17+
- Added `indicator_assignment`
18+
- Added `indicator_definition`
19+
- Added `indicator_performance_period`
20+
- Added `indicator_result`
21+
- Added `manual_discounts`
22+
- Added `no_code_model`
23+
- Added `outcome_activity`
24+
- Added `panel_detail`
25+
- Added `price_adjustment_matrix`
26+
- Added `registered_model`
27+
- Added `repeaters`
28+
- Added `scheduling_workspace`
29+
- Updated `story`
30+
- Added `time_period`
31+
- Added `uploaded_model`
32+
- Added `volume_discounts`
33+
- Added `walkthroughs`
534

35+
- Utility Set:
36+
- Added `apex_alt`
37+
- Added `data_cloud`
38+
- Added `data_graph`
39+
- Added `data_transforms`
40+
- Added `guidance`
41+
- Added `indicator_performance_period`
42+
- Added `mixed_sources_mapping`
43+
- Added `page_structure`
44+
- Added `visibility_rule_assigned`
45+
- Added `walkthroughs`
46+
47+
## Fixed
48+
49+
- Updated background colors for Standard and Actions icons
50+
- Standard Icons Set
51+
- Updated `event`
52+
- Updated `dashboard`
53+
- Updated `case`
54+
- Updated `note`
55+
- Updated `contact`
56+
- Updated `lead`
57+
- Updated `campaign`
58+
- Updated `products`
59+
- Updated `user`
60+
- Updated `contract`
61+
- Updated `category`
62+
- Updated `catalog`
63+
- Updated `store`
64+
- Updated `buyer_account`
65+
- Updated `buyer_group`
66+
- Updated `delegated_account`
67+
- Updated `entitlement_policy`
68+
69+
## 2.21.5 - July 19, 2023
670

771
## 2.21.4 - July 17, 2023
872

@@ -15,6 +79,7 @@
1579
## 2.21.3 - June 29, 2023
1680

1781
## Fixed
82+
1883
- Correction in icons package version.
1984
- Updated placeholder text color for Rich Text Editor
2085
- Updated docked utility component's unread notification state icon color
@@ -23,6 +88,7 @@
2388
## 2.21.2 - June 15, 2023
2489

2590
## Fixed
91+
2692
- Fixed text-selection color issues which was introduced by WCAG 2.1 updates.
2793
- Fixed border colors for components.
2894

RELEASENOTES.md

Lines changed: 131 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,135 @@
11
<!-- Release notes authoring guidelines: http://keepachangelog.com/ -->
22
<!-- !!! THIS FILE IS AUTO-GENERATED !!! DO NOT EDIT THIS FILE MANUALLY !!! -->
33

4+
## Release 2.22.0 - August 16, 2023
5+
6+
- Updated icons to `v10.7.0`
7+
- Standard Set:
8+
- Added `attribute_based_pricing`
9+
- Added `bundles_pricing`
10+
- Added `data_cloud`
11+
- Added `data_graph`
12+
- Added `dynamic_highlights_panel`
13+
- Added `header_discounts`
14+
- Added `impact_outcome`
15+
- Added `impact_strategy_assignment`
16+
- Added `impact_strategy`
17+
- Added `indicator_assignment`
18+
- Added `indicator_definition`
19+
- Added `indicator_performance_period`
20+
- Added `indicator_result`
21+
- Added `manual_discounts`
22+
- Added `no_code_model`
23+
- Added `outcome_activity`
24+
- Added `panel_detail`
25+
- Added `price_adjustment_matrix`
26+
- Added `registered_model`
27+
- Added `repeaters`
28+
- Added `scheduling_workspace`
29+
- Updated `story`
30+
- Added `time_period`
31+
- Added `uploaded_model`
32+
- Added `volume_discounts`
33+
- Added `walkthroughs`
34+
- Utility Set:
35+
- Added `apex_alt`
36+
- Added `data_cloud`
37+
- Added `data_graph`
38+
- Added `data_transforms`
39+
- Added `guidance`
40+
- Added `indicator_performance_period`
41+
- Added `mixed_sources_mapping`
42+
- Added `page_structure`
43+
- Added `visibility_rule_assigned`
44+
- Added `walkthroughs`
45+
## Fixed
46+
- Updated background colors for Standard and Actions icons
47+
- Standard Icons Set
48+
- Updated `event`
49+
- Updated `dashboard`
50+
- Updated `case`
51+
- Updated `note`
52+
- Updated `contact`
53+
- Updated `lead`
54+
- Updated `campaign`
55+
- Updated `products`
56+
- Updated `user`
57+
- Updated `contract`
58+
- Updated `category`
59+
- Updated `catalog`
60+
- Updated `store`
61+
- Updated `buyer_account`
62+
- Updated `buyer_group`
63+
- Updated `delegated_account`
64+
- Updated `entitlement_policy`
65+
66+
## Components
67+
### [Activity Timeline](https://www.lightningdesignsystem.com/components/activity-timeline)
68+
#### Changed
69+
- Replaced aria-hidden with hidden attribute for components that show/hide content
70+
<!-- ## [VERSION] -->
71+
72+
### [Carousel](https://www.lightningdesignsystem.com/components/carousel)
73+
#### Changed
74+
- Replaced aria-hidden with hidden attribute for components that show/hide content
75+
76+
### [Checkbox Toggle](https://www.lightningdesignsystem.com/components/checkbox-toggle)
77+
#### Fixed
78+
- Fixed `NVDA` checkbox toggle is announced twice removed aria-live="assertive"
79+
80+
### [Combobox](https://www.lightningdesignsystem.com/components/combobox)
81+
#### Added
82+
- Tooltip option provided for Date/DateTime pickers.
83+
- Updated from tabindex to tabIndex.
84+
85+
### [Data Tables](https://www.lightningdesignsystem.com/components/data-tables)
86+
#### Added
87+
- Added `font-weight` property in `.slds-is-edited` & `.slds-has-error` to provide secondary indicator for the text
88+
- Updated `Accessibility` section in `docs.mdx` documentation file for bold text
89+
90+
### [Data Tables](https://www.lightningdesignsystem.com/components/data-tables)
91+
#### Changed
92+
- Removed `aria-label` from table header to prevent from reading twice headers.
93+
94+
### [Datepickers](https://www.lightningdesignsystem.com/components/datepickers)
95+
#### Added
96+
- Added datepicker example with field level tooltip
97+
98+
### [Datetime Picker](https://www.lightningdesignsystem.com/components/datetime-picker)
99+
#### Added
100+
- Tooltip option provided for Date/DateTime pickers.
101+
- Added `slds-datetimepicker_has-tooltip` class to fix the icon misalignment issue.
102+
103+
### [Expandable Section](https://www.lightningdesignsystem.com/components/expandable-section)
104+
#### Changed
105+
- Replaced aria-hidden with hidden attribute for components that show/hide content
106+
107+
### [Form Element](https://www.lightningdesignsystem.com/components/form-element)
108+
#### Changed
109+
- Added field level custom message option for tooltip
110+
111+
### [Modals](https://www.lightningdesignsystem.com/components/modals)
112+
#### Changed
113+
- Optimized full size option and refactored to use CSS grid.
114+
- Updated full size variant to trigger at the `$mq-small` breakpoint to prevent larger devices from receiving the variant.
115+
116+
### [Panels](https://www.lightningdesignsystem.com/components/panels)
117+
#### Changed
118+
- Replaced aria-hidden with hidden attribute for components that show/hide content
119+
120+
### [Progress Ring](https://www.lightningdesignsystem.com/components/progress-ring)
121+
#### Fixed
122+
- Fixed duplicate IDs by adding helper method
123+
124+
### [Split View](https://www.lightningdesignsystem.com/components/split-view)
125+
#### Changed
126+
- Replaced aria-hidden with hidden attribute for components that show/hide content
127+
128+
### [Summary Detail](https://www.lightningdesignsystem.com/components/summary-detail)
129+
#### Changed
130+
- Replaced aria-hidden with hidden attribute for components that show/hide content
131+
<!-- ## [VERSION] -->
132+
4133
## Release 2.21.5 - July 19, 2023
5134

6135
## Components
@@ -102,12 +231,12 @@ Added `aria-label` to meet accessibility requirements specifically for screen re
102231
<!-- ## [Unreleased] -->
103232

104233
### [Modals](https://www.lightningdesignsystem.com/components/modals)
105-
#### Fixed
234+
#### Fixed
106235
- Fixed `aria-labelledby` to meet accessibility requirements specifically for screen readers.
107236

108237
### [Modals](https://www.lightningdesignsystem.com/components/modals)
109238
#### Changed
110-
- Added full size option for modal. This will allow the modal to reach full screen for mobile screen size and devices. When screen is bigger than mobile screen width (from 768px), full size modal will take on large size modal behaviour.
239+
- Added full size option for modal. This will allow the modal to reach full screen for mobile screen size and devices. When screen is bigger than mobile screen width (from 768px), full size modal will take on large size modal behaviour.
111240
- Changed close button to meet accessibility requirement when in full size and in mobile width.
112241

113242
### [Path](https://www.lightningdesignsystem.com/components/path)

assets/icon-colors/icon-colors.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"description": "Recommended Colors for Standard and Action Icons. These colors will be used by icon-linter to verify bg-standard.yml and bg-actions.yml files",
3+
"source": "https://docs.google.com/presentation/d/1sZfkUjVIgdvCFac8O3FbLimkUSw9QeVJ8AgZ4fg4QlU/edit#slide=id.g13a86adcae5_0_0",
4+
"recommendedColors": [
5+
"green-60",
6+
"green-40",
7+
"indigo-50",
8+
"indigo-30",
9+
"hot-orange-60",
10+
"hot-orange-30",
11+
"teal-60",
12+
"teal-40",
13+
"purple-50",
14+
"purple-30",
15+
"neutral-60",
16+
"neutral-40",
17+
"cloud-blue-50",
18+
"cloud-blue-30",
19+
"violet-60",
20+
"violet-40",
21+
"blue-60",
22+
"blue-20",
23+
"pink-60",
24+
"pink-40"
25+
],
26+
"specialColors": [
27+
"#4A154B",
28+
"#481A54",
29+
"#0F1E3C",
30+
"#22683E"
31+
]
32+
}
-2.76 KB
Loading
-2.03 KB
Loading
-2.04 KB
Loading

0 commit comments

Comments
 (0)