pds-dev-kit-web 1.9.0-beta.4 → 1.9.0-beta.6

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 (96) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.js +14 -0
  3. package/dist/src/common/assets/icons/fill/ArrowDown.js +1 -1
  4. package/dist/src/common/assets/icons/fill/ArrowUp.js +1 -1
  5. package/dist/src/common/assets/icons/line/CsBold.d.ts +4 -0
  6. package/dist/src/common/assets/icons/line/CsBold.js +34 -0
  7. package/dist/src/common/assets/icons/line/CsFace.d.ts +4 -0
  8. package/dist/src/common/assets/icons/line/CsFace.js +34 -0
  9. package/dist/src/common/assets/icons/line/index.d.ts +2 -0
  10. package/dist/src/common/assets/icons/line/index.js +4 -0
  11. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -1
  12. package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -1
  13. package/dist/src/common/styles/colorSet/SemanticColor.json +3 -1
  14. package/dist/src/common/styles/colorSet/UIColor.json +3 -2
  15. package/dist/src/common/styles/colorSet/index.d.ts +97 -94
  16. package/dist/src/common/styles/colorSet/index.js +2 -2
  17. package/dist/src/common/styles/colorSet/ui-type.d.ts +1 -0
  18. package/dist/src/common/styles/movement/animationStyle.d.ts +8 -0
  19. package/dist/src/common/styles/movement/animationStyle.js +18 -0
  20. package/dist/src/common/styles/movement/keyframes.d.ts +14 -0
  21. package/dist/src/common/styles/movement/keyframes.js +23 -0
  22. package/dist/src/common/styles/movement/transitionStyle.d.ts +3 -0
  23. package/dist/src/common/styles/movement/transitionStyle.js +12 -0
  24. package/dist/src/common/styles/scroll/scrollbarStyle.d.ts +2 -0
  25. package/dist/src/common/styles/scroll/scrollbarStyle.js +14 -0
  26. package/dist/src/desktop/components/AdminList/AdminList.d.ts +2 -1
  27. package/dist/src/desktop/components/AdminList/AdminList.js +4 -4
  28. package/dist/src/desktop/components/AdminList/HeaderRow.d.ts +2 -1
  29. package/dist/src/desktop/components/AdminList/HeaderRow.js +21 -17
  30. package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +1 -0
  31. package/dist/src/desktop/components/AdminListItem/AdminListItem.js +20 -15
  32. package/dist/src/desktop/components/DesktopAlertDialog/DesktopAlertDialog.js +5 -4
  33. package/dist/src/desktop/components/Dropdown/Dropdown.js +34 -3
  34. package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +15 -4
  35. package/dist/src/desktop/components/FloatingActionButton/FloatingActionButton.js +5 -4
  36. package/dist/src/desktop/components/IconButton/IconButton.js +7 -6
  37. package/dist/src/desktop/components/LottieReactionButton/LottieReactionButton.js +4 -3
  38. package/dist/src/desktop/components/MainButton/MainButton.d.ts +1 -1
  39. package/dist/src/desktop/components/MainButton/MainButton.js +129 -41
  40. package/dist/src/desktop/components/ReactionButton/ReactionButton.js +5 -1
  41. package/dist/src/desktop/components/Select/Select.js +29 -2
  42. package/dist/src/desktop/components/TextButton/TextButton.js +3 -2
  43. package/dist/src/desktop/components/TextField/TextField.js +35 -4
  44. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +7 -6
  45. package/dist/src/desktop/components/UploadMainButton/UploadMainButton.d.ts +1 -1
  46. package/dist/src/desktop/components/UploadMainButton/UploadMainButton.js +141 -49
  47. package/dist/src/desktop/components/UploadMainButton/types.d.ts +0 -10
  48. package/dist/src/desktop/components/UploadMainButton/types.js +1 -11
  49. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +3 -2
  50. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +9 -12
  51. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +8 -11
  52. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +17 -20
  53. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.js +11 -33
  54. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSA.js +3 -2
  55. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSD.js +3 -2
  56. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSE.js +3 -2
  57. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSF.js +5 -4
  58. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.js +5 -4
  59. package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.d.ts +3 -2
  60. package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.js +32 -18
  61. package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +12 -14
  62. package/dist/src/mobile/components/Dropdown/Dropdown.js +21 -3
  63. package/dist/src/mobile/components/FloatingActionButton/FloatingActionButton.js +4 -3
  64. package/dist/src/mobile/components/IconButton/IconButton.js +6 -5
  65. package/dist/src/mobile/components/LottieReactionButton/LottieReactionButton.js +3 -2
  66. package/dist/src/mobile/components/MainButton/MainButton.d.ts +1 -1
  67. package/dist/src/mobile/components/MainButton/MainButton.js +122 -37
  68. package/dist/src/mobile/components/MobileAlertDialog/MobileAlertDialog.js +5 -4
  69. package/dist/src/mobile/components/Select/Select.js +18 -2
  70. package/dist/src/mobile/components/TextButton/TextButton.js +2 -1
  71. package/dist/src/mobile/components/TextField/TextField.js +22 -4
  72. package/dist/src/mobile/components/UploadIconButton/UploadIconButton.js +6 -5
  73. package/dist/src/mobile/components/UploadMainButton/UploadMainButton.d.ts +1 -1
  74. package/dist/src/mobile/components/UploadMainButton/UploadMainButton.js +134 -42
  75. package/dist/src/mobile/components/UploadMainButton/types.d.ts +0 -10
  76. package/dist/src/mobile/components/UploadMainButton/types.js +1 -11
  77. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +3 -2
  78. package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.js +5 -4
  79. package/dist/storybook-static/{0.8a8ae8fa.iframe.bundle.d.ts → 0.2023c95c.iframe.bundle.d.ts} +0 -0
  80. package/dist/storybook-static/{0.8a8ae8fa.iframe.bundle.js → 0.2023c95c.iframe.bundle.js} +4 -4
  81. package/dist/storybook-static/{4.0cae350a.iframe.bundle.d.ts → 4.d1de0501.iframe.bundle.d.ts} +0 -0
  82. package/dist/storybook-static/{4.0cae350a.iframe.bundle.js → 4.d1de0501.iframe.bundle.js} +68 -68
  83. package/dist/storybook-static/{5.6dd988b7.iframe.bundle.d.ts → 5.2f192ddf.iframe.bundle.d.ts} +0 -0
  84. package/dist/storybook-static/{5.6dd988b7.iframe.bundle.js → 5.2f192ddf.iframe.bundle.js} +10 -10
  85. package/dist/storybook-static/{6.16e7a5f8.iframe.bundle.d.ts → 6.62fc7663.iframe.bundle.d.ts} +0 -0
  86. package/dist/storybook-static/{6.16e7a5f8.iframe.bundle.js → 6.62fc7663.iframe.bundle.js} +5 -5
  87. package/dist/storybook-static/{7.d9eac22c.iframe.bundle.d.ts → 7.3518bf24.iframe.bundle.d.ts} +0 -0
  88. package/dist/storybook-static/{7.d9eac22c.iframe.bundle.js → 7.3518bf24.iframe.bundle.js} +1 -1
  89. package/dist/storybook-static/{main.a2e80e11.iframe.bundle.d.ts → main.c8ffb728.iframe.bundle.d.ts} +296 -326
  90. package/dist/storybook-static/{main.a2e80e11.iframe.bundle.js → main.c8ffb728.iframe.bundle.js} +146 -57
  91. package/dist/storybook-static/{runtime~main.d6679bc3.iframe.bundle.d.ts → runtime~main.54fba058.iframe.bundle.d.ts} +0 -0
  92. package/dist/storybook-static/{runtime~main.d6679bc3.iframe.bundle.js → runtime~main.54fba058.iframe.bundle.js} +1 -1
  93. package/dist/storybook-static/{vendors~main.acdf7090.iframe.bundle.d.ts → vendors~main.dd7c8d3f.iframe.bundle.d.ts} +0 -0
  94. package/dist/storybook-static/{vendors~main.acdf7090.iframe.bundle.js → vendors~main.dd7c8d3f.iframe.bundle.js} +14 -14
  95. package/package.json +1 -1
  96. package/release-note.md +17 -7
