@pingux/astro 2.129.0-alpha.4 → 2.129.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/Card/Card.styles.d.ts +0 -11
- package/lib/cjs/components/Card/Card.styles.js +1 -6
- package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.mdx +1 -1
- package/lib/cjs/components/Table/Table.stories.js +5 -4
- package/lib/cjs/components/Table/Table.styles.d.ts +3 -5
- package/lib/cjs/components/Table/Table.styles.js +6 -8
- package/lib/cjs/index.d.ts +2 -3
- package/lib/cjs/index.js +20 -74
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +0 -22
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +0 -22
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +0 -1
- package/lib/cjs/styles/themes/next-gen/colors/colors.js +1 -2
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +1 -146
- package/lib/cjs/styles/themes/next-gen/variants/cards.d.ts +1 -14
- package/lib/cjs/styles/themes/next-gen/variants/cards.js +2 -7
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +0 -131
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +1 -5
- package/lib/cjs/styles/variants/variants.js +2 -5
- package/lib/components/Card/Card.styles.js +1 -6
- package/lib/components/RockerButtonGroup/RockerButtonGroup.mdx +1 -1
- package/lib/components/Table/Table.stories.js +6 -5
- package/lib/components/Table/Table.styles.js +6 -8
- package/lib/index.js +2 -3
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +0 -22
- package/lib/styles/themes/next-gen/colors/colors.js +1 -2
- package/lib/styles/themes/next-gen/convertedComponentList.js +1 -1
- package/lib/styles/themes/next-gen/variants/cards.js +2 -7
- package/lib/styles/themes/next-gen/variants/variants.js +1 -5
- package/lib/styles/variants/variants.js +2 -5
- package/package.json +1 -1
- package/lib/cjs/components/TableBase/TableBase.d.ts +0 -9
- package/lib/cjs/components/TableBase/TableBase.js +0 -238
- package/lib/cjs/components/TableBase/TableBase.mdx +0 -30
- package/lib/cjs/components/TableBase/TableBase.stories.d.ts +0 -6
- package/lib/cjs/components/TableBase/TableBase.stories.js +0 -111
- package/lib/cjs/components/TableBase/TableBase.styles.d.ts +0 -76
- package/lib/cjs/components/TableBase/TableBase.styles.js +0 -80
- package/lib/cjs/components/TableBase/TableBase.test.d.ts +0 -1
- package/lib/cjs/components/TableBase/TableBase.test.js +0 -122
- package/lib/cjs/components/TableBase/index.d.ts +0 -1
- package/lib/cjs/components/TableBase/index.js +0 -14
- package/lib/cjs/components/TableBase/stories/NextGenDarkTableBase.chromatic.stories.d.ts +0 -6
- package/lib/cjs/components/TableBase/stories/NextGenDarkTableBase.chromatic.stories.js +0 -22
- package/lib/cjs/components/TableBase/stories/NextGenTableBase.chromatic.stories.d.ts +0 -6
- package/lib/cjs/components/TableBase/stories/NextGenTableBase.chromatic.stories.js +0 -22
- package/lib/cjs/components/TableBase/stories/NextGenTableBase.d.ts +0 -3
- package/lib/cjs/components/TableBase/stories/NextGenTableBase.js +0 -67
- package/lib/cjs/styles/themes/next-gen/variants/table.d.ts +0 -45
- package/lib/cjs/styles/themes/next-gen/variants/table.js +0 -65
- package/lib/cjs/styles/themes/next-gen/variants/tableBase.d.ts +0 -86
- package/lib/cjs/styles/themes/next-gen/variants/tableBase.js +0 -99
- package/lib/cjs/types/cell.d.ts +0 -12
- package/lib/cjs/types/cell.js +0 -6
- package/lib/cjs/types/tableBase.d.ts +0 -45
- package/lib/cjs/types/tableBase.js +0 -6
- package/lib/cjs/utils/devUtils/constants/items.d.ts +0 -10
- package/lib/cjs/utils/devUtils/constants/items.js +0 -87
- package/lib/components/TableBase/TableBase.js +0 -221
- package/lib/components/TableBase/TableBase.mdx +0 -30
- package/lib/components/TableBase/TableBase.stories.js +0 -100
- package/lib/components/TableBase/TableBase.styles.js +0 -72
- package/lib/components/TableBase/TableBase.test.js +0 -119
- package/lib/components/TableBase/index.js +0 -1
- package/lib/components/TableBase/stories/NextGenDarkTableBase.chromatic.stories.js +0 -12
- package/lib/components/TableBase/stories/NextGenTableBase.chromatic.stories.js +0 -12
- package/lib/components/TableBase/stories/NextGenTableBase.js +0 -58
- package/lib/styles/themes/next-gen/variants/table.js +0 -57
- package/lib/styles/themes/next-gen/variants/tableBase.js +0 -91
- package/lib/types/cell.js +0 -1
- package/lib/types/tableBase.js +0 -1
- package/lib/utils/devUtils/constants/items.js +0 -79
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
|
|
2
|
-
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
|
3
|
-
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
|
4
|
-
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
|
|
5
|
-
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
|
|
6
|
-
import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
|
|
7
|
-
import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
|
|
8
|
-
import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
|
|
9
|
-
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
10
|
-
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; }
|
|
11
|
-
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) { _defineProperty(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; }
|
|
12
|
-
var container = {
|
|
13
|
-
overflow: 'hidden'
|
|
14
|
-
};
|
|
15
|
-
var caption = {
|
|
16
|
-
px: 'lg',
|
|
17
|
-
color: 'text.primary',
|
|
18
|
-
borderBottom: '1px solid',
|
|
19
|
-
borderBottomColor: 'border.base'
|
|
20
|
-
};
|
|
21
|
-
var head = {
|
|
22
|
-
px: 'lg',
|
|
23
|
-
py: 'sm',
|
|
24
|
-
fontSize: 'md',
|
|
25
|
-
fontWeight: '2',
|
|
26
|
-
color: 'text.primary',
|
|
27
|
-
lineHeight: 'body'
|
|
28
|
-
};
|
|
29
|
-
var body = {
|
|
30
|
-
borderTopColor: 'border.base',
|
|
31
|
-
borderBottom: 'unset',
|
|
32
|
-
backgroundColor: 'background.base',
|
|
33
|
-
borderBottomLeftRadius: '16px',
|
|
34
|
-
borderBottomRightRadius: '16px',
|
|
35
|
-
'&& > tr:not(:last-child)': {
|
|
36
|
-
borderBottom: '1px solid',
|
|
37
|
-
borderBottomColor: 'border.base'
|
|
38
|
-
},
|
|
39
|
-
'&& > tr:nth-of-type(odd) ': {
|
|
40
|
-
backgroundColor: 'background.base'
|
|
41
|
-
},
|
|
42
|
-
'&& > tr:last-child': {
|
|
43
|
-
borderBottomLeftRadius: '16px',
|
|
44
|
-
borderBottomRightRadius: '16px'
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
var data = _objectSpread(_objectSpread({}, head), {}, {
|
|
48
|
-
py: 'md',
|
|
49
|
-
fontWeight: '1'
|
|
50
|
-
});
|
|
51
|
-
export var table = {
|
|
52
|
-
container: container,
|
|
53
|
-
caption: caption,
|
|
54
|
-
head: head,
|
|
55
|
-
body: body,
|
|
56
|
-
data: data
|
|
57
|
-
};
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
|
|
2
|
-
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
|
3
|
-
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
|
4
|
-
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
|
|
5
|
-
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
|
|
6
|
-
import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
|
|
7
|
-
import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
|
|
8
|
-
import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
|
|
9
|
-
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
10
|
-
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; }
|
|
11
|
-
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) { _defineProperty(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; }
|
|
12
|
-
import { defaultFocus as baseFocus } from './button';
|
|
13
|
-
var borderRadius = '16px';
|
|
14
|
-
var defaultFocus = _objectSpread(_objectSpread({}, baseFocus), {}, {
|
|
15
|
-
outlineOffset: '-2px'
|
|
16
|
-
});
|
|
17
|
-
var caption = {
|
|
18
|
-
backgroundColor: 'background.base',
|
|
19
|
-
px: 'lg',
|
|
20
|
-
color: 'text.primary',
|
|
21
|
-
borderBottom: '1px solid',
|
|
22
|
-
borderBottomColor: 'border.base',
|
|
23
|
-
borderTopLeftRadius: borderRadius,
|
|
24
|
-
borderTopRightRadius: borderRadius
|
|
25
|
-
};
|
|
26
|
-
var row = {
|
|
27
|
-
borderBottom: '1px solid',
|
|
28
|
-
borderBottomColor: 'border.base',
|
|
29
|
-
'&.is-focused': _objectSpread({}, defaultFocus),
|
|
30
|
-
'&.is-hovered': {
|
|
31
|
-
bg: 'background.hover'
|
|
32
|
-
},
|
|
33
|
-
'&:nth-of-type(odd)': {
|
|
34
|
-
bg: 'background.base',
|
|
35
|
-
'&.is-hovered': {
|
|
36
|
-
bg: 'background.hover'
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
};
|
|
40
|
-
var thead = {
|
|
41
|
-
backgroundColor: 'background.base',
|
|
42
|
-
'&:not(.has-caption)': {
|
|
43
|
-
'& > tr:first-child': {
|
|
44
|
-
borderTopLeftRadius: borderRadius,
|
|
45
|
-
borderTopRightRadius: borderRadius,
|
|
46
|
-
'& > th:first-of-type': {
|
|
47
|
-
borderTopLeftRadius: borderRadius
|
|
48
|
-
},
|
|
49
|
-
'& > th:last-of-type': {
|
|
50
|
-
borderTopRightRadius: borderRadius
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
var head = {
|
|
56
|
-
px: 'lg',
|
|
57
|
-
py: 'sm',
|
|
58
|
-
fontSize: 'md',
|
|
59
|
-
fontWeight: '2',
|
|
60
|
-
color: 'text.primary',
|
|
61
|
-
lineHeight: 'body',
|
|
62
|
-
'&.is-focused': _objectSpread({}, defaultFocus)
|
|
63
|
-
};
|
|
64
|
-
var tbody = {
|
|
65
|
-
borderTopColor: 'border.base',
|
|
66
|
-
borderBottom: 'unset',
|
|
67
|
-
backgroundColor: 'background.base',
|
|
68
|
-
'& > tr:last-child': {
|
|
69
|
-
borderBottom: 'unset',
|
|
70
|
-
borderBottomLeftRadius: borderRadius,
|
|
71
|
-
borderBottomRightRadius: borderRadius,
|
|
72
|
-
'& > td:first-of-type': {
|
|
73
|
-
borderBottomLeftRadius: borderRadius
|
|
74
|
-
},
|
|
75
|
-
'& > td:last-of-type': {
|
|
76
|
-
borderBottomRightRadius: borderRadius
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
};
|
|
80
|
-
var data = _objectSpread(_objectSpread({}, head), {}, {
|
|
81
|
-
py: 'md',
|
|
82
|
-
fontWeight: '1'
|
|
83
|
-
});
|
|
84
|
-
export var tableBase = {
|
|
85
|
-
caption: caption,
|
|
86
|
-
row: row,
|
|
87
|
-
thead: thead,
|
|
88
|
-
head: head,
|
|
89
|
-
tbody: tbody,
|
|
90
|
-
data: data
|
|
91
|
-
};
|
package/lib/types/cell.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/lib/types/tableBase.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
export var items = [{
|
|
2
|
-
id: '1',
|
|
3
|
-
email: 'dburkitt5@columbia.edu',
|
|
4
|
-
firstName: 'Nicola',
|
|
5
|
-
lastName: 'Burkitt',
|
|
6
|
-
status: 'Failed'
|
|
7
|
-
}, {
|
|
8
|
-
id: '2',
|
|
9
|
-
email: 'idixie2@elegantthemes.com',
|
|
10
|
-
firstName: 'Cacilia',
|
|
11
|
-
lastName: 'Dixie',
|
|
12
|
-
status: 'Active'
|
|
13
|
-
}, {
|
|
14
|
-
id: '3',
|
|
15
|
-
email: 'dfowler0@rambler.ru',
|
|
16
|
-
firstName: 'Stavro',
|
|
17
|
-
lastName: 'Fowler',
|
|
18
|
-
status: 'Active'
|
|
19
|
-
}, {
|
|
20
|
-
id: '4',
|
|
21
|
-
email: 'jgolde8@jimdo.com',
|
|
22
|
-
firstName: 'Celisse',
|
|
23
|
-
lastName: 'Golde',
|
|
24
|
-
status: 'Active'
|
|
25
|
-
}, {
|
|
26
|
-
id: '5',
|
|
27
|
-
email: 'shearst9@answers.com',
|
|
28
|
-
firstName: 'Jeth',
|
|
29
|
-
lastName: 'Hearst',
|
|
30
|
-
status: 'Pending'
|
|
31
|
-
}, {
|
|
32
|
-
id: '6',
|
|
33
|
-
email: 'ajinaa@mapquest.com',
|
|
34
|
-
firstName: 'Kaycee',
|
|
35
|
-
lastName: 'Jina',
|
|
36
|
-
status: 'Active'
|
|
37
|
-
}, {
|
|
38
|
-
id: '7',
|
|
39
|
-
email: 'vmalster4@biblegateway.com',
|
|
40
|
-
firstName: 'Lorry',
|
|
41
|
-
lastName: 'Malster',
|
|
42
|
-
status: 'Pending'
|
|
43
|
-
}, {
|
|
44
|
-
id: '8',
|
|
45
|
-
email: 'yphipp6@yellowpages.com',
|
|
46
|
-
firstName: 'Stanley',
|
|
47
|
-
lastName: 'Phipp',
|
|
48
|
-
status: 'Active'
|
|
49
|
-
}, {
|
|
50
|
-
id: '9',
|
|
51
|
-
email: 'mskilbeck3@bbc.co.uk',
|
|
52
|
-
firstName: 'Gradey',
|
|
53
|
-
lastName: 'Skilbeck',
|
|
54
|
-
status: 'Pending'
|
|
55
|
-
}, {
|
|
56
|
-
id: '10',
|
|
57
|
-
email: 'dstebbing1@msu.edu',
|
|
58
|
-
firstName: 'Marnia',
|
|
59
|
-
lastName: 'Stebbing',
|
|
60
|
-
status: 'Rejected'
|
|
61
|
-
}, {
|
|
62
|
-
id: '11',
|
|
63
|
-
email: 'lsterley7@lulu.com',
|
|
64
|
-
firstName: 'Joshua',
|
|
65
|
-
lastName: 'Sterley',
|
|
66
|
-
status: 'Pending'
|
|
67
|
-
}, {
|
|
68
|
-
id: '12',
|
|
69
|
-
email: 'luttleyb@hugedomains.com',
|
|
70
|
-
firstName: 'Jarrod',
|
|
71
|
-
lastName: 'Uttley',
|
|
72
|
-
status: 'Active'
|
|
73
|
-
}, {
|
|
74
|
-
id: '13',
|
|
75
|
-
email: 'lidelc@yelp.com',
|
|
76
|
-
firstName: 'Andromache',
|
|
77
|
-
lastName: 'Idel',
|
|
78
|
-
status: 'Pending'
|
|
79
|
-
}];
|