Skip to content

Commit 6517a0c

Browse files
authored
Merge pull request #618 from dxc-technology/3.12.0
Release 3.12.0
2 parents c5ea427 + 386c006 commit 6517a0c

File tree

13 files changed

+121
-88
lines changed

13 files changed

+121
-88
lines changed

.grenrc.yml

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,4 @@
11
---
22
dataSource: "milestones"
33
prefix: ""
4-
ignoreLabels:
5-
- "category: a11y :wheelchair:"
6-
- "category: assets :file_folder:"
7-
- "category: design tokens :nail_care:"
8-
- "category: documentation :notebook:"
9-
- "category: site :computer:"
10-
- "category: ui-kit :triangular_ruler:"
11-
- "component: accordion"
12-
- "component: alert"
13-
- "component: autocomplete"
14-
- "component: box"
15-
- "component: button"
16-
- "component: card"
17-
- "component: checkbox"
18-
- "component: chip"
19-
- "component: container"
20-
- "component: date-picker"
21-
- "component: dialog"
22-
- "component: dropdown"
23-
- "component: footer"
24-
- "component: form"
25-
- "component: header"
26-
- "component: heading"
27-
- "component: input-text"
28-
- "component: input-password"
29-
- "component: input-number"
30-
- "component: text-area"
31-
- "component: toggle group"
32-
- "component: link"
33-
- "component: progress-bar"
34-
- "component: radio"
35-
- "component: select"
36-
- "component: sidenav"
37-
- "component: slider"
38-
- "component: spinner"
39-
- "component: switch"
40-
- "component: upload"
41-
- "component: wizard"
42-
- "type: enhancement :pencil2:"
43-
- "type: disparity :warning:"
44-
- "status: work in progress :+1:"
45-
- "status: under evaluation :mag_right:"
46-
- "task: story :white_check_mark:"
47-
- "task: epic :pushpin:"
48-
groupBy: {"Documentation:": ["category: documentation :notebook:"], "UI-Kit:": ["category: ui-kit :triangular_ruler:"], "Fixes:": ["type: disparity :warning:"], "Site": ["category: site :computer:"]}
49-
milestoneMatch: "Release {{tag_name}}"
504
changelogFilename: "CHANGELOG.md"

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
## 3.11.0 (28/10/2021)
4+
5+
## What's Changed
6+
7+
### Documentation
8+
9+
* Accordion :focus state update by @aweell in https://github.com/dxc-technology/halstack-style-guide/pull/584
10+
* Fix accordion component specs by @aweell in https://github.com/dxc-technology/halstack-style-guide/pull/589
11+
* Component footer documentation update by @aweell in https://github.com/dxc-technology/halstack-style-guide/pull/592
12+
* Update contributing/design documentation by @aweell in https://github.com/dxc-technology/halstack-style-guide/pull/595
13+
* Component tag documentation update by @aweell in https://github.com/dxc-technology/halstack-style-guide/pull/590
14+
* Header documentation update by @aweell in https://github.com/dxc-technology/halstack-style-guide/pull/599
15+
* Select documentation update by @aweell in https://github.com/dxc-technology/halstack-style-guide/pull/602
16+
* Documentation fixes by @aweell in https://github.com/dxc-technology/halstack-style-guide/pull/603
17+
* Sidenav documentation fixes by @aweell in https://github.com/dxc-technology/halstack-style-guide/pull/585
18+
19+
### UI Kit
20+
21+
* Update UI Kit select and sidenav components by @aweell in https://github.com/dxc-technology/halstack-style-guide/pull/604
22+
* Add component status identifiers by @aweell in https://github.com/dxc-technology/halstack-style-guide/pull/597
23+
24+
**Full Changelog**: https://github.com/dxc-technology/halstack-style-guide/compare/3.10.0...3.11.0
25+
---
26+
327
## 3.10.0 (18/10/2021)
428

529
#### Documentation:
55.5 KB
Binary file not shown.
-25.6 KB
Binary file not shown.

guidelines/components/box/README.md

Lines changed: 57 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,73 @@
11
# Box
22

