baseui
Version:
A React Component library implementing the Base design language
51 lines (48 loc) • 1.19 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SUPPORTED_KIND = exports.SIZE = exports.KIND = exports.HIERARCHY = exports.DEPRECATED_KIND = void 0;
/*
Copyright (c) Uber Technologies, Inc.
This source code is licensed under the MIT license found in the
LICENSE file in the root directory of this source tree.
*/
const SIZE = exports.SIZE = {
xSmall: 'xSmall',
small: 'small',
medium: 'medium',
large: 'large'
};
const HIERARCHY = exports.HIERARCHY = Object.freeze({
primary: 'primary',
secondary: 'secondary'
});
const DEPRECATED_KIND = exports.DEPRECATED_KIND = Object.freeze({
neutral: 'neutral',
primary: 'primary',
accent: 'accent',
positive: 'positive',
warning: 'warning',
negative: 'negative',
black: 'black',
brown: 'brown'
});
const SUPPORTED_KIND = exports.SUPPORTED_KIND = Object.freeze({
custom: 'custom',
gray: 'gray',
red: 'red',
orange: 'orange',
yellow: 'yellow',
green: 'green',
blue: 'blue',
purple: 'purple',
magenta: 'magenta',
teal: 'teal',
lime: 'lime'
});
// todo: dynamic identity map generation
const KIND = exports.KIND = {
...DEPRECATED_KIND,
...SUPPORTED_KIND
};