@@ -30,6 +30,7 @@ var react_1 = __importDefault(require("react"));
30
30
  var styled_components_1 = __importStar(require("styled-components"));
31
31
  var components_1 = require("../../../common/components");
32
32
  var styles_1 = require("../../../common/styles");
33
+ var transitionStyle_1 = require("../../../common/styles/movement/transitionStyle");
33
34
  var hybrid_1 = require("../../../hybrid");
34
35
  var TextLabel_1 = require("../TextLabel");
35
36
  var types_1 = require("./types");
@@ -41,9 +42,23 @@ function UploadMainButton(_a) {
41
42
  }
42
43
  e.target.value = '';
43
44
  };
45
+ var isLineColorTheme = colorTheme.includes('line');
46
+ var isPrimaryColorTheme = colorTheme.includes('primary');
47
+ var isSecondaryColorTheme = colorTheme.includes('secondary');
48
+ var lineColorThemeTextColor = function () {
49
+ if (colorTheme === 'line1') {
50
+ return 'ui_cpnt_button_text_error';
51
+ }
52
+ if (colorTheme === 'line2') {
53
+ return 'ui_cpnt_button_text_primary';
54
+ }
55
+ if (colorTheme === 'line3') {
56
+ return 'ui_cpnt_button_text_darktheme_enabled';
57
+ }
58
+ };
44
59
  var submittingProgressColor = function () {
45
- if (fillType === 'line' && colorTheme !== 'none' && state !== 'disabled') {
46
- return types_1.textThemeColorLines[colorTheme];
60
+ if (fillType === 'line' && isLineColorTheme && state !== 'disabled') {
61
+ return lineColorThemeTextColor();
47
62
  }
48
63
  if (fillType === 'fill') {
49
64
  return 'ui_cpnt_textlabel_usr_brandonprimary';
@@ -52,53 +67,98 @@ function UploadMainButton(_a) {
52
67
  return 'ui_cpnt_textlabel_sys_primary';
53
68
  }
54
69
  if (styleTheme === 'primary') {
70
+ if (colorTheme === 'primary1') {
71
+ return 'ui_cpnt_textlabel_usr_brandprimary';
72
+ }
55
73
  return 'ui_cpnt_textlabel_usr_brandonprimary';
56
74
  }
57
75
  if (styleTheme === 'secondary') {
76
+ if (colorTheme === 'secondary1') {
77
+ return 'ui_cpnt_textlabel_sys_white';
78
+ }
58
79
  return 'ui_cpnt_textlabel_usr_brandprimary';
59
80
  }
60
81
  return 'ui_cpnt_textlabel_usr_brandonprimary';
61
82
  };
62
- var selectTextThemeColor = function () {
83
+ var textColor = function () {
84
+ if (fillType === 'fill') {
85
+ return 'usrTextBrandOnPrimary';
86
+ }
87
+ if (fillType === 'line') {
88
+ return 'sysTextPrimary';
89
+ }
90
+ if (styleTheme === 'primary') {
91
+ if (colorTheme === 'primary1') {
92
+ return 'usrTextBrandPrimary';
93
+ }
94
+ return 'usrTextBrandOnPrimary';
95
+ }
96
+ if (styleTheme === 'secondary') {
97
+ if (colorTheme === 'secondary1') {
98
+ return 'sysTextWhite';
99
+ }
100
+ return 'usrTextBrandPrimary';
101
+ }
102
+ return 'usrTextBrandOnPrimary';
103
+ };
104
+ var textColorOverride = function () {
63
105
  if (colorTheme === 'line3' && state === 'disabled') {
64
106
  return 'ui_cpnt_button_text_darktheme_disabled';
65
107
  }
66
- if (fillType === 'line' && colorTheme !== 'none' && state !== 'disabled') {
67
- return types_1.textThemeColorLines[colorTheme];
108
+ if (fillType === 'line' && isLineColorTheme && state !== 'disabled') {
109
+ return lineColorThemeTextColor();
110
+ }
111
+ if (styleTheme === 'secondary' && colorTheme === 'secondary1' && state === 'disabled') {
112
+ return 'ui_cpnt_button_text_secondary_variation_disabled';
68
113
  }
69
114
  return undefined;
70
115
  };
116
+ var lineColorThemeIconColor = function () {
117
+ if (colorTheme === 'line1') {
118
+ return 'ui_cpnt_button_icon_error';
119
+ }
120
+ if (colorTheme === 'line2') {
121
+ return 'ui_cpnt_button_icon_primary';
122
+ }
123
+ if (colorTheme === 'line3') {
124
+ return 'ui_cpnt_button_icon_darktheme_enabled';
125
+ }
126
+ };
127
+ var primaryColorThemeIconColor = function () {
128
+ if (colorTheme === 'primary1') {
129
+ return 'ui_cpnt_button_icon_primary';
130
+ }
131
+ };
132
+ var secondaryColorThemeIconColor = function () {
133
+ if (colorTheme === 'secondary1') {
134
+ return 'ui_cpnt_button_icon_on_primary';
135
+ }
136
+ };
71
137
  var iconColor = function () {
72
138
  if (state === 'disabled') {
73
139
  if (colorTheme === 'line3') {
74
140
  return 'ui_cpnt_button_icon_darktheme_disabled';
75
141
  }
142
+ if (styleTheme === 'secondary' && colorTheme === 'secondary1') {
143
+ return 'ui_cpnt_button_icon_secondary_variation_disabled';
144
+ }
76
145
  return 'ui_cpnt_button_icon_disabled';
77
146
  }
78
- if (fillType === 'line' && colorTheme !== 'none') {
79
- return types_1.iconColorThemeLineColors[colorTheme];
147
+ if (fillType === 'line' && isLineColorTheme) {
148
+ return lineColorThemeIconColor();
80
149
  }
81
150
  if (fillType) {
82
151
  return types_1.iconFillTypeColors[fillType];
83
152
  }
84
- if (styleTheme) {
85
- return types_1.iconStyleThemeColors[styleTheme];
153
+ if (styleTheme === 'primary' && isPrimaryColorTheme) {
154
+ return primaryColorThemeIconColor();
86
155
  }
87
- };
88
- var textColor = function () {
89
- if (fillType === 'fill') {
90
- return 'usrTextBrandOnPrimary';
156
+ if (styleTheme === 'secondary' && isSecondaryColorTheme) {
157
+ return secondaryColorThemeIconColor();
91
158
  }
92
- if (fillType === 'line') {
93
- return 'sysTextPrimary';
94
- }
95
- if (styleTheme === 'primary') {
96
- return 'usrTextBrandOnPrimary';
97
- }
98
- if (styleTheme === 'secondary') {
99
- return 'usrTextBrandPrimary';
159
+ if (styleTheme) {
160
+ return types_1.iconStyleThemeColors[styleTheme];
100
161
  }
101
- return 'usrTextBrandOnPrimary';
102
162
  };
103
163
  var UploadMainButtonVariation = function () {
104
164
  if (isLoading) {
@@ -115,7 +175,7 @@ function UploadMainButton(_a) {
115
175
  size !== 'xsmall' && iconMode === 'left' && (react_1.default.createElement(react_1.default.Fragment, null,
116
176
  react_1.default.createElement(hybrid_1.Icon, { iconName: iconName, size: size === 'large' || size === 'rlarge' ? 20 : 16, colorKey: iconColor(), fillType: iconFillType }),
117
177
  react_1.default.createElement(hybrid_1.Spacing, { size: size === 'large' || size === 'rlarge' ? 'spacing_b' : 'spacing_a', spacingType: "width" }))),
118
- react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: types_1.textStyles[size], singleLineMode: "use", colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor(), colorOverride: selectTextThemeColor(), ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" }),
178
+ react_1.default.createElement(TextLabel_1.TextLabel, { text: text, styleTheme: types_1.textStyles[size], singleLineMode: "use", colorTheme: state === 'disabled' ? 'sysTextTertiary' : textColor(), colorOverride: textColorOverride(), ellipsisMode: "use", lineLimit: 1, wordBreak: "break_all" }),
119
179
  size !== 'xsmall' && iconMode === 'right' && (react_1.default.createElement(react_1.default.Fragment, null,
120
180
  react_1.default.createElement(hybrid_1.Spacing, { size: size === 'large' || size === 'rlarge' ? 'spacing_b' : 'spacing_a', spacingType: "width" }),
121
181
  react_1.default.createElement(hybrid_1.Icon, { iconName: iconName, size: size === 'large' || size === 'rlarge' ? 20 : 16, colorKey: iconColor(), fillType: iconFillType })))));
@@ -157,13 +217,12 @@ var fillDisabled = (0, styled_components_1.css)(templateObject_5 || (templateObj
157
217
  var theme = _a.theme;
158
218
  return theme.ui_cpnt_button_fill_base_disabled;
159
219
  });
160
- var fill = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:active:not([disabled]) {\n background-image: ", ";\n }\n\n ", "\n"], ["\n background-color: ", ";\n border: none;\n\n &:active:not([disabled]) {\n background-image: ", ";\n }\n\n ", "\n"])), function (_a) {
220
+ var fill = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n position: relative;\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:active:not([disabled])::before {\n background-color: ", ";\n }\n\n ", "\n"], ["\n background-color: ", ";\n border: none;\n position: relative;\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:active:not([disabled])::before {\n background-color: ", ";\n }\n\n ", "\n"])), function (_a) {
161
221
  var theme = _a.theme;
162
222
  return theme.ui_cpnt_button_fill_base_primary;
163
- }, function (_a) {
223
+ }, transitionStyle_1.ButtonTransition, function (_a) {
164
224
  var theme = _a.theme, isSubmitting = _a.isSubmitting;
165
- return !isSubmitting &&
166
- "linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_pressed + ",\n " + theme.ui_cpnt_button_fill_on_base_pressed + "\n )";
225
+ return !isSubmitting && theme.ui_cpnt_button_fill_on_base_pressed;
167
226
  }, function (_a) {
168
227
  var disabled = _a.disabled;
169
228
  return disabled && fillDisabled;
@@ -201,15 +260,26 @@ var lineDisabled = (0, styled_components_1.css)(templateObject_11 || (templateOb
201
260
  ? theme.ui_cpnt_button_line_border_darktheme_disabled
202
261
  : theme.ui_cpnt_button_line_border_disabled;
203
262
  });
204
- var line = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n ", ";\n ", "\n"], ["\n background-color: ", ";\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n ", ";\n ", "\n"])), function (_a) {
263
+ var line = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n &::before {\n content: '';\n display: none;\n }\n ", "\n\n ", ";\n\n ", "\n"], ["\n background-color: ", ";\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n &::before {\n content: '';\n display: none;\n }\n ", "\n\n ", ";\n\n ", "\n"])), function (_a) {
205
264
  var theme = _a.theme;
206
265
  return theme.ui_cpnt_button_line_base_default;
207
266
  }, function (_a) {
208
267
  var theme = _a.theme, isSubmitting = _a.isSubmitting;
209
268
  return !isSubmitting && theme.ui_cpnt_button_line_base_pressed;
210
- }, function (_a) {
269
+ }, transitionStyle_1.ButtonTransition, function (_a) {
211
270
  var colorTheme = _a.colorTheme;
212
- return colorTheme && { none: none, line1: line1, line2: line2, line3: line3 }[colorTheme];
271
+ if (colorTheme === 'none') {
272
+ return none;
273
+ }
274
+ if (colorTheme === 'line1') {
275
+ return line1;
276
+ }
277
+ if (colorTheme === 'line2') {
278
+ return line2;
279
+ }
280
+ if (colorTheme === 'line3') {
281
+ return line3;
282
+ }
213
283
  }, function (_a) {
214
284
  var disabled = _a.disabled;
215
285
  return disabled && lineDisabled;
@@ -218,33 +288,55 @@ var primaryDisabled = (0, styled_components_1.css)(templateObject_13 || (templat
218
288
  var theme = _a.theme;
219
289
  return theme.ui_cpnt_button_fill_base_disabled;
220
290
  });
221
- var primary = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:active:not([disabled]) {\n ", "\n }\n\n ", "\n"], ["\n background-color: ", ";\n border: none;\n\n &:active:not([disabled]) {\n ", "\n }\n\n ", "\n"])), function (_a) {
291
+ var primary1 = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
292
+ var theme = _a.theme;
293
+ return theme.ui_cpnt_button_primary_variation_base_enabled;
294
+ });
295
+ var primary = (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n position: relative;\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:active:not([disabled])::before {\n background-color: ", ";\n }\n\n ", "\n ", "\n"], ["\n background-color: ", ";\n border: none;\n position: relative;\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:active:not([disabled])::before {\n background-color: ", ";\n }\n\n ", "\n ", "\n"])), function (_a) {
222
296
  var theme = _a.theme;
223
297
  return theme.ui_cpnt_button_fill_base_primary;
224
- }, function (_a) {
298
+ }, transitionStyle_1.ButtonTransition, function (_a) {
225
299
  var theme = _a.theme, isSubmitting = _a.isSubmitting;
226
- return !isSubmitting &&
227
- "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_pressed + ",\n " + theme.ui_cpnt_button_fill_on_base_pressed + "\n );";
300
+ return !isSubmitting && theme.ui_cpnt_button_fill_on_base_pressed;
301
+ }, function (_a) {
302
+ var colorTheme = _a.colorTheme;
303
+ return colorTheme === 'primary1' && primary1;
228
304
  }, function (_a) {
229
305
  var disabled = _a.disabled;
230
306
  return disabled && primaryDisabled;
231
307
  });
232
- var secondaryDisabled = (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
308
+ var secondary1Disabled = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
233
309
  var theme = _a.theme;
234
- return theme.ui_cpnt_button_line_base_hover;
310
+ return theme.ui_cpnt_button_secondary_variation_base_default;
235
311
  });
236
- var secondary = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n\n &:active:not([disabled]) {\n ", "\n }\n\n ", "\n"], ["\n background-color: ", ";\n border: none;\n\n &:active:not([disabled]) {\n ", "\n }\n\n ", "\n"])), function (_a) {
312
+ var secondaryDisabled = (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n background-color: ", ";\n\n ", "\n"], ["\n background-color: ", ";\n\n ", "\n"])), function (_a) {
237
313
  var theme = _a.theme;
238
314
  return theme.ui_cpnt_button_line_base_hover;
239
315
  }, function (_a) {
316
+ var colorTheme = _a.colorTheme;
317
+ return colorTheme === 'secondary1' && secondary1Disabled;
318
+ });
319
+ var secondary1 = (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n background-color: ", ";\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n &::before {\n content: '';\n display: none;\n }\n\n ", "\n"], ["\n background-color: ", ";\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n &::before {\n content: '';\n display: none;\n }\n\n ", "\n"])), function (_a) {
320
+ var theme = _a.theme;
321
+ return theme.ui_cpnt_button_secondary_variation_base_default;
322
+ }, function (_a) {
323
+ var theme = _a.theme;
324
+ return theme.ui_cpnt_button_secondary_variation_base_pressed;
325
+ }, transitionStyle_1.ButtonTransition);
326
+ var secondary = (0, styled_components_1.css)(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n background-color: ", ";\n border: none;\n position: relative;\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:active:not([disabled])::before {\n background-color: ", ";\n }\n\n ", "\n ", "\n"], ["\n background-color: ", ";\n border: none;\n position: relative;\n\n &::before {\n content: '';\n border-radius: inherit;\n position: absolute;\n background-color: transparent;\n height: 100%;\n width: 100%;\n padding: 0;\n ", "\n }\n\n &:active:not([disabled])::before {\n background-color: ", ";\n }\n\n ", "\n ", "\n"])), function (_a) {
327
+ var theme = _a.theme;
328
+ return theme.ui_cpnt_button_line_base_hover;
329
+ }, transitionStyle_1.ButtonTransition, function (_a) {
240
330
  var theme = _a.theme, isSubmitting = _a.isSubmitting;
241
- return !isSubmitting &&
242
- "background-image: linear-gradient(\n to top,\n " + theme.ui_cpnt_button_fill_on_base_pressed + ",\n " + theme.ui_cpnt_button_fill_on_base_pressed + "\n );";
331
+ return !isSubmitting && theme.ui_cpnt_button_secondary_on_base_pressed;
332
+ }, function (_a) {
333
+ var colorTheme = _a.colorTheme;
334
+ return colorTheme === 'secondary1' && secondary1;
243
335
  }, function (_a) {
244
336
  var disabled = _a.disabled;
245
337
  return disabled && secondaryDisabled;
246
338
  });
