@atlaskit/editor-palette
Advanced tools
Comparing version 1.1.0 to 1.2.0
# @atlaskit/editor-palette | ||
## 1.2.0 | ||
### Minor Changes | ||
- [`bf04c417bfd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bf04c417bfd) - Add "border" mark to stage0 ADF schema | ||
## 1.1.0 | ||
@@ -4,0 +10,0 @@ |
@@ -18,2 +18,8 @@ "use strict"; | ||
}); | ||
Object.defineProperty(exports, "hexToEditorBorderPaletteColor", { | ||
enumerable: true, | ||
get: function get() { | ||
return _border.hexToEditorBorderPaletteColor; | ||
} | ||
}); | ||
Object.defineProperty(exports, "hexToEditorTableChartsPaletteColor", { | ||
@@ -32,3 +38,4 @@ enumerable: true, | ||
var _background = require("./background"); | ||
var _border = require("./border"); | ||
var _text = require("./text"); | ||
var _tableCharts = require("./table-charts"); |
{ | ||
"name": "@atlaskit/editor-palette", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"sideEffects": false | ||
} |
export { hexToEditorBackgroundPaletteColor, hexToEditorBackgroundPaletteColorTokenName } from './background'; | ||
export { hexToEditorBorderPaletteColor } from './border'; | ||
export { hexToEditorTextPaletteColor } from './text'; | ||
export { hexToEditorTableChartsPaletteColor } from './table-charts'; |
{ | ||
"name": "@atlaskit/editor-palette", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"sideEffects": false | ||
} |
export { hexToEditorBackgroundPaletteColor, hexToEditorBackgroundPaletteColorTokenName } from './background'; | ||
export { hexToEditorBorderPaletteColor } from './border'; | ||
export { hexToEditorTextPaletteColor } from './text'; | ||
export { hexToEditorTableChartsPaletteColor } from './table-charts'; |
{ | ||
"name": "@atlaskit/editor-palette", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"sideEffects": false | ||
} |
export { hexToEditorBackgroundPaletteColor, hexToEditorBackgroundPaletteColorTokenName, } from './background'; | ||
export { hexToEditorBorderPaletteColor } from './border'; | ||
export { hexToEditorTextPaletteColor } from './text'; | ||
export { hexToEditorTableChartsPaletteColor } from './table-charts'; |
{ | ||
"name": "@atlaskit/editor-palette", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "The editor palette", | ||
@@ -5,0 +5,0 @@ "author": "Atlassian Pty Ltd", |
@@ -116,2 +116,15 @@ <!-- API Report Version: 2.3 --> | ||
// @public (undocumented) | ||
type EditorBorderPalette = typeof editorBorderPalette; | ||
// @public (undocumented) | ||
const editorBorderPalette: { | ||
'#091E4224': 'var(--ds-border, #091E4224)'; | ||
'#758195': 'var(--ds-border-bold, #758195)'; | ||
'#172B4D': 'var(--ds-text, #172B4D)'; | ||
}; | ||
// @public (undocumented) | ||
type EditorBorderPaletteKey = keyof EditorBorderPalette; | ||
// @public (undocumented) | ||
type EditorTableChartsPalette = typeof editorTableChartsPalette; | ||
@@ -210,2 +223,9 @@ | ||
// @public | ||
export function hexToEditorBorderPaletteColor<HexColor extends string>( | ||
hexColor: HexColor, | ||
): HexColor extends EditorBorderPaletteKey | ||
? EditorBorderPalette[HexColor] | ||
: string | undefined; | ||
// @public | ||
export function hexToEditorTableChartsPaletteColor<HexColor extends string>( | ||
@@ -212,0 +232,0 @@ hexColor: HexColor, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89307
30
1258