@atlaskit/inline-dialog
Advanced tools
Comparing version 13.0.10 to 13.0.11
# @atlaskit/inline-dialog | ||
## 13.0.11 | ||
### Patch Changes | ||
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`. | ||
## 13.0.10 | ||
@@ -4,0 +10,0 @@ |
"use strict"; | ||
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard"); | ||
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | ||
var _typeof = require("@babel/runtime/helpers/typeof"); | ||
Object.defineProperty(exports, "__esModule", { | ||
@@ -36,8 +36,12 @@ value: true | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | ||
var packageName = "@atlaskit/inline-dialog"; | ||
var packageVersion = "13.0.10"; | ||
var packageVersion = "13.0.11"; | ||
@@ -44,0 +48,0 @@ var InlineDialog = /*#__PURE__*/function (_Component) { |
@@ -24,12 +24,4 @@ "use strict"; | ||
function _templateObject() { | ||
var data = (0, _taggedTemplateLiteral2.default)(["\n background: ", ";\n border-radius: ", "px;\n box-sizing: content-box; /* do not set this to border-box or it will break the overflow handling */\n color: ", ";\n max-height: ", "px;\n max-width: ", "px;\n padding: ", "px ", "px;\n z-index: ", ";\n\n ", ";\n\n &:focus {\n outline: none;\n }\n"]); | ||
var _templateObject; | ||
_templateObject = function _templateObject() { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
var backgroundColor = (0, _components.themed)({ | ||
@@ -44,4 +36,4 @@ light: _colors.N0, | ||
var Container = _styledComponents.default.div(_templateObject(), backgroundColor, _constants.borderRadius, textColor, (0, _math.multiply)(_constants.gridSize, 56), (0, _math.multiply)(_constants.gridSize, 56), (0, _math.multiply)(_constants.gridSize, 2), (0, _math.multiply)(_constants.gridSize, 3), _constants.layers.dialog, _elevation.e200); | ||
var Container = _styledComponents.default.div(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n background: ", ";\n border-radius: ", "px;\n box-sizing: content-box; /* do not set this to border-box or it will break the overflow handling */\n color: ", ";\n max-height: ", "px;\n max-width: ", "px;\n padding: ", "px ", "px;\n z-index: ", ";\n\n ", ";\n\n &:focus {\n outline: none;\n }\n"])), backgroundColor, _constants.borderRadius, textColor, (0, _math.multiply)(_constants.gridSize, 56), (0, _math.multiply)(_constants.gridSize, 56), (0, _math.multiply)(_constants.gridSize, 2), (0, _math.multiply)(_constants.gridSize, 3), _constants.layers.dialog, _elevation.e200); | ||
exports.Container = Container; |
@@ -1,1 +0,5 @@ | ||
"use strict"; | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); |
{ | ||
"name": "@atlaskit/inline-dialog", | ||
"version": "13.0.10", | ||
"version": "13.0.11", | ||
"sideEffects": false | ||
} |
@@ -8,3 +8,3 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty"; | ||
const packageName = "@atlaskit/inline-dialog"; | ||
const packageVersion = "13.0.10"; | ||
const packageVersion = "13.0.11"; | ||
@@ -11,0 +11,0 @@ class InlineDialog extends Component { |
{ | ||
"name": "@atlaskit/inline-dialog", | ||
"version": "13.0.10", | ||
"version": "13.0.11", | ||
"sideEffects": false | ||
} |
@@ -11,3 +11,3 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck"; | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } } | ||
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } | ||
@@ -20,3 +20,3 @@ import React, { Component } from 'react'; | ||
var packageName = "@atlaskit/inline-dialog"; | ||
var packageVersion = "13.0.10"; | ||
var packageVersion = "13.0.11"; | ||
@@ -23,0 +23,0 @@ var InlineDialog = /*#__PURE__*/function (_Component) { |
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral"; | ||
function _templateObject() { | ||
var data = _taggedTemplateLiteral(["\n background: ", ";\n border-radius: ", "px;\n box-sizing: content-box; /* do not set this to border-box or it will break the overflow handling */\n color: ", ";\n max-height: ", "px;\n max-width: ", "px;\n padding: ", "px ", "px;\n z-index: ", ";\n\n ", ";\n\n &:focus {\n outline: none;\n }\n"]); | ||
var _templateObject; | ||
_templateObject = function _templateObject() { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
import styled from 'styled-components'; | ||
@@ -28,2 +20,2 @@ import { DN50, DN600, N0, N900 } from '@atlaskit/theme/colors'; | ||
export var Container = styled.div(_templateObject(), backgroundColor, borderRadius, textColor, multiply(gridSize, 56), multiply(gridSize, 56), multiply(gridSize, 2), multiply(gridSize, 3), layers.dialog, e200); | ||
export var Container = styled.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background: ", ";\n border-radius: ", "px;\n box-sizing: content-box; /* do not set this to border-box or it will break the overflow handling */\n color: ", ";\n max-height: ", "px;\n max-width: ", "px;\n padding: ", "px ", "px;\n z-index: ", ";\n\n ", ";\n\n &:focus {\n outline: none;\n }\n"])), backgroundColor, borderRadius, textColor, multiply(gridSize, 56), multiply(gridSize, 56), multiply(gridSize, 2), multiply(gridSize, 3), layers.dialog, e200); |
{ | ||
"name": "@atlaskit/inline-dialog", | ||
"version": "13.0.10", | ||
"version": "13.0.11", | ||
"sideEffects": false | ||
} |
{ | ||
"name": "@atlaskit/inline-dialog", | ||
"version": "13.0.10", | ||
"version": "13.0.11", | ||
"description": "An inline dialog is a pop-up container for small amounts of information. It can also contain controls.", | ||
@@ -27,5 +27,5 @@ "publishConfig": { | ||
"dependencies": { | ||
"@atlaskit/analytics-next": "^8.0.0", | ||
"@atlaskit/analytics-next": "^8.2.0", | ||
"@atlaskit/popper": "^5.0.0", | ||
"@atlaskit/theme": "^11.0.0", | ||
"@atlaskit/theme": "^11.3.0", | ||
"@babel/runtime": "^7.0.0", | ||
@@ -41,6 +41,6 @@ "react-node-resolver": "^1.0.1" | ||
"@atlaskit/button": "^15.1.0", | ||
"@atlaskit/datetime-picker": "^10.0.0", | ||
"@atlaskit/datetime-picker": "^10.4.0", | ||
"@atlaskit/docs": "*", | ||
"@atlaskit/icon": "^21.4.0", | ||
"@atlaskit/select": "^13.2.0", | ||
"@atlaskit/icon": "^21.7.0", | ||
"@atlaskit/select": "^15.0.0", | ||
"@atlaskit/single-select": "^10.0.0", | ||
@@ -50,2 +50,3 @@ "@atlaskit/ssr": "*", | ||
"@atlaskit/webdriver-runner": "*", | ||
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1", | ||
"@testing-library/react": "^8.0.1", | ||
@@ -68,3 +69,4 @@ "enzyme": "^3.10.0", | ||
}, | ||
"homepage": "https://atlassian.design/components/inline-dialog/" | ||
"homepage": "https://atlassian.design/components/inline-dialog/", | ||
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1" | ||
} |
66532
17
643
Updated@atlaskit/theme@^11.3.0