pds-dev-kit-web 2.0.14-alpha.0 → 2.1.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.
Files changed (88) hide show
  1. package/dist/index.d.ts +4 -4
  2. package/dist/index.js +9 -3
  3. package/dist/src/common/assets/icons/line/DottedCircle.d.ts +4 -0
  4. package/dist/src/common/assets/icons/line/DottedCircle.js +30 -0
  5. package/dist/src/common/assets/icons/line/index.d.ts +1 -0
  6. package/dist/src/common/assets/icons/line/index.js +2 -0
  7. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +14 -2
  8. package/dist/src/common/styles/colorSet/PaletteColor_light.json +13 -1
  9. package/dist/src/common/styles/colorSet/UIColor.json +26 -1
  10. package/dist/src/common/styles/colorSet/index.d.ts +51 -2
  11. package/dist/src/common/styles/colorSet/index.js +2 -2
  12. package/dist/src/common/styles/colorSet/ui-type.d.ts +25 -0
  13. package/dist/src/common/types/components.d.ts +8 -0
  14. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +4 -1
  15. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +36 -11
  16. package/dist/src/desktop/common/components/TextFieldBase/constants.d.ts +1 -0
  17. package/dist/src/desktop/common/components/TextFieldBase/constants.js +4 -0
  18. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.d.ts +9 -0
  19. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +73 -0
  20. package/dist/src/desktop/components/BasicButtonGroup/index.d.ts +1 -0
  21. package/dist/src/desktop/components/BasicButtonGroup/index.js +8 -0
  22. package/dist/src/desktop/components/IconButton/IconButton.d.ts +5 -3
  23. package/dist/src/desktop/components/IconButton/IconButton.js +52 -4
  24. package/dist/src/desktop/components/IconButton/constants.d.ts +15 -0
  25. package/dist/src/desktop/components/IconButton/constants.js +19 -0
  26. package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +18 -0
  27. package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.js +143 -0
  28. package/dist/src/desktop/components/SegmentedButtonGroup/index.d.ts +1 -0
  29. package/dist/src/desktop/components/SegmentedButtonGroup/index.js +8 -0
  30. package/dist/src/desktop/components/Select/Select.js +12 -6
  31. package/dist/src/desktop/components/Slider/Slider.d.ts +19 -0
  32. package/dist/src/desktop/components/Slider/Slider.js +200 -0
  33. package/dist/src/desktop/components/Slider/index.d.ts +1 -0
  34. package/dist/src/desktop/components/Slider/index.js +8 -0
  35. package/dist/src/desktop/components/TextButton/TextButton.d.ts +1 -1
  36. package/dist/src/desktop/components/TextButton/TextButton.js +3 -0
  37. package/dist/src/desktop/components/TextField/TextField.d.ts +3 -1
  38. package/dist/src/desktop/components/TextField/TextField.js +8 -8
  39. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +5 -3
  40. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +52 -4
  41. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  42. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +3 -0
  43. package/dist/src/desktop/components/index.d.ts +4 -1
  44. package/dist/src/desktop/components/index.js +7 -1
  45. package/dist/src/desktop/index.d.ts +1 -1
  46. package/dist/src/desktop/index.js +5 -2
  47. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
  48. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.js +2 -1
  49. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.js +57 -32
  50. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSI.d.ts +15 -0
  51. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSI.js +117 -0
  52. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/index.d.ts +1 -0
  53. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/index.js +3 -1
  54. package/dist/src/desktop/layout/LayoutWS/ContainersBox/ContainersBox.d.ts +1 -1
  55. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +4 -1
  56. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +35 -10
  57. package/dist/src/mobile/common/components/TextFieldBase/constants.d.ts +1 -0
  58. package/dist/src/mobile/common/components/TextFieldBase/constants.js +4 -0
  59. package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.d.ts +9 -0
  60. package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.js +73 -0
  61. package/dist/src/mobile/components/BasicButtonGroup/index.d.ts +1 -0
  62. package/dist/src/mobile/components/BasicButtonGroup/index.js +8 -0
  63. package/dist/src/mobile/components/ContextMenu/ContextMenu.js +1 -1
  64. package/dist/src/mobile/components/IconButton/IconButton.d.ts +1 -1
  65. package/dist/src/mobile/components/IconButton/IconButton.js +1 -1
  66. package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +18 -0
  67. package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.js +143 -0
  68. package/dist/src/mobile/components/SegmentedButtonGroup/index.d.ts +1 -0
  69. package/dist/src/mobile/components/SegmentedButtonGroup/index.js +8 -0
  70. package/dist/src/mobile/components/Select/Select.js +12 -6
  71. package/dist/src/mobile/components/Slider/Slider.d.ts +19 -0
  72. package/dist/src/mobile/components/Slider/Slider.js +197 -0
  73. package/dist/src/mobile/components/Slider/index.d.ts +1 -0
  74. package/dist/src/mobile/components/Slider/index.js +8 -0
  75. package/dist/src/mobile/components/TextButton/TextButton.d.ts +1 -1
  76. package/dist/src/mobile/components/TextButton/TextButton.js +3 -0
  77. package/dist/src/mobile/components/TextField/TextField.d.ts +3 -1
  78. package/dist/src/mobile/components/TextField/TextField.js +8 -8
  79. package/dist/src/mobile/components/UploadIconButton/UploadIconButton.d.ts +1 -1
  80. package/dist/src/mobile/components/UploadIconButton/UploadIconButton.js +1 -1
  81. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  82. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +3 -0
  83. package/dist/src/mobile/components/index.d.ts +4 -1
  84. package/dist/src/mobile/components/index.js +7 -1
  85. package/dist/src/mobile/index.d.ts +1 -1
  86. package/dist/src/mobile/index.js +5 -1
  87. package/package.json +1 -1
  88. package/release-note.md +7 -7
