@pingux/astro 2.75.0 → 2.76.0-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/Badge/Badge.styles.d.ts +130 -0
- package/lib/cjs/components/Badge/Badge.styles.js +34 -1
- package/lib/cjs/components/Button/Button.stories.js +1 -1
- package/lib/cjs/components/DataTable/DataTable.js +8 -4
- package/lib/cjs/components/DataTable/DataTable.styles.d.ts +1 -0
- package/lib/cjs/components/DataTable/DataTable.styles.js +2 -1
- package/lib/cjs/components/DataTable/DataTableBadge.js +49 -19
- package/lib/cjs/components/DatePicker/DatePicker.js +1 -1
- package/lib/cjs/components/ListView/ListView.js +8 -4
- package/lib/cjs/components/ListView/ListView.stories.js +1 -1
- package/lib/cjs/components/ListView/ListView.styles.d.ts +7 -0
- package/lib/cjs/components/ListView/ListView.styles.js +15 -0
- package/lib/cjs/components/ListView/ListViewFocusWrapper.js +2 -1
- package/lib/cjs/components/ListViewItem/ListViewItem.js +6 -4
- package/lib/cjs/components/ListViewItem/ListViewItem.styles.js +7 -1
- package/lib/cjs/components/MultivaluesField/DefaultMultivaluesField.js +1 -1
- package/lib/cjs/components/NavBar/NavBar.stories.js +1 -4
- package/lib/cjs/components/PanelHeader/PanelHeader.js +1 -1
- package/lib/cjs/hooks/useExpandableListViewItem/useExpandableListViewItem.js +1 -6
- package/lib/cjs/index.d.ts +1 -0
- package/lib/cjs/index.js +8 -0
- package/lib/cjs/recipes/ListAndPanel.stories.js +1 -2
- package/lib/cjs/recipes/NextGen/DefaultAvatar.stories.d.ts +6 -0
- package/lib/cjs/recipes/NextGen/DefaultAvatar.stories.js +41 -0
- package/lib/cjs/recipes/NextGen/ListViewNextGen.stories.js +152 -0
- package/lib/cjs/recipes/NextGen/ModalNextGen.stories.d.ts +6 -0
- package/lib/cjs/recipes/NextGen/ModalNextGen.stories.js +72 -0
- package/lib/cjs/recipes/NextGen/NavBarNextGen.stories.d.ts +6 -0
- package/lib/cjs/recipes/NextGen/NavBarNextGen.stories.js +233 -0
- package/lib/cjs/recipes/NextGen/NextGenDataTable.stories.d.ts +6 -0
- package/lib/cjs/recipes/NextGen/NextGenDataTable.stories.js +152 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +209 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.js +112 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +2 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +10 -0
- package/lib/cjs/styles/themes/next-gen/forms.d.ts +235 -0
- package/lib/cjs/styles/themes/next-gen/forms.js +89 -0
- package/lib/cjs/styles/themes/next-gen/index.js +14 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +1455 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.js +52 -0
- package/lib/cjs/styles/themes/next-gen/open_sans.css +1 -0
- package/lib/cjs/styles/themes/next-gen/text.d.ts +15 -0
- package/lib/cjs/styles/themes/next-gen/text.js +26 -0
- package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.d.ts +134 -0
- package/lib/cjs/styles/themes/next-gen/tokens/colorTokens.js +142 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +574 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.js +235 -0
- package/lib/cjs/styles/themes/next-gen/variants/input.d.ts +66 -0
- package/lib/cjs/styles/themes/next-gen/variants/input.js +140 -0
- package/lib/cjs/styles/themes/next-gen/variants/label.d.ts +2 -0
- package/lib/cjs/styles/themes/next-gen/variants/label.js +34 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +19 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.js +27 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +564 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +462 -0
- package/lib/cjs/styles/variants/variants.js +2 -0
- package/lib/cjs/types/dataTable.d.ts +1 -1
- package/lib/cjs/types/listView.d.ts +1 -0
- package/lib/components/Badge/Badge.styles.js +34 -1
- package/lib/components/Button/Button.stories.js +1 -1
- package/lib/components/DataTable/DataTable.js +8 -4
- package/lib/components/DataTable/DataTable.styles.js +2 -1
- package/lib/components/DataTable/DataTableBadge.js +49 -19
- package/lib/components/DatePicker/DatePicker.js +1 -1
- package/lib/components/ListView/ListView.js +8 -4
- package/lib/components/ListView/ListView.stories.js +1 -1
- package/lib/components/ListView/ListView.styles.js +7 -0
- package/lib/components/ListView/ListViewFocusWrapper.js +2 -1
- package/lib/components/ListViewItem/ListViewItem.js +6 -4
- package/lib/components/ListViewItem/ListViewItem.styles.js +7 -1
- package/lib/components/MultivaluesField/DefaultMultivaluesField.js +1 -1
- package/lib/components/NavBar/NavBar.stories.js +1 -4
- package/lib/components/PanelHeader/PanelHeader.js +1 -1
- package/lib/hooks/useExpandableListViewItem/useExpandableListViewItem.js +1 -6
- package/lib/index.js +1 -0
- package/lib/recipes/ListAndPanel.stories.js +1 -2
- package/lib/recipes/NextGen/DefaultAvatar.stories.js +31 -0
- package/lib/recipes/NextGen/ListViewNextGen.stories.js +142 -0
- package/lib/recipes/NextGen/ModalNextGen.stories.js +62 -0
- package/lib/recipes/NextGen/NavBarNextGen.stories.js +223 -0
- package/lib/recipes/NextGen/NextGenDataTable.stories.js +142 -0
- package/lib/styles/themes/next-gen/colors/colors.js +101 -0
- package/lib/styles/themes/next-gen/convertedComponentList.js +2 -0
- package/lib/styles/themes/next-gen/forms.js +75 -0
- package/lib/styles/themes/next-gen/index.js +1 -0
- package/lib/styles/themes/next-gen/next-gen.js +40 -0
- package/lib/styles/themes/next-gen/open_sans.css +1 -0
- package/lib/styles/themes/next-gen/text.js +16 -0
- package/lib/styles/themes/next-gen/tokens/colorTokens.js +134 -0
- package/lib/styles/themes/next-gen/variants/button.js +227 -0
- package/lib/styles/themes/next-gen/variants/input.js +131 -0
- package/lib/styles/themes/next-gen/variants/label.js +26 -0
- package/lib/styles/themes/next-gen/variants/text.js +19 -0
- package/lib/styles/themes/next-gen/variants/variants.js +452 -0
- package/lib/styles/variants/variants.js +2 -0
- package/package.json +3 -1
@@ -0,0 +1,209 @@
|
|
1
|
+
export declare const critical: {
|
2
|
+
bright: string;
|
3
|
+
dark: string;
|
4
|
+
light: string;
|
5
|
+
};
|
6
|
+
export declare const success: {
|
7
|
+
bright: string;
|
8
|
+
dark: string;
|
9
|
+
light: string;
|
10
|
+
};
|
11
|
+
export declare const warning: {
|
12
|
+
bright: string;
|
13
|
+
dark: string;
|
14
|
+
light: string;
|
15
|
+
};
|
16
|
+
declare const colors: {
|
17
|
+
critical: {
|
18
|
+
bright: string;
|
19
|
+
dark: string;
|
20
|
+
light: string;
|
21
|
+
};
|
22
|
+
success: {
|
23
|
+
bright: string;
|
24
|
+
dark: string;
|
25
|
+
light: string;
|
26
|
+
};
|
27
|
+
warning: {
|
28
|
+
bright: string;
|
29
|
+
dark: string;
|
30
|
+
light: string;
|
31
|
+
};
|
32
|
+
text: {
|
33
|
+
primary: string;
|
34
|
+
secondary: string;
|
35
|
+
};
|
36
|
+
border: {
|
37
|
+
base: string;
|
38
|
+
};
|
39
|
+
active: string;
|
40
|
+
primary: string;
|
41
|
+
neutral: {
|
42
|
+
80: string;
|
43
|
+
};
|
44
|
+
focus: string;
|
45
|
+
white: string;
|
46
|
+
'blue-100': string;
|
47
|
+
'blue-200': string;
|
48
|
+
'blue-300': string;
|
49
|
+
'blue-400': string;
|
50
|
+
'blue-500': string;
|
51
|
+
'blue-600': string;
|
52
|
+
'blue-700': string;
|
53
|
+
'blue-800': string;
|
54
|
+
'blue-900': string;
|
55
|
+
blue: string;
|
56
|
+
'indigo-100': string;
|
57
|
+
'indigo-200': string;
|
58
|
+
'indigo-300': string;
|
59
|
+
'indigo-400': string;
|
60
|
+
'indigo-500': string;
|
61
|
+
'indigo-600': string;
|
62
|
+
'indigo-700': string;
|
63
|
+
'indigo-800': string;
|
64
|
+
'indigo-900': string;
|
65
|
+
indigo: string;
|
66
|
+
'purple-100': string;
|
67
|
+
'purple-200': string;
|
68
|
+
'purple-300': string;
|
69
|
+
'purple-400': string;
|
70
|
+
'purple-500': string;
|
71
|
+
'purple-600': string;
|
72
|
+
'purple-700': string;
|
73
|
+
'purple-800': string;
|
74
|
+
'purple-900': string;
|
75
|
+
purple: string;
|
76
|
+
'pink-100': string;
|
77
|
+
'pink-200': string;
|
78
|
+
'pink-300': string;
|
79
|
+
'pink-400': string;
|
80
|
+
'pink-500': string;
|
81
|
+
'pink-600': string;
|
82
|
+
'pink-700': string;
|
83
|
+
'pink-800': string;
|
84
|
+
'pink-900': string;
|
85
|
+
pink: string;
|
86
|
+
'red-100': string;
|
87
|
+
'red-200': string;
|
88
|
+
'red-300': string;
|
89
|
+
'red-400': string;
|
90
|
+
'red-500': string;
|
91
|
+
'red-600': string;
|
92
|
+
'red-700': string;
|
93
|
+
'red-800': string;
|
94
|
+
'red-900': string;
|
95
|
+
red: string;
|
96
|
+
'orange-100': string;
|
97
|
+
'orange-200': string;
|
98
|
+
'orange-300': string;
|
99
|
+
'orange-400': string;
|
100
|
+
'orange-500': string;
|
101
|
+
'orange-600': string;
|
102
|
+
'orange-700': string;
|
103
|
+
'orange-800': string;
|
104
|
+
'orange-900': string;
|
105
|
+
orange: string;
|
106
|
+
'yellow-100': string;
|
107
|
+
'yellow-200': string;
|
108
|
+
'yellow-300': string;
|
109
|
+
'yellow-400': string;
|
110
|
+
'yellow-500': string;
|
111
|
+
'yellow-600': string;
|
112
|
+
'yellow-700': string;
|
113
|
+
'yellow-800': string;
|
114
|
+
'yellow-900': string;
|
115
|
+
yellow: string;
|
116
|
+
'green-100': string;
|
117
|
+
'green-200': string;
|
118
|
+
'green-300': string;
|
119
|
+
'green-400': string;
|
120
|
+
'green-500': string;
|
121
|
+
'green-600': string;
|
122
|
+
'green-700': string;
|
123
|
+
'green-800': string;
|
124
|
+
'green-900': string;
|
125
|
+
green: string;
|
126
|
+
'teal-100': string;
|
127
|
+
'teal-200': string;
|
128
|
+
'teal-300': string;
|
129
|
+
'teal-400': string;
|
130
|
+
'teal-500': string;
|
131
|
+
'teal-600': string;
|
132
|
+
'teal-700': string;
|
133
|
+
'teal-800': string;
|
134
|
+
'teal-900': string;
|
135
|
+
teal: string;
|
136
|
+
'cyan-100': string;
|
137
|
+
'cyan-200': string;
|
138
|
+
'cyan-300': string;
|
139
|
+
'cyan-400': string;
|
140
|
+
'cyan-500': string;
|
141
|
+
'cyan-600': string;
|
142
|
+
'cyan-700': string;
|
143
|
+
'cyan-800': string;
|
144
|
+
'cyan-900': string;
|
145
|
+
cyan: string;
|
146
|
+
'gray-100': string;
|
147
|
+
'gray-200': string;
|
148
|
+
'gray-300': string;
|
149
|
+
'gray-400': string;
|
150
|
+
'gray-500': string;
|
151
|
+
'gray-600': string;
|
152
|
+
'gray-700': string;
|
153
|
+
'gray-800': string;
|
154
|
+
'gray-900': string;
|
155
|
+
common: {
|
156
|
+
background: {
|
157
|
+
base: string;
|
158
|
+
secondary: string;
|
159
|
+
};
|
160
|
+
border: string;
|
161
|
+
hairline: string;
|
162
|
+
};
|
163
|
+
font: {
|
164
|
+
base: string;
|
165
|
+
light: string;
|
166
|
+
link: string;
|
167
|
+
label: string;
|
168
|
+
};
|
169
|
+
active_light: string;
|
170
|
+
success_light: string;
|
171
|
+
critical_light: string;
|
172
|
+
warning_light: string;
|
173
|
+
lightblue: string;
|
174
|
+
lightindigo: string;
|
175
|
+
lightpurple: string;
|
176
|
+
lightpink: string;
|
177
|
+
lightred: string;
|
178
|
+
lightorange: string;
|
179
|
+
lightyellow: string;
|
180
|
+
lightgreen: string;
|
181
|
+
lightteal: string;
|
182
|
+
lightcyan: string;
|
183
|
+
darkblue: string;
|
184
|
+
darkindigo: string;
|
185
|
+
darkpurple: string;
|
186
|
+
darkpink: string;
|
187
|
+
darkred: string;
|
188
|
+
darkorange: string;
|
189
|
+
darkyellow: string;
|
190
|
+
darkgreen: string;
|
191
|
+
darkteal: string;
|
192
|
+
darkcyan: string;
|
193
|
+
mediumblue: string;
|
194
|
+
mediumindigo: string;
|
195
|
+
mediumpurple: string;
|
196
|
+
mediumpink: string;
|
197
|
+
mediumred: string;
|
198
|
+
mediumorange: string;
|
199
|
+
mediumyellow: string;
|
200
|
+
mediumgreen: string;
|
201
|
+
mediumteal: string;
|
202
|
+
mediumcyan: string;
|
203
|
+
secondary: string;
|
204
|
+
info: string;
|
205
|
+
danger: string;
|
206
|
+
light: string;
|
207
|
+
dark: string;
|
208
|
+
};
|
209
|
+
export default colors;
|
@@ -0,0 +1,112 @@
|
|
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.warning = exports.success = exports["default"] = exports.critical = void 0;
|
16
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
17
|
+
var _colorTokens = require("../tokens/colorTokens");
|
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 subColors = {
|
21
|
+
lightblue: _colorTokens.nextGenColors['blue-100'],
|
22
|
+
lightindigo: _colorTokens.nextGenColors['indigo-100'],
|
23
|
+
lightpurple: _colorTokens.nextGenColors['purple-100'],
|
24
|
+
lightpink: _colorTokens.nextGenColors['pink-100'],
|
25
|
+
lightred: _colorTokens.nextGenColors['red-100'],
|
26
|
+
lightorange: _colorTokens.nextGenColors['orange-100'],
|
27
|
+
lightyellow: _colorTokens.nextGenColors['yellow-100'],
|
28
|
+
lightgreen: _colorTokens.nextGenColors['green-100'],
|
29
|
+
lightteal: _colorTokens.nextGenColors['teal-100'],
|
30
|
+
lightcyan: _colorTokens.nextGenColors['cyan-100'],
|
31
|
+
darkblue: _colorTokens.nextGenColors['blue-600'],
|
32
|
+
darkindigo: _colorTokens.nextGenColors['indigo-700'],
|
33
|
+
darkpurple: _colorTokens.nextGenColors['purple-500'],
|
34
|
+
darkpink: _colorTokens.nextGenColors['pink-600'],
|
35
|
+
darkred: _colorTokens.nextGenColors['red-700'],
|
36
|
+
darkorange: _colorTokens.nextGenColors['orange-700'],
|
37
|
+
darkyellow: _colorTokens.nextGenColors['yellow-800'],
|
38
|
+
darkgreen: _colorTokens.nextGenColors['green-800'],
|
39
|
+
darkteal: _colorTokens.nextGenColors['teal-700'],
|
40
|
+
darkcyan: _colorTokens.nextGenColors['cyan-800'],
|
41
|
+
mediumblue: _colorTokens.nextGenColors['blue-600'],
|
42
|
+
mediumindigo: _colorTokens.nextGenColors['indigo-600'],
|
43
|
+
mediumpurple: _colorTokens.nextGenColors['purple-600'],
|
44
|
+
mediumpink: _colorTokens.nextGenColors['pink-600'],
|
45
|
+
mediumred: _colorTokens.nextGenColors['red-600'],
|
46
|
+
mediumorange: _colorTokens.nextGenColors['orange-600'],
|
47
|
+
mediumyellow: _colorTokens.nextGenColors['yellow-600'],
|
48
|
+
mediumgreen: _colorTokens.nextGenColors['green-700'],
|
49
|
+
mediumteal: _colorTokens.nextGenColors['teal-600'],
|
50
|
+
mediumcyan: _colorTokens.nextGenColors['cyan-700'],
|
51
|
+
primary: _colorTokens.nextGenColors.blue,
|
52
|
+
secondary: _colorTokens.nextGenColors['gray-600'],
|
53
|
+
info: _colorTokens.nextGenColors.blue,
|
54
|
+
danger: _colorTokens.nextGenColors.red,
|
55
|
+
light: _colorTokens.nextGenColors['gray-100'],
|
56
|
+
dark: _colorTokens.nextGenColors['gray-800']
|
57
|
+
};
|
58
|
+
var colorsObject = {
|
59
|
+
blue: '#1a73e8',
|
60
|
+
indigo: '#BA4DE1',
|
61
|
+
purple: '#6f42c1',
|
62
|
+
pink: '#d63384',
|
63
|
+
red: '#da3a2b',
|
64
|
+
orange: '#fd7e14',
|
65
|
+
yellow: '#ffb946',
|
66
|
+
green: '#22a75f',
|
67
|
+
teal: '#17A2B8',
|
68
|
+
cyan: '#0dcaf0',
|
69
|
+
active: '#1a73e8'
|
70
|
+
};
|
71
|
+
var critical = {
|
72
|
+
bright: colorsObject.red,
|
73
|
+
dark: _colorTokens.nextGenColors['red-600'],
|
74
|
+
light: colorsObject.red
|
75
|
+
};
|
76
|
+
exports.critical = critical;
|
77
|
+
var success = {
|
78
|
+
bright: _colorTokens.nextGenColors['green-600'],
|
79
|
+
dark: _colorTokens.nextGenColors['green-800'],
|
80
|
+
light: _colorTokens.nextGenColors['green-100']
|
81
|
+
};
|
82
|
+
exports.success = success;
|
83
|
+
var warning = {
|
84
|
+
bright: colorsObject.yellow,
|
85
|
+
dark: _colorTokens.nextGenColors['yellow-800'],
|
86
|
+
light: _colorTokens.nextGenColors['yellow-100']
|
87
|
+
};
|
88
|
+
exports.warning = warning;
|
89
|
+
var text = {
|
90
|
+
primary: _colorTokens.nextGenColors['gray-900'],
|
91
|
+
secondary: _colorTokens.nextGenColors['gray-500']
|
92
|
+
};
|
93
|
+
var border = {
|
94
|
+
base: _colorTokens.nextGenColors['gray-500']
|
95
|
+
};
|
96
|
+
var overrides = {
|
97
|
+
neutral: {
|
98
|
+
80: '#69788B'
|
99
|
+
},
|
100
|
+
focus: colorsObject.active
|
101
|
+
};
|
102
|
+
var colors = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, subColors), _colorTokens.nextGenColors), overrides), {}, {
|
103
|
+
critical: critical,
|
104
|
+
success: success,
|
105
|
+
warning: warning,
|
106
|
+
text: text,
|
107
|
+
border: border,
|
108
|
+
active: colorsObject.blue,
|
109
|
+
primary: colorsObject.blue
|
110
|
+
});
|
111
|
+
var _default = colors;
|
112
|
+
exports["default"] = _default;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
4
|
+
_Object$defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var nextGenConvertedComponents = ['DataTable', 'Message', 'Button', 'Badge', 'IconButton', 'CheckboxField', 'Messages', 'PopoverMenu', 'TextField', 'PasswordField', 'SearchField', 'SelectField', 'ComboBoxField', 'MultiValuesField', 'TextAreaField', 'RadioGroupField', 'Tabs', 'ProgressBar', 'NavBar', 'OverlayPanel', 'AstroProvider', 'ListView'];
|
9
|
+
var _default = nextGenConvertedComponents;
|
10
|
+
exports["default"] = _default;
|
@@ -0,0 +1,235 @@
|
|
1
|
+
export declare const checkbox: {
|
2
|
+
height: string;
|
3
|
+
width: string;
|
4
|
+
color: string;
|
5
|
+
mr: string;
|
6
|
+
'input ~ &.is-focused': {
|
7
|
+
outline: string;
|
8
|
+
outlineColor: string;
|
9
|
+
outlineOffset: string;
|
10
|
+
};
|
11
|
+
};
|
12
|
+
export declare const select: {
|
13
|
+
borderRadius: string;
|
14
|
+
borderColor: string;
|
15
|
+
color: string;
|
16
|
+
height: string;
|
17
|
+
'&.is-disabled': {
|
18
|
+
opacity: number;
|
19
|
+
borderColor: string;
|
20
|
+
backgroundColor: string;
|
21
|
+
};
|
22
|
+
currentValue: {
|
23
|
+
color: string;
|
24
|
+
};
|
25
|
+
};
|
26
|
+
export declare const search: {
|
27
|
+
wrapper: {
|
28
|
+
opacity: number;
|
29
|
+
};
|
30
|
+
};
|
31
|
+
export declare const comboBox: {
|
32
|
+
input: {
|
33
|
+
borderStyle: string;
|
34
|
+
borderWidth: string;
|
35
|
+
borderRadius: string;
|
36
|
+
height: string;
|
37
|
+
};
|
38
|
+
};
|
39
|
+
export declare const numberField: {
|
40
|
+
arrowsWrapper: {
|
41
|
+
'> textarea': {
|
42
|
+
borderRadius: string;
|
43
|
+
border: string;
|
44
|
+
borderColor: string;
|
45
|
+
outline: string;
|
46
|
+
};
|
47
|
+
'&.is-disabled': {
|
48
|
+
'> label': {
|
49
|
+
opacity: number;
|
50
|
+
};
|
51
|
+
opacity: number;
|
52
|
+
'> input': {
|
53
|
+
backgroundColor: string;
|
54
|
+
border: string;
|
55
|
+
borderColor: string;
|
56
|
+
opacity: number;
|
57
|
+
fontWeight: number;
|
58
|
+
};
|
59
|
+
'> textarea': {
|
60
|
+
backgroundColor: string;
|
61
|
+
border: string;
|
62
|
+
borderColor: string;
|
63
|
+
opacity: number;
|
64
|
+
fontWeight: number;
|
65
|
+
};
|
66
|
+
'&:after': {
|
67
|
+
display: string;
|
68
|
+
};
|
69
|
+
};
|
70
|
+
'&:after': {
|
71
|
+
display: string;
|
72
|
+
};
|
73
|
+
'& > input': {
|
74
|
+
borderLeftWidth: number;
|
75
|
+
};
|
76
|
+
'> button': {
|
77
|
+
borderLeftWidth: number;
|
78
|
+
borderRadius: string;
|
79
|
+
border: string;
|
80
|
+
borderColor: string;
|
81
|
+
};
|
82
|
+
'&.is-read-only': {
|
83
|
+
'> input': {
|
84
|
+
backgroundColor: string;
|
85
|
+
border: string;
|
86
|
+
borderColor: string;
|
87
|
+
};
|
88
|
+
'> textarea': {
|
89
|
+
backgroundColor: string;
|
90
|
+
border: string;
|
91
|
+
borderColor: string;
|
92
|
+
};
|
93
|
+
'&:after': {
|
94
|
+
display: string;
|
95
|
+
};
|
96
|
+
};
|
97
|
+
'&.is-focused': {
|
98
|
+
'> textarea': {
|
99
|
+
boxShadow: string;
|
100
|
+
outline: string;
|
101
|
+
};
|
102
|
+
};
|
103
|
+
};
|
104
|
+
};
|
105
|
+
export declare const radio: {
|
106
|
+
base: {
|
107
|
+
color: string;
|
108
|
+
mr: string;
|
109
|
+
'input ~ &.is-focused': {
|
110
|
+
outline: string;
|
111
|
+
outlineColor: string;
|
112
|
+
outlineOffset: string;
|
113
|
+
};
|
114
|
+
};
|
115
|
+
};
|
116
|
+
declare const _default: {
|
117
|
+
input: import("theme-ui").ThemeUICSSObject;
|
118
|
+
label: import("theme-ui").ThemeUICSSObject;
|
119
|
+
checkbox: {
|
120
|
+
height: string;
|
121
|
+
width: string;
|
122
|
+
color: string;
|
123
|
+
mr: string;
|
124
|
+
'input ~ &.is-focused': {
|
125
|
+
outline: string;
|
126
|
+
outlineColor: string;
|
127
|
+
outlineOffset: string;
|
128
|
+
};
|
129
|
+
};
|
130
|
+
comboBox: {
|
131
|
+
input: {
|
132
|
+
borderStyle: string;
|
133
|
+
borderWidth: string;
|
134
|
+
borderRadius: string;
|
135
|
+
height: string;
|
136
|
+
};
|
137
|
+
};
|
138
|
+
select: {
|
139
|
+
borderRadius: string;
|
140
|
+
borderColor: string;
|
141
|
+
color: string;
|
142
|
+
height: string;
|
143
|
+
'&.is-disabled': {
|
144
|
+
opacity: number;
|
145
|
+
borderColor: string;
|
146
|
+
backgroundColor: string;
|
147
|
+
};
|
148
|
+
currentValue: {
|
149
|
+
color: string;
|
150
|
+
};
|
151
|
+
};
|
152
|
+
radio: {
|
153
|
+
base: {
|
154
|
+
color: string;
|
155
|
+
mr: string;
|
156
|
+
'input ~ &.is-focused': {
|
157
|
+
outline: string;
|
158
|
+
outlineColor: string;
|
159
|
+
outlineOffset: string;
|
160
|
+
};
|
161
|
+
};
|
162
|
+
};
|
163
|
+
search: {
|
164
|
+
wrapper: {
|
165
|
+
opacity: number;
|
166
|
+
};
|
167
|
+
};
|
168
|
+
numberField: {
|
169
|
+
arrowsWrapper: {
|
170
|
+
'> textarea': {
|
171
|
+
borderRadius: string;
|
172
|
+
border: string;
|
173
|
+
borderColor: string;
|
174
|
+
outline: string;
|
175
|
+
};
|
176
|
+
'&.is-disabled': {
|
177
|
+
'> label': {
|
178
|
+
opacity: number;
|
179
|
+
};
|
180
|
+
opacity: number;
|
181
|
+
'> input': {
|
182
|
+
backgroundColor: string;
|
183
|
+
border: string;
|
184
|
+
borderColor: string;
|
185
|
+
opacity: number;
|
186
|
+
fontWeight: number;
|
187
|
+
};
|
188
|
+
'> textarea': {
|
189
|
+
backgroundColor: string;
|
190
|
+
border: string;
|
191
|
+
borderColor: string;
|
192
|
+
opacity: number;
|
193
|
+
fontWeight: number;
|
194
|
+
};
|
195
|
+
'&:after': {
|
196
|
+
display: string;
|
197
|
+
};
|
198
|
+
};
|
199
|
+
'&:after': {
|
200
|
+
display: string;
|
201
|
+
};
|
202
|
+
'& > input': {
|
203
|
+
borderLeftWidth: number;
|
204
|
+
};
|
205
|
+
'> button': {
|
206
|
+
borderLeftWidth: number;
|
207
|
+
borderRadius: string;
|
208
|
+
border: string;
|
209
|
+
borderColor: string;
|
210
|
+
};
|
211
|
+
'&.is-read-only': {
|
212
|
+
'> input': {
|
213
|
+
backgroundColor: string;
|
214
|
+
border: string;
|
215
|
+
borderColor: string;
|
216
|
+
};
|
217
|
+
'> textarea': {
|
218
|
+
backgroundColor: string;
|
219
|
+
border: string;
|
220
|
+
borderColor: string;
|
221
|
+
};
|
222
|
+
'&:after': {
|
223
|
+
display: string;
|
224
|
+
};
|
225
|
+
};
|
226
|
+
'&.is-focused': {
|
227
|
+
'> textarea': {
|
228
|
+
boxShadow: string;
|
229
|
+
outline: string;
|
230
|
+
};
|
231
|
+
};
|
232
|
+
};
|
233
|
+
};
|
234
|
+
};
|
235
|
+
export default _default;
|
@@ -0,0 +1,89 @@
|
|
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.select = exports.search = exports.radio = exports.numberField = exports["default"] = exports.comboBox = exports.checkbox = void 0;
|
16
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
17
|
+
var _input = require("./variants/input");
|
18
|
+
var _label = require("./variants/label");
|
19
|
+
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; }
|
20
|
+
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; }
|
21
|
+
var checkbox = {
|
22
|
+
height: '19.25px',
|
23
|
+
width: '19.25px',
|
24
|
+
color: 'text.secondary',
|
25
|
+
mr: '8px',
|
26
|
+
'input ~ &.is-focused': {
|
27
|
+
outline: '1px solid',
|
28
|
+
outlineColor: '#1a73e8',
|
29
|
+
outlineOffset: '-3px'
|
30
|
+
}
|
31
|
+
};
|
32
|
+
exports.checkbox = checkbox;
|
33
|
+
var select = {
|
34
|
+
borderRadius: '4px',
|
35
|
+
borderColor: 'border.base',
|
36
|
+
color: 'text.primary',
|
37
|
+
height: '50px',
|
38
|
+
'&.is-disabled': {
|
39
|
+
opacity: 1,
|
40
|
+
borderColor: 'border.base',
|
41
|
+
backgroundColor: 'gray-100'
|
42
|
+
},
|
43
|
+
currentValue: {
|
44
|
+
color: 'text.primary'
|
45
|
+
}
|
46
|
+
};
|
47
|
+
exports.select = select;
|
48
|
+
var search = {
|
49
|
+
wrapper: {
|
50
|
+
opacity: 1
|
51
|
+
}
|
52
|
+
};
|
53
|
+
exports.search = search;
|
54
|
+
var comboBox = {
|
55
|
+
input: {
|
56
|
+
borderStyle: 'solid',
|
57
|
+
borderWidth: '1px',
|
58
|
+
borderRadius: '4px',
|
59
|
+
height: '50px'
|
60
|
+
}
|
61
|
+
};
|
62
|
+
exports.comboBox = comboBox;
|
63
|
+
var numberField = {
|
64
|
+
arrowsWrapper: _objectSpread({}, _input.fieldControlWrapper)
|
65
|
+
};
|
66
|
+
exports.numberField = numberField;
|
67
|
+
var radio = {
|
68
|
+
base: {
|
69
|
+
color: 'text.secondary',
|
70
|
+
mr: '8px',
|
71
|
+
'input ~ &.is-focused': {
|
72
|
+
outline: '1px solid',
|
73
|
+
outlineColor: '#1a73e8',
|
74
|
+
outlineOffset: '-3px'
|
75
|
+
}
|
76
|
+
}
|
77
|
+
};
|
78
|
+
exports.radio = radio;
|
79
|
+
var _default = {
|
80
|
+
input: _input.input,
|
81
|
+
label: _label.label,
|
82
|
+
checkbox: checkbox,
|
83
|
+
comboBox: comboBox,
|
84
|
+
select: select,
|
85
|
+
radio: radio,
|
86
|
+
search: search,
|
87
|
+
numberField: numberField
|
88
|
+
};
|
89
|
+
exports["default"] = _default;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
_Object$defineProperty(exports, "default", {
|
9
|
+
enumerable: true,
|
10
|
+
get: function get() {
|
11
|
+
return _nextGen["default"];
|
12
|
+
}
|
13
|
+
});
|
14
|
+
var _nextGen = _interopRequireDefault(require("./next-gen"));
|