247
- var S_UploadMainButton = styled_components_1.default.label(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n\n & > div {\n font-weight: ", ";\n }\n\n ", "\n ", "\n ", "\n ", ";\n"], ["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n\n & > div {\n font-weight: ", ";\n }\n\n ", "\n ", "\n ", "\n ", ";\n"])), function (_a) {
339
+ var S_UploadMainButton = styled_components_1.default.label(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n\n & > div {\n font-weight: ", ";\n }\n\n ", "\n ", "\n ", "\n ", ";\n"], ["\n align-items: center;\n background-color: transparent;\n border: 1px solid transparent;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n\n & > div {\n font-weight: ", ";\n }\n\n ", "\n ", "\n ", "\n ", ";\n"])), function (_a) {
248
340
  var theme = _a.theme, fontWeight = _a.fontWeight;
249
341
  return fontWeight &&
250
342
  {
@@ -264,6 +356,6 @@ var S_UploadMainButton = styled_components_1.default.label(templateObject_17 ||
264
356
  var responsiveMode = _a.responsiveMode;
265
357
  return responsiveMode === 'use' && 'width: 100%';
266
358
  });
267
- var S_LoadingUploadMainButton = (0, styled_components_1.default)(S_UploadMainButton)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), styles_1.skeletonLoadingStyle);
359
+ var S_LoadingUploadMainButton = (0, styled_components_1.default)(S_UploadMainButton)(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), styles_1.skeletonLoadingStyle);
268
360
  exports.default = UploadMainButton;