3-
![box-overview](images/box_overview.png)
3+
There are different ways to organise the content on the webpage to facilitate the user according to his nature of interaction with the content like forms, tables, lists etc. One of the best ways to organize the webpage is by using groups of related content, this can be achieved by using a dedicated Box component.
44

55

6-
There are different ways to organise the content on the webpage to facilitate the user according to his nature of interaction with the content like forms, tables, lists etc. One of the best ways to organize the webpage is by using groups of related content, this can be achieved by using a dedicated Box component.
6+
## Usage
77

8-
## Appearance
8+
* Organize the group layout with the information presented clearly by applying the styles in the box container.
9+
* Box can be reused accros the UI, avoid using different variants in the same page.
10+
* Use always a minimun padding and always leave enough margin when stacking boxes so the shadows don't ovelap.
911

10-
Just as the name indicates the content in the webpage can be grouped using the Box Component, which is a simple wrapper component used to organise the layout within the box container.
12+
## Variants
1113

12-
The Box has properties like margins, padding, borders, shadows, background colors etc. and organise the layout design serving as a container for interactive / non-interactive components like icons, labels, paragraphs and buttons etc.
14+
![Box component variants](images/box_variants.png)
1315

14-
### Modes
16+
_Box component variants_
1517

16-
#### No-shadow:
17-
Can be used as a container, there's no visual appearance of the box in the UI, just works as a simple <div>
18+
The `shadow-default` and `shadow-high` variants can be used to create clear distictions between sections of content without the use of borders or separators, the `no-shadow` helps in the process of building the layout. Note that when using an application `background-color` different than white, the limits of the box are goig to be clearly visible no matter the variant choosed.
19+
## Content
1820

19-
#### Shadow depth 1:
20-
Regular visualization of the box, the container can be used to create a clear distinction between different sections of the UI.
21+
Any type of content can be place inside the box component.
2122

22-
#### Shadow depth 2:
23-
Basically the same as the previous on but with a deeper shadow.
2423

2524
## Design specifications
2625

26+
27+
![Component design specifications](images/box_specs.png)
28+
29+
_Component design specifications_
30+
31+
### Color
32+
33+
| Component token | Element | Core token | Value |
34+
| :------------------------------ | :--------------------------- | :--------------------- | :------------------------ |
35+
| `backgroundColor` | Container | `color-white` | #ffffff |
36+
| `borderColor` | Container | `color-transparent` | #transparent |
37+
| `noneShadowDepthShadowColor` | Shadow | `color-transparent` | transparent |
38+
| `oneShadowDepthShadowColor` | Shadow | - | #00000033 |
39+
| `twoShadowDepthShadowColor` | Shadow | - | #00000033 |
40+
41+
42+
2743
### Border
2844

29-
| Property | Element | Core token | Value |
45+
| Component token | Element | Core token | Value |
3046
| :------------------------------ | :--------------------------- | :--------------------- | :------------------------ |
31-
| `border-width` | Container border | `border-width-0` | 0 |
32-
| `border-radius` | Container border | `border-radius-medium` | 0.25rem / 4px |
47+
| `borderThickness` | Container border | `border-width-0` | 0 |
48+
| `borderRadius` | Container border | `border-radius-medium` | 0.25rem / 4px |
49+
| `borderStyle` | Container border | `border-style-none` | none |
50+
51+
52+
### Shadow
53+
54+
| Component token | Element | Core token | Value |
55+
| :------------------------------ | :--------------------------- | :--------------------- | :------------------------------ |
56+
| `noneShadowDepthShadowOffsetX` | Container shadow | - | none |
57+
| `noneShadowDepthShadowOffsetY` | Container shadow | - | none |
58+
| `noneShadowDepthShadowBlur` | Container shadow | - | none |
59+
| `noneShadowDepthShadowSpread` | Container shadow | - | none |
60+
| `oneShadowDepthShadowOffsetX` | Container shadow | - | 0x |
61+
| `oneShadowDepthShadowOffsetY` | Container shadow | - | 3px |
62+
| `oneShadowDepthShadowBlur` | Container shadow | - | 6px |
63+
| `oneShadowDepthShadowSpread` | Container shadow | - | 0px |
64+
| `twoShadowDepthShadowOffsetX` | Container shadow | - | 0x |
65+
| `twoShadowDepthShadowOffsetY` | Container shadow | - | 3px |
66+
| `twoShadowDepthShadowBlur` | Container shadow | - | 10px |
67+
| `twoShadowDepthShadowSpread` | Container shadow | - | 0px |
68+
69+
70+
3371
### Width
3472

