@oliasoft-open-source/react-ui-library 4.2.3 → 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-cc2feb7a.js → index-916a574f.js} +66 -75
- package/dist/global.css +41 -55
- package/dist/index.html +1 -1
- package/dist/index.js +95 -88
- package/dist/index.js.map +1 -1
- package/dist/storybook/assets/{Color-6VNJS4EI-808eec2a.js → Color-6VNJS4EI-13835166.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-NNNQARDV-5cca9a05.js → DocsRenderer-NNNQARDV-4f588b61.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-4HIR6TLV-35c426d7.js → WithTooltip-4HIR6TLV-b42c6128.js} +1 -1
- package/dist/storybook/assets/{accordion.stories-28f367e8.js → accordion.stories-0f8af16e.js} +1 -1
- package/dist/storybook/assets/{afe.stories-cfc21d8f.js → afe.stories-afb9be07.js} +1 -1
- package/dist/storybook/assets/buttons-and-links-efbcacad.js +14 -0
- package/dist/storybook/assets/{casing-loads.stories-53f0c170.js → casing-loads.stories-cfbab702.js} +1 -1
- package/dist/storybook/assets/{cell.stories-000c0a3d.js → cell.stories-524a7418.js} +1 -1
- package/dist/storybook/assets/{chunk-HLWAVYOI-81c562b1.js → chunk-HLWAVYOI-a6703799.js} +1 -1
- package/dist/storybook/assets/color-d5f5459d.js +25 -0
- package/dist/storybook/assets/{field.stories-34933c78.js → field.stories-f1318053.js} +1 -1
- package/dist/storybook/assets/file-input.stories-34630c12.js +66 -0
- package/dist/storybook/assets/{footer.stories-a609872b.js → footer.stories-57f07ea2.js} +1 -1
- package/dist/storybook/assets/{form.stories-855aa193.js → form.stories-45c0cd59.js} +1 -1
- package/dist/storybook/assets/{formation.stories-26609d7c.js → formation.stories-5eeaa826.js} +1 -1
- package/dist/storybook/assets/{formatter-SWP5E3XI-6ad445c8.js → formatter-SWP5E3XI-a96d02d8.js} +1 -1
- package/dist/storybook/assets/iframe-45fdf8ff.js +1 -0
- package/dist/storybook/assets/{index-08c03c21.js → index-a92f5849.js} +4 -4
- package/dist/storybook/assets/input-d68625a5.js +1 -0
- package/dist/storybook/assets/{input-group.stories-854d8ff5.js → input-group.stories-a2a3400e.js} +1 -1
- package/dist/storybook/assets/{input-validation-88198d89.js → input-validation-c8eebd02.js} +1 -1
- package/dist/storybook/assets/{input.stories-c809bbe4.js → input.stories-164d93ab.js} +1 -1
- package/dist/storybook/assets/{inputs-ce764c65.js → inputs-2b586db3.js} +2 -2
- package/dist/storybook/assets/{layout-forms-9b627848.js → layout-forms-3b068d31.js} +1 -1
- package/dist/storybook/assets/{layout-general-55ed749e.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/{modal.stories-68ebfaa7.js → modal.stories-0e068cc1.js} +1 -1
- package/dist/storybook/assets/{number-input-1f8dcc90.js → number-input-7d49b0b3.js} +1 -1
- package/dist/storybook/assets/{number-input.stories-b0743e1e.js → number-input.stories-02528124.js} +1 -1
- package/dist/storybook/assets/{padding-and-spacing-cb26bd6d.js → padding-and-spacing-747e4160.js} +1 -1
- package/dist/storybook/assets/{pagination-556e629a.js → pagination-8aade846.js} +1 -1
- package/dist/storybook/assets/{pagination.stories-3834d042.js → pagination.stories-423b4938.js} +1 -1
- package/dist/storybook/assets/pop-confirm.stories-ea90fa3e.js +7 -0
- package/dist/storybook/assets/{popover.stories-3582d313.js → popover.stories-f651a81c.js} +1 -1
- package/dist/storybook/assets/preview-64515bf5.js +1 -0
- package/dist/storybook/assets/{preview-5bb72268.js → preview-989e50b7.js} +3 -3
- package/dist/storybook/assets/{reservoirs.stories-9edb6ff1.js → reservoirs.stories-6b14a37f.js} +1 -1
- package/dist/storybook/assets/{row.stories-d3e5a7b6.js → row.stories-d5b6b4a6.js} +1 -1
- package/dist/storybook/assets/{site.stories-464b55be.js → site.stories-dee8ce1c.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-NMPM6SWI-152b0b7a.js → syntaxhighlighter-NMPM6SWI-91e5651b.js} +1 -1
- package/dist/storybook/assets/{table-b41d5bdc.js → table-da6f6045.js} +1 -1
- package/dist/storybook/assets/{table.stories-8ded62ea.js → table.stories-67a3023a.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/{title.stories-1a983eea.js → title.stories-5b4a226c.js} +1 -1
- 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-cd06c725.js +0 -14
- package/dist/storybook/assets/color-d3810b8e.js +0 -25
- package/dist/storybook/assets/file-input.stories-94743e9d.js +0 -55
- package/dist/storybook/assets/iframe-b1d7d28b.js +0 -1
- package/dist/storybook/assets/input-f82f3a98.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-ba5067fd.js +0 -1
- package/dist/storybook/assets/text-link.stories-c1227c6f.js +0 -1
- package/dist/storybook/assets/unit-input.stories-58bddfdf.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
|
@@ -9292,6 +9292,7 @@ const FileInput = ({
|
|
|
9292
9292
|
className: styles$y.fileInput,
|
|
9293
9293
|
type: "file",
|
|
9294
9294
|
accept,
|
|
9295
|
+
multiple: multi,
|
|
9295
9296
|
onChange: (evt) => {
|
|
9296
9297
|
var _a, _b, _c;
|
|
9297
9298
|
onChange({
|
|
@@ -9329,7 +9330,7 @@ const Label$2 = ({
|
|
|
9329
9330
|
tooltip: "",
|
|
9330
9331
|
testId: void 0
|
|
9331
9332
|
},
|
|
9332
|
-
info
|
|
9333
|
+
info,
|
|
9333
9334
|
libraryIcon,
|
|
9334
9335
|
labelLeft: labelLeft2 = false
|
|
9335
9336
|
}) => {
|
|
@@ -9344,7 +9345,7 @@ const Label$2 = ({
|
|
|
9344
9345
|
maxWidth: helpTextMaxWidth
|
|
9345
9346
|
}
|
|
9346
9347
|
),
|
|
9347
|
-
|
|
9348
|
+
info && /* @__PURE__ */ jsx(HelpIcon, { text: info, icon: IconType.INFO }),
|
|
9348
9349
|
lock && lock.visible && lock.onClick && /* @__PURE__ */ jsx(
|
|
9349
9350
|
HelpIcon,
|
|
9350
9351
|
{
|
|
@@ -9394,7 +9395,7 @@ const Field = ({
|
|
|
9394
9395
|
tooltip: "",
|
|
9395
9396
|
testId: void 0
|
|
9396
9397
|
},
|
|
9397
|
-
info
|
|
9398
|
+
info,
|
|
9398
9399
|
libraryIcon,
|
|
9399
9400
|
testId
|
|
9400
9401
|
}) => {
|
|
@@ -9413,7 +9414,7 @@ const Field = ({
|
|
|
9413
9414
|
helpTextMaxWidth,
|
|
9414
9415
|
onClickHelp,
|
|
9415
9416
|
lock,
|
|
9416
|
-
info
|
|
9417
|
+
info,
|
|
9417
9418
|
libraryIcon,
|
|
9418
9419
|
labelLeft: labelLeft2
|
|
9419
9420
|
}
|
|
@@ -19301,27 +19302,25 @@ const List = ({
|
|
|
19301
19302
|
}
|
|
19302
19303
|
);
|
|
19303
19304
|
};
|
|
19304
|
-
const inputInTable$7 = "
|
|
19305
|
-
const inputHover$7 = "
|
|
19306
|
-
const inputFocus$7 = "
|
|
19307
|
-
const inputError$7 = "
|
|
19308
|
-
const inputWarning$7 = "
|
|
19309
|
-
const inputDisabled$7 = "
|
|
19310
|
-
const hideScrollbars$7 = "
|
|
19311
|
-
const container$1 = "
|
|
19312
|
-
const block$1 = "
|
|
19313
|
-
const
|
|
19314
|
-
const
|
|
19315
|
-
const
|
|
19316
|
-
const
|
|
19317
|
-
const
|
|
19318
|
-
const
|
|
19319
|
-
const
|
|
19320
|
-
const
|
|
19321
|
-
const
|
|
19322
|
-
const
|
|
19323
|
-
const detailsText = "_detailsText_s49vk_165";
|
|
19324
|
-
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";
|
|
19325
19324
|
const styles$s = {
|
|
19326
19325
|
inputInTable: inputInTable$7,
|
|
19327
19326
|
inputHover: inputHover$7,
|
|
@@ -19332,7 +19331,6 @@ const styles$s = {
|
|
|
19332
19331
|
hideScrollbars: hideScrollbars$7,
|
|
19333
19332
|
container: container$1,
|
|
19334
19333
|
block: block$1,
|
|
19335
|
-
info,
|
|
19336
19334
|
success,
|
|
19337
19335
|
warning: warning$6,
|
|
19338
19336
|
error: error$4,
|
|
@@ -19341,7 +19339,6 @@ const styles$s = {
|
|
|
19341
19339
|
icon: icon$3,
|
|
19342
19340
|
dismiss: dismiss$1,
|
|
19343
19341
|
absolute,
|
|
19344
|
-
legendToggle,
|
|
19345
19342
|
detailsText,
|
|
19346
19343
|
footer: footer$1
|
|
19347
19344
|
};
|
|
@@ -19363,12 +19360,31 @@ const Dismiss = ({ type, onClose, isInToast }) => {
|
|
|
19363
19360
|
className: cx$2(
|
|
19364
19361
|
styles$s.dismiss,
|
|
19365
19362
|
isInToast ? styles$s.absolute : "",
|
|
19366
|
-
type === MessageType.
|
|
19363
|
+
type === MessageType.SUCCESS ? styles$s.success : type === MessageType.WARNING ? styles$s.warning : type === MessageType.ERROR ? styles$s.error : null
|
|
19367
19364
|
),
|
|
19368
|
-
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
|
+
)
|
|
19369
19376
|
}
|
|
19370
19377
|
);
|
|
19371
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
|
+
};
|
|
19372
19388
|
const initialState$4 = {
|
|
19373
19389
|
detailsVisible: false
|
|
19374
19390
|
};
|
|
@@ -19385,7 +19401,7 @@ const reducer$1 = (state, action2) => {
|
|
|
19385
19401
|
};
|
|
19386
19402
|
const Details = ({ details: details2, visible, dispatch }) => {
|
|
19387
19403
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
19388
|
-
/* @__PURE__ */ jsx(
|
|
19404
|
+
/* @__PURE__ */ jsx(TextLink, { onClick: dispatch, children: visible ? "Hide details" : "Show details" }),
|
|
19389
19405
|
visible ? /* @__PURE__ */ jsx("div", { className: styles$s.detailsText, children: details2 }) : null
|
|
19390
19406
|
] });
|
|
19391
19407
|
};
|
|
@@ -50319,16 +50335,16 @@ var moo = { exports: {} };
|
|
|
50319
50335
|
this.stack = [];
|
|
50320
50336
|
this.reset();
|
|
50321
50337
|
};
|
|
50322
|
-
Lexer2.prototype.reset = function(data,
|
|
50338
|
+
Lexer2.prototype.reset = function(data, info) {
|
|
50323
50339
|
this.buffer = data || "";
|
|
50324
50340
|
this.index = 0;
|
|
50325
|
-
this.line =
|
|
50326
|
-
this.col =
|
|
50327
|
-
this.queuedToken =
|
|
50328
|
-
this.queuedText =
|
|
50329
|
-
this.queuedThrow =
|
|
50330
|
-
this.setState(
|
|
50331
|
-
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() : [];
|
|
50332
50348
|
return this;
|
|
50333
50349
|
};
|
|
50334
50350
|
Lexer2.prototype.save = function() {
|
|
@@ -50346,11 +50362,11 @@ var moo = { exports: {} };
|
|
|
50346
50362
|
if (!state || this.state === state)
|
|
50347
50363
|
return;
|
|
50348
50364
|
this.state = state;
|
|
50349
|
-
var
|
|
50350
|
-
this.groups =
|
|
50351
|
-
this.error =
|
|
50352
|
-
this.re =
|
|
50353
|
-
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;
|
|
50354
50370
|
};
|
|
50355
50371
|
Lexer2.prototype.popState = function() {
|
|
50356
50372
|
this.setState(this.stack.pop());
|
|
@@ -56709,15 +56725,6 @@ const Tabs = ({
|
|
|
56709
56725
|
}
|
|
56710
56726
|
return null;
|
|
56711
56727
|
};
|
|
56712
|
-
const TextLink = ({
|
|
56713
|
-
children,
|
|
56714
|
-
href = void 0,
|
|
56715
|
-
target = void 0,
|
|
56716
|
-
testId,
|
|
56717
|
-
onClick
|
|
56718
|
-
}) => {
|
|
56719
|
-
return /* @__PURE__ */ jsx("a", { href, target, onClick, "data-testid": testId, children: /* @__PURE__ */ jsx(Text, { link: true, children }) });
|
|
56720
|
-
};
|
|
56721
56728
|
const inputInTable = "_inputInTable_66zck_1";
|
|
56722
56729
|
const inputHover = "_inputHover_66zck_13";
|
|
56723
56730
|
const inputFocus = "_inputFocus_66zck_18";
|
|
@@ -63104,12 +63111,12 @@ function isDragActive() {
|
|
|
63104
63111
|
return false;
|
|
63105
63112
|
}
|
|
63106
63113
|
function createHoverEvent(visualElement2, isActive, callback) {
|
|
63107
|
-
return function(event,
|
|
63114
|
+
return function(event, info) {
|
|
63108
63115
|
var _a;
|
|
63109
63116
|
if (!isMouseEvent(event) || isDragActive())
|
|
63110
63117
|
return;
|
|
63111
63118
|
(_a = visualElement2.animationState) === null || _a === void 0 ? void 0 : _a.setActive(AnimationType.Hover, isActive);
|
|
63112
|
-
callback === null || callback === void 0 ? void 0 : callback(event,
|
|
63119
|
+
callback === null || callback === void 0 ? void 0 : callback(event, info);
|
|
63113
63120
|
};
|
|
63114
63121
|
}
|
|
63115
63122
|
function useHoverGesture(_a) {
|
|
@@ -63957,17 +63964,17 @@ function useTapGesture(_a) {
|
|
|
63957
63964
|
(_a2 = visualElement2.animationState) === null || _a2 === void 0 ? void 0 : _a2.setActive(AnimationType.Tap, false);
|
|
63958
63965
|
return !isDragActive();
|
|
63959
63966
|
}
|
|
63960
|
-
function onPointerUp(event,
|
|
63967
|
+
function onPointerUp(event, info) {
|
|
63961
63968
|
if (!checkPointerEnd())
|
|
63962
63969
|
return;
|
|
63963
|
-
!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);
|
|
63964
63971
|
}
|
|
63965
|
-
function onPointerCancel(event,
|
|
63972
|
+
function onPointerCancel(event, info) {
|
|
63966
63973
|
if (!checkPointerEnd())
|
|
63967
63974
|
return;
|
|
63968
|
-
onTapCancel === null || onTapCancel === void 0 ? void 0 : onTapCancel(event,
|
|
63975
|
+
onTapCancel === null || onTapCancel === void 0 ? void 0 : onTapCancel(event, info);
|
|
63969
63976
|
}
|
|
63970
|
-
function onPointerDown(event,
|
|
63977
|
+
function onPointerDown(event, info) {
|
|
63971
63978
|
var _a2;
|
|
63972
63979
|
removePointerEndListener();
|
|
63973
63980
|
if (isPressing.current)
|
|
@@ -63975,7 +63982,7 @@ function useTapGesture(_a) {
|
|
|
63975
63982
|
isPressing.current = true;
|
|
63976
63983
|
cancelPointerEndListeners.current = pipe(addPointerEvent(window, "pointerup", onPointerUp, eventOptions), addPointerEvent(window, "pointercancel", onPointerCancel, eventOptions));
|
|
63977
63984
|
(_a2 = visualElement2.animationState) === null || _a2 === void 0 ? void 0 : _a2.setActive(AnimationType.Tap, true);
|
|
63978
|
-
onTapStart === null || onTapStart === void 0 ? void 0 : onTapStart(event,
|
|
63985
|
+
onTapStart === null || onTapStart === void 0 ? void 0 : onTapStart(event, info);
|
|
63979
63986
|
}
|
|
63980
63987
|
usePointerEvent(visualElement2, "pointerdown", hasPressListeners ? onPointerDown : void 0, eventOptions);
|
|
63981
63988
|
useUnmountEffect(removePointerEndListener);
|
|
@@ -64992,34 +64999,34 @@ var PanSession = (
|
|
|
64992
64999
|
this.updatePoint = function() {
|
|
64993
65000
|
if (!(_this.lastMoveEvent && _this.lastMoveEventInfo))
|
|
64994
65001
|
return;
|
|
64995
|
-
var
|
|
65002
|
+
var info2 = getPanInfo(_this.lastMoveEventInfo, _this.history);
|
|
64996
65003
|
var isPanStarted = _this.startEvent !== null;
|
|
64997
|
-
var isDistancePastThreshold = distance$1(
|
|
65004
|
+
var isDistancePastThreshold = distance$1(info2.offset, { x: 0, y: 0 }) >= 3;
|
|
64998
65005
|
if (!isPanStarted && !isDistancePastThreshold)
|
|
64999
65006
|
return;
|
|
65000
|
-
var point2 =
|
|
65007
|
+
var point2 = info2.point;
|
|
65001
65008
|
var timestamp2 = getFrameData().timestamp;
|
|
65002
65009
|
_this.history.push(__assign$3(__assign$3({}, point2), { timestamp: timestamp2 }));
|
|
65003
65010
|
var _a2 = _this.handlers, onStart = _a2.onStart, onMove = _a2.onMove;
|
|
65004
65011
|
if (!isPanStarted) {
|
|
65005
|
-
onStart && onStart(_this.lastMoveEvent,
|
|
65012
|
+
onStart && onStart(_this.lastMoveEvent, info2);
|
|
65006
65013
|
_this.startEvent = _this.lastMoveEvent;
|
|
65007
65014
|
}
|
|
65008
|
-
onMove && onMove(_this.lastMoveEvent,
|
|
65015
|
+
onMove && onMove(_this.lastMoveEvent, info2);
|
|
65009
65016
|
};
|
|
65010
|
-
this.handlePointerMove = function(event2,
|
|
65017
|
+
this.handlePointerMove = function(event2, info2) {
|
|
65011
65018
|
_this.lastMoveEvent = event2;
|
|
65012
|
-
_this.lastMoveEventInfo = transformPoint(
|
|
65019
|
+
_this.lastMoveEventInfo = transformPoint(info2, _this.transformPagePoint);
|
|
65013
65020
|
if (isMouseEvent(event2) && event2.buttons === 0) {
|
|
65014
|
-
_this.handlePointerUp(event2,
|
|
65021
|
+
_this.handlePointerUp(event2, info2);
|
|
65015
65022
|
return;
|
|
65016
65023
|
}
|
|
65017
65024
|
sync.update(_this.updatePoint, true);
|
|
65018
65025
|
};
|
|
65019
|
-
this.handlePointerUp = function(event2,
|
|
65026
|
+
this.handlePointerUp = function(event2, info2) {
|
|
65020
65027
|
_this.end();
|
|
65021
65028
|
var _a2 = _this.handlers, onEnd = _a2.onEnd, onSessionEnd = _a2.onSessionEnd;
|
|
65022
|
-
var panInfo = getPanInfo(transformPoint(
|
|
65029
|
+
var panInfo = getPanInfo(transformPoint(info2, _this.transformPagePoint), _this.history);
|
|
65023
65030
|
if (_this.startEvent && onEnd) {
|
|
65024
65031
|
onEnd(event2, panInfo);
|
|
65025
65032
|
}
|
|
@@ -65029,8 +65036,8 @@ var PanSession = (
|
|
|
65029
65036
|
return;
|
|
65030
65037
|
this.handlers = handlers2;
|
|
65031
65038
|
this.transformPagePoint = transformPagePoint;
|
|
65032
|
-
var
|
|
65033
|
-
var initialInfo = transformPoint(
|
|
65039
|
+
var info = extractEventInfo(event);
|
|
65040
|
+
var initialInfo = transformPoint(info, this.transformPagePoint);
|
|
65034
65041
|
var point = initialInfo.point;
|
|
65035
65042
|
var timestamp = getFrameData().timestamp;
|
|
65036
65043
|
this.history = [__assign$3(__assign$3({}, point), { timestamp })];
|
|
@@ -65048,8 +65055,8 @@ var PanSession = (
|
|
|
65048
65055
|
return PanSession2;
|
|
65049
65056
|
}()
|
|
65050
65057
|
);
|
|
65051
|
-
function transformPoint(
|
|
65052
|
-
return transformPagePoint ? { point: transformPagePoint(
|
|
65058
|
+
function transformPoint(info, transformPagePoint) {
|
|
65059
|
+
return transformPagePoint ? { point: transformPagePoint(info.point) } : info;
|
|
65053
65060
|
}
|
|
65054
65061
|
function subtractPoint(a2, b2) {
|
|
65055
65062
|
return { x: a2.x - b2.x, y: a2.y - b2.y };
|
|
@@ -65400,7 +65407,7 @@ var VisualElementDragControls = (
|
|
|
65400
65407
|
_this.snapToCursor(extractEventInfo(event, "page").point);
|
|
65401
65408
|
}
|
|
65402
65409
|
};
|
|
65403
|
-
var onStart = function(event,
|
|
65410
|
+
var onStart = function(event, info) {
|
|
65404
65411
|
var _a2;
|
|
65405
65412
|
var _b2 = _this.getProps(), drag2 = _b2.drag, dragPropagation = _b2.dragPropagation, onDragStart3 = _b2.onDragStart;
|
|
65406
65413
|
if (drag2 && !dragPropagation) {
|
|
@@ -65429,14 +65436,14 @@ var VisualElementDragControls = (
|
|
|
65429
65436
|
}
|
|
65430
65437
|
_this.originPoint[axis] = current;
|
|
65431
65438
|
});
|
|
65432
|
-
onDragStart3 === null || onDragStart3 === void 0 ? void 0 : onDragStart3(event,
|
|
65439
|
+
onDragStart3 === null || onDragStart3 === void 0 ? void 0 : onDragStart3(event, info);
|
|
65433
65440
|
(_a2 = _this.visualElement.animationState) === null || _a2 === void 0 ? void 0 : _a2.setActive(AnimationType.Drag, true);
|
|
65434
65441
|
};
|
|
65435
|
-
var onMove = function(event,
|
|
65442
|
+
var onMove = function(event, info) {
|
|
65436
65443
|
var _a2 = _this.getProps(), dragPropagation = _a2.dragPropagation, dragDirectionLock = _a2.dragDirectionLock, onDirectionLock = _a2.onDirectionLock, onDrag = _a2.onDrag;
|
|
65437
65444
|
if (!dragPropagation && !_this.openGlobalLock)
|
|
65438
65445
|
return;
|
|
65439
|
-
var offset3 =
|
|
65446
|
+
var offset3 = info.offset;
|
|
65440
65447
|
if (dragDirectionLock && _this.currentDirection === null) {
|
|
65441
65448
|
_this.currentDirection = getCurrentDirection(offset3);
|
|
65442
65449
|
if (_this.currentDirection !== null) {
|
|
@@ -65444,13 +65451,13 @@ var VisualElementDragControls = (
|
|
|
65444
65451
|
}
|
|
65445
65452
|
return;
|
|
65446
65453
|
}
|
|
65447
|
-
_this.updateAxis("x",
|
|
65448
|
-
_this.updateAxis("y",
|
|
65454
|
+
_this.updateAxis("x", info.point, offset3);
|
|
65455
|
+
_this.updateAxis("y", info.point, offset3);
|
|
65449
65456
|
_this.visualElement.syncRender();
|
|
65450
|
-
onDrag === null || onDrag === void 0 ? void 0 : onDrag(event,
|
|
65457
|
+
onDrag === null || onDrag === void 0 ? void 0 : onDrag(event, info);
|
|
65451
65458
|
};
|
|
65452
|
-
var onSessionEnd = function(event,
|
|
65453
|
-
return _this.stop(event,
|
|
65459
|
+
var onSessionEnd = function(event, info) {
|
|
65460
|
+
return _this.stop(event, info);
|
|
65454
65461
|
};
|
|
65455
65462
|
this.panSession = new PanSession(originEvent, {
|
|
65456
65463
|
onSessionStart,
|
|
@@ -65459,15 +65466,15 @@ var VisualElementDragControls = (
|
|
|
65459
65466
|
onSessionEnd
|
|
65460
65467
|
}, { transformPagePoint: this.visualElement.getTransformPagePoint() });
|
|
65461
65468
|
};
|
|
65462
|
-
VisualElementDragControls2.prototype.stop = function(event,
|
|
65469
|
+
VisualElementDragControls2.prototype.stop = function(event, info) {
|
|
65463
65470
|
var isDragging = this.isDragging;
|
|
65464
65471
|
this.cancel();
|
|
65465
65472
|
if (!isDragging)
|
|
65466
65473
|
return;
|
|
65467
|
-
var velocity =
|
|
65474
|
+
var velocity = info.velocity;
|
|
65468
65475
|
this.startAnimation(velocity);
|
|
65469
65476
|
var onDragEnd3 = this.getProps().onDragEnd;
|
|
65470
|
-
onDragEnd3 === null || onDragEnd3 === void 0 ? void 0 : onDragEnd3(event,
|
|
65477
|
+
onDragEnd3 === null || onDragEnd3 === void 0 ? void 0 : onDragEnd3(event, info);
|
|
65471
65478
|
};
|
|
65472
65479
|
VisualElementDragControls2.prototype.cancel = function() {
|
|
65473
65480
|
var _a, _b;
|
|
@@ -65706,9 +65713,9 @@ function usePanGesture(_a) {
|
|
|
65706
65713
|
onSessionStart: onPanSessionStart,
|
|
65707
65714
|
onStart: onPanStart,
|
|
65708
65715
|
onMove: onPan,
|
|
65709
|
-
onEnd: function(event,
|
|
65716
|
+
onEnd: function(event, info) {
|
|
65710
65717
|
panSession.current = null;
|
|
65711
|
-
onPanEnd && onPanEnd(event,
|
|
65718
|
+
onPanEnd && onPanEnd(event, info);
|
|
65712
65719
|
}
|
|
65713
65720
|
};
|
|
65714
65721
|
useEffect(function() {
|