269
- 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;
361
+ 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;
@@ -5,11 +5,6 @@ export declare const textStyles: {
5
5
  readonly small: "caption1Bold";
6
6
  readonly xsmall: "caption1Regular";
7
7
  };
8
- export declare const textThemeColorLines: {
9
- readonly line1: "ui_cpnt_button_text_error";
10
- readonly line2: "ui_cpnt_button_text_primary";
11
- readonly line3: "ui_cpnt_button_text_darktheme_enabled";
12
- };
13
8
  export declare const iconFillTypeColors: {
14
9
  readonly fill: "ui_cpnt_button_icon_on_primary";
15
10
  readonly line: "ui_cpnt_button_icon_enabled";
@@ -18,8 +13,3 @@ export declare const iconStyleThemeColors: {
18
13
  readonly primary: "ui_cpnt_button_icon_on_primary";
19
14
  readonly secondary: "ui_cpnt_button_icon_primary";
20
15
  };
21
- export declare const iconColorThemeLineColors: {
22
- readonly line1: "ui_cpnt_button_icon_error";
23
- readonly line2: "ui_cpnt_button_icon_primary";
24
- readonly line3: "ui_cpnt_button_icon_darktheme_enabled";
25
- };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.iconColorThemeLineColors = exports.iconStyleThemeColors = exports.iconFillTypeColors = exports.textThemeColorLines = exports.textStyles = void 0;
3
+ exports.iconStyleThemeColors = exports.iconFillTypeColors = exports.textStyles = void 0;
4
4
  exports.textStyles = {
5
5
  rlarge: 'body1Bold',
6
6
  large: 'body1Bold',
@@ -8,11 +8,6 @@ exports.textStyles = {
8
8
  small: 'caption1Bold',
9
9
  xsmall: 'caption1Regular'
10
10
  };
11
- exports.textThemeColorLines = {
12
- line1: 'ui_cpnt_button_text_error',
13
- line2: 'ui_cpnt_button_text_primary',
14
- line3: 'ui_cpnt_button_text_darktheme_enabled'
15
- };
16
11
  exports.iconFillTypeColors = {
17
12
  fill: 'ui_cpnt_button_icon_on_primary',
18
13
  line: 'ui_cpnt_button_icon_enabled'
@@ -21,8 +16,3 @@ exports.iconStyleThemeColors = {
21
16
  primary: 'ui_cpnt_button_icon_on_primary',
22
17
  secondary: 'ui_cpnt_button_icon_primary'
23
18
  };
24
- exports.iconColorThemeLineColors = {
25
- line1: 'ui_cpnt_button_icon_error',
26
- line2: 'ui_cpnt_button_icon_primary',
27
- line3: 'ui_cpnt_button_icon_darktheme_enabled'
28
- };
@@ -28,6 +28,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  var react_1 = __importDefault(require("react"));
30
30
  var styled_components_1 = __importStar(require("styled-components"));
31
+ var transitionStyle_1 = require("../../../common/styles/movement/transitionStyle");
31
32
  var TextLabel_1 = require("../TextLabel");
32
33
  var textStyle = {
33
34
  rlarge: 'body1Bold',
@@ -61,10 +62,10 @@ var large = (0, styled_components_1.css)(templateObject_1 || (templateObject_1 =
61
62
  var medium = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n border-radius: 14px;\n height: 40px;\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"], ["\n border-radius: 14px;\n height: 40px;\n\n & > div {\n height: 40px;\n line-height: 40px;\n }\n"])));
62
63
  var small = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n border-radius: 10px;\n height: 32px;\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"], ["\n border-radius: 10px;\n height: 32px;\n\n & > div {\n height: 32px;\n line-height: 32px;\n }\n"])));
63
64
  var xsmall = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n border-radius: 8px;\n height: 24px;\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"], ["\n border-radius: 8px;\n height: 24px;\n\n & > div {\n height: 24px;\n line-height: 24px;\n }\n"])));
64
- var S_UploadTextButton = styled_components_1.default.label(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n padding: 0 ", ";\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n & > div {\n font-weight: ", ";\n }\n\n ", ";\n ", ";\n"], ["\n align-items: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n padding: 0 ", ";\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n & > div {\n font-weight: ", ";\n }\n\n ", ";\n ", ";\n"])), function (_a) {
65
+ var S_UploadTextButton = styled_components_1.default.label(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n align-items: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n padding: 0 ", ";\n\n ", "\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n & > div {\n font-weight: ", ";\n }\n\n ", ";\n ", ";\n"], ["\n align-items: center;\n background-color: transparent;\n border: none;\n box-sizing: border-box;\n display: inline-flex;\n justify-content: center;\n padding: 0 ", ";\n\n ", "\n\n &:active:not([disabled]) {\n background-color: ", ";\n }\n\n & > div {\n font-weight: ", ";\n }\n\n ", ";\n ", ";\n"])), function (_a) {
65
66
  var theme = _a.theme;
66
67
  return theme.spacing.spacingB;
67
- }, function (_a) {
68
+ }, transitionStyle_1.ButtonTransition, function (_a) {
68
69
  var theme = _a.theme;
69
70
  return theme.ui_cpnt_button_line_base_pressed;
70
71
  }, function (_a) {
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
29
29
  var react_1 = __importStar(require("react"));
30
30
  var react_dom_1 = __importDefault(require("react-dom"));
31
31
  var styled_components_1 = __importStar(require("styled-components"));
32
+ var animationStyle_1 = require("../../../common/styles/movement/animationStyle");
32
33
  var hybrid_1 = require("../../../hybrid");
33
34
  var components_1 = require("../../components");
34
35
  function MobileBasicModal(_a) {
@@ -65,11 +66,11 @@ function MobileBasicModal(_a) {
65
66
  react_1.default.createElement(hybrid_1.Spacing, { size: "spacing_b" }),
66
67
  react_1.default.createElement(components_1.TextButton, { text: tBtnText, state: tBtnState, type: tBtnType, size: "rlarge", onClick: onClickTBtn })))))), container);
67
68
  }
68
- var S_ModalOverlay = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n height: 100vh;\n left: 0;\n position: fixed;\n top: 0;\n width: 100vw;\n"], ["\n background-color: ", ";\n height: 100vh;\n left: 0;\n position: fixed;\n top: 0;\n width: 100vw;\n"])), function (_a) {
69
+ var S_ModalOverlay = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n background-color: ", ";\n height: 100vh;\n left: 0;\n position: fixed;\n top: 0;\n width: 100vw;\n\n ", "\n"], ["\n background-color: ", ";\n height: 100vh;\n left: 0;\n position: fixed;\n top: 0;\n width: 100vw;\n\n ", "\n"])), function (_a) {
69
70
  var theme = _a.theme;
70
71
  return theme.ui_cpnt_modal_dimmed;
71
- });
72
- var S_ModalWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 24px;\n box-shadow: ", ";\n left: 50%;\n max-width: 560px;\n position: fixed;\n top: 50%;\n transform: translate(-50%, -50%);\n width: calc(100% - 48px);\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 24px;\n box-shadow: ", ";\n left: 50%;\n max-width: 560px;\n position: fixed;\n top: 50%;\n transform: translate(-50%, -50%);\n width: calc(100% - 48px);\n"])), function (_a) {
72
+ }, animationStyle_1.modalOverlayOnAni);
73
+ var S_ModalWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 24px;\n box-shadow: ", ";\n left: 50%;\n max-width: 560px;\n position: fixed;\n top: 50%;\n transform: translate(-50%, -50%);\n width: calc(100% - 48px);\n\n ", "\n"], ["\n background-color: ", ";\n border: 1px solid ", ";\n border-radius: 24px;\n box-shadow: ", ";\n left: 50%;\n max-width: 560px;\n position: fixed;\n top: 50%;\n transform: translate(-50%, -50%);\n width: calc(100% - 48px);\n\n ", "\n"])), function (_a) {
73
74
  var theme = _a.theme;
