@pingux/astro 1.41.0-alpha.1 → 1.41.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.
Files changed (65) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/NOTICE.html +4707 -0
  3. package/lib/Patterns/AttributeMappingDisplayViewPattern.stories.hidden.js +138 -0
  4. package/lib/Patterns/AttributeMappingEditViewPattern.stories.hidden.js +145 -0
  5. package/lib/Patterns/ListAndPanelPattern.stories.hidden.js +381 -0
  6. package/lib/Patterns/MessagesPattern.stories.hidden.js +69 -0
  7. package/lib/Patterns/SaveBarPattern.stories.hidden.js +80 -0
  8. package/lib/Patterns/UnsavedChangesPattern.stories.hidden.js +106 -0
  9. package/lib/cjs/Patterns/AttributeMappingDisplayViewPattern.stories.hidden.js +158 -0
  10. package/lib/cjs/Patterns/AttributeMappingEditViewPattern.stories.hidden.js +167 -0
  11. package/lib/cjs/Patterns/ListAndPanelPattern.stories.hidden.js +418 -0
  12. package/lib/cjs/Patterns/MessagesPattern.stories.hidden.js +99 -0
  13. package/lib/cjs/Patterns/SaveBarPattern.stories.hidden.js +109 -0
  14. package/lib/cjs/Patterns/UnsavedChangesPattern.stories.hidden.js +136 -0
  15. package/lib/cjs/components/Bracket/Bracket.stories.js +1 -3
  16. package/lib/cjs/components/Breadcrumbs/Breadcrumbs.js +1 -1
  17. package/lib/cjs/components/Breadcrumbs/Breadcrumbs.stories.js +2 -18
  18. package/lib/cjs/components/Card/Card.js +117 -2
  19. package/lib/cjs/components/Card/Card.stories.js +45 -17
  20. package/lib/cjs/components/Card/Card.test.js +50 -0
  21. package/lib/cjs/components/ComboBoxField/ComboBoxField.stories.js +13 -1
  22. package/lib/cjs/components/ComboBoxField/ComboBoxField.test.js +75 -4
  23. package/lib/cjs/components/DataTable/DataTable.js +56 -12
  24. package/lib/cjs/components/DataTable/DataTable.stories.js +84 -17
  25. package/lib/cjs/components/DataTable/DataTable.test.js +38 -6
  26. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +1 -1
  27. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +18 -3
  28. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.test.js +19 -5
  29. package/lib/cjs/components/Image/Image.stories.js +2 -2
  30. package/lib/cjs/components/ListBox/ListBoxSection.js +8 -1
  31. package/lib/cjs/components/ListView/ListView.stories.js +6 -4
  32. package/lib/cjs/components/OverlayPanel/OverlayPanel.stories.js +2 -1
  33. package/lib/cjs/components/SelectField/SelectField.stories.js +13 -1
  34. package/lib/cjs/components/SelectField/SelectField.test.js +75 -0
  35. package/lib/cjs/recipes/ConditionalFilter.stories.js +0 -1
  36. package/lib/cjs/recipes/ScrollableListView.stories.js +3 -2
  37. package/lib/cjs/recipes/TrialExperienceIndustryButtons.stories.js +4 -8
  38. package/lib/cjs/styles/variants/boxes.js +6 -6
  39. package/lib/cjs/utils/devUtils/constants/text.js +11 -0
  40. package/lib/components/Bracket/Bracket.stories.js +1 -3
  41. package/lib/components/Breadcrumbs/Breadcrumbs.js +1 -1
  42. package/lib/components/Breadcrumbs/Breadcrumbs.stories.js +0 -13
  43. package/lib/components/Card/Card.js +110 -2
  44. package/lib/components/Card/Card.stories.js +35 -10
  45. package/lib/components/Card/Card.test.js +36 -0
  46. package/lib/components/ComboBoxField/ComboBoxField.stories.js +13 -1
  47. package/lib/components/ComboBoxField/ComboBoxField.test.js +70 -5
  48. package/lib/components/DataTable/DataTable.js +56 -12
  49. package/lib/components/DataTable/DataTable.stories.js +75 -17
  50. package/lib/components/DataTable/DataTable.test.js +36 -6
  51. package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +1 -1
  52. package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.stories.js +18 -3
  53. package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.test.js +16 -5
  54. package/lib/components/Image/Image.stories.js +2 -2
  55. package/lib/components/ListBox/ListBoxSection.js +7 -2
  56. package/lib/components/ListView/ListView.stories.js +6 -4
  57. package/lib/components/OverlayPanel/OverlayPanel.stories.js +2 -1
  58. package/lib/components/SelectField/SelectField.stories.js +13 -1
  59. package/lib/components/SelectField/SelectField.test.js +68 -1
  60. package/lib/recipes/ConditionalFilter.stories.js +0 -1
  61. package/lib/recipes/ScrollableListView.stories.js +3 -2
  62. package/lib/recipes/TrialExperienceIndustryButtons.stories.js +4 -8
  63. package/lib/styles/variants/boxes.js +6 -6
  64. package/lib/utils/devUtils/constants/text.js +1 -0
  65. package/package.json +1 -1