@@ -23,7 +23,8 @@ var ContentsContainer = function (_a) {
23
23
  WSG_3: ((0, jsx_runtime_1.jsx)(variation_1.WSG, { layoutType: "WSG_3", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey }, void 0)),
24
24
  WSG_4: ((0, jsx_runtime_1.jsx)(variation_1.WSG, { layoutType: "WSG_4", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey }, void 0)),
25
25
  WSG_5: ((0, jsx_runtime_1.jsx)(variation_1.WSG, { layoutType: "WSG_5", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey }, void 0)),
26
- WSH_1: ((0, jsx_runtime_1.jsx)(variation_1.WSH, { layoutType: "WSH_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey }, void 0))
26
+ WSH_1: ((0, jsx_runtime_1.jsx)(variation_1.WSH, { layoutType: "WSH_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey }, void 0)),
27
+ WSI_1: ((0, jsx_runtime_1.jsx)(variation_1.WSI, { layoutType: "WSI_1", content1: content1, content2: content2, containerColor: containerColor, areaColor: areaColor, isLoadingContainer1: isLoadingContainer1, isLoadingContainer2: isLoadingContainer2, overrideContainer1ColorKey: overrideContainer1ColorKey, overrideContainer2ColorKey: overrideContainer2ColorKey }, void 0))
27
28
  }[layoutType] }, void 0));
28
29
  };
29
30
  exports.default = ContentsContainer;
@@ -51,23 +51,33 @@ var overrideStyleContainer2 = (0, styled_components_1.css)(templateObject_2 || (
51
51
  return overrideContainer2ColorKey && theme[overrideContainer2ColorKey];
52
52
  });
53
53
  var S_Box = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n height: 100%;\n"], ["\n display: flex;\n height: 100%;\n"])));
54
- var S_ContentsContainer1 = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n background-color: ", ";\n min-width: 480px;\n width: 50%;\n ", ";\n ", ";\n\n ", "\n ", "\n"], ["\n background-color: ", ";\n min-width: 480px;\n width: 50%;\n ", ";\n ", ";\n\n ", "\n ", "\n"])), function (_a) {
54
+ var WSG_1Container1Style = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
55
+ var WSG_2Container1Style = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n overflow-x: hidden;\n overflow-y: auto;\n"], ["\n overflow-x: hidden;\n overflow-y: auto;\n"])));
56
+ var WSG_3Container1Style = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n overflow-x: hidden;\n overflow-y: auto;\n"], ["\n overflow-x: hidden;\n overflow-y: auto;\n"])));
57
+ var WSG_4Container1Style = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n overflow-x: hidden;\n overflow-y: auto;\n width: 480px;\n"], ["\n overflow-x: hidden;\n overflow-y: auto;\n width: 480px;\n"])));
58
+ var WSG_5Container1Style = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n overflow-x: hidden;\n overflow-y: auto;\n width: 480px;\n"], ["\n overflow-x: hidden;\n overflow-y: auto;\n width: 480px;\n"])));
59
+ var S_ContentsContainer1 = styled_components_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n background-color: ", ";\n min-width: 480px;\n width: 50%;\n ", ";\n ", ";\n\n ", "\n ", "\n"], ["\n background-color: ", ";\n min-width: 480px;\n width: 50%;\n ", ";\n ", ";\n\n ", "\n ", "\n"])), function (_a) {
55
60
  var theme = _a.theme;
56
61
  return theme.ui_contentscontainer01_background;
57
62
  }, function (_a) {
58
63
  var layoutType = _a.layoutType;
59
64
  return ({
60
- WSG_1: 'height: 100%;',
61
- WSG_2: 'overflow-x: hidden;overflow-y: auto;',
62
- WSG_3: 'overflow-x: hidden;overflow-y: auto;',
63
- WSG_4: 'overflow-x: hidden;overflow-y: auto;width: 480px',
64
- WSG_5: 'overflow-x: hidden;overflow-y: auto;width: 480px'
65
+ WSG_1: WSG_1Container1Style,
66
+ WSG_2: WSG_2Container1Style,
67
+ WSG_3: WSG_3Container1Style,
68
+ WSG_4: WSG_4Container1Style,
69
+ WSG_5: WSG_5Container1Style
65
70
  }[layoutType]);
66
71
  }, function (_a) {
67
72
  var containerColor = _a.containerColor;
68
73
  return "background-color: " + containerColor;
69
74
  }, scrollbarStyle_1.scrollbarStyle, overrideStyleContainer1);
