hpe-design-tokens@0.3.0
Pre-release
Pre-release
taysea
released this
21 Nov 00:54
·
357 commits
to master
since this release
Breaking changes
dimension.large.json has been renamed to dimension.medium.json, meaning large
export is now medium
.
For CSS:
- hpe-design-tokens/dist/css/dimension.large.css
+ hpe-design-tokens/dist/css/dimension.medium.css
For ESM:
- import { large } from 'hpe-design-tokens';
+ import { medium } from 'hpe-design-tokens';
...
- large.hpe.spacing.medium
+ medium.hpe.spacing.medium
For CJS:
- const { large } = require('hpe-design-tokens');
+ const { large } = require('hpe-design-tokens');
...
- large.hpe.spacing.medium
+ medium.hpe.spacing.medium
color.light.json, color.dark.json
- Renamed
color.background.overlay
tocolor.background.screenOverlay
- Renamed
background.status.[statusKind]
tobackground.[statusKind]
(e.g.,background.status.info
—>background.info
) - Renamed
color.icon.status.[statusKind]
tocolor.icon.[statusKind]
(e.g.,color.icon.status.info
—>color.icon.info
) - Renamed
elevation
tokens toshadow
(e.g.,elevation.small
—>shadow.small
) - Removed
color.text.inverse.default
- Removed
Weak
DataVis colors (e.g.,color.dataVis.20Weak
)
element.default.json
- Renamed
component
tokens toelement
tokens (eg.,component.medium.fontSize
—>element.medium.fontSize
)
component.default.json
- Renamed formField
valueText
tokens tovalue
(e.g.,formField.valueText.enabled.textColor
-->formField.value.enabled.textColor
) - Renamed formField
placeholderText
tokens toplaceholder
(e.g.,formField.placeholderText.enabled.textColor
-->formField.placeholder.enabled.textColor
) - Renamed formField
errorText
tokens toerror
(e.g.,formField.errorText.enabled.textColor
-->formField.error.enabled.textColor
) - Renamed formField
labelText
tokens tolabel
(e.g.,formField.labelText.enabled.textColor
-->formField.label.enabled.textColor
) - Renamed formField
infoText
tokens toinfo
(e.g.,formField.infoText.enabled.textColor
-->formField.info.enabled.textColor
) - Renamed formField
helpText
tokens tohelp
(e.g.,formField.helpText.enabled.textColor
-->formField.help.enabled.textColor
) - Removed Anchor
emphasized
tokens
primitive.base.json
- Removed
base.color.dataVis.green1000
- Removed
base.color.dataVis.green325
- Removed
base.color.dataVis.green3250opacity50
- Removed
base.color.dataVis.pink1000
- Removed
base.color.dataVis.pink325
- Removed
base.color.dataVis.pink325-opacity50
- Removed
base.color.dataVis.purple1000
- Removed
base.color.dataVis.purple325
- Removed
base.color.dataVis.purple325-opacity50
- Removed
base.color.dataVis.blue1000
- Removed
base.color.dataVis.blue325
- Removed
base.color.dataVis.blue325-opacity50
Added
component.default.json
button.[t-shirt size].[kind].iconOnly.minWidth
(e.g.,button.medium.primary.iconOnly.minWidth
)formField.error.status.critical.iconColor
Updated
color.light.json
color.dataVis.categorical.80
frombase.color.dataVis.blue325
tobase.color.dataVis.grape1
devDependencies
style-dictionary
from^3.9.2
to^4.2.0
style-dictionary-utils
from^2.0.7
to^3.0.0