@@ -0,0 +1,69 @@
1
+ import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
2
+ import _setTimeout from "@babel/runtime-corejs3/core-js-stable/set-timeout";
3
+ import React, { useState } from 'react';
4
+ import { Box, Button, Item, Messages } from '../index';
5
+ import { jsx as ___EmotionJSX } from "@emotion/react";
6
+ export default {
7
+ title: 'Design Patterns/Messages'
8
+ };
9
+ export var Default = function Default() {
10
+ var messages = {
11
+ neutral: {
12
+ text: 'Here is a very neutral thing'
13
+ },
14
+ success: {
15
+ text: 'Form saved successfully',
16
+ status: 'success'
17
+ },
18
+ warning: {
19
+ text: 'Something unexpected happened.',
20
+ status: 'warning'
21
+ },
22
+ error: {
23
+ text: 'Not saved! We could not validate one of the fields. Please see inline message below.',
24
+ status: 'error'
25
+ }
26
+ };
27
+ var sx = {
28
+ mainContentBox: {
29
+ p: 'xx'
30
+ }
31
+ };
32
+
33
+ var _useState = useState(null),
34
+ _useState2 = _slicedToArray(_useState, 2),
35
+ messageState = _useState2[0],
36
+ setMessageState = _useState2[1];
37
+
38
+ var handleUpdateMessage = function handleUpdateMessage(message) {
39
+ setMessageState(message);
40
+
41
+ _setTimeout(function () {
42
+ return setMessageState(null);
43
+ }, 3000);
44
+ };
45
+
46
+ return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Box, {
47
+ isRow: true,
48
+ gap: "lg",
49
+ sx: sx.mainContentBox
50
+ }, ___EmotionJSX(Button, {
51
+ onPress: function onPress() {
52
+ return handleUpdateMessage(messages.neutral);
53
+ }
54
+ }, "Neutral"), ___EmotionJSX(Button, {
55
+ onPress: function onPress() {
56
+ return handleUpdateMessage(messages.success);
57
+ }
58
+ }, "Success"), ___EmotionJSX(Button, {
59
+ onPress: function onPress() {
60
+ return handleUpdateMessage(messages.warning);
61
+ }
62
+ }, "Warning"), ___EmotionJSX(Button, {
63
+ onPress: function onPress() {
64
+ return handleUpdateMessage(messages.error);
65
+ }
66
+ }, "Error")), ___EmotionJSX(Box, null, ___EmotionJSX(Messages, null, messageState && ___EmotionJSX(Item, {
67
+ status: messageState.status
68
+ }, messageState.text))));
69
+ };
@@ -0,0 +1,80 @@
1
+ import React, { useRef } from 'react';
2
+ import { DummyText } from '../utils/devUtils/constants/text';
3
+ import { useOverlayPanelState } from '../hooks';
4
+ import { Box, Button, OverlayPanel, OverlayProvider, ScrollBox, TextField } from '../index';
5
+ import { jsx as ___EmotionJSX } from "@emotion/react";
6
+ export default {
7
+ title: 'Design Patterns/Save Bar'
8
+ };
9
+ var sx = {
10
+ mainContentBox: {
11
+ p: 'xl',
12
+ justifyContent: 'center'
13
+ },
14
+ overlayPanelStyle: {
15
+ width: '720px',
16
+ height: '100%'
17
+ },
18
+ overlayPanelMainBox: {
19
+ height: '100%'
20
+ },
21
+ overlayPanelInnerBox: {
22
+ p: 'sm'
23
+ },
24
+ scrollboxStyle: {
25
+ m: 'sm'
26
+ },
27
+ saveButtonStyle: {
28
+ p: '10px 15px',
29
+ width: '65px',
30
+ height: '38px',
31
+ lineHeight: '18.31px'
32
+ },
33
+ cancelButtonStyle: {
34
+ m: 'sm',
35
+ lineHeight: '18.31px'
36
+ }
37
+ };
38
+ export var Default = function Default() {
39
+ var _useOverlayPanelState = useOverlayPanelState(),
40
+ state = _useOverlayPanelState.state,
41
+ onClose = _useOverlayPanelState.onClose;
42
+
43
+ var triggerRef = useRef();
44
+ return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(Box, {
45
+ sx: sx.mainContentBox
46
+ }, ___EmotionJSX(OverlayProvider, null, ___EmotionJSX(Button, {
47
+ ref: triggerRef,
48
+ onPress: state.open
49
+ }, "Open Panel"), state.isOpen && ___EmotionJSX(OverlayPanel, {
50
+ isOpen: state.isOpen,
51
+ state: state,
52
+ triggerRef: triggerRef,
53
+ sx: sx.overlayPanelStyle
54
+ }, ___EmotionJSX(Box, {
55
+ sx: sx.overlayPanelMainBox
56
+ }, ___EmotionJSX(Box, {
57
+ sx: sx.overlayPanelInnerBox,
58
+ gap: "lg"
59
+ }, ___EmotionJSX(TextField, {
60
+ label: "Placeholder"
61
+ }), ___EmotionJSX(TextField, {
62
+ label: "Placeholder"
63
+ }), ___EmotionJSX(TextField, {
64
+ label: "Placeholder"
65
+ })), ___EmotionJSX(ScrollBox, {
66
+ sx: sx.scrollboxStyle
67
+ }, ___EmotionJSX("p", null, DummyText)), ___EmotionJSX(Box, {
68
+ isRow: true,
69
+ position: "fixed"
70
+ }, ___EmotionJSX(Button, {
71
+ sx: sx.saveButtonStyle,
72
+ variant: "primary"
73
+ }, "Save"), ___EmotionJSX(Button, {
74
+ sx: sx.cancelButtonStyle,
75
+ variant: "link",
76
+ onPress: function onPress() {
77
+ onClose(state, triggerRef);
78
+ }
79
+ }, "Cancel")))))));
80
+ };
@@ -0,0 +1,106 @@
1
+ import _slicedToArray from "@babel/runtime-corejs3/helpers/esm/slicedToArray";
2
+ import _setTimeout from "@babel/runtime-corejs3/core-js-stable/set-timeout";
3
+ import React, { useState } from 'react';
4
+ import { useModalState } from '../hooks';
5
+ import { Box, Button, Modal, OverlayProvider, Text, TextField, Link, Messages, Item } from '../index';
6
+ import { jsx as ___EmotionJSX } from "@emotion/react";
7
+ export default {
8
+ title: 'Design Patterns/Unsaved Changes'
9
+ };
10
+ export var Default = function Default() {
11
+ var state = useModalState();
12
+
13
+ var _useState = useState(''),
14
+ _useState2 = _slicedToArray(_useState, 2),
15
+ value = _useState2[0],
16
+ setValue = _useState2[1];
17
+
18
+ var _useState3 = useState(false),
19
+ _useState4 = _slicedToArray(_useState3, 2),
20
+ isShowingNeutral = _useState4[0],
21
+ setIsShowingNeutral = _useState4[1];
22
+
23
+ var _useState5 = useState(null),
24
+ _useState6 = _slicedToArray(_useState5, 2),
25
+ isShowingSuccess = _useState6[0],
26
+ setIsShowingSuccess = _useState6[1];
27
+
28
+ var closeModalAndClearInput = function closeModalAndClearInput() {
29
+ setValue('');
30
+ state.close();
31
+ setIsShowingNeutral(true);
32
+
33
+ _setTimeout(function () {
34
+ return setIsShowingNeutral(false);
35
+ }, 3000);
36
+ };
37
+
38
+ var closeModalAndShowSuccess = function closeModalAndShowSuccess() {
39
+ setValue('');
40
+ state.close();
41
+ setIsShowingSuccess(true);
42
+
43
+ _setTimeout(function () {
44
+ return setIsShowingSuccess(null);
45
+ }, 3000);
46
+ };
47
+
48
+ var sx = {
49
+ mainContentBox: {
50
+ p: 'xx'
51
+ },
52
+ textFieldBoxStyle: {
53
+ p: 'sm'
54
+ },
55
+ modalTextSaveChanges: {
56
+ mb: 'lg',
57
+ fontWeight: '0',
58
+ fontSize: 'xx',
59
+ lineHeight: '23px'
60
+ },
61
+ modalTextSaveOrDiscard: {
62
+ mb: 'lg',
63
+ fontSize: 'md',
64
+ lineHeight: '17.89px',
65
+ fontWeight: '0'
66
+ }
67
+ };
68
+ return ___EmotionJSX(React.Fragment, null, ___EmotionJSX(OverlayProvider, null, ___EmotionJSX(Box, {
69
+ sx: sx.mainContentBox,
70
+ gap: "lg"
71
+ }, ___EmotionJSX(Box, {
72
+ sx: sx.textFieldBoxStyle,
73
+ gap: "lg"
74
+ }, ___EmotionJSX(TextField, {
75
+ label: "Place Holder",
76
+ onChange: function onChange(e) {
77
+ return setValue(e.target.value);
78
+ },
79
+ value: value
80
+ })), ___EmotionJSX(Link, {
81
+ onPress: state.open,
82
+ "aria-label": "Open modal"
83
+ }, "Go Somewhere Else")), state.isOpen && ___EmotionJSX(Modal, {
84
+ isOpen: state.isOpen,
85
+ onClose: state.close,
86
+ hasCloseButton: true
87
+ }, ___EmotionJSX(Text, {
88
+ sx: sx.modalTextSaveChanges,
89
+ variant: "Bold"
90
+ }, "Save Changes?"), ___EmotionJSX(Text, {
91
+ sx: sx.modalTextSaveOrDiscard
92
+ }, "Save or discard your changes before leaving this page."), ___EmotionJSX(Box, {
93
+ isRow: true,
94
+ gap: "md"
95
+ }, ___EmotionJSX(Button, {
96
+ variant: "primary",
97
+ onPress: closeModalAndShowSuccess
98
+ }, "Save"), ___EmotionJSX(Button, {
99
+ onPress: closeModalAndClearInput
100
+ }, "Discard Changes"), ___EmotionJSX(Button, {
101
+ variant: "link",
102
+ onPress: state.close
103
+ }, "Cancel"))), ___EmotionJSX(Messages, null, isShowingNeutral && ___EmotionJSX(Item, null, "Changes have been Discarded."), isShowingSuccess && ___EmotionJSX(Item, {
104
+ status: "success"
105
+ }, "Form has been saved successfully."))));
106
+ };
@@ -0,0 +1,158 @@
1
+ "use strict";
2
+
3
+ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
4
+
5
+ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
6
+
7
+ _Object$defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+
11
+ exports["default"] = exports.Default = void 0;
12
+
13
+ var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
14
+
15
+ var _react = _interopRequireDefault(require("react"));
16
+
17
+ var _index = require("../index");
18
+
19
+ var _react2 = require("@emotion/react");
20
+
21
+ var _default = {
22
+ title: 'Design Patterns/Attribute Mapping Display View'
23
+ };
24
+ exports["default"] = _default;
25
+ var fieldValues = [{
26
+ field1: 'username',
27
+ field2: 'UserID',
28
+ hasChip: true,
29
+ chipLabel: 'Required',
30
+ key: 1
31
+ }, {
32
+ field1: 'firstName',
33
+ field2: 'Given Name',
34
+ hasChip: false,
35
+ key: 2
36
+ }, {
37
+ field1: 'lastName',
38
+ field2: 'Family Name',
39
+ hasChip: false,
40
+ key: 3
41
+ }, {
42
+ field1: 'population',
43
+ field2: 'Population',
44
+ hasChip: false,
45
+ key: 4
46
+ }];
47
+ var sx = {
48
+ mainContentBox: {
49
+ bg: 'accent.99',
50
+ alignItems: 'center',
51
+ maxWidth: '450px',
52
+ height: '220px'
53
+ },
54
+ innerContentBox: {
55
+ p: 'md'
56
+ },
57
+ applicationText: {
58
+ pl: 'sm',
59
+ fontWeight: '3',
60
+ lineHeight: '18.31px',
61
+ width: 'calc(50% - 22px)'
62
+ },
63
+ pingOneText: {
64
+ fontWeight: '3',
65
+ fontSize: 'md',
66
+ lineHeight: '18.31px'
67
+ },
68
+ separatorBox: {
69
+ px: 'sm'
70
+ },
71
+ separatorStyle: {
72
+ mt: 'sm',
73
+ mb: 'sm',
74
+ width: '100%'
75
+ },
76
+ mainFieldValueBox: {
77
+ pl: 'sm'
78
+ },
79
+ textFieldStyleProps: {
80
+ width: '165px',
81
+ py: '5px'
82
+ },
83
+ textFieldSeparator: {
84
+ mt: 'auto',
85
+ mb: 'auto',
86
+ width: '21px'
87
+ },
88
+ chipStyle: {
89
+ width: '65px',
90
+ height: '22px',
91
+ minWidth: 'fit-content',
92
+ alignSelf: 'center',
93
+ py: '3px',
94
+ ml: 'sm',
95
+ mr: 'xs',
96
+ border: '1px solid',
97
+ borderColor: 'neutral.80',
98
+ bg: 'white',
99
+ '& span': {
100
+ fontSize: 'sm',
101
+ width: '55px',
102
+ height: '16px'
103
+ }
104
+ }
105
+ };
106
+
107
+ var Default = function Default() {
108
+ return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_index.Box, {
109
+ sx: sx.mainContentBox
110
+ }, (0, _react2.jsx)(_index.Box, {
111
+ items: fieldValues,
112
+ sx: sx.innerContentBox
113
+ }, (0, _react2.jsx)(_index.Box, {
114
+ isRow: true
115
+ }, (0, _react2.jsx)(_index.Text, {
116
+ sx: sx.applicationText
117
+ }, "Application"), (0, _react2.jsx)(_index.Text, {
118
+ sx: sx.pingOneText
119
+ }, "PingOne")), (0, _react2.jsx)(_index.Box, {
120
+ sx: sx.separatorBox
121
+ }, (0, _react2.jsx)(_index.Separator, {
122
+ sx: sx.separatorStyle
123
+ })), (0, _map["default"])(fieldValues).call(fieldValues, function (_ref) {
124
+ var field1 = _ref.field1,
125
+ field2 = _ref.field2,
126
+ hasChip = _ref.hasChip,
127
+ key = _ref.key;
128
+ return (0, _react2.jsx)(_index.Box, {
129
+ isRow: true,
130
+ key: key,
131
+ sx: sx.mainFieldValueBox
132
+ }, (0, _react2.jsx)(_index.TextField, {
133
+ "aria-label": field1,
134
+ isReadOnly: true,
135
+ value: field1,
136
+ controlProps: {
137
+ variant: 'input.small',
138
+ sx: sx.textFieldStyleProps
139
+ }
140
+ }), (0, _react2.jsx)(_index.Separator, {
141
+ sx: sx.textFieldSeparator
142
+ }), (0, _react2.jsx)(_index.TextField, {
143
+ "aria-label": field2,
144
+ isReadOnly: true,
145
+ value: field2,
146
+ controlProps: {
147
+ variant: 'input.small',
148
+ sx: sx.textFieldStyleProps
149
+ }
150
+ }), hasChip && (0, _react2.jsx)(_index.Chip, {
151
+ label: "Required",
152
+ textColor: "#253746",
153
+ sx: sx.chipStyle
154
+ }));
155
+ }))));
156
+ };
157
+
158
+ exports.Default = Default;
@@ -0,0 +1,167 @@
1
+ "use strict";
2
+
3
+ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
4
+
5
+ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
6
+
7
+ _Object$defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+
11
+ exports["default"] = exports.Default = void 0;
12
+
13
+ var _map = _interopRequireDefault(require("@babel/runtime-corejs3/core-js-stable/instance/map"));
14
+
15
+ var _react = _interopRequireDefault(require("react"));
16
+
17
+ var _CogsIcon = _interopRequireDefault(require("mdi-react/CogsIcon"));
18
+
19
+ var _DeleteIcon = _interopRequireDefault(require("mdi-react/DeleteIcon"));
20
+
21
+ var _index = require("../index");
22
+
23
+ var _react2 = require("@emotion/react");
24
+
25
+ var _default = {
26
+ title: 'Design Patterns/Attribute Mapping Edit View'
27
+ };
28
+ exports["default"] = _default;
29
+ var editFieldValues = [{
30
+ field1: 'username',
31
+ field2: 'User ID',
32
+ key: 1
33
+ }, {
34
+ field1: 'firstName',
35
+ field2: 'Given Name',
36
+ hasChip: false,
37
+ key: 2
38
+ }, {
39
+ field1: 'lastName',
40
+ field2: 'Family Name',
41
+ hasChip: false,
42
+ key: 3
43
+ }, {
44
+ field1: 'population',
45
+ field2: 'Population',
46
+ hasChip: false,
47
+ key: 4
48
+ }];
49
+ var sx = {
50
+ editFieldsBox: {
51
+ mb: 'md'
52
+ },
53
+ mainBox: {
54
+ maxWidth: '750px',
55
+ height: '263px',
56
+ 'justifyContent': 'center',
57
+ bg: 'accent.99',
58
+ pl: 'md',
59
+ pr: 'md'
60
+ },
61
+ headerTextApplication: {
62
+ fontWeight: '3',
63
+ fontSize: 'md',
64
+ width: 'calc(50% - 26px)',
65
+ lineHeight: '18.31px',
66
+ pt: 'sm'
67
+ },
68
+ headerTextPingOne: {
69
+ fontWeight: '3',
70
+ fontSize: 'md',
71
+ width: 'calc(50% - 5px)',
72
+ lineHeight: '18.31px',
73
+ pt: 'sm'
74
+ },
75
+ headerTextRequired: {
76
+ fontWeight: '3',
77
+ fontSize: 'md',
78
+ width: 'calc(25% - 48px)',
79
+ lineHeight: '18.31px',
80
+ pt: 'sm'
81
+ },
82
+ separator: {
83
+ mt: 'xs',
84
+ mb: 'xs',
85
+ width: '100%'
86
+ },
87
+ checkboxField: {
88
+ 'aria-label': 'Select',
89
+ pt: 'xs'
90
+ },
91
+ comboBoxFieldContainer: {
92
+ mb: 'xs'
93
+ },
94
+ comboBoxField: {
95
+ 'aria-label': 'Edit Text Field',
96
+ width: '275px !important',
97
+ py: '11px',
98
+ pl: 'md',
99
+ pr: '45px',
100
+ lineHeight: '18.31px'
101
+ },
102
+ iconsBox: {
103
+ mt: 'sm'
104
+ }
105
+ };
106
+
107
+ var Default = function Default() {
108
+ return (0, _react2.jsx)(_react["default"].Fragment, null, (0, _react2.jsx)(_index.Box, {
109
+ sx: sx.mainBox
110
+ }, (0, _react2.jsx)(_index.Box, {
111
+ isRow: true
112
+ }, (0, _react2.jsx)(_index.Text, {
113
+ sx: sx.headerTextApplication
114
+ }, "Application"), (0, _react2.jsx)(_index.Text, {
115
+ sx: sx.headerTextPingOne
116
+ }, "PingOne"), (0, _react2.jsx)(_index.Text, {
117
+ sx: sx.headerTextRequired
118
+ }, "Required")), (0, _react2.jsx)(_index.Separator, {
119
+ sx: sx.separator
120
+ }), (0, _react2.jsx)(_index.Box, {
121
+ items: editFieldValues,
122
+ sx: sx.editFieldsBox
123
+ }, (0, _map["default"])(editFieldValues).call(editFieldValues, function (_ref) {
124
+ var field1 = _ref.field1,
125
+ field2 = _ref.field2,
126
+ key = _ref.key;
127
+ return (0, _react2.jsx)(_index.Box, {
128
+ isRow: true,
129
+ key: key,
130
+ gap: "sm",
131
+ sx: sx.comboBoxFieldContainer
132
+ }, (0, _react2.jsx)(_index.ComboBoxField, {
133
+ isReadonly: true,
134
+ value: field1,
135
+ controlProps: {
136
+ sx: sx.comboBoxField
137
+ }
138
+ }), (0, _react2.jsx)(_index.ComboBoxField, {
139
+ isReadonly: true,
140
+ value: field2,
141
+ controlProps: {
142
+ sx: sx.comboBoxField
143
+ }
144
+ }), (0, _react2.jsx)(_index.Box, {
145
+ isRow: true,
146
+ gap: "lg",
147
+ sx: sx.iconsBox
148
+ }, (0, _react2.jsx)(_index.IconButton, {
149
+ "aria-label": "Cogs Icon"
150
+ }, (0, _react2.jsx)(_index.Icon, {
151
+ icon: _CogsIcon["default"],
152
+ size: 24
153
+ })), (0, _react2.jsx)(_index.CheckboxField, {
154
+ status: "default",
155
+ containerProps: {
156
+ sx: sx.checkboxField
157
+ }
158
+ }), (0, _react2.jsx)(_index.IconButton, {
159
+ "aria-label": "Delete Icon"
160
+ }, (0, _react2.jsx)(_index.Icon, {
161
+ icon: _DeleteIcon["default"],
162
+ size: 24
163
+ }))));
164
+ }))));
165
+ };
166
+
167
+ exports.Default = Default;