@pingux/astro 1.39.0-alpha.6 → 1.39.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.
Files changed (29) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/NOTICE.html +4707 -0
  3. package/lib/cjs/components/CheckboxField/CheckboxField.stories.js +7 -0
  4. package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.stories.js +7 -0
  5. package/lib/cjs/components/ComboBoxField/ComboBoxField.stories.js +7 -0
  6. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +8 -1
  7. package/lib/cjs/components/ListItem/ListItem.stories.js +8 -1
  8. package/lib/cjs/components/ListView/ListView.stories.js +7 -0
  9. package/lib/cjs/components/PasswordField/PasswordField.stories.js +7 -0
  10. package/lib/cjs/components/SearchField/SearchField.stories.js +7 -0
  11. package/lib/cjs/components/SwitchField/SwitchField.stories.js +7 -0
  12. package/lib/cjs/components/TextAreaField/TextAreaField.stories.js +7 -0
  13. package/lib/cjs/components/TextField/TextField.stories.js +7 -0
  14. package/lib/cjs/recipes/DatePicker.stories.js +8 -1
  15. package/lib/cjs/recipes/MaskedValue.stories.js +7 -0
  16. package/lib/components/CheckboxField/CheckboxField.stories.js +7 -0
  17. package/lib/components/CollapsiblePanel/CollapsiblePanel.stories.js +7 -0
  18. package/lib/components/ComboBoxField/ComboBoxField.stories.js +7 -0
  19. package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +8 -1
  20. package/lib/components/ListItem/ListItem.stories.js +8 -1
  21. package/lib/components/ListView/ListView.stories.js +7 -0
  22. package/lib/components/PasswordField/PasswordField.stories.js +7 -0
  23. package/lib/components/SearchField/SearchField.stories.js +7 -0
  24. package/lib/components/SwitchField/SwitchField.stories.js +7 -0
  25. package/lib/components/TextAreaField/TextAreaField.stories.js +7 -0
  26. package/lib/components/TextField/TextField.stories.js +7 -0
  27. package/lib/recipes/DatePicker.stories.js +8 -1
  28. package/lib/recipes/MaskedValue.stories.js +7 -0
  29. package/package.json +1 -1
