@pingux/astro 2.74.0-alpha.0 → 2.74.0-alpha.1

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.
@@ -5,5 +5,5 @@ export default _default;
5
5
  export declare const Default: StoryFn<RockerButtonGroupProps>;
6
6
  export declare const Uncontrolled: StoryFn;
7
7
  export declare const Controlled: StoryFn;
8
- export declare const withCustomSelectedColors: StoryFn;
9
8
  export declare const DisabledSingleButton: StoryFn;
9
+ export declare const customColors: StoryFn;
@@ -8,7 +8,7 @@ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequ
8
8
  _Object$defineProperty(exports, "__esModule", {
9
9
  value: true
10
10
  });
11
- exports.withCustomSelectedColors = exports["default"] = exports.Uncontrolled = exports.DisabledSingleButton = exports.Default = exports.Controlled = void 0;
11
+ exports["default"] = exports.customColors = exports.Uncontrolled = exports.DisabledSingleButton = exports.Default = exports.Controlled = void 0;
12
12
  var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/slicedToArray"));
13
13
  var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/objectDestructuringEmpty"));
14
14
  var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
@@ -93,7 +93,23 @@ var Controlled = function Controlled() {
93
93
  }, "Maybe"));
94
94
  };
95
95
  exports.Controlled = Controlled;
96
- var withCustomSelectedColors = function withCustomSelectedColors() {
96
+ var DisabledSingleButton = function DisabledSingleButton() {
97
+ return (0, _react2.jsx)(_index.RockerButtonGroup, {
98
+ defaultSelectedKey: "or",
99
+ disabledKeys: ['and']
100
+ }, (0, _react2.jsx)(_index.RockerButton, {
101
+ name: "and",
102
+ key: "and"
103
+ }, "And"), (0, _react2.jsx)(_index.RockerButton, {
104
+ name: "or",
105
+ key: "or"
106
+ }, "Or"), (0, _react2.jsx)(_index.RockerButton, {
107
+ name: "maybe",
108
+ key: "maybe"
109
+ }, "Maybe"));
110
+ };
111
+ exports.DisabledSingleButton = DisabledSingleButton;
112
+ var customColors = function customColors() {
97
113
  return (0, _react2.jsx)(_index.RockerButtonGroup, null, (0, _react2.jsx)(_index.RockerButton, {
98
114
  name: "and",
99
115
  key: "and",
@@ -110,25 +126,8 @@ var withCustomSelectedColors = function withCustomSelectedColors() {
110
126
  name: "maybe",
111
127
  key: "maybe",
112
128
  selectedStyles: {
113
- bg: 'accent.30',
114
- color: 'yellow'
129
+ bg: 'decorative.4'
115
130
  }
116
131
  }, "Maybe"));
117
132
  };
118
- exports.withCustomSelectedColors = withCustomSelectedColors;
119
- var DisabledSingleButton = function DisabledSingleButton() {
120
- return (0, _react2.jsx)(_index.RockerButtonGroup, {
121
- defaultSelectedKey: "or",
122
- disabledKeys: ['and']
123
- }, (0, _react2.jsx)(_index.RockerButton, {
124
- name: "and",
125
- key: "and"
126
- }, "And"), (0, _react2.jsx)(_index.RockerButton, {
127
- name: "or",
128
- key: "or"
129
- }, "Or"), (0, _react2.jsx)(_index.RockerButton, {
130
- name: "maybe",
131
- key: "maybe"
132
- }, "Maybe"));
133
- };
134
- exports.DisabledSingleButton = DisabledSingleButton;
133
+ exports.customColors = customColors;
@@ -76,7 +76,22 @@ export var Controlled = function Controlled() {
76
76
  key: "maybe"
77
77
  }, "Maybe"));
78
78
  };
79
- export var withCustomSelectedColors = function withCustomSelectedColors() {
79
+ export var DisabledSingleButton = function DisabledSingleButton() {
80
+ return ___EmotionJSX(RockerButtonGroup, {
81
+ defaultSelectedKey: "or",
82
+ disabledKeys: ['and']
83
+ }, ___EmotionJSX(RockerButton, {
84
+ name: "and",
85
+ key: "and"
86
+ }, "And"), ___EmotionJSX(RockerButton, {
87
+ name: "or",
88
+ key: "or"
89
+ }, "Or"), ___EmotionJSX(RockerButton, {
90
+ name: "maybe",
91
+ key: "maybe"
92
+ }, "Maybe"));
93
+ };
94
+ export var customColors = function customColors() {
80
95
  return ___EmotionJSX(RockerButtonGroup, null, ___EmotionJSX(RockerButton, {
81
96
  name: "and",
82
97
  key: "and",
@@ -93,23 +108,7 @@ export var withCustomSelectedColors = function withCustomSelectedColors() {
93
108
  name: "maybe",
94
109
  key: "maybe",
95
110
  selectedStyles: {
96
- bg: 'accent.30',
97
- color: 'yellow'
111
+ bg: 'decorative.4'
98
112
  }
99
113
  }, "Maybe"));
100
- };
101
- export var DisabledSingleButton = function DisabledSingleButton() {
102
- return ___EmotionJSX(RockerButtonGroup, {
103
- defaultSelectedKey: "or",
104
- disabledKeys: ['and']
105
- }, ___EmotionJSX(RockerButton, {
106
- name: "and",
107
- key: "and"
108
- }, "And"), ___EmotionJSX(RockerButton, {
109
- name: "or",
110
- key: "or"
111
- }, "Or"), ___EmotionJSX(RockerButton, {
112
- name: "maybe",
113
- key: "maybe"
114
- }, "Maybe"));
115
114
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.74.0-alpha.0",
3
+ "version": "2.74.0-alpha.1",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",