baseui
Version:
A React Component library implementing the Base design language
48 lines (46 loc) • 1.31 kB
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SHAPE = exports.ROLE = exports.PLACEMENT = exports.HIERARCHY = exports.COLOR = 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 HIERARCHY = exports.HIERARCHY = Object.freeze({
primary: 'primary',
secondary: 'secondary'
});
const SHAPE = exports.SHAPE = Object.freeze({
pill: 'pill',
rectangle: 'rectangle'
});
const COLOR = exports.COLOR = Object.freeze({
accent: 'accent',
primary: 'primary',
positive: 'positive',
negative: 'negative',
warning: 'warning'
});
const PLACEMENT = exports.PLACEMENT = Object.freeze({
topLeft: 'topLeft',
topRight: 'topRight',
bottomRight: 'bottomRight',
bottomLeft: 'bottomLeft',
topLeftEdge: 'topLeftEdge',
topEdge: 'topEdge',
topRightEdge: 'topRightEdge',
bottomRightEdge: 'bottomRightEdge',
bottomEdge: 'bottomEdge',
bottomLeftEdge: 'bottomLeftEdge',
leftTopEdge: 'leftTopEdge',
rightTopEdge: 'rightTopEdge',
rightBottomEdge: 'rightBottomEdge',
leftBottomEdge: 'leftBottomEdge'
});
const ROLE = exports.ROLE = Object.freeze({
badge: 'badge',
notificationCircle: 'notificationCircle',
hintDot: 'hintDot'
});