@pingux/astro 2.154.1 → 2.155.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.
- package/lib/cjs/components/Button/Buttons.styles.d.ts +859 -0
- package/lib/cjs/components/Button/Buttons.styles.js +17 -1
- package/lib/cjs/components/Card/Card.mdx +5 -1
- package/lib/cjs/components/Card/Card.stories.d.ts +1 -0
- package/lib/cjs/components/Card/Card.stories.js +11 -2
- package/lib/cjs/components/SearchNav/MoreItemsPopover.d.ts +4 -0
- package/lib/cjs/components/SearchNav/MoreItemsPopover.js +74 -0
- package/lib/cjs/components/SearchNav/SearchNav.chromatic.stories.d.ts +6 -0
- package/lib/cjs/components/SearchNav/SearchNav.chromatic.stories.js +101 -0
- package/lib/cjs/components/SearchNav/SearchNav.d.ts +13 -0
- package/lib/cjs/components/SearchNav/SearchNav.js +218 -0
- package/lib/cjs/components/SearchNav/SearchNav.stories.d.ts +6 -0
- package/lib/cjs/components/SearchNav/SearchNav.stories.js +76 -0
- package/lib/cjs/components/SearchNav/SearchNav.styles.d.ts +33 -0
- package/lib/cjs/components/SearchNav/SearchNav.styles.js +51 -0
- package/lib/cjs/components/SearchNav/SearchNav.test.d.ts +1 -0
- package/lib/cjs/components/SearchNav/SearchNav.test.js +610 -0
- package/lib/cjs/components/SearchNav/SearchNavTab.d.ts +4 -0
- package/lib/cjs/components/SearchNav/SearchNavTab.js +69 -0
- package/lib/cjs/components/SearchNav/index.d.ts +1 -0
- package/lib/cjs/components/SearchNav/index.js +14 -0
- package/lib/cjs/components/Text/Text.styles.d.ts +2548 -0
- package/lib/cjs/components/Text/Text.styles.js +23 -1
- package/lib/cjs/index.d.ts +2 -0
- package/lib/cjs/index.js +45 -26
- package/lib/cjs/styles/colors.d.ts +6 -0
- package/lib/cjs/styles/colors.js +4 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +1 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +2 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +9 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +10 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/cards.d.ts +14 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/cards.js +18 -4
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.d.ts +12 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.js +12 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +3 -2
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +37 -2
- package/lib/cjs/styles/themes/next-gen/next-gen.js +3 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +9 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.js +10 -0
- package/lib/cjs/styles/themes/next-gen/variants/cards.d.ts +19 -2
- package/lib/cjs/styles/themes/next-gen/variants/cards.js +14 -5
- package/lib/cjs/styles/themes/next-gen/variants/searchNav.d.ts +6 -0
- package/lib/cjs/styles/themes/next-gen/variants/searchNav.js +14 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.js +2 -1
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +5 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +2 -0
- package/lib/cjs/styles/variants/variants.js +2 -0
- package/lib/cjs/types/searchNav.d.ts +49 -0
- package/lib/cjs/types/searchNav.js +6 -0
- package/lib/components/Button/Buttons.styles.js +18 -2
- package/lib/components/Card/Card.mdx +5 -1
- package/lib/components/Card/Card.stories.js +8 -0
- package/lib/components/SearchNav/MoreItemsPopover.js +60 -0
- package/lib/components/SearchNav/SearchNav.chromatic.stories.js +86 -0
- package/lib/components/SearchNav/SearchNav.js +203 -0
- package/lib/components/SearchNav/SearchNav.stories.js +61 -0
- package/lib/components/SearchNav/SearchNav.styles.js +43 -0
- package/lib/components/SearchNav/SearchNav.test.js +601 -0
- package/lib/components/SearchNav/SearchNavTab.js +55 -0
- package/lib/components/SearchNav/index.js +1 -0
- package/lib/components/Text/Text.styles.js +21 -1
- package/lib/index.js +2 -0
- package/lib/styles/colors.js +4 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +2 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +10 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/cards.js +18 -4
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/text.js +12 -0
- package/lib/styles/themes/next-gen/convertedComponentList.js +3 -2
- package/lib/styles/themes/next-gen/next-gen.js +3 -0
- package/lib/styles/themes/next-gen/variants/button.js +10 -0
- package/lib/styles/themes/next-gen/variants/cards.js +14 -5
- package/lib/styles/themes/next-gen/variants/searchNav.js +6 -0
- package/lib/styles/themes/next-gen/variants/text.js +2 -1
- package/lib/styles/themes/next-gen/variants/variants.js +2 -0
- package/lib/styles/variants/variants.js +2 -0
- package/lib/types/searchNav.js +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _Object$keys = require("@babel/runtime-corejs3/core-js-stable/object/keys");
|
|
4
|
+
var _Object$getOwnPropertySymbols = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols");
|
|
5
|
+
var _filterInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/filter");
|
|
6
|
+
var _Object$getOwnPropertyDescriptor = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor");
|
|
7
|
+
var _forEachInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/for-each");
|
|
8
|
+
var _Object$getOwnPropertyDescriptors = require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors");
|
|
9
|
+
var _Object$defineProperties = require("@babel/runtime-corejs3/core-js-stable/object/define-properties");
|
|
10
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
|
11
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
|
12
|
+
_Object$defineProperty(exports, "__esModule", {
|
|
13
|
+
value: true
|
|
14
|
+
});
|
|
15
|
+
exports["default"] = void 0;
|
|
16
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
|
17
|
+
var _Buttons = require("../Button/Buttons.styles");
|
|
18
|
+
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
19
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
20
|
+
var tab = {
|
|
21
|
+
pt: 'md',
|
|
22
|
+
cursor: 'pointer',
|
|
23
|
+
alignItems: 'center',
|
|
24
|
+
display: 'inline-flex',
|
|
25
|
+
borderBottom: '2px solid transparent',
|
|
26
|
+
outline: 'none',
|
|
27
|
+
marginBottom: '-1px',
|
|
28
|
+
position: 'relative',
|
|
29
|
+
zIndex: '2',
|
|
30
|
+
'&.is-focused': {
|
|
31
|
+
'& > span': _objectSpread(_objectSpread({}, _Buttons.defaultFocus), {}, {
|
|
32
|
+
borderRadius: '4px'
|
|
33
|
+
})
|
|
34
|
+
},
|
|
35
|
+
'&.is-disabled': {
|
|
36
|
+
cursor: 'default'
|
|
37
|
+
},
|
|
38
|
+
'&.is-selected': {
|
|
39
|
+
borderBottomWidth: '2px',
|
|
40
|
+
borderBottomColor: 'active'
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
var list = {
|
|
44
|
+
borderBottom: '1px solid',
|
|
45
|
+
borderBottomColor: 'border.hairline'
|
|
46
|
+
};
|
|
47
|
+
var _default = {
|
|
48
|
+
tab: tab,
|
|
49
|
+
list: list
|
|
50
|
+
};
|
|
51
|
+
exports["default"] = _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|