@@ -65,6 +65,13 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
65
65
  var _default = {
66
66
  title: 'Form/CheckboxField',
67
67
  component: _CheckboxField["default"],
68
+ parameters: {
69
+ docs: {
70
+ source: {
71
+ type: 'code'
72
+ }
73
+ }
74
+ },
68
75
  argTypes: _objectSpread({
69
76
  label: {
70
77
  control: {
@@ -75,6 +75,13 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
75
75
  var _default = {
76
76
  title: 'Components/CollapsiblePanel',
77
77
  component: _CollapsiblePanel["default"],
78
+ parameters: {
79
+ docs: {
80
+ source: {
81
+ type: 'code'
82
+ }
83
+ }
84
+ },
78
85
  argTypes: {
79
86
  listTitle: {
80
87
  defaultValue: 'Selected Groups'
@@ -162,6 +162,13 @@ var actions = {
162
162
  var _default = {
163
163
  title: 'Form/ComboBoxField',
164
164
  component: _ComboBoxField["default"],
165
+ parameters: {
166
+ docs: {
167
+ source: {
168
+ type: 'code'
169
+ }
170
+ }
171
+ },
165
172
  argTypes: _objectSpread({
166
173
  label: {
167
174
  control: {
@@ -64,7 +64,14 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
64
64
 
65
65
  var _default = {
66
66
  title: 'Components/EnvironmentBreadcrumb',
67
- component: _EnvironmentBreadcrumb["default"]
67
+ component: _EnvironmentBreadcrumb["default"],
68
+ parameters: {
69
+ docs: {
70
+ source: {
71
+ type: 'code'
72
+ }
73
+ }
74
+ }
68
75
  };
69
76
  exports["default"] = _default;
70
77
  var defaultEnvironments = [{
@@ -32,7 +32,14 @@ var _react2 = require("@emotion/react");
32
32
 
33
33
  var _default = {
34
34
  title: 'Components/ListItem',
35
- component: _ListItem["default"]
35
+ component: _ListItem["default"],
36
+ parameters: {
37
+ docs: {
38
+ source: {
39
+ type: 'code'
40
+ }
41
+ }
42
+ }
36
43
  };
37
44
  exports["default"] = _default;
38
45
 
@@ -59,6 +59,13 @@ var _react2 = require("@emotion/react");
59
59
  var _default = {
60
60
  title: 'Components/ListView',
61
61
  component: _["default"],
62
+ parameters: {
63
+ docs: {
64
+ source: {
65
+ type: 'code'
66
+ }
67
+ }
68
+ },
62
69
  argTypes: {
63
70
  loadingState: {
64
71
  control: {
@@ -57,6 +57,13 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
57
57
  var _default = {
58
58
  title: 'Form/PasswordField',
59
59
  component: _["default"],
60
+ parameters: {
61
+ docs: {
62
+ source: {
63
+ type: 'code'
64
+ }
65
+ }
66
+ },
60
67
  argTypes: _objectSpread({
61
68
  status: {
62
69
  control: {
@@ -59,6 +59,13 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
59
59
  var _default = {
60
60
  title: 'Form/SearchField',
61
61
  component: _.SearchField,
62
+ parameters: {
63
+ docs: {
64
+ source: {
65
+ type: 'code'
66
+ }
67
+ }
68
+ },
62
69
  argTypes: _objectSpread({
63
70
  label: {
64
71
  control: {
@@ -57,6 +57,13 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
57
57
  var _default = {
58
58
  title: 'Form/SwitchField',
59
59
  component: _["default"],
60
+ parameters: {
61
+ docs: {
62
+ source: {
63
+ type: 'code'
64
+ }
65
+ }
66
+ },
60
67
  argTypes: _objectSpread({
61
68
  label: {
62
69
  control: {
@@ -63,6 +63,13 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
63
63
  var _default = {
64
64
  title: 'Form/TextAreaField',
65
65
  component: _["default"],
66
+ parameters: {
67
+ docs: {
68
+ source: {
69
+ type: 'code'
70
+ }
71
+ }
72
+ },
66
73
  argTypes: _objectSpread({
67
74
  label: {
68
75
  control: {
@@ -71,6 +71,13 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
71
71
  var _default = {
72
72
  title: 'Form/TextField',
73
73
  component: _["default"],
74
+ parameters: {
75
+ docs: {
76
+ source: {
77
+ type: 'code'
78
+ }
79
+ }
80
+ },
74
81
  argTypes: _objectSpread({
75
82
  labelMode: {
76
83
  control: {
@@ -43,7 +43,14 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "functi
43
43
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
44
44
 
45
45
  var _default = {
46
- title: 'Recipes/Date Picker'
46
+ title: 'Recipes/Date Picker',
47
+ parameters: {
48
+ docs: {
49
+ source: {
50
+ type: 'code'
51
+ }
52
+ }
53
+ }
47
54
  };
48
55
  exports["default"] = _default;
49
56
  var sx = {
@@ -51,6 +51,13 @@ var _default = {
51
51
  },
52
52
  defaultValue: 'A secret piece of text'
53
53
  }
54
+ },
55
+ parameters: {
56
+ docs: {
57
+ source: {
58
+ type: 'code'
59
+ }
60
+ }
54
61
  }
55
62
  };
56
63
  exports["default"] = _default;
@@ -27,6 +27,13 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
27
27
  export default {
28
28
  title: 'Form/CheckboxField',
29
29
  component: CheckboxField,
30
+ parameters: {
31
+ docs: {
32
+ source: {
33
+ type: 'code'
34
+ }
35
+ }
36
+ },
30
37
  argTypes: _objectSpread({
31
38
  label: {
32
39
  control: {
@@ -31,6 +31,13 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
31
31
  export default {
32
32
  title: 'Components/CollapsiblePanel',
33
33
  component: CollapsiblePanel,
34
+ parameters: {
35
+ docs: {
36
+ source: {
37
+ type: 'code'
38
+ }
39
+ }
40
+ },
34
41
  argTypes: {
35
42
  listTitle: {
36
43
  defaultValue: 'Selected Groups'
@@ -116,6 +116,13 @@ var actions = {
116
116
  export default {
117
117
  title: 'Form/ComboBoxField',
118
118
  component: ComboBoxField,
119
+ parameters: {
120
+ docs: {
121
+ source: {
122
+ type: 'code'
123
+ }
124
+ }
125
+ },
119
126
  argTypes: _objectSpread({
120
127
  label: {
121
128
  control: {
@@ -25,7 +25,14 @@ import { Item, Section, Chip, Box, Text } from '../../index';
25
25
  import { jsx as ___EmotionJSX } from "@emotion/react";
26
26
  export default {
27
27
  title: 'Components/EnvironmentBreadcrumb',
28
- component: EnvironmentBreadcrumb
28
+ component: EnvironmentBreadcrumb,
29
+ parameters: {
30
+ docs: {
31
+ source: {
32
+ type: 'code'
33
+ }
34
+ }
35
+ }
29
36
  };
30
37
  var defaultEnvironments = [{
31
38
  name: 'Default'
@@ -10,7 +10,14 @@ import Separator from '../Separator';
10
10
  import { jsx as ___EmotionJSX } from "@emotion/react";
11
11
  export default {
12
12
  title: 'Components/ListItem',
13
- component: ListItem
13
+ component: ListItem,
14
+ parameters: {
15
+ docs: {
16
+ source: {
17
+ type: 'code'
18
+ }
19
+ }
20
+ }
14
21
  };
15
22
  export var Default = function Default(args) {
16
23
  return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Separator, {
@@ -24,6 +24,13 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
24
24
  export default {
25
25
  title: 'Components/ListView',
26
26
  component: ListView,
27
+ parameters: {
28
+ docs: {
29
+ source: {
30
+ type: 'code'
31
+ }
32
+ }
33
+ },
27
34
  argTypes: {
28
35
  loadingState: {
29
36
  control: {
@@ -23,6 +23,13 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
23
23
  export default {
24
24
  title: 'Form/PasswordField',
25
25
  component: PasswordField,
26
+ parameters: {
27
+ docs: {
28
+ source: {
29
+ type: 'code'
30
+ }
31
+ }
32
+ },
26
33
  argTypes: _objectSpread({
27
34
  status: {
28
35
  control: {
@@ -24,6 +24,13 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
24
24
  export default {
25
25
  title: 'Form/SearchField',
26
26
  component: SearchField,
27
+ parameters: {
28
+ docs: {
29
+ source: {
30
+ type: 'code'
31
+ }
32
+ }
33
+ },
27
34
  argTypes: _objectSpread({
28
35
  label: {
29
36
  control: {
@@ -23,6 +23,13 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
23
23
  export default {
24
24
  title: 'Form/SwitchField',
25
25
  component: SwitchField,
26
+ parameters: {
27
+ docs: {
28
+ source: {
29
+ type: 'code'
30
+ }
31
+ }
32
+ },
26
33
  argTypes: _objectSpread({
27
34
  label: {
28
35
  control: {
@@ -26,6 +26,13 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
26
26
  export default {
27
27
  title: 'Form/TextAreaField',
28
28
  component: TextAreaField,
29
+ parameters: {
30
+ docs: {
31
+ source: {
32
+ type: 'code'
33
+ }
34
+ }
35
+ },
29
36
  argTypes: _objectSpread({
30
37
  label: {
31
38
  control: {
@@ -30,6 +30,13 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
30
30
  export default {
31
31
  title: 'Form/TextField',
32
32
  component: TextField,
33
+ parameters: {
34
+ docs: {
35
+ source: {
36
+ type: 'code'
37
+ }
38
+ }
39
+ },
33
40
  argTypes: _objectSpread({
34
41
  labelMode: {
35
42
  control: {
@@ -10,7 +10,14 @@ import statuses from '../utils/devUtils/constants/statuses';
10
10
  import PopoverContainer from '../components/PopoverContainer';
11
11
  import { jsx as ___EmotionJSX } from "@emotion/react";
12
12
  export default {
13
- title: 'Recipes/Date Picker'
13
+ title: 'Recipes/Date Picker',
14
+ parameters: {
15
+ docs: {
16
+ source: {
17
+ type: 'code'
18
+ }
19
+ }
20
+ }
14
21
  };
15
22
  var sx = {
16
23
  calendarIcon: {
@@ -21,6 +21,13 @@ export default {
21
21
  },
22
22
  defaultValue: 'A secret piece of text'
23
23
  }
24
+ },
25
+ parameters: {
26
+ docs: {
27
+ source: {
28
+ type: 'code'
29
+ }
30
+ }
24
31
  }
25
32
  };
26
33
  var sx = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "1.39.0-alpha.6",
3
+ "version": "1.39.1",
4
4
  "description": "PingUX themeable React component library",
5
5
  "repository": {
6
6
  "type": "git",