3573
In the cases of `fillParent` and `fillContent` the box is going to behave as a fluid container occupying the space the parent leaves for its children or adapting its size to the children it the box has. Instead of using a fluid approach, you can set a fixed size, choosing between `small`, `medium` and `large` properties.
@@ -72,17 +110,11 @@ padding | value
72110
And also apply different values to each side of the component:
73111
```top``` ```bottom``` ```left``` ```right```
74112

75-
## Content
76-
77-
Any type of content can be place inside the box component.
78-
79-
80-
## User interface considerations
113+
## Links and references
81114

82-
83-
* Organize the group layout with the information presented clearly by applying the styles in the box container.
84-
* Box can be reused accros the UI, avoid using different shadow depths in the same page.
85-
* Use always a minimun padding and always leave enough margin when stacking boxes so the shadows don't ovelap.
115+
* [React component](https://developer.dxc.com/tools/react/next/#/components/box)
116+
* [Angular component](https://developer.dxc.com/tools/angular/next/#/components/box)
117+
* [Adobe XD component](https://xd.adobe.com/view/5dbf0c6e-c116-4fe2-970e-344911a74201-08ec/)
86118

87119
____________________________________________________________
88120

-27.2 KB
Binary file not shown.
10.5 KB
Loading
15.2 KB
Loading

guidelines/components/button/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ Variants: **primary**, **secondary** and **text**.
2222
![Example of the button component variants](images/button_variants.png "Example of the button component variants")
2323
_Example of the button component variants_
2424

25+
| Variant | Description |
26+
| :------ | :---------- |
27+
| Primary | For the principal call to action on the page; primary buttons should only appear once per screen (not including the application header or in a modal dialog) |
28+
| Secondary | For less prominent actions; secondary buttons can be used in isolation or paired with a primary button when there are multiple calls to action |
29+
| Text | For the least pronounced actions; often used in conjunction with a primary button (e.g. cancel in a modal dialog) |
30+
2531
## States
2632

2733
The states are the different behaviors of the button component based on the interaction of the user.

guidelines/components/tag/README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,11 @@ _Design specification for the tag component_
4848

4949
### Color
5050

51-
| Component token | Element | Core token | Value |
52-
| :---------------- | :--------------- | :------------- | :--------- |
53-
| `fontColor` | Label | `color-black` | `#000000` |
54-
| `iconColor` | Icon | `color-white` | `#ffffff` |
51+
| Component token | Element | Core token | Value |
52+
| :---------------- | :--------------- | :---------------- | :--------- |
53+
| `fontColor` | Label | `color-black` | `#000000` |
54+
| `iconColor` | Icon | `color-white` | `#ffffff` |
55+
| `focusColor` | Container | `color-blue-600` | `#0095ff` |
5556

5657
*_The `tag` component is using the `box` underneath, the values for the background are inherited from the definition in the component. By default, the background color is white and not themable, so it will be the same for both components._
5758

@@ -75,10 +76,12 @@ _Design specification for the tag component_
7576

7677
### Spacing
7778

78-
| Property | Element | Core token | Value |
79-
| :-------------- | :--------------- | :------------ | :---------- |
80-
| `padding-left` | Label | `spacing-05` | 1rem / 16px |
81-
| `padding-right` | Label | `spacing-05` | 1rem / 16px |
79+
| Component token | Element | Core token | Value |
80+
| :--------------------- | :--------------- | :------------ | :---------- |
81+
| `labelPaddingTop` | Label | `spacing-00` | 0rem / 0px |
82+
| `labelPaddingBottom` | Label | `spacing-00` | 0rem / 0px |
83+
| `labelPaddingLeft` | Label | `spacing-05` | 1rem / 16px |
84+
| `labelPaddingRight` | Label | `spacing-05` | 1rem / 16px |
8285

8386

8487
### Size

0 commit comments

Comments
 (0)