@pingux/astro 2.202.0-alpha.0 → 2.202.1-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.
- package/lib/cjs/components/Button/Button.stories.js +6 -1
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +3 -3
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +3 -3
- package/lib/cjs/styles/themes/next-gen/variants/button.js +2 -2
- package/lib/components/Button/Button.stories.js +5 -0
- package/lib/styles/themes/next-gen/variants/button.js +2 -2
- package/package.json +1 -1
|
@@ -12,7 +12,7 @@ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequ
|
|
|
12
12
|
_Object$defineProperty(exports, "__esModule", {
|
|
13
13
|
value: true
|
|
14
14
|
});
|
|
15
|
-
exports["default"] = exports.WithLoading = exports.TextIconButton = exports.Primary = exports.InlineButton = exports.Filter = exports.Disabled = exports.Default = exports.Critical = exports.ColorBlockButton = void 0;
|
|
15
|
+
exports["default"] = exports.WithLoading = exports.TextIconButton = exports.Primary = exports.LinkButton = exports.InlineButton = exports.Filter = exports.Disabled = exports.Default = exports.Critical = exports.ColorBlockButton = void 0;
|
|
16
16
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/objectWithoutProperties"));
|
|
17
17
|
var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
|
|
18
18
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
@@ -218,4 +218,9 @@ var WithLoading = exports.WithLoading = function WithLoading(args) {
|
|
|
218
218
|
return (0, _react2.jsx)(_index.Button, (0, _extends2["default"])({}, args, {
|
|
219
219
|
isLoading: true
|
|
220
220
|
}), "Save");
|
|
221
|
+
};
|
|
222
|
+
var LinkButton = exports.LinkButton = function LinkButton() {
|
|
223
|
+
return (0, _react2.jsx)(_index.Button, {
|
|
224
|
+
variant: "link"
|
|
225
|
+
}, "Link Button");
|
|
221
226
|
};
|
|
@@ -781,8 +781,8 @@ declare const _default: {
|
|
|
781
781
|
transition: string;
|
|
782
782
|
fontSize: string;
|
|
783
783
|
textDecoration: string;
|
|
784
|
-
px:
|
|
785
|
-
py:
|
|
784
|
+
px: string;
|
|
785
|
+
py: string;
|
|
786
786
|
'&.is-pressed': {
|
|
787
787
|
textDecoration: string;
|
|
788
788
|
outline: string;
|
|
@@ -1807,7 +1807,7 @@ declare const _default: {
|
|
|
1807
1807
|
color: any;
|
|
1808
1808
|
transition: string;
|
|
1809
1809
|
fontSize: string;
|
|
1810
|
-
py:
|
|
1810
|
+
py: string;
|
|
1811
1811
|
};
|
|
1812
1812
|
};
|
|
1813
1813
|
forms: {
|
|
@@ -478,8 +478,8 @@ declare const buttons: {
|
|
|
478
478
|
transition: string;
|
|
479
479
|
fontSize: string;
|
|
480
480
|
textDecoration: string;
|
|
481
|
-
px:
|
|
482
|
-
py:
|
|
481
|
+
px: string;
|
|
482
|
+
py: string;
|
|
483
483
|
'&.is-pressed': {
|
|
484
484
|
textDecoration: string;
|
|
485
485
|
outline: string;
|
|
@@ -1504,7 +1504,7 @@ declare const buttons: {
|
|
|
1504
1504
|
color: any;
|
|
1505
1505
|
transition: string;
|
|
1506
1506
|
fontSize: string;
|
|
1507
|
-
py:
|
|
1507
|
+
py: string;
|
|
1508
1508
|
};
|
|
1509
1509
|
};
|
|
1510
1510
|
export default buttons;
|
|
@@ -237,8 +237,8 @@ var link = {
|
|
|
237
237
|
transition: 'color, .15s, ease-in-and-out',
|
|
238
238
|
fontSize: 'md',
|
|
239
239
|
textDecoration: 'none',
|
|
240
|
-
px:
|
|
241
|
-
py:
|
|
240
|
+
px: '0px',
|
|
241
|
+
py: '0px',
|
|
242
242
|
'&.is-pressed': {
|
|
243
243
|
textDecoration: 'underline',
|
|
244
244
|
outline: 'none',
|
|
@@ -211,4 +211,9 @@ export var WithLoading = function WithLoading(args) {
|
|
|
211
211
|
return ___EmotionJSX(Button, _extends({}, args, {
|
|
212
212
|
isLoading: true
|
|
213
213
|
}), "Save");
|
|
214
|
+
};
|
|
215
|
+
export var LinkButton = function LinkButton() {
|
|
216
|
+
return ___EmotionJSX(Button, {
|
|
217
|
+
variant: "link"
|
|
218
|
+
}, "Link Button");
|
|
214
219
|
};
|
|
@@ -230,8 +230,8 @@ var link = {
|
|
|
230
230
|
transition: 'color, .15s, ease-in-and-out',
|
|
231
231
|
fontSize: 'md',
|
|
232
232
|
textDecoration: 'none',
|
|
233
|
-
px:
|
|
234
|
-
py:
|
|
233
|
+
px: '0px',
|
|
234
|
+
py: '0px',
|
|
235
235
|
'&.is-pressed': {
|
|
236
236
|
textDecoration: 'underline',
|
|
237
237
|
outline: 'none',
|