74
75
  return theme.ui_cpnt_modal_base;
75
76
  }, function (_a) {
@@ -78,7 +79,7 @@ var S_ModalWrapper = styled_components_1.default.div(templateObject_2 || (templa
78
79
  }, function (_a) {
79
80
  var theme = _a.theme;
80
81
  return theme.boxShadow.elevation4;
81
- });
82
+ }, animationStyle_1.modalOnAni);
82
83
  var S_Header = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n padding-bottom: ", ";\n"], ["\n display: flex;\n justify-content: space-between;\n padding-bottom: ", ";\n"])), function (_a) {
83
84
  var theme = _a.theme;
84
85
  return theme.spacing.spacingC;
@@ -1,4 +1,4 @@
1
- (window.webpackJsonp = window.webpackJsonp || []).push([[0], { 2205: function (module, exports) { var hasElementType = "undefined" != typeof Element, hasMap = "function" == typeof Map, hasSet = "function" == typeof Set, hasArrayBuffer = "function" == typeof ArrayBuffer && !!ArrayBuffer.isView; function equal(a, b) { if (a === b)
1
+ (window.webpackJsonp = window.webpackJsonp || []).push([[0], { 2208: function (module, exports) { var hasElementType = "undefined" != typeof Element, hasMap = "function" == typeof Map, hasSet = "function" == typeof Set, hasArrayBuffer = "function" == typeof ArrayBuffer && !!ArrayBuffer.isView; function equal(a, b) { if (a === b)
2
2
  return !0; if (a && b && "object" == typeof a && "object" == typeof b) {
3
3
  if (a.constructor !== b.constructor)
4
4
  return !1;
@@ -62,7 +62,7 @@
62
62
  if ((error.message || "").match(/stack|recursion/i))
63
63
  return console.warn("react-fast-compare cannot handle circular refs"), !1;
64
64
  throw error;
65
- } }; }, 2206: function (module, exports, __webpack_require__) {
65
+ } }; }, 2209: function (module, exports, __webpack_require__) {
66
66
  "use strict";
67
67
  var warning = function () { };
68
68
  module.exports = warning;
@@ -227,12 +227,12 @@
227
227
  } }, requiresIfExists: ["offset"] }, { name: "arrow", enabled: !0, phase: "main", fn: function arrow(_ref) { var _state$modifiersData$, state = _ref.state, name = _ref.name, options = _ref.options, arrowElement = state.elements.arrow, popperOffsets = state.modifiersData.popperOffsets, basePlacement = getBasePlacement(state.placement), axis = getMainAxisFromPlacement(basePlacement), len = [left, right].indexOf(basePlacement) >= 0 ? "height" : "width"; if (arrowElement && popperOffsets) {
228
228
  var paddingObject = function toPaddingObject(padding, state) { return mergePaddingObject("number" != typeof (padding = "function" == typeof padding ? padding(Object.assign({}, state.rects, { placement: state.placement })) : padding) ? padding : expandToHashMap(padding, basePlacements)); }(options.padding, state), arrowRect = getLayoutRect(arrowElement), minProp = "y" === axis ? enums_top : left, maxProp = "y" === axis ? bottom : right, endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len], startDiff = popperOffsets[axis] - state.rects.reference[axis], arrowOffsetParent = getOffsetParent(arrowElement), clientSize = arrowOffsetParent ? "y" === axis ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0, centerToReference = endDiff / 2 - startDiff / 2, min = paddingObject[minProp], max = clientSize - arrowRect[len] - paddingObject[maxProp], center = clientSize / 2 - arrowRect[len] / 2 + centerToReference, offset = within(min, center, max), axisProp = axis;
229
229
  state.modifiersData[name] = ((_state$modifiersData$ = {})[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);
230
- } }, effect: function arrow_effect(_ref2) { var state = _ref2.state, _options$element = _ref2.options.element, arrowElement = void 0 === _options$element ? "[data-popper-arrow]" : _options$element; null != arrowElement && ("string" != typeof arrowElement || (arrowElement = state.elements.popper.querySelector(arrowElement))) && contains(state.elements.popper, arrowElement) && (state.elements.arrow = arrowElement); }, requires: ["popperOffsets"], requiresIfExists: ["preventOverflow"] }, { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: function hide(_ref) { var state = _ref.state, name = _ref.name, referenceRect = state.rects.reference, popperRect = state.rects.popper, preventedOffsets = state.modifiersData.preventOverflow, referenceOverflow = detectOverflow(state, { elementContext: "reference" }), popperAltOverflow = detectOverflow(state, { altBoundary: !0 }), referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect), popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets), isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets), hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets); state.modifiersData[name] = { referenceClippingOffsets: referenceClippingOffsets, popperEscapeOffsets: popperEscapeOffsets, isReferenceHidden: isReferenceHidden, hasPopperEscaped: hasPopperEscaped }, state.attributes.popper = Object.assign({}, state.attributes.popper, { "data-popper-reference-hidden": isReferenceHidden, "data-popper-escaped": hasPopperEscaped }); } }] }), react_fast_compare = __webpack_require__(2205), react_fast_compare_default = __webpack_require__.n(react_fast_compare), EMPTY_MODIFIERS = [], NOOP = function NOOP() { }, NOOP_PROMISE = function NOOP_PROMISE() { return Promise.resolve(null); }, Popper_EMPTY_MODIFIERS = [];
230
+ } }, effect: function arrow_effect(_ref2) { var state = _ref2.state, _options$element = _ref2.options.element, arrowElement = void 0 === _options$element ? "[data-popper-arrow]" : _options$element; null != arrowElement && ("string" != typeof arrowElement || (arrowElement = state.elements.popper.querySelector(arrowElement))) && contains(state.elements.popper, arrowElement) && (state.elements.arrow = arrowElement); }, requires: ["popperOffsets"], requiresIfExists: ["preventOverflow"] }, { name: "hide", enabled: !0, phase: "main", requiresIfExists: ["preventOverflow"], fn: function hide(_ref) { var state = _ref.state, name = _ref.name, referenceRect = state.rects.reference, popperRect = state.rects.popper, preventedOffsets = state.modifiersData.preventOverflow, referenceOverflow = detectOverflow(state, { elementContext: "reference" }), popperAltOverflow = detectOverflow(state, { altBoundary: !0 }), referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect), popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets), isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets), hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets); state.modifiersData[name] = { referenceClippingOffsets: referenceClippingOffsets, popperEscapeOffsets: popperEscapeOffsets, isReferenceHidden: isReferenceHidden, hasPopperEscaped: hasPopperEscaped }, state.attributes.popper = Object.assign({}, state.attributes.popper, { "data-popper-reference-hidden": isReferenceHidden, "data-popper-escaped": hasPopperEscaped }); } }] }), react_fast_compare = __webpack_require__(2208), react_fast_compare_default = __webpack_require__.n(react_fast_compare), EMPTY_MODIFIERS = [], NOOP = function NOOP() { }, NOOP_PROMISE = function NOOP_PROMISE() { return Promise.resolve(null); }, Popper_EMPTY_MODIFIERS = [];
231
231
  function Popper(_ref) { var _ref$placement = _ref.placement, placement = void 0 === _ref$placement ? "bottom" : _ref$placement, _ref$strategy = _ref.strategy, strategy = void 0 === _ref$strategy ? "absolute" : _ref$strategy, _ref$modifiers = _ref.modifiers, modifiers = void 0 === _ref$modifiers ? Popper_EMPTY_MODIFIERS : _ref$modifiers, referenceElement = _ref.referenceElement, onFirstUpdate = _ref.onFirstUpdate, innerRef = _ref.innerRef, children = _ref.children, referenceNode = react.useContext(ManagerReferenceNodeContext), _React$useState = react.useState(null), popperElement = _React$useState[0], setPopperElement = _React$useState[1], _React$useState2 = react.useState(null), arrowElement = _React$useState2[0], setArrowElement = _React$useState2[1]; react.useEffect((function () { setRef(innerRef, popperElement); }), [innerRef, popperElement]); var options = react.useMemo((function () { return { placement: placement, strategy: strategy, onFirstUpdate: onFirstUpdate, modifiers: [].concat(modifiers, [{ name: "arrow", enabled: null != arrowElement, options: { element: arrowElement } }]) }; }), [placement, strategy, onFirstUpdate, modifiers, arrowElement]), _usePopper = function usePopper(referenceElement, popperElement, options) { void 0 === options && (options = {}); var prevOptions = react.useRef(null), optionsWithDefaults = { onFirstUpdate: options.onFirstUpdate, placement: options.placement || "bottom", strategy: options.strategy || "absolute", modifiers: options.modifiers || EMPTY_MODIFIERS }, _React$useState = react.useState({ styles: { popper: { position: optionsWithDefaults.strategy, left: "0", top: "0" }, arrow: { position: "absolute" } }, attributes: {} }), state = _React$useState[0], setState = _React$useState[1], updateStateModifier = react.useMemo((function () { return { name: "updateState", enabled: !0, phase: "write", fn: function fn(_ref) { var state = _ref.state, elements = Object.keys(state.elements); setState({ styles: fromEntries(elements.map((function (element) { return [element, state.styles[element] || {}]; }))), attributes: fromEntries(elements.map((function (element) { return [element, state.attributes[element]]; }))) }); }, requires: ["computeStyles"] }; }), []), popperOptions = react.useMemo((function () { var newOptions = { onFirstUpdate: optionsWithDefaults.onFirstUpdate, placement: optionsWithDefaults.placement, strategy: optionsWithDefaults.strategy, modifiers: [].concat(optionsWithDefaults.modifiers, [updateStateModifier, { name: "applyStyles", enabled: !1 }]) }; return react_fast_compare_default()(prevOptions.current, newOptions) ? prevOptions.current || newOptions : (prevOptions.current = newOptions, newOptions); }), [optionsWithDefaults.onFirstUpdate, optionsWithDefaults.placement, optionsWithDefaults.strategy, optionsWithDefaults.modifiers, updateStateModifier]), popperInstanceRef = react.useRef(); return useIsomorphicLayoutEffect((function () { popperInstanceRef.current && popperInstanceRef.current.setOptions(popperOptions); }), [popperOptions]), useIsomorphicLayoutEffect((function () { if (null != referenceElement && null != popperElement) {
232
232
  var popperInstance = (options.createPopper || popper_createPopper)(referenceElement, popperElement, popperOptions);
233
233
  return popperInstanceRef.current = popperInstance, function () { popperInstance.destroy(), popperInstanceRef.current = null; };
234
234
  } }), [referenceElement, popperElement, options.createPopper]), { state: popperInstanceRef.current ? popperInstanceRef.current.state : null, styles: state.styles, attributes: state.attributes, update: popperInstanceRef.current ? popperInstanceRef.current.update : null, forceUpdate: popperInstanceRef.current ? popperInstanceRef.current.forceUpdate : null }; }(referenceElement || referenceNode, popperElement, options), state = _usePopper.state, styles = _usePopper.styles, forceUpdate = _usePopper.forceUpdate, update = _usePopper.update, childrenProps = react.useMemo((function () { return { ref: setPopperElement, style: styles.popper, placement: state ? state.placement : placement, hasPopperEscaped: state && state.modifiersData.hide ? state.modifiersData.hide.hasPopperEscaped : null, isReferenceHidden: state && state.modifiersData.hide ? state.modifiersData.hide.isReferenceHidden : null, arrowProps: { style: styles.arrow, ref: setArrowElement }, forceUpdate: forceUpdate || NOOP, update: update || NOOP_PROMISE }; }), [setPopperElement, setArrowElement, placement, state, styles, update, forceUpdate]); return unwrapArray(children)(childrenProps); }
235
- var warning = __webpack_require__(2206), warning_default = __webpack_require__.n(warning);
235
+ var warning = __webpack_require__(2209), warning_default = __webpack_require__.n(warning);
236
236
  function Reference(_ref) { var children = _ref.children, innerRef = _ref.innerRef, setReferenceNode = react.useContext(ManagerReferenceNodeSetterContext), refHandler = react.useCallback((function (node) { setRef(innerRef, node), safeInvoke(setReferenceNode, node); }), [innerRef, setReferenceNode]); return react.useEffect((function () { return function () { return setRef(innerRef, null); }; })), react.useEffect((function () { warning_default()(Boolean(setReferenceNode), "`Reference` should not be used outside of a `Manager` component."); }), [setReferenceNode]), unwrapArray(children)({ ref: refHandler }); }
237
237
  var TooltipContext = react_default.a.createContext({}), callAll = function callAll() { for (var _len = arguments.length, fns = new Array(_len), _key = 0; _key < _len; _key++)
238
238
  fns[_key] = arguments[_key]; return function () { for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++)