@pingux/astro 2.210.1-alpha.0 → 2.210.2-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,6 +57,26 @@ var buttons = {
57
57
  borderColor: 'transparent'
58
58
  }
59
59
  },
60
+ criticalLink: {
61
+ '&': _nextGenDarkMode["default"].buttons.criticalLink,
62
+ '&:hover': _nextGenDarkMode["default"].buttons.criticalLink,
63
+ '&:not(.disabled):hover': {
64
+ color: 'critical.bright',
65
+ borderColor: 'transparent'
66
+ },
67
+ '&.is-pressed': {
68
+ borderColor: 'transparent'
69
+ },
70
+ '&:active': {
71
+ borderColor: 'transparent'
72
+ },
73
+ '&:focus': {
74
+ borderColor: 'transparent'
75
+ },
76
+ '&.is-focused': {
77
+ borderColor: 'transparent'
78
+ }
79
+ },
60
80
  iconButtons: _objectSpread(_objectSpread({}, _nextGenDarkMode["default"].buttons.iconButtons), {}, {
61
81
  base: _objectSpread(_objectSpread({}, _nextGenDarkMode["default"].buttons.iconButtons.base), {}, {
62
82
  ':focus': _objectSpread(_objectSpread({}, _nextGenDarkMode["default"].buttons.defaultFocus), {}, {
@@ -34,6 +34,26 @@ declare const _default: {
34
34
  borderColor: string;
35
35
  };
36
36
  };
37
+ criticalLink: {
38
+ '&': any;
39
+ '&:hover': any;
40
+ '&:not(.disabled):hover': {
41
+ color: string;
42
+ borderColor: string;
43
+ };
44
+ '&.is-pressed': {
45
+ borderColor: string;
46
+ };
47
+ '&:active': {
48
+ borderColor: string;
49
+ };
50
+ '&:focus': {
51
+ borderColor: string;
52
+ };
53
+ '&.is-focused': {
54
+ borderColor: string;
55
+ };
56
+ };
37
57
  iconButtons: any;
38
58
  filter: {
39
59
  '&:not(.disabled):hover': {
@@ -57,6 +57,26 @@ var buttons = {
57
57
  borderColor: 'transparent'
58
58
  }
59
59
  },
60
+ criticalLink: {
61
+ '&': _nextGen["default"].buttons.criticalLink,
62
+ '&:hover': _nextGen["default"].buttons.criticalLink,
63
+ '&:not(.disabled):hover': {
64
+ color: 'critical.bright',
65
+ borderColor: 'transparent'
66
+ },
67
+ '&.is-pressed': {
68
+ borderColor: 'transparent'
69
+ },
70
+ '&:active': {
71
+ borderColor: 'transparent'
72
+ },
73
+ '&:focus': {
74
+ borderColor: 'transparent'
75
+ },
76
+ '&.is-focused': {
77
+ borderColor: 'transparent'
78
+ }
79
+ },
60
80
  iconButtons: _objectSpread(_objectSpread({}, _nextGen["default"].buttons.iconButtons), {}, {
61
81
  base: _objectSpread(_objectSpread({}, _nextGen["default"].buttons.iconButtons.base), {}, {
62
82
  ':focus': _objectSpread(_objectSpread({}, _nextGen["default"].buttons.defaultFocus), {}, {
@@ -5,7 +5,7 @@ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequ
5
5
  _Object$defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
- exports["default"] = exports.Success = exports.Primary = exports.Link = exports.Inline = exports.Default = exports.Critical = void 0;
8
+ exports["default"] = exports.Success = exports.Primary = exports.Link = exports.Inline = exports.Default = exports.CriticalLink = exports.Critical = void 0;
9
9
  var _react = _interopRequireDefault(require("react"));
10
10
  var _index = require("../../../index");
11
11
  var _withUiLibraryCss = _interopRequireDefault(require("../withUiLibraryCss"));
@@ -43,4 +43,9 @@ var Link = exports.Link = function Link() {
43
43
  return (0, _react2.jsx)(_index.Button, {
44
44
  variant: "link"
45
45
  }, "Button Text");
46
+ };
47
+ var CriticalLink = exports.CriticalLink = function CriticalLink() {
48
+ return (0, _react2.jsx)(_index.Button, {
49
+ variant: "criticalLink"
50
+ }, "Button Text");
46
51
  };
@@ -50,6 +50,26 @@ var buttons = {
50
50
  borderColor: 'transparent'
51
51
  }
52
52
  },
53
+ criticalLink: {
54
+ '&': theme.buttons.criticalLink,
55
+ '&:hover': theme.buttons.criticalLink,
56
+ '&:not(.disabled):hover': {
57
+ color: 'critical.bright',
58
+ borderColor: 'transparent'
59
+ },
60
+ '&.is-pressed': {
61
+ borderColor: 'transparent'
62
+ },
63
+ '&:active': {
64
+ borderColor: 'transparent'
65
+ },
66
+ '&:focus': {
67
+ borderColor: 'transparent'
68
+ },
69
+ '&.is-focused': {
70
+ borderColor: 'transparent'
71
+ }
72
+ },
53
73
  iconButtons: _objectSpread(_objectSpread({}, theme.buttons.iconButtons), {}, {
54
74
  base: _objectSpread(_objectSpread({}, theme.buttons.iconButtons.base), {}, {
55
75
  ':focus': _objectSpread(_objectSpread({}, theme.buttons.defaultFocus), {}, {
@@ -50,6 +50,26 @@ var buttons = {
50
50
  borderColor: 'transparent'
51
51
  }
52
52
  },
53
+ criticalLink: {
54
+ '&': theme.buttons.criticalLink,
55
+ '&:hover': theme.buttons.criticalLink,
56
+ '&:not(.disabled):hover': {
57
+ color: 'critical.bright',
58
+ borderColor: 'transparent'
59
+ },
60
+ '&.is-pressed': {
61
+ borderColor: 'transparent'
62
+ },
63
+ '&:active': {
64
+ borderColor: 'transparent'
65
+ },
66
+ '&:focus': {
67
+ borderColor: 'transparent'
68
+ },
69
+ '&.is-focused': {
70
+ borderColor: 'transparent'
71
+ }
72
+ },
53
73
  iconButtons: _objectSpread(_objectSpread({}, theme.buttons.iconButtons), {}, {
54
74
  base: _objectSpread(_objectSpread({}, theme.buttons.iconButtons.base), {}, {
55
75
  ':focus': _objectSpread(_objectSpread({}, theme.buttons.defaultFocus), {}, {
@@ -35,4 +35,9 @@ export var Link = function Link() {
35
35
  return ___EmotionJSX(Button, {
36
36
  variant: "link"
37
37
  }, "Button Text");
38
+ };
39
+ export var CriticalLink = function CriticalLink() {
40
+ return ___EmotionJSX(Button, {
41
+ variant: "criticalLink"
42
+ }, "Button Text");
38
43
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.210.1-alpha.0",
3
+ "version": "2.210.2-alpha.0",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",