pds-dev-kit-web 1.8.7 → 1.8.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/assets/icons/fill/ArrowDown.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ArrowDown.js +34 -0
- package/dist/src/common/assets/icons/fill/ArrowUp.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ArrowUp.js +34 -0
- package/dist/src/common/assets/icons/fill/ToggleDown.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ToggleDown.js +36 -0
- package/dist/src/common/assets/icons/fill/ToggleUp.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/ToggleUp.js +36 -0
- package/dist/src/common/assets/icons/fill/index.d.ts +4 -0
- package/dist/src/common/assets/icons/fill/index.js +8 -0
- package/dist/src/common/assets/icons/line/Confetti.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Confetti.js +36 -0
- package/dist/src/common/assets/icons/line/DeviceApp.d.ts +4 -0
- package/dist/src/common/assets/icons/line/DeviceApp.js +36 -0
- package/dist/src/common/assets/icons/line/DeviceDesktop.d.ts +4 -0
- package/dist/src/common/assets/icons/line/DeviceDesktop.js +36 -0
- package/dist/src/common/assets/icons/line/DeviceMobile.d.ts +4 -0
- package/dist/src/common/assets/icons/line/DeviceMobile.js +34 -0
- package/dist/src/common/assets/icons/line/EditorLeftSide.d.ts +4 -0
- package/dist/src/common/assets/icons/line/EditorLeftSide.js +34 -0
- package/dist/src/common/assets/icons/line/EditorRightSide.d.ts +4 -0
- package/dist/src/common/assets/icons/line/EditorRightSide.js +34 -0
- package/dist/src/common/assets/icons/line/Mail.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Mail.js +36 -0
- package/dist/src/common/assets/icons/line/News.d.ts +4 -0
- package/dist/src/common/assets/icons/line/News.js +36 -0
- package/dist/src/common/assets/icons/line/Rocket.d.ts +4 -0
- package/dist/src/common/assets/icons/line/Rocket.js +36 -0
- package/dist/src/common/assets/icons/line/VideoGuide.d.ts +4 -0
- package/dist/src/common/assets/icons/line/VideoGuide.js +36 -0
- package/dist/src/common/assets/icons/line/index.d.ts +10 -0
- package/dist/src/common/assets/icons/line/index.js +20 -0
- package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +10 -1
- package/dist/src/common/styles/colorSet/PaletteColor_light.json +10 -1
- package/dist/src/common/styles/colorSet/SemanticColor.json +7 -1
- package/dist/src/common/styles/colorSet/UIColor.json +25 -1
- package/dist/src/common/styles/colorSet/index.d.ts +297 -249
- package/dist/src/common/styles/colorSet/index.js +3 -3
- package/dist/src/common/styles/colorSet/ui-type.d.ts +24 -0
- package/dist/src/common/styles/index.d.ts +4 -0
- package/dist/src/common/styles/theme.d.ts +4 -0
- package/dist/src/common/styles/theme.js +4 -0
- package/dist/src/common/types/styled-components.d.ts +4 -0
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubble.d.ts +1 -1
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubble.js +5 -4
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +4 -3
- package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +88 -57
- package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +4 -4
- package/dist/src/desktop/components/TextLabel/TextLabel.js +56 -40
- package/dist/src/hybrid/components/Icon/Icon.d.ts +1 -1
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubble.d.ts +1 -1
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubble.js +5 -4
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +4 -3
- package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +88 -57
- package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +4 -4
- package/dist/src/mobile/components/TextLabel/TextLabel.js +52 -36
- package/dist/storybook-static/{0.1e64cc00.iframe.bundle.d.ts → 0.73af3e66.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{0.1e64cc00.iframe.bundle.js → 0.73af3e66.iframe.bundle.js} +8 -8
- package/dist/storybook-static/{4.08a6743e.iframe.bundle.d.ts → 4.d7ecdbf4.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{4.08a6743e.iframe.bundle.js → 4.d7ecdbf4.iframe.bundle.js} +71 -71
- package/dist/storybook-static/{5.fd119510.iframe.bundle.d.ts → 5.dc1e4c72.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{5.fd119510.iframe.bundle.js → 5.dc1e4c72.iframe.bundle.js} +12 -12
- package/dist/storybook-static/{6.ed855029.iframe.bundle.d.ts → 6.e668ed7b.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{6.ed855029.iframe.bundle.js → 6.e668ed7b.iframe.bundle.js} +6 -6
- package/dist/storybook-static/{7.acdfc1e4.iframe.bundle.d.ts → 7.9af8f518.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{7.acdfc1e4.iframe.bundle.js → 7.9af8f518.iframe.bundle.js} +3 -3
- package/dist/storybook-static/main.747cc139.iframe.bundle.d.ts +3141 -0
- package/dist/storybook-static/{main.3a848f92.iframe.bundle.js → main.747cc139.iframe.bundle.js} +2153 -1790
- package/dist/storybook-static/{runtime~main.c94cafde.iframe.bundle.d.ts → runtime~main.1b62987c.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{runtime~main.c94cafde.iframe.bundle.js → runtime~main.1b62987c.iframe.bundle.js} +1 -1
- package/dist/storybook-static/{vendors~main.6ff7334c.iframe.bundle.d.ts → vendors~main.4e754259.iframe.bundle.d.ts} +0 -0
- package/dist/storybook-static/{vendors~main.6ff7334c.iframe.bundle.js → vendors~main.4e754259.iframe.bundle.js} +590 -590
- package/package.json +1 -1
- package/release-note.md +26 -9
- package/dist/storybook-static/main.3a848f92.iframe.bundle.d.ts +0 -1124
|
@@ -47,7 +47,17 @@ var displayBold = (0, styled_components_1.css)(templateObject_1 || (templateObje
|
|
|
47
47
|
var theme = _a.theme;
|
|
48
48
|
return theme.fontWeight.bold;
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var wizardPageTitleBold = (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
51
|
+
var theme = _a.theme;
|
|
52
|
+
return theme.mobileFontSize.wizardPageTitle;
|
|
53
|
+
}, function (_a) {
|
|
54
|
+
var theme = _a.theme;
|
|
55
|
+
return theme.mobileLineHeight.wizardPageTitle;
|
|
56
|
+
}, function (_a) {
|
|
57
|
+
var theme = _a.theme;
|
|
58
|
+
return theme.fontWeight.bold;
|
|
59
|
+
});
|
|
60
|
+
var headingBold = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
51
61
|
var theme = _a.theme;
|
|
52
62
|
return theme.mobileFontSize.heading;
|
|
53
63
|
}, function (_a) {
|
|
@@ -57,7 +67,7 @@ var headingBold = (0, styled_components_1.css)(templateObject_2 || (templateObje
|
|
|
57
67
|
var theme = _a.theme;
|
|
58
68
|
return theme.fontWeight.bold;
|
|
59
69
|
});
|
|
60
|
-
var leadParaBold = (0, styled_components_1.css)(
|
|
70
|
+
var leadParaBold = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
61
71
|
var theme = _a.theme;
|
|
62
72
|
return theme.mobileFontSize.leadParagraph;
|
|
63
73
|
}, function (_a) {
|
|
@@ -67,7 +77,7 @@ var leadParaBold = (0, styled_components_1.css)(templateObject_3 || (templateObj
|
|
|
67
77
|
var theme = _a.theme;
|
|
68
78
|
return theme.fontWeight.bold;
|
|
69
79
|
});
|
|
70
|
-
var leadParaRegular = (0, styled_components_1.css)(
|
|
80
|
+
var leadParaRegular = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
71
81
|
var theme = _a.theme;
|
|
72
82
|
return theme.mobileFontSize.leadParagraph;
|
|
73
83
|
}, function (_a) {
|
|
@@ -77,7 +87,7 @@ var leadParaRegular = (0, styled_components_1.css)(templateObject_4 || (template
|
|
|
77
87
|
var theme = _a.theme;
|
|
78
88
|
return theme.fontWeight.normal;
|
|
79
89
|
});
|
|
80
|
-
var subTitleBold = (0, styled_components_1.css)(
|
|
90
|
+
var subTitleBold = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
81
91
|
var theme = _a.theme;
|
|
82
92
|
return theme.mobileFontSize.subtitle;
|
|
83
93
|
}, function (_a) {
|
|
@@ -87,7 +97,7 @@ var subTitleBold = (0, styled_components_1.css)(templateObject_5 || (templateObj
|
|
|
87
97
|
var theme = _a.theme;
|
|
88
98
|
return theme.fontWeight.bold;
|
|
89
99
|
});
|
|
90
|
-
var subTitleRegular = (0, styled_components_1.css)(
|
|
100
|
+
var subTitleRegular = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
91
101
|
var theme = _a.theme;
|
|
92
102
|
return theme.mobileFontSize.subtitle;
|
|
93
103
|
}, function (_a) {
|
|
@@ -97,7 +107,7 @@ var subTitleRegular = (0, styled_components_1.css)(templateObject_6 || (template
|
|
|
97
107
|
var theme = _a.theme;
|
|
98
108
|
return theme.fontWeight.normal;
|
|
99
109
|
});
|
|
100
|
-
var body1Bold = (0, styled_components_1.css)(
|
|
110
|
+
var body1Bold = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
101
111
|
var theme = _a.theme;
|
|
102
112
|
return theme.mobileFontSize.body1;
|
|
103
113
|
}, function (_a) {
|
|
@@ -107,7 +117,7 @@ var body1Bold = (0, styled_components_1.css)(templateObject_7 || (templateObject
|
|
|
107
117
|
var theme = _a.theme;
|
|
108
118
|
return theme.fontWeight.bold;
|
|
109
119
|
});
|
|
110
|
-
var body1Regular = (0, styled_components_1.css)(
|
|
120
|
+
var body1Regular = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
111
121
|
var theme = _a.theme;
|
|
112
122
|
return theme.mobileFontSize.body1;
|
|
113
123
|
}, function (_a) {
|
|
@@ -117,7 +127,7 @@ var body1Regular = (0, styled_components_1.css)(templateObject_8 || (templateObj
|
|
|
117
127
|
var theme = _a.theme;
|
|
118
128
|
return theme.fontWeight.normal;
|
|
119
129
|
});
|
|
120
|
-
var body2Bold = (0, styled_components_1.css)(
|
|
130
|
+
var body2Bold = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
121
131
|
var theme = _a.theme;
|
|
122
132
|
return theme.mobileFontSize.body2;
|
|
123
133
|
}, function (_a) {
|
|
@@ -127,7 +137,7 @@ var body2Bold = (0, styled_components_1.css)(templateObject_9 || (templateObject
|
|
|
127
137
|
var theme = _a.theme;
|
|
128
138
|
return theme.fontWeight.bold;
|
|
129
139
|
});
|
|
130
|
-
var body2Regular = (0, styled_components_1.css)(
|
|
140
|
+
var body2Regular = (0, styled_components_1.css)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
131
141
|
var theme = _a.theme;
|
|
132
142
|
return theme.mobileFontSize.body2;
|
|
133
143
|
}, function (_a) {
|
|
@@ -137,7 +147,7 @@ var body2Regular = (0, styled_components_1.css)(templateObject_10 || (templateOb
|
|
|
137
147
|
var theme = _a.theme;
|
|
138
148
|
return theme.fontWeight.normal;
|
|
139
149
|
});
|
|
140
|
-
var caption1Bold = (0, styled_components_1.css)(
|
|
150
|
+
var caption1Bold = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
141
151
|
var theme = _a.theme;
|
|
142
152
|
return theme.mobileFontSize.caption1;
|
|
143
153
|
}, function (_a) {
|
|
@@ -147,7 +157,7 @@ var caption1Bold = (0, styled_components_1.css)(templateObject_11 || (templateOb
|
|
|
147
157
|
var theme = _a.theme;
|
|
148
158
|
return theme.fontWeight.bold;
|
|
149
159
|
});
|
|
150
|
-
var caption1Regular = (0, styled_components_1.css)(
|
|
160
|
+
var caption1Regular = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
151
161
|
var theme = _a.theme;
|
|
152
162
|
return theme.mobileFontSize.caption1;
|
|
153
163
|
}, function (_a) {
|
|
@@ -157,7 +167,7 @@ var caption1Regular = (0, styled_components_1.css)(templateObject_12 || (templat
|
|
|
157
167
|
var theme = _a.theme;
|
|
158
168
|
return theme.fontWeight.normal;
|
|
159
169
|
});
|
|
160
|
-
var caption2Bold = (0, styled_components_1.css)(
|
|
170
|
+
var caption2Bold = (0, styled_components_1.css)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
161
171
|
var theme = _a.theme;
|
|
162
172
|
return theme.mobileFontSize.caption2;
|
|
163
173
|
}, function (_a) {
|
|
@@ -167,7 +177,7 @@ var caption2Bold = (0, styled_components_1.css)(templateObject_13 || (templateOb
|
|
|
167
177
|
var theme = _a.theme;
|
|
168
178
|
return theme.fontWeight.bold;
|
|
169
179
|
});
|
|
170
|
-
var caption2Regular = (0, styled_components_1.css)(
|
|
180
|
+
var caption2Regular = (0, styled_components_1.css)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
171
181
|
var theme = _a.theme;
|
|
172
182
|
return theme.mobileFontSize.caption2;
|
|
173
183
|
}, function (_a) {
|
|
@@ -177,7 +187,7 @@ var caption2Regular = (0, styled_components_1.css)(templateObject_14 || (templat
|
|
|
177
187
|
var theme = _a.theme;
|
|
178
188
|
return theme.fontWeight.normal;
|
|
179
189
|
});
|
|
180
|
-
var form1Regular = (0, styled_components_1.css)(
|
|
190
|
+
var form1Regular = (0, styled_components_1.css)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
181
191
|
var theme = _a.theme;
|
|
182
192
|
return theme.mobileFontSize.form1;
|
|
183
193
|
}, function (_a) {
|
|
@@ -187,7 +197,7 @@ var form1Regular = (0, styled_components_1.css)(templateObject_15 || (templateOb
|
|
|
187
197
|
var theme = _a.theme;
|
|
188
198
|
return theme.fontWeight.normal;
|
|
189
199
|
});
|
|
190
|
-
var form2Regular = (0, styled_components_1.css)(
|
|
200
|
+
var form2Regular = (0, styled_components_1.css)(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
191
201
|
var theme = _a.theme;
|
|
192
202
|
return theme.mobileFontSize.form2;
|
|
193
203
|
}, function (_a) {
|
|
@@ -197,7 +207,7 @@ var form2Regular = (0, styled_components_1.css)(templateObject_16 || (templateOb
|
|
|
197
207
|
var theme = _a.theme;
|
|
198
208
|
return theme.fontWeight.normal;
|
|
199
209
|
});
|
|
200
|
-
var blog1Regular = (0, styled_components_1.css)(
|
|
210
|
+
var blog1Regular = (0, styled_components_1.css)(templateObject_18 || (templateObject_18 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: ", ";\n font-weight: ", ";\n"])), function (_a) {
|
|
201
211
|
var theme = _a.theme;
|
|
202
212
|
return theme.mobileFontSize.blog1;
|
|
203
213
|
}, function (_a) {
|
|
@@ -207,68 +217,72 @@ var blog1Regular = (0, styled_components_1.css)(templateObject_17 || (templateOb
|
|
|
207
217
|
var theme = _a.theme;
|
|
208
218
|
return theme.fontWeight.normal;
|
|
209
219
|
});
|
|
210
|
-
var sysTextPrimary = (0, styled_components_1.css)(
|
|
220
|
+
var sysTextPrimary = (0, styled_components_1.css)(templateObject_19 || (templateObject_19 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
211
221
|
var theme = _a.theme;
|
|
212
222
|
return theme.ui_cpnt_textlabel_sys_primary;
|
|
213
223
|
});
|
|
214
|
-
var sysTextSecondary = (0, styled_components_1.css)(
|
|
224
|
+
var sysTextSecondary = (0, styled_components_1.css)(templateObject_20 || (templateObject_20 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
215
225
|
var theme = _a.theme;
|
|
216
226
|
return theme.ui_cpnt_textlabel_sys_secondary;
|
|
217
227
|
});
|
|
218
|
-
var sysTextTertiary = (0, styled_components_1.css)(
|
|
228
|
+
var sysTextTertiary = (0, styled_components_1.css)(templateObject_21 || (templateObject_21 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
219
229
|
var theme = _a.theme;
|
|
220
230
|
return theme.ui_cpnt_textlabel_sys_tertiary;
|
|
221
231
|
});
|
|
222
|
-
var sysTextWhite = (0, styled_components_1.css)(
|
|
232
|
+
var sysTextWhite = (0, styled_components_1.css)(templateObject_22 || (templateObject_22 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
223
233
|
var theme = _a.theme;
|
|
224
234
|
return theme.ui_cpnt_textlabel_sys_white;
|
|
225
235
|
});
|
|
226
|
-
var
|
|
236
|
+
var sysTextBlack = (0, styled_components_1.css)(templateObject_23 || (templateObject_23 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
237
|
+
var theme = _a.theme;
|
|
238
|
+
return theme.ui_cpnt_textlabel_sys_black;
|
|
239
|
+
});
|
|
240
|
+
var sysTextError = (0, styled_components_1.css)(templateObject_24 || (templateObject_24 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
227
241
|
var theme = _a.theme;
|
|
228
242
|
return theme.ui_cpnt_textlabel_sys_error;
|
|
229
243
|
});
|
|
230
|
-
var sysTextWarning = (0, styled_components_1.css)(
|
|
244
|
+
var sysTextWarning = (0, styled_components_1.css)(templateObject_25 || (templateObject_25 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
231
245
|
var theme = _a.theme;
|
|
232
246
|
return theme.ui_cpnt_textlabel_sys_warning;
|
|
233
247
|
});
|
|
234
|
-
var sysTextBrandPrimary = (0, styled_components_1.css)(
|
|
248
|
+
var sysTextBrandPrimary = (0, styled_components_1.css)(templateObject_26 || (templateObject_26 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
235
249
|
var theme = _a.theme;
|
|
236
250
|
return theme.ui_cpnt_textlabel_sys_brandprimary;
|
|
237
251
|
});
|
|
238
|
-
var sysTextBrandSeconVariant = (0, styled_components_1.css)(
|
|
252
|
+
var sysTextBrandSeconVariant = (0, styled_components_1.css)(templateObject_27 || (templateObject_27 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
239
253
|
var theme = _a.theme;
|
|
240
254
|
return theme.ui_cpnt_textlabel_sys_brandseconvariant;
|
|
241
255
|
});
|
|
242
|
-
var usrTextBrandPrimary = (0, styled_components_1.css)(
|
|
256
|
+
var usrTextBrandPrimary = (0, styled_components_1.css)(templateObject_28 || (templateObject_28 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
243
257
|
var theme = _a.theme;
|
|
244
258
|
return theme.ui_cpnt_textlabel_usr_brandprimary;
|
|
245
259
|
});
|
|
246
|
-
var usrTextBrandSeconVariant = (0, styled_components_1.css)(
|
|
260
|
+
var usrTextBrandSeconVariant = (0, styled_components_1.css)(templateObject_29 || (templateObject_29 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
247
261
|
var theme = _a.theme;
|
|
248
262
|
return theme.ui_cpnt_textlabel_usr_brandseconvariant;
|
|
249
263
|
});
|
|
250
|
-
var usrTextBrandOnPrimary = (0, styled_components_1.css)(
|
|
264
|
+
var usrTextBrandOnPrimary = (0, styled_components_1.css)(templateObject_30 || (templateObject_30 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
251
265
|
var theme = _a.theme;
|
|
252
266
|
return theme.ui_cpnt_textlabel_usr_brandonprimary;
|
|
253
267
|
});
|
|
254
|
-
var customFontStyle = (0, styled_components_1.css)(
|
|
268
|
+
var customFontStyle = (0, styled_components_1.css)(templateObject_31 || (templateObject_31 = __makeTemplateObject(["\n font-size: ", ";\n line-height: 1.5;\n font-weight: ", ";\n"], ["\n font-size: ", ";\n line-height: 1.5;\n font-weight: ", ";\n"])), function (_a) {
|
|
255
269
|
var customFontSize = _a.customFontSize;
|
|
256
270
|
return customFontSize;
|
|
257
271
|
}, function (_a) {
|
|
258
272
|
var theme = _a.theme, customFontWeight = _a.customFontWeight;
|
|
259
273
|
return customFontWeight === 'bold' ? theme.fontWeight.bold : theme.fontWeight.normal;
|
|
260
274
|
});
|
|
261
|
-
var colorOverrideStyle = (0, styled_components_1.css)(
|
|
275
|
+
var colorOverrideStyle = (0, styled_components_1.css)(templateObject_32 || (templateObject_32 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
|
|
262
276
|
var colorOverride = _a.colorOverride, theme = _a.theme;
|
|
263
277
|
return colorOverride && theme[colorOverride];
|
|
264
278
|
});
|
|
265
|
-
var ellipsisStyle = (0, styled_components_1.css)(
|
|
279
|
+
var ellipsisStyle = (0, styled_components_1.css)(templateObject_33 || (templateObject_33 = __makeTemplateObject(["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"], ["\n -webkit-box-orient: vertical;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n overflow: hidden;\n text-overflow: ellipsis;\n"])), function (_a) {
|
|
266
280
|
var lineLimit = _a.lineLimit;
|
|
267
281
|
return lineLimit;
|
|
268
282
|
});
|
|
269
|
-
var userSelectModeStyle = (0, styled_components_1.css)(
|
|
270
|
-
var bulletPointModeStyle = (0, styled_components_1.css)(
|
|
271
|
-
var S_TextLabel = styled_components_1.default.div(
|
|
283
|
+
var userSelectModeStyle = (0, styled_components_1.css)(templateObject_34 || (templateObject_34 = __makeTemplateObject(["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"], ["\n -ms-user-select: none;\n -moz-user-select: -moz-none;\n -khtml-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n"])));
|
|
284
|
+
var bulletPointModeStyle = (0, styled_components_1.css)(templateObject_35 || (templateObject_35 = __makeTemplateObject(["\n padding-left: 16px;\n ::before {\n content: '\u2022';\n position: absolute;\n left: 0;\n width: 16px;\n }\n"], ["\n padding-left: 16px;\n ::before {\n content: '\u2022';\n position: absolute;\n left: 0;\n width: 16px;\n }\n"])));
|
|
285
|
+
var S_TextLabel = styled_components_1.default.div(templateObject_36 || (templateObject_36 = __makeTemplateObject(["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: ", ";\n overflow-wrap: break-word;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"], ["\n box-sizing: border-box;\n text-align: ", ";\n white-space: pre-wrap;\n word-break: ", ";\n overflow-wrap: break-word;\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n\n ", ";\n"])), function (_a) {
|
|
272
286
|
var textAlign = _a.textAlign;
|
|
273
287
|
return textAlign;
|
|
274
288
|
}, function (_a) {
|
|
@@ -285,6 +299,7 @@ var S_TextLabel = styled_components_1.default.div(templateObject_34 || (template
|
|
|
285
299
|
return styleTheme &&
|
|
286
300
|
{
|
|
287
301
|
displayBold: displayBold,
|
|
302
|
+
wizardPageTitleBold: wizardPageTitleBold,
|
|
288
303
|
headingBold: headingBold,
|
|
289
304
|
leadParaBold: leadParaBold,
|
|
290
305
|
leadParaRegular: leadParaRegular,
|
|
@@ -310,6 +325,7 @@ var S_TextLabel = styled_components_1.default.div(templateObject_34 || (template
|
|
|
310
325
|
sysTextSecondary: sysTextSecondary,
|
|
311
326
|
sysTextTertiary: sysTextTertiary,
|
|
312
327
|
sysTextWhite: sysTextWhite,
|
|
328
|
+
sysTextBlack: sysTextBlack,
|
|
313
329
|
sysTextError: sysTextError,
|
|
314
330
|
sysTextWarning: sysTextWarning,
|
|
315
331
|
sysTextBrandPrimary: sysTextBrandPrimary,
|
|
@@ -346,7 +362,7 @@ var S_TextLabel = styled_components_1.default.div(templateObject_34 || (template
|
|
|
346
362
|
var bulletPointMode = _a.bulletPointMode;
|
|
347
363
|
return bulletPointMode === 'use' && bulletPointModeStyle;
|
|
348
364
|
});
|
|
349
|
-
var S_AfterTextBox = styled_components_1.default.div(
|
|
365
|
+
var S_AfterTextBox = styled_components_1.default.div(templateObject_37 || (templateObject_37 = __makeTemplateObject(["\n display: inline-block;\n margin-left: ", ";\n position: relative;\n\n ", ";\n"], ["\n display: inline-block;\n margin-left: ", ";\n position: relative;\n\n ", ";\n"])), function (_a) {
|
|
350
366
|
var theme = _a.theme;
|
|
351
367
|
return theme.spacing.spacingA;
|
|
352
368
|
}, function (_a) {
|
|
@@ -362,6 +378,6 @@ var S_AfterTextBox = styled_components_1.default.div(templateObject_35 || (templ
|
|
|
362
378
|
return 'vertical-align: middle';
|
|
363
379
|
}
|
|
364
380
|
});
|
|
365
|
-
var S_IconWrapper = styled_components_1.default.div(
|
|
381
|
+
var S_IconWrapper = styled_components_1.default.div(templateObject_38 || (templateObject_38 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n width: 16px;\n height: 16px;\n"], ["\n align-items: center;\n display: flex;\n height: 100%;\n justify-content: center;\n width: 16px;\n height: 16px;\n"])));
|
|
366
382
|
exports.default = TextLabel;
|
|
367
|
-
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, templateObject_35, templateObject_36;
|
|
383
|
+
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, templateObject_35, templateObject_36, templateObject_37, templateObject_38;
|
package/dist/storybook-static/{0.1e64cc00.iframe.bundle.d.ts → 0.73af3e66.iframe.bundle.d.ts}
RENAMED
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(window.webpackJsonp = window.webpackJsonp || []).push([[0], {
|
|
1
|
+
(window.webpackJsonp = window.webpackJsonp || []).push([[0], { 2192: 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,15 +62,15 @@
|
|
|
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
|
-
} }; },
|
|
65
|
+
} }; }, 2193: function (module, exports, __webpack_require__) {
|
|
66
66
|
"use strict";
|
|
67
67
|
var warning = function () { };
|
|
68
68
|
module.exports = warning;
|
|
69
|
-
},
|
|
69
|
+
}, 689: function (module, __webpack_exports__, __webpack_require__) {
|
|
70
70
|
"use strict";
|
|
71
71
|
__webpack_require__.r(__webpack_exports__), __webpack_require__.d(__webpack_exports__, "WithTooltipPure", (function () { return WithTooltip_WithTooltipPure; })), __webpack_require__.d(__webpack_exports__, "WithToolTipState", (function () { return WithTooltip_WithToolTipState; })), __webpack_require__.d(__webpack_exports__, "WithTooltip", (function () { return WithTooltip_WithToolTipState; }));
|
|
72
|
-
__webpack_require__(16), __webpack_require__(
|
|
73
|
-
var react = __webpack_require__(0), react_default = __webpack_require__.n(react), esm = __webpack_require__(3), global_window = __webpack_require__(11), window_default = __webpack_require__.n(global_window), objectWithoutPropertiesLoose = __webpack_require__(
|
|
72
|
+
__webpack_require__(16), __webpack_require__(44), __webpack_require__(26), __webpack_require__(7), __webpack_require__(19), __webpack_require__(12), __webpack_require__(10), __webpack_require__(21), __webpack_require__(15), __webpack_require__(17), __webpack_require__(9), __webpack_require__(30), __webpack_require__(18), __webpack_require__(53);
|
|
73
|
+
var react = __webpack_require__(0), react_default = __webpack_require__.n(react), esm = __webpack_require__(3), global_window = __webpack_require__(11), window_default = __webpack_require__.n(global_window), objectWithoutPropertiesLoose = __webpack_require__(116), esm_extends = __webpack_require__(23), inheritsLoose = __webpack_require__(59), react_dom = __webpack_require__(62), ManagerReferenceNodeContext = react.createContext(), ManagerReferenceNodeSetterContext = react.createContext();
|
|
74
74
|
function Manager(_ref) { var children = _ref.children, _React$useState = react.useState(null), referenceNode = _React$useState[0], setReferenceNode = _React$useState[1], hasUnmounted = react.useRef(!1); react.useEffect((function () { return function () { hasUnmounted.current = !0; }; }), []); var handleSetReferenceNode = react.useCallback((function (node) { hasUnmounted.current || setReferenceNode(node); }), []); return react.createElement(ManagerReferenceNodeContext.Provider, { value: referenceNode }, react.createElement(ManagerReferenceNodeSetterContext.Provider, { value: handleSetReferenceNode }, children)); }
|
|
75
75
|
var unwrapArray = function unwrapArray(arg) { return Array.isArray(arg) ? arg[0] : arg; }, safeInvoke = function safeInvoke(fn) { if ("function" == typeof fn) {
|
|
76
76
|
for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++)
|
|
@@ -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__(
|
|
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__(2192), 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__(
|
|
235
|
+
var warning = __webpack_require__(2193), 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++)
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
style.transform = "translate3d(" + x + "px, " + y + "px, 0";
|
|
259
259
|
} return react_default.a.createElement(react_popper_tooltip_Tooltip, Object(esm_extends.a)({ arrowProps: arrowProps, closeOnReferenceHidden: closeOnReferenceHidden, isReferenceHidden: isReferenceHidden, placement: placement, update: update, style: style, tooltip: tooltip, trigger: trigger, mutationObserverOptions: mutationObserverOptions }, { clearScheduled: _this2.clearScheduled, hideTooltip: _this2.hideTooltip, innerRef: ref })); })); return react_default.a.createElement(Manager, null, react_default.a.createElement(Reference, { innerRef: getTriggerRef }, (function (_ref4) { var ref = _ref4.ref; return children({ getTriggerProps: _this2.getTriggerProps, triggerRef: ref }); })), this.getState() && (usePortal ? Object(react_dom.createPortal)(popper, portalContainer) : popper)); }, _proto.isControlled = function isControlled() { return void 0 !== this.props.tooltipShown; }, _proto.getState = function getState() { return this.isControlled() ? this.props.tooltipShown : this.state.tooltipShown; }, _proto.isTriggeredBy = function isTriggeredBy(event) { var trigger = this.props.trigger; return trigger === event || Array.isArray(trigger) && trigger.includes(event); }, TooltipTrigger; }(react.Component);
|
|
260
260
|
react_popper_tooltip_TooltipTrigger.defaultProps = { closeOnReferenceHidden: !0, defaultTooltipShown: !1, delayHide: 0, delayShow: 0, followCursor: !1, onVisibilityChange: function noop() { }, placement: "right", portalContainer: canUseDOM() ? document.body : null, trigger: "hover", usePortal: canUseDOM(), mutationObserverOptions: { childList: !0, subtree: !0 }, modifiers: [] };
|
|
261
|
-
var react_popper_tooltip = react_popper_tooltip_TooltipTrigger, memoizerific = (__webpack_require__(84), __webpack_require__(32), __webpack_require__(176), __webpack_require__(24), __webpack_require__(163)), memoizerific_default = __webpack_require__.n(memoizerific), utils = __webpack_require__(
|
|
261
|
+
var react_popper_tooltip = react_popper_tooltip_TooltipTrigger, memoizerific = (__webpack_require__(84), __webpack_require__(32), __webpack_require__(176), __webpack_require__(24), __webpack_require__(163)), memoizerific_default = __webpack_require__.n(memoizerific), utils = __webpack_require__(112);
|
|
262
262
|
function _extends() { return _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) {
|
|
263
263
|
var source = arguments[i];
|
|
264
264
|
for (var key in source)
|
package/dist/storybook-static/{4.08a6743e.iframe.bundle.d.ts → 4.d7ecdbf4.iframe.bundle.d.ts}
RENAMED
|
File without changes
|