70
- var S_ContentsContainer2 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n border-left: 1px solid ", ";\n min-width: 480px;\n width: 50%;\n ", ";\n ", ";\n\n ", "\n ", "\n"], ["\n background-color: ", ";\n border-left: 1px solid ", ";\n min-width: 480px;\n width: 50%;\n ", ";\n ", ";\n\n ", "\n ", "\n"])), function (_a) {
75
+ var WSG_1Container2Style = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
76
+ var WSG_2Container2Style = (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n overflow-x: hidden;\n overflow-y: auto;\n"], ["\n overflow-x: hidden;\n overflow-y: auto;\n"])));
77
+ var WSG_3Container2Style = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
78
+ var WSG_4Container2Style = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n flex: 1;\n height: 100%;\n"], ["\n flex: 1;\n height: 100%;\n"])));
79
+ var WSG_5Container2Style = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n flex: 1;\n height: 100%;\n"], ["\n flex: 1;\n height: 100%;\n"])));
80
+ var S_ContentsContainer2 = styled_components_1.default.div(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n background-color: ", ";\n border-left: 1px solid ", ";\n min-width: 480px;\n width: 50%;\n ", ";\n ", ";\n\n ", "\n ", "\n"], ["\n background-color: ", ";\n border-left: 1px solid ", ";\n min-width: 480px;\n width: 50%;\n ", ";\n ", ";\n\n ", "\n ", "\n"])), function (_a) {
71
81
  var theme = _a.theme;
72
82
  return theme.ui_contentscontainer02_background;
73
83
  }, function (_a) {
@@ -76,61 +86,76 @@ var S_ContentsContainer2 = styled_components_1.default.div(templateObject_5 || (
76
86
  }, function (_a) {
77
87
  var layoutType = _a.layoutType;
78
88
  return ({
79
- WSG_1: 'height: 100%;',
80
- WSG_2: 'overflow-x: hidden;overflow-y: auto;',
81
- WSG_3: 'height: 100%;',
82
- WSG_4: 'height: 100%; flex: 1',
83
- WSG_5: 'height: 100%; flex: 1'
89
+ WSG_1: WSG_1Container2Style,
90
+ WSG_2: WSG_2Container2Style,
91
+ WSG_3: WSG_3Container2Style,
92
+ WSG_4: WSG_4Container2Style,
93
+ WSG_5: WSG_5Container2Style
84
94
  }[layoutType]);
85
95
  }, function (_a) {
86
96
  var containerColor = _a.containerColor;
87
97
  return "background-color: " + containerColor;
88
98
  }, scrollbarStyle_1.scrollbarStyle, overrideStyleContainer2);
89
- var S_ContentsArea1 = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"])), function (_a) {
99
+ var WSG_1Area1Style = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
100
+ var WSG_2Area1Style = (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n"], ["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n"])));
101
+ var WSG_3Area1Style = (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n"], ["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n"])));
102
+ var WSG_4Area1Style = (0, styled_components_1.css)(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n"], ["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n"])));
103
+ var WSG_5Area1Style = (0, styled_components_1.css)(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n"], ["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n"])));
104
+ var S_ContentsArea1 = styled_components_1.default.div(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"])), function (_a) {
90
105
  var layoutType = _a.layoutType;
91
106
  return ({
92
- WSG_1: 'height: 100%;',
93
- WSG_2: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
94
- WSG_3: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
95
- WSG_4: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;',
96
- WSG_5: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;'
107
+ WSG_1: WSG_1Area1Style,
108
+ WSG_2: WSG_2Area1Style,
109
+ WSG_3: WSG_3Area1Style,
110
+ WSG_4: WSG_4Area1Style,
111
+ WSG_5: WSG_5Area1Style
97
112
  }[layoutType]);
98
113
  }, function (_a) {
99
114
  var areaColor = _a.areaColor;
100
115
  return "background-color: " + areaColor;
101
116
  });
102
- var S_ContentsArea2 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n box-sizing: border-box;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n ", ";\n ", ";\n"])), function (_a) {
117
+ var WSG_1Area2Style = (0, styled_components_1.css)(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n height: 100%;\n padding-top: 24px;\n"], ["\n height: 100%;\n padding-top: 24px;\n"])));
118
+ var WSG_2Area2Style = (0, styled_components_1.css)(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n padding-top: 24px;\n"], ["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n padding-top: 24px;\n"])));
119
+ var WSG_3Area2Style = (0, styled_components_1.css)(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n height: 100%;\n padding-top: 24px;\n"], ["\n height: 100%;\n padding-top: 24px;\n"])));
120
+ var WSG_4Area2Style = (0, styled_components_1.css)(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n height: 100%;\n padding-top: 24px;\n"], ["\n height: 100%;\n padding-top: 24px;\n"])));
121
+ var WSG_5Area2Style = (0, styled_components_1.css)(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n height: 100%;\n"], ["\n height: 100%;\n"])));
122
+ var S_ContentsArea2 = styled_components_1.default.div(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n box-sizing: border-box;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n ", ";\n ", ";\n"])), function (_a) {
103
123
  var layoutType = _a.layoutType;
104
124
  return ({
105
- WSG_1: 'height: 100%;padding-top: 24px;',
106
- WSG_2: 'padding-left: 24px;padding-right: 24px;padding-bottom: 88px;padding-top: 24px;',
107
- WSG_3: 'height: 100%;padding-top: 24px;',
108
- WSG_4: 'height: 100%;padding-top: 24px;',
109
- WSG_5: 'height: 100%;'
125
+ WSG_1: WSG_1Area2Style,
126
+ WSG_2: WSG_2Area2Style,
127
+ WSG_3: WSG_3Area2Style,
128
+ WSG_4: WSG_4Area2Style,
129
+ WSG_5: WSG_5Area2Style
110
130
  }[layoutType]);
111
131
  }, function (_a) {
112
132
  var areaColor = _a.areaColor;
113
133
  return "background-color: " + areaColor;
114
134
  });
115
- var S_Content1 = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (_a) {
135
+ var WSG_1Content1Style = (0, styled_components_1.css)(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n height: 100%;\n overflow: hidden;\n"], ["\n height: 100%;\n overflow: hidden;\n"])));
136
+ var S_Content1 = styled_components_1.default.div(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (_a) {
116
137
  var layoutType = _a.layoutType;
117
138
  return ({
118
- WSG_1: 'height: 100%;overflow: hidden;',
139
+ WSG_1: WSG_1Content1Style,
119
140
  WSG_2: '',
120
141
  WSG_3: '',
121
142
  WSG_4: '',
122
143
  WSG_5: ''
123
144
  }[layoutType]);
124
145
  });
125
- var S_Content2 = styled_components_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (_a) {
146
+ var WSG_1Content2Style = (0, styled_components_1.css)(templateObject_30 || (templateObject_30 = __makeTemplateObject(["\n height: 100%;\n overflow: hidden;\n"], ["\n height: 100%;\n overflow: hidden;\n"])));
147
+ var WSG_3Content2Style = (0, styled_components_1.css)(templateObject_31 || (templateObject_31 = __makeTemplateObject(["\n height: 100%;\n overflow: hidden;\n"], ["\n height: 100%;\n overflow: hidden;\n"])));
148
+ var WSG_4Content2Style = (0, styled_components_1.css)(templateObject_32 || (templateObject_32 = __makeTemplateObject(["\n height: 100%;\n overflow: hidden;\n"], ["\n height: 100%;\n overflow: hidden;\n"])));
149
+ var WSG_5Content2Style = (0, styled_components_1.css)(templateObject_33 || (templateObject_33 = __makeTemplateObject(["\n height: 100%;\n overflow: hidden;\n"], ["\n height: 100%;\n overflow: hidden;\n"])));
150
+ var S_Content2 = styled_components_1.default.div(templateObject_34 || (templateObject_34 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (_a) {
126
151
  var layoutType = _a.layoutType;
127
152
  return ({
128
- WSG_1: 'height: 100%;overflow: hidden;',
153
+ WSG_1: WSG_1Content2Style,
129
154
  WSG_2: '',
130
- WSG_3: 'height: 100%;overflow: hidden;',
131
- WSG_4: 'height: 100%;overflow: hidden;',
132
- WSG_5: 'height: 100%;overflow: hidden;'
155
+ WSG_3: WSG_3Content2Style,
156
+ WSG_4: WSG_4Content2Style,
157
+ WSG_5: WSG_5Content2Style
133
158
  }[layoutType]);
134
159
  });
135
160
  exports.default = WSG;
136
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
161
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32, templateObject_33, templateObject_34;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import type { UiColors } from '../../../../../../common';
3
+ export declare type WSIProps = {
4
+ content1?: JSX.Element;
5
+ content2?: JSX.Element;
6
+ layoutType: 'WSI_1';
7
+ containerColor?: string;
8
+ areaColor?: string;
9
+ isLoadingContainer1?: boolean;
10
+ isLoadingContainer2?: boolean;
11
+ overrideContainer1ColorKey?: UiColors;
12
+ overrideContainer2ColorKey?: UiColors;
13
+ };
14
+ declare const WSI: ({ content1, content2, layoutType, containerColor, areaColor, isLoadingContainer1, isLoadingContainer2, overrideContainer1ColorKey, overrideContainer2ColorKey }: WSIProps) => JSX.Element;
15
+ export default WSI;
@@ -0,0 +1,117 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ var jsx_runtime_1 = require("react/jsx-runtime");
38
+ var styled_components_1 = __importStar(require("styled-components"));
39
+ var components_1 = require("../../../../../../common/components");
40
+ var scrollbarStyle_1 = require("../../../../../../common/styles/scroll/scrollbarStyle");
41
+ var WSI = function (_a) {
42
+ var content1 = _a.content1, content2 = _a.content2, layoutType = _a.layoutType, containerColor = _a.containerColor, areaColor = _a.areaColor, isLoadingContainer1 = _a.isLoadingContainer1, isLoadingContainer2 = _a.isLoadingContainer2, overrideContainer1ColorKey = _a.overrideContainer1ColorKey, overrideContainer2ColorKey = _a.overrideContainer2ColorKey;
43
+ return ((0, jsx_runtime_1.jsxs)(S_Box, { children: [(0, jsx_runtime_1.jsx)(S_ContentsContainer1, __assign({ "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WSI", layoutType: layoutType, containerColor: containerColor, overrideContainer1ColorKey: overrideContainer1ColorKey }, { children: isLoadingContainer1 ? ((0, jsx_runtime_1.jsx)(components_1.ThreeBarProgress, {}, void 0)) : ((0, jsx_runtime_1.jsx)(S_ContentsArea1, __assign({ "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WSI", layoutType: layoutType, areaColor: areaColor }, { children: (0, jsx_runtime_1.jsx)(S_Content1, __assign({ "x-pds-name": "Content1", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WSI", layoutType: layoutType }, { children: content1 }), void 0) }), void 0)) }), void 0), (0, jsx_runtime_1.jsx)(S_ContentsContainer2, __assign({ "x-pds-name": "ContentsContainer", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WSI", layoutType: layoutType, containerColor: containerColor, overrideContainer2ColorKey: overrideContainer2ColorKey }, { children: isLoadingContainer2 ? ((0, jsx_runtime_1.jsx)(components_1.ThreeBarProgress, {}, void 0)) : ((0, jsx_runtime_1.jsx)(S_ContentsArea2, __assign({ "x-pds-name": "ContentsArea", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WSI", layoutType: layoutType, areaColor: areaColor }, { children: (0, jsx_runtime_1.jsx)(S_Content2, __assign({ "x-pds-name": "Content2", "x-pds-element-type": "layout", "x-pds-device-type": "desktop", "x-pds-layout-type": "WSI", layoutType: layoutType }, { children: content2 }), void 0) }), void 0)) }), void 0)] }, void 0));
44
+ };
45
+ var overrideStyleContainer1 = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
46
+ var theme = _a.theme, overrideContainer1ColorKey = _a.overrideContainer1ColorKey;
47
+ return overrideContainer1ColorKey && theme[overrideContainer1ColorKey];
48
+ });
49
+ var overrideStyleContainer2 = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
50
+ var theme = _a.theme, overrideContainer2ColorKey = _a.overrideContainer2ColorKey;
51
+ return overrideContainer2ColorKey && theme[overrideContainer2ColorKey];
52
+ });
53
+ var S_Box = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n height: 100%;\n"], ["\n display: flex;\n height: 100%;\n"])));
54
+ var WSI_1Container1Style = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n overflow-x: hidden;\n overflow-y: auto;\n width: 720px;\n"], ["\n overflow-x: hidden;\n overflow-y: auto;\n width: 720px;\n"])));
55
+ var S_ContentsContainer1 = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n background-color: ", ";\n ", ";\n ", ";\n\n ", "\n ", "\n"], ["\n background-color: ", ";\n ", ";\n ", ";\n\n ", "\n ", "\n"])), function (_a) {
56
+ var theme = _a.theme;
57
+ return theme.ui_contentscontainer01_background;
58
+ }, function (_a) {
59
+ var layoutType = _a.layoutType;
60
+ return ({
61
+ WSI_1: WSI_1Container1Style
62
+ }[layoutType]);
63
+ }, function (_a) {
64
+ var containerColor = _a.containerColor;
65
+ return "background-color: " + containerColor;
66
+ }, scrollbarStyle_1.scrollbarStyle, overrideStyleContainer1);
67
+ var WSI_1Container2Style = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n flex: 1;\n height: 100%;\n"], ["\n flex: 1;\n height: 100%;\n"])));
68
+ var S_ContentsContainer2 = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n background-color: ", ";\n border-left: 1px solid ", ";\n ", ";\n ", ";\n\n ", "\n ", "\n"], ["\n background-color: ", ";\n border-left: 1px solid ", ";\n ", ";\n ", ";\n\n ", "\n ", "\n"])), function (_a) {
69
+ var theme = _a.theme;
70
+ return theme.ui_contentscontainer02_background;
71
+ }, function (_a) {
72
+ var theme = _a.theme;
73
+ return theme.ui_container_divider;
74
+ }, function (_a) {
75
+ var layoutType = _a.layoutType;
76
+ return ({
77
+ WSI_1: WSI_1Container2Style
78
+ }[layoutType]);
79
+ }, function (_a) {
80
+ var containerColor = _a.containerColor;
81
+ return "background-color: " + containerColor;
82
+ }, scrollbarStyle_1.scrollbarStyle, overrideStyleContainer2);
83
+ var WSI_1Area1Style = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n"], ["\n padding-bottom: 88px;\n padding-left: 24px;\n padding-right: 24px;\n"])));
84
+ var S_ContentsArea1 = styled_components_1.default.div(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n padding-top: 24px;\n ", ";\n ", ";\n"])), function (_a) {
85
+ var layoutType = _a.layoutType;
86
+ return ({
87
+ WSI_1: WSI_1Area1Style
88
+ }[layoutType]);
89
+ }, function (_a) {
90
+ var areaColor = _a.areaColor;
91
+ return "background-color: " + areaColor;
92
+ });
93
+ var WSI_1Area2Style = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n height: 100%;\n padding-top: 24px;\n width: 240px;\n"], ["\n height: 100%;\n padding-top: 24px;\n width: 240px;\n"])));
94
+ var S_ContentsArea2 = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n box-sizing: border-box;\n ", ";\n ", ";\n"], ["\n box-sizing: border-box;\n ", ";\n ", ";\n"])), function (_a) {
95
+ var layoutType = _a.layoutType;
96
+ return ({
97
+ WSI_1: WSI_1Area2Style
98
+ }[layoutType]);
99
+ }, function (_a) {
100
+ var areaColor = _a.areaColor;
101
+ return "background-color: " + areaColor;
102
+ });
103
+ var S_Content1 = styled_components_1.default.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (_a) {
104
+ var layoutType = _a.layoutType;
105
+ return ({
106
+ WSI_1: ''
107
+ }[layoutType]);
108
+ });
109
+ var WSI_1Content2Style = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n height: 100%;\n overflow: hidden;\n"], ["\n height: 100%;\n overflow: hidden;\n"])));
110
+ var S_Content2 = styled_components_1.default.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), function (_a) {
111
+ var layoutType = _a.layoutType;
112
+ return ({
113
+ WSI_1: WSI_1Content2Style
114
+ }[layoutType]);
115
+ });
116
+ exports.default = WSI;
117
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14;
@@ -6,3 +6,4 @@ export { default as WSE } from './WSE';
6
6
  export { default as WSF } from './WSF';
7
7
  export { default as WSG } from './WSG';
8
8
  export { default as WSH } from './WSH';
9
+ export { default as WSI } from './WSI';
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.WSH = exports.WSG = exports.WSF = exports.WSE = exports.WSD = exports.WSC = exports.WSB = exports.WSA = void 0;
6
+ exports.WSI = exports.WSH = exports.WSG = exports.WSF = exports.WSE = exports.WSD = exports.WSC = exports.WSB = exports.WSA = void 0;
7
7
  var WSA_1 = require("./WSA");
8
8
  Object.defineProperty(exports, "WSA", { enumerable: true, get: function () { return __importDefault(WSA_1).default; } });
9
9
  var WSB_1 = require("./WSB");
@@ -20,3 +20,5 @@ var WSG_1 = require("./WSG");
20
20
  Object.defineProperty(exports, "WSG", { enumerable: true, get: function () { return __importDefault(WSG_1).default; } });
21
21
  var WSH_1 = require("./WSH");
22
22
  Object.defineProperty(exports, "WSH", { enumerable: true, get: function () { return __importDefault(WSH_1).default; } });
23
+ var WSI_1 = require("./WSI");
24
+ Object.defineProperty(exports, "WSI", { enumerable: true, get: function () { return __importDefault(WSI_1).default; } });
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import type { UiColors } from '../../../../common';
3
3
  export declare type ContainersBoxProps = {
4
- layoutType: 'WSA_1' | 'WSB_1' | 'WSB_2' | 'WSC_1' | 'WSD_1' | 'WSE_1' | 'WSF_1' | 'WSF_2' | 'WSF_3' | 'WSF_4' | 'WSF_5' | 'WSF_6' | 'WSF_7' | 'WSG_1' | 'WSG_2' | 'WSG_3' | 'WSG_4' | 'WSG_5' | 'WSH_1';
4
+ layoutType: 'WSA_1' | 'WSB_1' | 'WSB_2' | 'WSC_1' | 'WSD_1' | 'WSE_1' | 'WSF_1' | 'WSF_2' | 'WSF_3' | 'WSF_4' | 'WSF_5' | 'WSF_6' | 'WSF_7' | 'WSG_1' | 'WSG_2' | 'WSG_3' | 'WSG_4' | 'WSG_5' | 'WSH_1' | 'WSI_1';
5
5
  pageMenuContent?: JSX.Element;
6
6
  tabMenuContent?: JSX.Element;
7
7
  content1?: JSX.Element;
@@ -30,6 +30,9 @@ export declare type TextFieldBaseProps = {
30
30
  deleteIconColor?: UiColors;
31
31
  isFocused?: boolean;
32
32
  autoComplete?: string;
33
+ stepperMode?: 'none' | 'use';
34
+ innerSpinButtonSize?: 12 | 16 | 20 | 24 | 32 | 40 | 48 | 56 | 64 | 72;
35
+ step?: number;
33
36
  onBlur?: (e: React.FocusEvent<HTMLInputElement> | React.FocusEvent<HTMLTextAreaElement>) => void;
34
37
  onChange?: (e: React.ChangeEvent<HTMLInputElement> | React.ChangeEvent<HTMLTextAreaElement>) => void;
35
38
  onFocus?: (e: React.FocusEvent<HTMLInputElement> | React.FocusEvent<HTMLTextAreaElement>) => void;
@@ -38,5 +41,5 @@ export declare type TextFieldBaseProps = {
38
41
  onTarget?: () => void;
39
42
  [x: string]: any;
40
43
  } & Record<string, any>;
41
- declare function TextFieldBase({ name, hintText, defaultText, textAlign, validation, preventBlankMode, enterSubmitMode, textLineType, multiRows, autoMinRows, autoMaxRows, inputType, state, colorTheme, min, max, maxLength, textSize, textWeight, textPadding, fieldHeight, deleteIconMode, deleteIconSize, deleteIconColor, isFocused, autoComplete, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onTarget, ...rest }: TextFieldBaseProps): JSX.Element;
44
+ declare function TextFieldBase({ name, hintText, defaultText, textAlign, validation, preventBlankMode, enterSubmitMode, textLineType, multiRows, autoMinRows, autoMaxRows, inputType, state, colorTheme, min, max, maxLength, textSize, textWeight, textPadding, fieldHeight, deleteIconMode, deleteIconSize, deleteIconColor, isFocused, autoComplete, stepperMode, innerSpinButtonSize, step, onBlur, onChange, onFocus, onKeyDown, onKeyUp, onTarget, ...rest }: TextFieldBaseProps): JSX.Element;
42
45
  export default TextFieldBase;
@@ -46,15 +46,18 @@ var __rest = (this && this.__rest) || function (s, e) {
46
46
  };
47
47
  Object.defineProperty(exports, "__esModule", { value: true });
48
48
  var jsx_runtime_1 = require("react/jsx-runtime");
49
+ /* eslint-disable better-styled-components/sort-declarations-alphabetically */
49
50
  /* eslint-disable react/jsx-no-bind */
50
51
  var react_1 = require("react");
51
52
  var react_hook_form_1 = require("react-hook-form");
53
+ var components_1 = require("../../../../hybrid/components");
52
54
  var styled_components_1 = __importStar(require("styled-components"));
53
55
  var common_1 = require("../../../../common");
54
56
  var IconButton_1 = require("../../../components/IconButton");
57
+ var constants_1 = require("./constants");
55
58
  function TextFieldBase(_a) {
56
- var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, _b = _a.textAlign, textAlign = _b === void 0 ? 'left' : _b, validation = _a.validation, _c = _a.preventBlankMode, preventBlankMode = _c === void 0 ? 'none' : _c, _d = _a.enterSubmitMode, enterSubmitMode = _d === void 0 ? 'none' : _d, _e = _a.textLineType, textLineType = _e === void 0 ? 'single' : _e, multiRows = _a.multiRows, autoMinRows = _a.autoMinRows, autoMaxRows = _a.autoMaxRows, _f = _a.inputType, inputType = _f === void 0 ? 'text' : _f, _g = _a.state, state = _g === void 0 ? 'normal' : _g, _h = _a.colorTheme, colorTheme = _h === void 0 ? 'none' : _h, min = _a.min, max = _a.max, _j = _a.maxLength, maxLength = _j === void 0 ? Infinity : _j, _k = _a.textSize, textSize = _k === void 0 ? 'form2' : _k, _l = _a.textWeight, textWeight = _l === void 0 ? 'normal' : _l, textPadding = _a.textPadding, _m = _a.fieldHeight, fieldHeight = _m === void 0 ? 48 : _m, _o = _a.deleteIconMode, deleteIconMode = _o === void 0 ? 'use' : _o, _p = _a.deleteIconSize, deleteIconSize = _p === void 0 ? 20 : _p, _q = _a.deleteIconColor, deleteIconColor = _q === void 0 ? 'ui_cpnt_button_icon_disabled' : _q, isFocused = _a.isFocused, _r = _a.autoComplete, autoComplete = _r === void 0 ? 'on' : _r, onBlur = _a.onBlur, onChange = _a.onChange, onFocus = _a.onFocus, onKeyDown = _a.onKeyDown, onKeyUp = _a.onKeyUp, onTarget = _a.onTarget, rest = __rest(_a, ["name", "hintText", "defaultText", "textAlign", "validation", "preventBlankMode", "enterSubmitMode", "textLineType", "multiRows", "autoMinRows", "autoMaxRows", "inputType", "state", "colorTheme", "min", "max", "maxLength", "textSize", "textWeight", "textPadding", "fieldHeight", "deleteIconMode", "deleteIconSize", "deleteIconColor", "isFocused", "autoComplete", "onBlur", "onChange", "onFocus", "onKeyDown", "onKeyUp", "onTarget"]);
57
- var _s = (0, react_hook_form_1.useFormContext)(), register = _s.register, setValue = _s.setValue, getValues = _s.getValues, clearErrors = _s.clearErrors;
59
+ var name = _a.name, hintText = _a.hintText, defaultText = _a.defaultText, _b = _a.textAlign, textAlign = _b === void 0 ? 'left' : _b, validation = _a.validation, _c = _a.preventBlankMode, preventBlankMode = _c === void 0 ? 'none' : _c, _d = _a.enterSubmitMode, enterSubmitMode = _d === void 0 ? 'none' : _d, _e = _a.textLineType, textLineType = _e === void 0 ? 'single' : _e, multiRows = _a.multiRows, autoMinRows = _a.autoMinRows, autoMaxRows = _a.autoMaxRows, _f = _a.inputType, inputType = _f === void 0 ? 'text' : _f, _g = _a.state, state = _g === void 0 ? 'normal' : _g, _h = _a.colorTheme, colorTheme = _h === void 0 ? 'none' : _h, min = _a.min, max = _a.max, _j = _a.maxLength, maxLength = _j === void 0 ? Infinity : _j, _k = _a.textSize, textSize = _k === void 0 ? 'form2' : _k, _l = _a.textWeight, textWeight = _l === void 0 ? 'normal' : _l, textPadding = _a.textPadding, _m = _a.fieldHeight, fieldHeight = _m === void 0 ? 48 : _m, _o = _a.deleteIconMode, deleteIconMode = _o === void 0 ? 'use' : _o, _p = _a.deleteIconSize, deleteIconSize = _p === void 0 ? 20 : _p, _q = _a.deleteIconColor, deleteIconColor = _q === void 0 ? 'ui_cpnt_button_icon_disabled' : _q, isFocused = _a.isFocused, _r = _a.autoComplete, autoComplete = _r === void 0 ? 'on' : _r, _s = _a.stepperMode, stepperMode = _s === void 0 ? 'none' : _s, innerSpinButtonSize = _a.innerSpinButtonSize, step = _a.step, onBlur = _a.onBlur, onChange = _a.onChange, onFocus = _a.onFocus, onKeyDown = _a.onKeyDown, onKeyUp = _a.onKeyUp, onTarget = _a.onTarget, rest = __rest(_a, ["name", "hintText", "defaultText", "textAlign", "validation", "preventBlankMode", "enterSubmitMode", "textLineType", "multiRows", "autoMinRows", "autoMaxRows", "inputType", "state", "colorTheme", "min", "max", "maxLength", "textSize", "textWeight", "textPadding", "fieldHeight", "deleteIconMode", "deleteIconSize", "deleteIconColor", "isFocused", "autoComplete", "stepperMode", "innerSpinButtonSize", "step", "onBlur", "onChange", "onFocus", "onKeyDown", "onKeyUp", "onTarget"]);
60
+ var _t = (0, react_hook_form_1.useFormContext)(), register = _t.register, setValue = _t.setValue, getValues = _t.getValues, clearErrors = _t.clearErrors;
58
61
  var timeout;
59
62
  (0, react_1.useEffect)(function () {
60
63
  return function () { return clearTimeout(timeout); };
@@ -116,7 +119,7 @@ function TextFieldBase(_a) {
116
119
  }
117
120
  }
118
121
  var textAreaRef = (0, react_1.useRef)(null);
119
- var _t = register(name, validation), ref = _t.ref, refRest = __rest(_t, ["ref"]);
122
+ var _u = register(name, validation), ref = _u.ref, refRest = __rest(_u, ["ref"]);
120
123
  (0, react_1.useEffect)(function () {
121
124
  if (textAreaRef === null || textAreaRef.current === null) {
122
125
  return;
@@ -177,7 +180,7 @@ function TextFieldBase(_a) {
177
180
  }
178
181
  var S_TextFieldBase = function () {
179
182
  if (textLineType === 'single') {
180
- return ((0, jsx_runtime_1.jsxs)(S_InputWrapper, { children: [(0, jsx_runtime_1.jsx)(S_Input, __assign({}, register(name, validation), rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, type: inputType, state: state, readOnly: state === 'read_only', disabled: state === 'disabled', maxLength: maxLength, textSize: textSize, textWeight: textWeight, textPadding: textPadding, colorTheme: colorTheme, min: min, max: max, autoComplete: autoComplete, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, ref: ref }), void 0), deleteIconMode === 'use' && isFocused && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: "ic_delete", baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: deleteIconSize, iconColorKey: deleteIconColor, iconFillType: "fill", state: state === 'disabled' ? 'disabled' : 'normal', tabIndex: -1, onMouseDown: deleteValue }, void 0))] }, void 0));
183
+ return ((0, jsx_runtime_1.jsxs)(S_InputWrapper, { children: [(0, jsx_runtime_1.jsx)(S_Input, __assign({}, register(name, validation), rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, type: inputType, state: state, readOnly: state === 'read_only', disabled: state === 'disabled', maxLength: maxLength, textSize: textSize, textWeight: textWeight, textPadding: textPadding, colorTheme: colorTheme, min: min, max: max, autoComplete: autoComplete, stepperMode: stepperMode, innerSpinButtonSize: innerSpinButtonSize, step: step, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, ref: ref }), void 0), stepperMode === 'use' && ((0, jsx_runtime_1.jsxs)(S_IconBox, __assign({ innerSpinButtonSize: innerSpinButtonSize }, { children: [(0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_up", fillType: "fill", size: innerSpinButtonSize }, void 0), (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_down", fillType: "fill", size: innerSpinButtonSize }, void 0)] }), void 0)), deleteIconMode === 'use' && isFocused && stepperMode === 'none' && ((0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { iconName: "ic_delete", baseSize: "small", shapeType: "rectangle", baseColorKey: "ui_cpnt_button_fill_base_transparent", iconSize: deleteIconSize, iconColorKey: deleteIconColor, iconFillType: "fill", state: state === 'disabled' ? 'disabled' : 'normal', tabIndex: -1, onMouseDown: deleteValue }, void 0))] }, void 0));
181
184
  }
182
185
  if (textLineType === 'multi') {
183
186
  return ((0, jsx_runtime_1.jsx)(S_Multi, __assign({}, register(name, validation), rest, { name: name, defaultValue: defaultText, placeholder: hintText, textAlign: textAlign, state: state, readOnly: state === 'read_only' && true, disabled: state === 'disabled' && true, maxLength: maxLength, rows: multiRows, textSize: textSize, textWeight: textWeight, textPadding: textPadding, colorTheme: colorTheme, autoComplete: autoComplete, onFocus: handleFocus, onChange: handleChange, onBlur: handleBlur, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, ref: ref }), void 0));
@@ -191,7 +194,7 @@ function TextFieldBase(_a) {
191
194
  };
192
195
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: S_TextFieldBase() }, void 0);
193
196
  }
194
- var S_InputWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 100%;\n width: 100%;\n"], ["\n align-items: center;\n display: flex;\n height: 100%;\n width: 100%;\n"])));
197
+ var S_InputWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 100%;\n position: relative;\n width: 100%;\n"], ["\n align-items: center;\n display: flex;\n height: 100%;\n position: relative;\n width: 100%;\n"])));
195
198
  var read_only = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
196
199
  var theme = _a.theme, colorTheme = _a.colorTheme;
197
200
  return colorTheme &&
@@ -210,7 +213,7 @@ var disabled = (0, styled_components_1.css)(templateObject_3 || (templateObject_
210
213
  transparent: theme.ui_cpnt_textfield_text_colortheme_transparent_disabled
211
214
  }[colorTheme];
212
215
  });
213
- var basicStyle = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n color: ", ";\n display: inline-flex;\n font-size: ", ";\n font-weight: ", ";\n height: 100%;\n justify-content: center;\n line-height: ", ";\n outline: 0;\n overflow: hidden;\n padding: 0;\n text-align: ", ";\n width: 100%;\n &::placeholder {\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n }\n\n ", ";\n ", "\n"], ["\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n color: ", ";\n display: inline-flex;\n font-size: ", ";\n font-weight: ", ";\n height: 100%;\n justify-content: center;\n line-height: ", ";\n outline: 0;\n overflow: hidden;\n padding: 0;\n text-align: ", ";\n width: 100%;\n &::placeholder {\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n }\n\n ", ";\n ", "\n"])), function (_a) {
216
+ var basicStyle = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n color: ", ";\n display: inline-flex;\n font-size: ", ";\n font-weight: ", ";\n height: 100%;\n justify-content: center;\n line-height: ", ";\n outline: 0;\n overflow: hidden;\n padding: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n text-align: ", ";\n width: 100%;\n &::placeholder {\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n }\n\n ", ";\n ", "\n"], ["\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n color: ", ";\n display: inline-flex;\n font-size: ", ";\n font-weight: ", ";\n height: 100%;\n justify-content: center;\n line-height: ", ";\n outline: 0;\n overflow: hidden;\n padding: 0;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n text-align: ", ";\n width: 100%;\n &::placeholder {\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n }\n\n ", ";\n ", "\n"])), function (_a) {
214
217
  var theme = _a.theme, colorTheme = _a.colorTheme;
215
218
  return colorTheme &&
216
219
  {
@@ -259,11 +262,33 @@ var basicStyle = (0, styled_components_1.css)(templateObject_4 || (templateObjec
259
262
  var textPadding = _a.textPadding;
260
263
  return textPadding && "padding: " + textPadding;
261
264
  });
262
- var S_Input = styled_components_1.default.input(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n ", "\n line-height: ", ";\n ::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n ::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"], ["\n ", "\n line-height: ", ";\n ::-webkit-inner-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n ::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), basicStyle, function (_a) {
265
+ var inputInnerSpinButtonStyle = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n -webkit-appearance: none;\n cursor: pointer;\n height: ", ";\n margin-left: ", ";\n opacity: 1;\n width: ", ";\n"], ["\n -webkit-appearance: none;\n cursor: pointer;\n height: ", ";\n margin-left: ", ";\n opacity: 1;\n width: ", ";\n"])), function (_a) {
266
+ var innerSpinButtonSize = _a.innerSpinButtonSize;
267
+ return innerSpinButtonSize && innerSpinButtonSize * 2 + "px";
268
+ }, function (_a) {
269
+ var theme = _a.theme;
270
+ return theme.spacing.spacingB;
271
+ }, function (_a) {
272
+ var innerSpinButtonSize = _a.innerSpinButtonSize;
273
+ return innerSpinButtonSize && innerSpinButtonSize + "px";
274
+ });
275
+ var S_Input = styled_components_1.default.input(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n ", "\n line-height: ", ";\n z-index: 20;\n\n ::-webkit-inner-spin-button {\n ", "\n }\n ::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"], ["\n ", "\n line-height: ", ";\n z-index: 20;\n\n ::-webkit-inner-spin-button {\n ", "\n }\n ::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n"])), basicStyle, function (_a) {
263
276
  var theme = _a.theme;
264
277
  return theme.desktopLineHeight.singleLine;
278
+ }, function (_a) {
279
+ var stepperMode = _a.stepperMode, type = _a.type;
280
+ return stepperMode === 'use' && type === 'number'
281
+ ? inputInnerSpinButtonStyle
282
+ : '-webkit-appearance: none; margin: 0;';
283
+ });
284
+ var S_IconBox = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n flex-direction: column;\n height: ", ";\n justify-content: center;\n position: absolute;\n right: ", "px;\n width: ", ";\n z-index: 1;\n"], ["\n align-items: center;\n display: flex;\n flex-direction: column;\n height: ", ";\n justify-content: center;\n position: absolute;\n right: ", "px;\n width: ", ";\n z-index: 1;\n"])), function (_a) {
285
+ var innerSpinButtonSize = _a.innerSpinButtonSize;
286
+ return innerSpinButtonSize && innerSpinButtonSize * 2 + "px";
287
+ }, constants_1.PIXEL_FOR_ICONS_CENTER, function (_a) {
288
+ var innerSpinButtonSize = _a.innerSpinButtonSize;
289
+ return innerSpinButtonSize && innerSpinButtonSize + "px";
265
290
  });
266
- var S_Auto = styled_components_1.default.textarea(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n ", "\n ", ";\n"], ["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n ", "\n ", ";\n"])), basicStyle, function (_a) {
291
+ var S_Auto = styled_components_1.default.textarea(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n ", "\n ", ";\n"], ["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n ", "\n ", ";\n"])), basicStyle, function (_a) {
267
292
  var autoMaxRows = _a.autoMaxRows, textSize = _a.textSize, fieldHeight = _a.fieldHeight;
268
293
  return autoMaxRows &&
269
294
  fieldHeight &&
@@ -278,6 +303,6 @@ var S_Auto = styled_components_1.default.textarea(templateObject_6 || (templateO
278
303
  Number(common_1.desktopLineHeight[textSize]) *
279
304
  autoMinRows + "px;";
280
305
  });
281
- var S_Multi = styled_components_1.default.textarea(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n"], ["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n"])), basicStyle);
306
+ var S_Multi = styled_components_1.default.textarea(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n"], ["\n ", "\n display: block;\n overflow-y: auto;\n resize: none;\n"])), basicStyle);
282
307
  exports.default = TextFieldBase;
283
- var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7;
308
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9;
@@ -0,0 +1 @@
1
+ export declare const PIXEL_FOR_ICONS_CENTER = 1;
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PIXEL_FOR_ICONS_CENTER = void 0;
4
+ exports.PIXEL_FOR_ICONS_CENTER = 1;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import type { BasicButtonGroupValueOption } from '../../../common/types';
3
+ export declare type BasicButtonGroupProps = {
4
+ size?: 'large' | 'medium' | 'small';
5
+ valueArray: BasicButtonGroupValueOption[];
6
+ state?: 'normal' | 'disabled';
7
+ };
8
+ declare function BasicButtonGroup({ size, valueArray, state }: BasicButtonGroupProps): JSX.Element;
9
+ export default BasicButtonGroup;
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
+ if (k2 === undefined) k2 = k;
19
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ var jsx_runtime_1 = require("react/jsx-runtime");
38
+ var components_1 = require("../../../hybrid/components");
39
+ var styled_components_1 = __importStar(require("styled-components"));
40
+ function BasicButtonGroup(_a) {
41
+ var _b = _a.size, size = _b === void 0 ? 'medium' : _b, valueArray = _a.valueArray, _c = _a.state, state = _c === void 0 ? 'normal' : _c;
42
+ return ((0, jsx_runtime_1.jsx)(S_BasicButtonGroup, __assign({ "x-pds-name": "BasicButtonGroup", "x-pds-element-type": "component", "x-pds-device-type": "mobile" }, { children: valueArray.map(function (_a, index) {
43
+ var iconName = _a.iconName, _b = _a.iconFillType, iconFillType = _b === void 0 ? 'line' : _b, _c = _a.state, buttonState = _c === void 0 ? 'normal' : _c, onClick = _a.onClick, onMouseDown = _a.onMouseDown;
44
+ return ((0, jsx_runtime_1.jsx)(S_BasicButton, __assign({ size: size, onClick: function (e) { return onClick && onClick(e); }, onMouseDown: function (e) { return onMouseDown && onMouseDown(e); }, disabled: state === 'disabled' || buttonState === 'disabled' }, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: iconName, size: size === 'small' ? 20 : 24, iconFillType: iconFillType, colorKey: state === 'disabled' || buttonState === 'disabled'
45
+ ? 'ui_cpnt_button_icon_disabled'
46
+ : 'ui_cpnt_button_icon_enabled' }, void 0) }), iconName + index));
47
+ }) }), void 0));
48
+ }
49
+ var S_BasicButtonGroup = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: max-content;\n\n & > button:not(:last-child) {\n margin-right: ", ";\n }\n"], ["\n width: max-content;\n\n & > button:not(:last-child) {\n margin-right: ", ";\n }\n"])), function (_a) {
50
+ var theme = _a.theme;
51
+ return theme.spacing.spacingA;
52
+ });
53
+ var large = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 14px;\n height: 48px;\n width: 48px;\n"], ["\n border-radius: 14px;\n height: 48px;\n width: 48px;\n"])));
54
+ var medium = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 12px;\n height: 40px;\n width: 40px;\n"], ["\n border-radius: 12px;\n height: 40px;\n width: 40px;\n"])));
55
+ var small = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n border-radius: 10px;\n height: 32px;\n width: 32px;\n"], ["\n border-radius: 10px;\n height: 32px;\n width: 32px;\n"])));
56
+ var S_BasicButton = styled_components_1.default.button(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n background-color: ", ";\n border: none;\n display: inline-flex;\n justify-content: center;\n\n position: relative;\n\n ", ";\n\n &::before {\n background-color: transparent;\n border-radius: inherit;\n content: '';\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n }\n\n &:hover:enabled:before {\n background-color: ", ";\n }\n\n &:active:enabled:before {\n background-color: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n cursor: default;\n }\n"], ["\n align-items: center;\n background-color: ", ";\n border: none;\n display: inline-flex;\n justify-content: center;\n\n position: relative;\n\n ", ";\n\n &::before {\n background-color: transparent;\n border-radius: inherit;\n content: '';\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n }\n\n &:hover:enabled:before {\n background-color: ", ";\n }\n\n &:active:enabled:before {\n background-color: ", ";\n }\n\n &:disabled {\n background-color: ", ";\n cursor: default;\n }\n"])), function (_a) {
57
+ var theme = _a.theme;
58
+ return theme.ui_cpnt_basicbuttongroup_base_default;
59
+ }, function (_a) {
60
+ var size = _a.size;
61
+ return size && { large: large, medium: medium, small: small }[size];
62
+ }, function (_a) {
63
+ var theme = _a.theme;
64
+ return theme.ui_cpnt_button_fill_on_base_hover;
65
+ }, function (_a) {
66
+ var theme = _a.theme;
67
+ return theme.ui_cpnt_button_fill_on_base_pressed;
68
+ }, function (_a) {
69
+ var theme = _a.theme;
70
+ return theme.ui_cpnt_basicbuttongroup_base_disabled;
71
+ });
72
+ exports.default = BasicButtonGroup;
73
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
@@ -0,0 +1 @@
1
+ export { default as BasicButtonGroup } from './BasicButtonGroup';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.BasicButtonGroup = void 0;
7
+ var BasicButtonGroup_1 = require("./BasicButtonGroup");
8
+ Object.defineProperty(exports, "BasicButtonGroup", { enumerable: true, get: function () { return __importDefault(BasicButtonGroup_1).default; } });
@@ -24,7 +24,7 @@ function ContextMenu(_a) {
24
24
  var children = _a.children, _b = _a.autoWidthMode, autoWidthMode = _b === void 0 ? 'none' : _b, maxHeight = _a.maxHeight, customWidth = _a.customWidth;
25
25
  return ((0, jsx_runtime_1.jsx)(S_ContextMenu, __assign({ "x-pds-name": "ContextMenu", "x-pds-element-type": "component", "x-pds-device-type": "mobile", autoWidth: autoWidthMode === 'use', maxHeight: maxHeight, customWidth: customWidth }, { children: children }), void 0));
26
26
  }
27
- var S_ContextMenu = styled_components_1.default.ul(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 14px;\n box-shadow: ", ";\n box-sizing: border-box;\n list-style: none;\n margin: 0;\n max-height: ", ";\n min-width: 128px;\n overflow-y: auto;\n padding: ", " 0;\n vertical-align: baseline;\n width: ", ";\n\n ", "\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 14px;\n box-shadow: ", ";\n box-sizing: border-box;\n list-style: none;\n margin: 0;\n max-height: ", ";\n min-width: 128px;\n overflow-y: auto;\n padding: ", " 0;\n vertical-align: baseline;\n width: ", ";\n\n ", "\n"])), function (_a) {
27
+ var S_ContextMenu = styled_components_1.default.ul(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 14px;\n box-shadow: ", ";\n box-sizing: border-box;\n list-style: none;\n margin: 0;\n max-height: ", ";\n min-width: 128px;\n overflow-y: auto;\n padding: ", " 0;\n position: relative;\n vertical-align: baseline;\n width: ", ";\n\n z-index: 3;\n\n ", "\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 14px;\n box-shadow: ", ";\n box-sizing: border-box;\n list-style: none;\n margin: 0;\n max-height: ", ";\n min-width: 128px;\n overflow-y: auto;\n padding: ", " 0;\n position: relative;\n vertical-align: baseline;\n width: ", ";\n\n z-index: 3;\n\n ", "\n"])), function (_a) {
28
28
  var theme = _a.theme;
29
29
  return theme.ui_cpnt_contextmenu_base;
30
30
  }, function (_a) {