/* * Copyright 2015 Palantir Technologies, Inc. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ const ns = "[Blueprint]"; export const CLAMP_MIN_MAX = ns + ` clamp: max cannot be less than min`; export const ALERT_WARN_CANCEL_PROPS = ns + ` cancelButtonText and onCancel should be set together.`; export const ALERT_WARN_CANCEL_ESCAPE_KEY = ns + ` canEscapeKeyCancel enabled without onCancel or onClose handler.`; export const ALERT_WARN_CANCEL_OUTSIDE_CLICK = ns + ` canOutsideClickCancel enabled without onCancel or onClose handler.`; export const ALIGN_INDICATOR_LEFT = ns + ` alignIndicator="left" is deprecated. Please use alignIndicator="start" instead.`; export const ALIGN_INDICATOR_RIGHT = ns + ` alignIndicator="right" is deprecated. Please use alignIndicator="end" instead.`; export const ALIGN_INDICATOR_CENTER = ns + `alignIndicator="center" is not supported on control components and will be ignored.`; export const ALIGN_TEXT_LEFT = ns + ` alignText="left" is deprecated. Please use alignText="start" instead.`; export const ALIGN_TEXT_RIGHT = ns + ` alignText="right" is deprecated. Please use alignText="end" instead.`; export const BUTTON_WARN_MINIMAL = ns + `