@oliasoft-open-source/react-ui-library 4.2.4 → 4.2.5-beta-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{index-0d78a198.css → index-2d24bc5e.css} +41 -55
- package/dist/assets/{index-26f804a8.js → index-916a574f.js} +64 -68
- package/dist/global.css +41 -55
- package/dist/index.html +1 -1
- package/dist/index.js +94 -88
- package/dist/index.js.map +1 -1
- package/dist/storybook/assets/{Color-6VNJS4EI-163220a2.js → Color-6VNJS4EI-13835166.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-NNNQARDV-05aa1dec.js → DocsRenderer-NNNQARDV-4f588b61.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-4HIR6TLV-324450a3.js → WithTooltip-4HIR6TLV-b42c6128.js} +1 -1
- package/dist/storybook/assets/buttons-and-links-efbcacad.js +14 -0
- package/dist/storybook/assets/{chunk-HLWAVYOI-e8fc2b58.js → chunk-HLWAVYOI-a6703799.js} +1 -1
- package/dist/storybook/assets/color-d5f5459d.js +25 -0
- package/dist/storybook/assets/file-input.stories-34630c12.js +66 -0
- package/dist/storybook/assets/{formatter-SWP5E3XI-72c21db3.js → formatter-SWP5E3XI-a96d02d8.js} +1 -1
- package/dist/storybook/assets/iframe-45fdf8ff.js +1 -0
- package/dist/storybook/assets/{index-e7458aee.js → index-a92f5849.js} +4 -4
- package/dist/storybook/assets/{input-validation-3c2e0c83.js → input-validation-c8eebd02.js} +1 -1
- package/dist/storybook/assets/{inputs-2ac34317.js → inputs-2b586db3.js} +2 -2
- package/dist/storybook/assets/{layout-forms-25900038.js → layout-forms-3b068d31.js} +1 -1
- package/dist/storybook/assets/{layout-general-4a70e2af.js → layout-general-1a8222ee.js} +1 -1
- package/dist/storybook/assets/message-a2b9aa31.css +1 -0
- package/dist/storybook/assets/message-d6c6821b.js +1 -0
- package/dist/storybook/assets/{message.stories-f41a0c22.js → message.stories-11003e53.js} +28 -28
- package/dist/storybook/assets/{padding-and-spacing-fd0bb136.js → padding-and-spacing-747e4160.js} +1 -1
- package/dist/storybook/assets/pop-confirm.stories-ea90fa3e.js +7 -0
- package/dist/storybook/assets/preview-64515bf5.js +1 -0
- package/dist/storybook/assets/{preview-7e324763.js → preview-989e50b7.js} +3 -3
- package/dist/storybook/assets/{syntaxhighlighter-NMPM6SWI-cda70340.js → syntaxhighlighter-NMPM6SWI-91e5651b.js} +1 -1
- package/dist/storybook/assets/text-link-f4589768.js +1 -0
- package/dist/storybook/assets/text-link.stories-6b7c8329.js +1 -0
- package/dist/storybook/assets/{toaster-541ce85b.js → toaster-2d3c8666.js} +1 -1
- package/dist/storybook/assets/{toaster.stories-5e4d95b1.js → toaster.stories-d95451f5.js} +2 -2
- package/dist/storybook/assets/unit-input.stories-80d24aba.js +273 -0
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/index.json +1 -1
- package/dist/storybook/project.json +1 -1
- package/dist/storybook/stories.json +1 -1
- package/package.json +1 -1
- package/dist/404.html +0 -1
- package/dist/storybook/assets/buttons-and-links-9bbcee77.js +0 -14
- package/dist/storybook/assets/color-abfd0eb6.js +0 -25
- package/dist/storybook/assets/file-input.stories-1c6ce0ea.js +0 -55
- package/dist/storybook/assets/iframe-eb834e80.js +0 -1
- package/dist/storybook/assets/message-7e627e60.js +0 -1
- package/dist/storybook/assets/message-b56c617e.css +0 -1
- package/dist/storybook/assets/pop-confirm.stories-81b30901.js +0 -7
- package/dist/storybook/assets/preview-fdf00da6.js +0 -1
- package/dist/storybook/assets/text-link.stories-c1227c6f.js +0 -1
- package/dist/storybook/assets/unit-input.stories-65984064.js +0 -273
package/dist/global.css
CHANGED
|
@@ -3094,80 +3094,80 @@ html[data-theme='dark'] {
|
|
|
3094
3094
|
._details_477i5_53 {
|
|
3095
3095
|
margin-top: var(--padding-xs);
|
|
3096
3096
|
}
|
|
3097
|
-
.
|
|
3097
|
+
._inputInTable_1w5ra_1 {
|
|
3098
3098
|
background-color: transparent;
|
|
3099
3099
|
border-radius: inherit !important;
|
|
3100
3100
|
height: var(--size);
|
|
3101
3101
|
min-height: 100%;
|
|
3102
3102
|
}
|
|
3103
|
-
.
|
|
3103
|
+
._inputInTable_1w5ra_1:not(:hover) {
|
|
3104
3104
|
border-color: transparent;
|
|
3105
3105
|
}
|
|
3106
|
-
.
|
|
3106
|
+
._inputInTable_1w5ra_1:not(:focus) {
|
|
3107
3107
|
box-shadow: none;
|
|
3108
3108
|
}
|
|
3109
|
-
.
|
|
3109
|
+
._inputHover_1w5ra_13 {
|
|
3110
3110
|
position: relative;
|
|
3111
3111
|
border-color: var(--color-border-hover);
|
|
3112
3112
|
z-index: 2;
|
|
3113
3113
|
}
|
|
3114
|
-
.
|
|
3114
|
+
._inputFocus_1w5ra_18 {
|
|
3115
3115
|
position: relative;
|
|
3116
3116
|
outline: none !important;
|
|
3117
3117
|
border-color: var(--color-border-focus) !important;
|
|
3118
3118
|
box-shadow: var(--shadow-focus);
|
|
3119
3119
|
z-index: 3;
|
|
3120
3120
|
}
|
|
3121
|
-
.
|
|
3122
|
-
.
|
|
3121
|
+
._inputError_1w5ra_25,
|
|
3122
|
+
._inputWarning_1w5ra_26 {
|
|
3123
3123
|
position: relative;
|
|
3124
3124
|
}
|
|
3125
|
-
.
|
|
3125
|
+
._inputError_1w5ra_25 {
|
|
3126
3126
|
z-index: 2;
|
|
3127
3127
|
border-color: var(--color-border-error);
|
|
3128
3128
|
color: var(--color-text-error) !important;
|
|
3129
3129
|
background-color: var(--color-background-error-muted);
|
|
3130
3130
|
}
|
|
3131
|
-
.
|
|
3131
|
+
._inputError_1w5ra_25:hover {
|
|
3132
3132
|
border-color: var(--color-border-error-hover) !important;
|
|
3133
3133
|
}
|
|
3134
|
-
.
|
|
3134
|
+
._inputError_1w5ra_25:focus {
|
|
3135
3135
|
position: relative;
|
|
3136
3136
|
outline: none !important;
|
|
3137
3137
|
border-color: var(--color-border-focus) !important;
|
|
3138
3138
|
box-shadow: var(--shadow-focus);
|
|
3139
3139
|
z-index: 3;
|
|
3140
3140
|
}
|
|
3141
|
-
.
|
|
3141
|
+
._inputWarning_1w5ra_26 {
|
|
3142
3142
|
z-index: 1;
|
|
3143
3143
|
border-color: var(--color-border-warning);
|
|
3144
3144
|
color: var(--color-text-warning) !important;
|
|
3145
3145
|
background-color: var(--color-background-warning-muted);
|
|
3146
3146
|
}
|
|
3147
|
-
.
|
|
3147
|
+
._inputWarning_1w5ra_26:hover {
|
|
3148
3148
|
border-color: var(--color-border-warning-hover) !important;
|
|
3149
3149
|
}
|
|
3150
|
-
.
|
|
3150
|
+
._inputWarning_1w5ra_26:focus {
|
|
3151
3151
|
position: relative;
|
|
3152
3152
|
outline: none !important;
|
|
3153
3153
|
border-color: var(--color-border-focus) !important;
|
|
3154
3154
|
box-shadow: var(--shadow-focus);
|
|
3155
3155
|
z-index: 3;
|
|
3156
3156
|
}
|
|
3157
|
-
.
|
|
3157
|
+
._inputDisabled_1w5ra_61 {
|
|
3158
3158
|
pointer-events: none;
|
|
3159
3159
|
background-color: var(--color-background-disabled);
|
|
3160
3160
|
color: var(--color-text-muted);
|
|
3161
3161
|
box-shadow: none;
|
|
3162
3162
|
}
|
|
3163
|
-
.
|
|
3163
|
+
._hideScrollbars_1w5ra_67 {
|
|
3164
3164
|
/* Firefox */
|
|
3165
3165
|
scrollbar-width: none;
|
|
3166
3166
|
/* IE 10+ */
|
|
3167
3167
|
-ms-overflow-style: none;
|
|
3168
3168
|
/* Chrome, Safari and Opera */
|
|
3169
3169
|
}
|
|
3170
|
-
.
|
|
3170
|
+
._hideScrollbars_1w5ra_67::-webkit-scrollbar {
|
|
3171
3171
|
display: none;
|
|
3172
3172
|
}
|
|
3173
3173
|
:root {
|
|
@@ -3176,8 +3176,8 @@ html[data-theme='dark'] {
|
|
|
3176
3176
|
html[data-theme='dark'] {
|
|
3177
3177
|
--color-border-message: rgba(255, 255, 255, 0.1);
|
|
3178
3178
|
}
|
|
3179
|
-
.
|
|
3180
|
-
padding: var(--padding-
|
|
3179
|
+
._container_1w5ra_83 {
|
|
3180
|
+
padding: var(--padding-input);
|
|
3181
3181
|
border-radius: var(--border-radius);
|
|
3182
3182
|
display: inline-flex;
|
|
3183
3183
|
align-items: flex-start;
|
|
@@ -3190,41 +3190,39 @@ html[data-theme='dark'] {
|
|
|
3190
3190
|
/* IE 10+ */
|
|
3191
3191
|
-ms-overflow-style: none;
|
|
3192
3192
|
/* Chrome, Safari and Opera */
|
|
3193
|
+
color: var(--color-text-muted);
|
|
3194
|
+
background-color: var(--color-neutral-100);
|
|
3193
3195
|
}
|
|
3194
|
-
.
|
|
3196
|
+
._container_1w5ra_83::-webkit-scrollbar {
|
|
3195
3197
|
display: none;
|
|
3196
3198
|
}
|
|
3197
|
-
.
|
|
3199
|
+
._container_1w5ra_83._block_1w5ra_103 {
|
|
3198
3200
|
display: flex;
|
|
3199
3201
|
}
|
|
3200
|
-
.
|
|
3201
|
-
color: var(--color-text-info);
|
|
3202
|
-
background-color: var(--color-background-info-muted);
|
|
3203
|
-
}
|
|
3204
|
-
._container_s49vk_83._success_s49vk_108 {
|
|
3202
|
+
._container_1w5ra_83._success_1w5ra_106 {
|
|
3205
3203
|
color: var(--color-text-success);
|
|
3206
3204
|
background-color: var(--color-background-success-muted);
|
|
3207
3205
|
}
|
|
3208
|
-
.
|
|
3206
|
+
._container_1w5ra_83._warning_1w5ra_110 {
|
|
3209
3207
|
color: var(--color-text-warning);
|
|
3210
3208
|
background-color: var(--color-background-warning-muted);
|
|
3211
3209
|
}
|
|
3212
|
-
.
|
|
3210
|
+
._container_1w5ra_83._error_1w5ra_114 {
|
|
3213
3211
|
color: var(--color-text-error);
|
|
3214
3212
|
background-color: var(--color-background-error-muted);
|
|
3215
3213
|
}
|
|
3216
|
-
.
|
|
3214
|
+
._content_1w5ra_118 {
|
|
3217
3215
|
flex: 1;
|
|
3218
3216
|
min-width: 0;
|
|
3219
3217
|
}
|
|
3220
|
-
.
|
|
3218
|
+
._heading_1w5ra_122 {
|
|
3221
3219
|
font-weight: bold;
|
|
3222
3220
|
letter-spacing: var(--letter-spacing-wide);
|
|
3223
3221
|
text-transform: uppercase;
|
|
3224
3222
|
font-size: var(--font-size-sm);
|
|
3225
3223
|
line-height: var(--line-height);
|
|
3226
3224
|
}
|
|
3227
|
-
.
|
|
3225
|
+
._icon_1w5ra_129 {
|
|
3228
3226
|
display: flex;
|
|
3229
3227
|
justify-content: center;
|
|
3230
3228
|
align-items: center;
|
|
@@ -3232,41 +3230,29 @@ html[data-theme='dark'] {
|
|
|
3232
3230
|
margin-right: var(--padding-xs);
|
|
3233
3231
|
font-size: var(--size-xs);
|
|
3234
3232
|
}
|
|
3235
|
-
.
|
|
3236
|
-
|
|
3237
|
-
|
|
3233
|
+
._dismiss_1w5ra_137 {
|
|
3234
|
+
--offset-message-dismiss-x: calc(-1 * var(--padding-input-x) + var(--padding-xxs));
|
|
3235
|
+
--offset-message-dismiss-y: calc((var(--line-height) - var(--size-sm)) / 2);
|
|
3236
|
+
display: flex;
|
|
3237
|
+
margin-top: var(--offset-message-dismiss-y);
|
|
3238
|
+
margin-bottom: var(--offset-message-dismiss-y);
|
|
3239
|
+
margin-left: var(--padding-sm);
|
|
3240
|
+
margin-right: var(--offset-message-dismiss-x);
|
|
3238
3241
|
}
|
|
3239
|
-
.
|
|
3242
|
+
._dismiss_1w5ra_137._absolute_1w5ra_146 {
|
|
3240
3243
|
position: absolute;
|
|
3241
3244
|
top: var(--padding-sm);
|
|
3242
3245
|
right: var(--padding-sm);
|
|
3243
3246
|
}
|
|
3244
|
-
.
|
|
3245
|
-
--offset-message-dismiss: calc((var(--line-height) - var(--size-sm)) / 2);
|
|
3246
|
-
display: flex;
|
|
3247
|
-
margin-top: var(--offset-message-dismiss);
|
|
3248
|
-
margin-bottom: var(--offset-message-dismiss);
|
|
3249
|
-
margin-right: var(--offset-message-dismiss);
|
|
3250
|
-
}
|
|
3251
|
-
._legendToggle_s49vk_155 {
|
|
3252
|
-
opacity: 0.6;
|
|
3253
|
-
}
|
|
3254
|
-
._legendToggle_s49vk_155:hover {
|
|
3255
|
-
opacity: 0.8;
|
|
3256
|
-
cursor: pointer;
|
|
3257
|
-
}
|
|
3258
|
-
._legendToggle_s49vk_155:active {
|
|
3259
|
-
opacity: 1;
|
|
3260
|
-
}
|
|
3261
|
-
._detailsText_s49vk_165 {
|
|
3262
|
-
margin-top: var(--padding-xxs);
|
|
3247
|
+
._detailsText_1w5ra_151 {
|
|
3263
3248
|
word-break: break-word;
|
|
3264
3249
|
}
|
|
3265
|
-
.
|
|
3250
|
+
._footer_1w5ra_154 {
|
|
3266
3251
|
display: flex;
|
|
3267
3252
|
flex-wrap: wrap;
|
|
3268
|
-
gap: var(--padding-
|
|
3253
|
+
gap: var(--padding-xs);
|
|
3269
3254
|
margin-top: var(--padding-xxs);
|
|
3255
|
+
padding-bottom: var(--padding-xxs);
|
|
3270
3256
|
}
|
|
3271
3257
|
._wrapper_sb0hc_1 {
|
|
3272
3258
|
z-index: var(--zindex-modal);
|
package/dist/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><head><title>React UI Library</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1" user-scalable="no"><meta name="apple-mobile-web-app-capable" content="yes"><script type="module" crossorigin src="/react-ui-library/assets/index-
|
|
1
|
+
<!doctype html><head><title>React UI Library</title><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1" user-scalable="no"><meta name="apple-mobile-web-app-capable" content="yes"><script type="module" crossorigin src="/react-ui-library/assets/index-916a574f.js"></script><link rel="stylesheet" href="/react-ui-library/assets/index-2d24bc5e.css"></head><body><div id="content"></div></body>
|
package/dist/index.js
CHANGED
|
@@ -9330,7 +9330,7 @@ const Label$2 = ({
|
|
|
9330
9330
|
tooltip: "",
|
|
9331
9331
|
testId: void 0
|
|
9332
9332
|
},
|
|
9333
|
-
info
|
|
9333
|
+
info,
|
|
9334
9334
|
libraryIcon,
|
|
9335
9335
|
labelLeft: labelLeft2 = false
|
|
9336
9336
|
}) => {
|
|
@@ -9345,7 +9345,7 @@ const Label$2 = ({
|
|
|
9345
9345
|
maxWidth: helpTextMaxWidth
|
|
9346
9346
|
}
|
|
9347
9347
|
),
|
|
9348
|
-
|
|
9348
|
+
info && /* @__PURE__ */ jsx(HelpIcon, { text: info, icon: IconType.INFO }),
|
|
9349
9349
|
lock && lock.visible && lock.onClick && /* @__PURE__ */ jsx(
|
|
9350
9350
|
HelpIcon,
|
|
9351
9351
|
{
|
|
@@ -9395,7 +9395,7 @@ const Field = ({
|
|
|
9395
9395
|
tooltip: "",
|
|
9396
9396
|
testId: void 0
|
|
9397
9397
|
},
|
|
9398
|
-
info
|
|
9398
|
+
info,
|
|
9399
9399
|
libraryIcon,
|
|
9400
9400
|
testId
|
|
9401
9401
|
}) => {
|
|
@@ -9414,7 +9414,7 @@ const Field = ({
|
|
|
9414
9414
|
helpTextMaxWidth,
|
|
9415
9415
|
onClickHelp,
|
|
9416
9416
|
lock,
|
|
9417
|
-
info
|
|
9417
|
+
info,
|
|
9418
9418
|
libraryIcon,
|
|
9419
9419
|
labelLeft: labelLeft2
|
|
9420
9420
|
}
|
|
@@ -19302,27 +19302,25 @@ const List = ({
|
|
|
19302
19302
|
}
|
|
19303
19303
|
);
|
|
19304
19304
|
};
|
|
19305
|
-
const inputInTable$7 = "
|
|
19306
|
-
const inputHover$7 = "
|
|
19307
|
-
const inputFocus$7 = "
|
|
19308
|
-
const inputError$7 = "
|
|
19309
|
-
const inputWarning$7 = "
|
|
19310
|
-
const inputDisabled$7 = "
|
|
19311
|
-
const hideScrollbars$7 = "
|
|
19312
|
-
const container$1 = "
|
|
19313
|
-
const block$1 = "
|
|
19314
|
-
const
|
|
19315
|
-
const
|
|
19316
|
-
const
|
|
19317
|
-
const
|
|
19318
|
-
const
|
|
19319
|
-
const
|
|
19320
|
-
const
|
|
19321
|
-
const
|
|
19322
|
-
const
|
|
19323
|
-
const
|
|
19324
|
-
const detailsText = "_detailsText_s49vk_165";
|
|
19325
|
-
const footer$1 = "_footer_s49vk_169";
|
|
19305
|
+
const inputInTable$7 = "_inputInTable_1w5ra_1";
|
|
19306
|
+
const inputHover$7 = "_inputHover_1w5ra_13";
|
|
19307
|
+
const inputFocus$7 = "_inputFocus_1w5ra_18";
|
|
19308
|
+
const inputError$7 = "_inputError_1w5ra_25";
|
|
19309
|
+
const inputWarning$7 = "_inputWarning_1w5ra_26";
|
|
19310
|
+
const inputDisabled$7 = "_inputDisabled_1w5ra_61";
|
|
19311
|
+
const hideScrollbars$7 = "_hideScrollbars_1w5ra_67";
|
|
19312
|
+
const container$1 = "_container_1w5ra_83";
|
|
19313
|
+
const block$1 = "_block_1w5ra_103";
|
|
19314
|
+
const success = "_success_1w5ra_106";
|
|
19315
|
+
const warning$6 = "_warning_1w5ra_110";
|
|
19316
|
+
const error$4 = "_error_1w5ra_114";
|
|
19317
|
+
const content$1 = "_content_1w5ra_118";
|
|
19318
|
+
const heading$2 = "_heading_1w5ra_122";
|
|
19319
|
+
const icon$3 = "_icon_1w5ra_129";
|
|
19320
|
+
const dismiss$1 = "_dismiss_1w5ra_137";
|
|
19321
|
+
const absolute = "_absolute_1w5ra_146";
|
|
19322
|
+
const detailsText = "_detailsText_1w5ra_151";
|
|
19323
|
+
const footer$1 = "_footer_1w5ra_154";
|
|
19326
19324
|
const styles$s = {
|
|
19327
19325
|
inputInTable: inputInTable$7,
|
|
19328
19326
|
inputHover: inputHover$7,
|
|
@@ -19333,7 +19331,6 @@ const styles$s = {
|
|
|
19333
19331
|
hideScrollbars: hideScrollbars$7,
|
|
19334
19332
|
container: container$1,
|
|
19335
19333
|
block: block$1,
|
|
19336
|
-
info,
|
|
19337
19334
|
success,
|
|
19338
19335
|
warning: warning$6,
|
|
19339
19336
|
error: error$4,
|
|
@@ -19342,7 +19339,6 @@ const styles$s = {
|
|
|
19342
19339
|
icon: icon$3,
|
|
19343
19340
|
dismiss: dismiss$1,
|
|
19344
19341
|
absolute,
|
|
19345
|
-
legendToggle,
|
|
19346
19342
|
detailsText,
|
|
19347
19343
|
footer: footer$1
|
|
19348
19344
|
};
|
|
@@ -19364,12 +19360,31 @@ const Dismiss = ({ type, onClose, isInToast }) => {
|
|
|
19364
19360
|
className: cx$2(
|
|
19365
19361
|
styles$s.dismiss,
|
|
19366
19362
|
isInToast ? styles$s.absolute : "",
|
|
19367
|
-
type === MessageType.
|
|
19363
|
+
type === MessageType.SUCCESS ? styles$s.success : type === MessageType.WARNING ? styles$s.warning : type === MessageType.ERROR ? styles$s.error : null
|
|
19368
19364
|
),
|
|
19369
|
-
children: /* @__PURE__ */ jsx(
|
|
19365
|
+
children: /* @__PURE__ */ jsx(
|
|
19366
|
+
Button$1,
|
|
19367
|
+
{
|
|
19368
|
+
small: true,
|
|
19369
|
+
round: true,
|
|
19370
|
+
basic: true,
|
|
19371
|
+
colored: "muted",
|
|
19372
|
+
icon: IconType.CLOSE,
|
|
19373
|
+
onClick: onClose
|
|
19374
|
+
}
|
|
19375
|
+
)
|
|
19370
19376
|
}
|
|
19371
19377
|
);
|
|
19372
19378
|
};
|
|
19379
|
+
const TextLink = ({
|
|
19380
|
+
children,
|
|
19381
|
+
href = void 0,
|
|
19382
|
+
target = void 0,
|
|
19383
|
+
testId,
|
|
19384
|
+
onClick
|
|
19385
|
+
}) => {
|
|
19386
|
+
return /* @__PURE__ */ jsx("a", { href, target, onClick, "data-testid": testId, children: /* @__PURE__ */ jsx(Text, { link: true, children }) });
|
|
19387
|
+
};
|
|
19373
19388
|
const initialState$4 = {
|
|
19374
19389
|
detailsVisible: false
|
|
19375
19390
|
};
|
|
@@ -19386,7 +19401,7 @@ const reducer$1 = (state, action2) => {
|
|
|
19386
19401
|
};
|
|
19387
19402
|
const Details = ({ details: details2, visible, dispatch }) => {
|
|
19388
19403
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
19389
|
-
/* @__PURE__ */ jsx(
|
|
19404
|
+
/* @__PURE__ */ jsx(TextLink, { onClick: dispatch, children: visible ? "Hide details" : "Show details" }),
|
|
19390
19405
|
visible ? /* @__PURE__ */ jsx("div", { className: styles$s.detailsText, children: details2 }) : null
|
|
19391
19406
|
] });
|
|
19392
19407
|
};
|
|
@@ -50320,16 +50335,16 @@ var moo = { exports: {} };
|
|
|
50320
50335
|
this.stack = [];
|
|
50321
50336
|
this.reset();
|
|
50322
50337
|
};
|
|
50323
|
-
Lexer2.prototype.reset = function(data,
|
|
50338
|
+
Lexer2.prototype.reset = function(data, info) {
|
|
50324
50339
|
this.buffer = data || "";
|
|
50325
50340
|
this.index = 0;
|
|
50326
|
-
this.line =
|
|
50327
|
-
this.col =
|
|
50328
|
-
this.queuedToken =
|
|
50329
|
-
this.queuedText =
|
|
50330
|
-
this.queuedThrow =
|
|
50331
|
-
this.setState(
|
|
50332
|
-
this.stack =
|
|
50341
|
+
this.line = info ? info.line : 1;
|
|
50342
|
+
this.col = info ? info.col : 1;
|
|
50343
|
+
this.queuedToken = info ? info.queuedToken : null;
|
|
50344
|
+
this.queuedText = info ? info.queuedText : "";
|
|
50345
|
+
this.queuedThrow = info ? info.queuedThrow : null;
|
|
50346
|
+
this.setState(info ? info.state : this.startState);
|
|
50347
|
+
this.stack = info && info.stack ? info.stack.slice() : [];
|
|
50333
50348
|
return this;
|
|
50334
50349
|
};
|
|
50335
50350
|
Lexer2.prototype.save = function() {
|
|
@@ -50347,11 +50362,11 @@ var moo = { exports: {} };
|
|
|
50347
50362
|
if (!state || this.state === state)
|
|
50348
50363
|
return;
|
|
50349
50364
|
this.state = state;
|
|
50350
|
-
var
|
|
50351
|
-
this.groups =
|
|
50352
|
-
this.error =
|
|
50353
|
-
this.re =
|
|
50354
|
-
this.fast =
|
|
50365
|
+
var info = this.states[state];
|
|
50366
|
+
this.groups = info.groups;
|
|
50367
|
+
this.error = info.error;
|
|
50368
|
+
this.re = info.regexp;
|
|
50369
|
+
this.fast = info.fast;
|
|
50355
50370
|
};
|
|
50356
50371
|
Lexer2.prototype.popState = function() {
|
|
50357
50372
|
this.setState(this.stack.pop());
|
|
@@ -56710,15 +56725,6 @@ const Tabs = ({
|
|
|
56710
56725
|
}
|
|
56711
56726
|
return null;
|
|
56712
56727
|
};
|
|
56713
|
-
const TextLink = ({
|
|
56714
|
-
children,
|
|
56715
|
-
href = void 0,
|
|
56716
|
-
target = void 0,
|
|
56717
|
-
testId,
|
|
56718
|
-
onClick
|
|
56719
|
-
}) => {
|
|
56720
|
-
return /* @__PURE__ */ jsx("a", { href, target, onClick, "data-testid": testId, children: /* @__PURE__ */ jsx(Text, { link: true, children }) });
|
|
56721
|
-
};
|
|
56722
56728
|
const inputInTable = "_inputInTable_66zck_1";
|
|
56723
56729
|
const inputHover = "_inputHover_66zck_13";
|
|
56724
56730
|
const inputFocus = "_inputFocus_66zck_18";
|
|
@@ -63105,12 +63111,12 @@ function isDragActive() {
|
|
|
63105
63111
|
return false;
|
|
63106
63112
|
}
|
|
63107
63113
|
function createHoverEvent(visualElement2, isActive, callback) {
|
|
63108
|
-
return function(event,
|
|
63114
|
+
return function(event, info) {
|
|
63109
63115
|
var _a;
|
|
63110
63116
|
if (!isMouseEvent(event) || isDragActive())
|
|
63111
63117
|
return;
|
|
63112
63118
|
(_a = visualElement2.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Hover, isActive);
|
|
63113
|
-
callback === null || callback === void 0 ? void 0 : callback(event,
|
|
63119
|
+
callback === null || callback === void 0 ? void 0 : callback(event, info);
|
|
63114
63120
|
};
|
|
63115
63121
|
}
|
|
63116
63122
|
function useHoverGesture(_a) {
|
|
@@ -63958,17 +63964,17 @@ function useTapGesture(_a) {
|
|
|
63958
63964
|
(_a2 = visualElement2.animationState) === null || _a2 === void 0 ? void 0 : _a2.setActive(AnimationType.Tap, false);
|
|
63959
63965
|
return !isDragActive();
|
|
63960
63966
|
}
|
|
63961
|
-
function onPointerUp(event,
|
|
63967
|
+
function onPointerUp(event, info) {
|
|
63962
63968
|
if (!checkPointerEnd())
|
|
63963
63969
|
return;
|
|
63964
|
-
!isNodeOrChild(visualElement2.getInstance(), event.target) ? onTapCancel === null || onTapCancel === void 0 ? void 0 : onTapCancel(event,
|
|
63970
|
+
!isNodeOrChild(visualElement2.getInstance(), event.target) ? onTapCancel === null || onTapCancel === void 0 ? void 0 : onTapCancel(event, info) : onTap === null || onTap === void 0 ? void 0 : onTap(event, info);
|
|
63965
63971
|
}
|
|
63966
|
-
function onPointerCancel(event,
|
|
63972
|
+
function onPointerCancel(event, info) {
|
|
63967
63973
|
if (!checkPointerEnd())
|
|
63968
63974
|
return;
|
|
63969
|
-
onTapCancel === null || onTapCancel === void 0 ? void 0 : onTapCancel(event,
|
|
63975
|
+
onTapCancel === null || onTapCancel === void 0 ? void 0 : onTapCancel(event, info);
|
|
63970
63976
|
}
|
|
63971
|
-
function onPointerDown(event,
|
|
63977
|
+
function onPointerDown(event, info) {
|
|
63972
63978
|
var _a2;
|
|
63973
63979
|
removePointerEndListener();
|
|
63974
63980
|
if (isPressing.current)
|
|
@@ -63976,7 +63982,7 @@ function useTapGesture(_a) {
|
|
|
63976
63982
|
isPressing.current = true;
|
|
63977
63983
|
cancelPointerEndListeners.current = pipe(addPointerEvent(window, "pointerup", onPointerUp, eventOptions), addPointerEvent(window, "pointercancel", onPointerCancel, eventOptions));
|
|
63978
63984
|
(_a2 = visualElement2.animationState) === null || _a2 === void 0 ? void 0 : _a2.setActive(AnimationType.Tap, true);
|
|
63979
|
-
onTapStart === null || onTapStart === void 0 ? void 0 : onTapStart(event,
|
|
63985
|
+
onTapStart === null || onTapStart === void 0 ? void 0 : onTapStart(event, info);
|
|
63980
63986
|
}
|
|
63981
63987
|
usePointerEvent(visualElement2, "pointerdown", hasPressListeners ? onPointerDown : void 0, eventOptions);
|
|
63982
63988
|
useUnmountEffect(removePointerEndListener);
|
|
@@ -64993,34 +64999,34 @@ var PanSession = (
|
|
|
64993
64999
|
this.updatePoint = function() {
|
|
64994
65000
|
if (!(_this.lastMoveEvent && _this.lastMoveEventInfo))
|
|
64995
65001
|
return;
|
|
64996
|
-
var
|
|
65002
|
+
var info2 = getPanInfo(_this.lastMoveEventInfo, _this.history);
|
|
64997
65003
|
var isPanStarted = _this.startEvent !== null;
|
|
64998
|
-
var isDistancePastThreshold = distance$1(
|
|
65004
|
+
var isDistancePastThreshold = distance$1(info2.offset, { x: 0, y: 0 }) >= 3;
|
|
64999
65005
|
if (!isPanStarted && !isDistancePastThreshold)
|
|
65000
65006
|
return;
|
|
65001
|
-
var point2 =
|
|
65007
|
+
var point2 = info2.point;
|
|
65002
65008
|
var timestamp2 = getFrameData().timestamp;
|
|
65003
65009
|
_this.history.push(__assign$3(__assign$3({}, point2), { timestamp: timestamp2 }));
|
|
65004
65010
|
var _a2 = _this.handlers, onStart = _a2.onStart, onMove = _a2.onMove;
|
|
65005
65011
|
if (!isPanStarted) {
|
|
65006
|
-
onStart && onStart(_this.lastMoveEvent,
|
|
65012
|
+
onStart && onStart(_this.lastMoveEvent, info2);
|
|
65007
65013
|
_this.startEvent = _this.lastMoveEvent;
|
|
65008
65014
|
}
|
|
65009
|
-
onMove && onMove(_this.lastMoveEvent,
|
|
65015
|
+
onMove && onMove(_this.lastMoveEvent, info2);
|
|
65010
65016
|
};
|
|
65011
|
-
this.handlePointerMove = function(event2,
|
|
65017
|
+
this.handlePointerMove = function(event2, info2) {
|
|
65012
65018
|
_this.lastMoveEvent = event2;
|
|
65013
|
-
_this.lastMoveEventInfo = transformPoint(
|
|
65019
|
+
_this.lastMoveEventInfo = transformPoint(info2, _this.transformPagePoint);
|
|
65014
65020
|
if (isMouseEvent(event2) && event2.buttons === 0) {
|
|
65015
|
-
_this.handlePointerUp(event2,
|
|
65021
|
+
_this.handlePointerUp(event2, info2);
|
|
65016
65022
|
return;
|
|
65017
65023
|
}
|
|
65018
65024
|
sync.update(_this.updatePoint, true);
|
|
65019
65025
|
};
|
|
65020
|
-
this.handlePointerUp = function(event2,
|
|
65026
|
+
this.handlePointerUp = function(event2, info2) {
|
|
65021
65027
|
_this.end();
|
|
65022
65028
|
var _a2 = _this.handlers, onEnd = _a2.onEnd, onSessionEnd = _a2.onSessionEnd;
|
|
65023
|
-
var panInfo = getPanInfo(transformPoint(
|
|
65029
|
+
var panInfo = getPanInfo(transformPoint(info2, _this.transformPagePoint), _this.history);
|
|
65024
65030
|
if (_this.startEvent && onEnd) {
|
|
65025
65031
|
onEnd(event2, panInfo);
|
|
65026
65032
|
}
|
|
@@ -65030,8 +65036,8 @@ var PanSession = (
|
|
|
65030
65036
|
return;
|
|
65031
65037
|
this.handlers = handlers2;
|
|
65032
65038
|
this.transformPagePoint = transformPagePoint;
|
|
65033
|
-
var
|
|
65034
|
-
var initialInfo = transformPoint(
|
|
65039
|
+
var info = extractEventInfo(event);
|
|
65040
|
+
var initialInfo = transformPoint(info, this.transformPagePoint);
|
|
65035
65041
|
var point = initialInfo.point;
|
|
65036
65042
|
var timestamp = getFrameData().timestamp;
|
|
65037
65043
|
this.history = [__assign$3(__assign$3({}, point), { timestamp })];
|
|
@@ -65049,8 +65055,8 @@ var PanSession = (
|
|
|
65049
65055
|
return PanSession2;
|
|
65050
65056
|
}()
|
|
65051
65057
|
);
|
|
65052
|
-
function transformPoint(
|
|
65053
|
-
return transformPagePoint ? { point: transformPagePoint(
|
|
65058
|
+
function transformPoint(info, transformPagePoint) {
|
|
65059
|
+
return transformPagePoint ? { point: transformPagePoint(info.point) } : info;
|
|
65054
65060
|
}
|
|
65055
65061
|
function subtractPoint(a2, b2) {
|
|
65056
65062
|
return { x: a2.x - b2.x, y: a2.y - b2.y };
|
|
@@ -65401,7 +65407,7 @@ var VisualElementDragControls = (
|
|
|
65401
65407
|
_this.snapToCursor(extractEventInfo(event, "page").point);
|
|
65402
65408
|
}
|
|
65403
65409
|
};
|
|
65404
|
-
var onStart = function(event,
|
|
65410
|
+
var onStart = function(event, info) {
|
|
65405
65411
|
var _a2;
|
|
65406
65412
|
var _b2 = _this.getProps(), drag2 = _b2.drag, dragPropagation = _b2.dragPropagation, onDragStart3 = _b2.onDragStart;
|
|
65407
65413
|
if (drag2 && !dragPropagation) {
|
|
@@ -65430,14 +65436,14 @@ var VisualElementDragControls = (
|
|
|
65430
65436
|
}
|
|
65431
65437
|
_this.originPoint[axis] = current;
|
|
65432
65438
|
});
|
|
65433
|
-
onDragStart3 === null || onDragStart3 === void 0 ? void 0 : onDragStart3(event,
|
|
65439
|
+
onDragStart3 === null || onDragStart3 === void 0 ? void 0 : onDragStart3(event, info);
|
|
65434
65440
|
(_a2 = _this.visualElement.animationState) === null || _a2 === void 0 ? void 0 : _a2.setActive(AnimationType.Drag, true);
|
|
65435
65441
|
};
|
|
65436
|
-
var onMove = function(event,
|
|
65442
|
+
var onMove = function(event, info) {
|
|
65437
65443
|
var _a2 = _this.getProps(), dragPropagation = _a2.dragPropagation, dragDirectionLock = _a2.dragDirectionLock, onDirectionLock = _a2.onDirectionLock, onDrag = _a2.onDrag;
|
|
65438
65444
|
if (!dragPropagation && !_this.openGlobalLock)
|
|
65439
65445
|
return;
|
|
65440
|
-
var offset3 =
|
|
65446
|
+
var offset3 = info.offset;
|
|
65441
65447
|
if (dragDirectionLock && _this.currentDirection === null) {
|
|
65442
65448
|
_this.currentDirection = getCurrentDirection(offset3);
|
|
65443
65449
|
if (_this.currentDirection !== null) {
|
|
@@ -65445,13 +65451,13 @@ var VisualElementDragControls = (
|
|
|
65445
65451
|
}
|
|
65446
65452
|
return;
|
|
65447
65453
|
}
|
|
65448
|
-
_this.updateAxis("x",
|
|
65449
|
-
_this.updateAxis("y",
|
|
65454
|
+
_this.updateAxis("x", info.point, offset3);
|
|
65455
|
+
_this.updateAxis("y", info.point, offset3);
|
|
65450
65456
|
_this.visualElement.syncRender();
|
|
65451
|
-
onDrag === null || onDrag === void 0 ? void 0 : onDrag(event,
|
|
65457
|
+
onDrag === null || onDrag === void 0 ? void 0 : onDrag(event, info);
|
|
65452
65458
|
};
|
|
65453
|
-
var onSessionEnd = function(event,
|
|
65454
|
-
return _this.stop(event,
|
|
65459
|
+
var onSessionEnd = function(event, info) {
|
|
65460
|
+
return _this.stop(event, info);
|
|
65455
65461
|
};
|
|
65456
65462
|
this.panSession = new PanSession(originEvent, {
|
|
65457
65463
|
onSessionStart,
|
|
@@ -65460,15 +65466,15 @@ var VisualElementDragControls = (
|
|
|
65460
65466
|
onSessionEnd
|
|
65461
65467
|
}, { transformPagePoint: this.visualElement.getTransformPagePoint() });
|
|
65462
65468
|
};
|
|
65463
|
-
VisualElementDragControls2.prototype.stop = function(event,
|
|
65469
|
+
VisualElementDragControls2.prototype.stop = function(event, info) {
|
|
65464
65470
|
var isDragging = this.isDragging;
|
|
65465
65471
|
this.cancel();
|
|
65466
65472
|
if (!isDragging)
|
|
65467
65473
|
return;
|
|
65468
|
-
var velocity =
|
|
65474
|
+
var velocity = info.velocity;
|
|
65469
65475
|
this.startAnimation(velocity);
|
|
65470
65476
|
var onDragEnd3 = this.getProps().onDragEnd;
|
|
65471
|
-
onDragEnd3 === null || onDragEnd3 === void 0 ? void 0 : onDragEnd3(event,
|
|
65477
|
+
onDragEnd3 === null || onDragEnd3 === void 0 ? void 0 : onDragEnd3(event, info);
|
|
65472
65478
|
};
|
|
65473
65479
|
VisualElementDragControls2.prototype.cancel = function() {
|
|
65474
65480
|
var _a, _b;
|
|
@@ -65707,9 +65713,9 @@ function usePanGesture(_a) {
|
|
|
65707
65713
|
onSessionStart: onPanSessionStart,
|
|
65708
65714
|
onStart: onPanStart,
|
|
65709
65715
|
onMove: onPan,
|
|
65710
|
-
onEnd: function(event,
|
|
65716
|
+
onEnd: function(event, info) {
|
|
65711
65717
|
panSession.current = null;
|
|
65712
|
-
onPanEnd && onPanEnd(event,
|
|
65718
|
+
onPanEnd && onPanEnd(event, info);
|
|
65713
65719
|
}
|
|
65714
65720
|
};
|
|
65715
65721
|
useEffect(function() {
|