@wise/dynamic-flow-client-internal 5.33.0 → 5.34.0-experimental-18a8b47
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/build/i18n/en.json +2 -0
- package/build/main.css +54 -0
- package/build/main.js +1024 -746
- package/build/main.mjs +870 -587
- package/build/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +4 -4
- package/build/dynamicFlow/DynamicFlow.js +0 -11
- package/build/dynamicFlow/DynamicFlowModal.js +0 -21
- package/build/dynamicFlow/DynamicFlowWiseProps.js +0 -1
- package/build/dynamicFlow/DynamicFlowWithRef.js +0 -19
- package/build/dynamicFlow/context-menu/useContextMenu.js +0 -33
- package/build/dynamicFlow/context-menu/useDFContextMenu.js +0 -135
- package/build/dynamicFlow/context-menu/useDFContextMenu.test.js +0 -101
- package/build/dynamicFlow/getMergedRenderers.js +0 -36
- package/build/dynamicFlow/messages.js +0 -13
- package/build/dynamicFlow/renderers.js +0 -10
- package/build/dynamicFlow/telemetry/app-version.js +0 -4
- package/build/dynamicFlow/telemetry/dispatchAnalyticsEvent.js +0 -8
- package/build/dynamicFlow/telemetry/getLogEvent.js +0 -22
- package/build/dynamicFlow/telemetry/getTrackEvent.js +0 -39
- package/build/dynamicFlow/telemetry/index.js +0 -2
- package/build/dynamicFlow/useCreateSnackBar.js +0 -9
- package/build/dynamicFlow/useOnCopy.js +0 -16
- package/build/dynamicFlow/useWiseHttpClient.js +0 -24
- package/build/dynamicFlow/useWiseToCoreProps.js +0 -42
- package/build/i18n/index.js +0 -43
- package/build/index.js +0 -6
- package/build/stories/ButtonLoader.story.js +0 -109
- package/build/stories/ContainerQueries.story.js +0 -74
- package/build/stories/DynamicFlow.story.js +0 -37
- package/build/stories/DynamicFlowWithRef.story.js +0 -72
- package/build/stories/Editable.story.js +0 -58
- package/build/stories/Initialisation.story.js +0 -33
- package/build/stories/PinnedButtons.story.js +0 -94
- package/build/stories/SCAIntegration.story.js +0 -67
- package/build/stories/utils/fixtureHttpClient.js +0 -59
- package/build/test-utils/NeptuneProviders.js +0 -11
- package/build/test-utils/index.js +0 -4
- package/build/test-utils/respond-with.js +0 -6
- package/build/test-utils/rtl-utils.js +0 -7
- package/build/test-utils/wait.js +0 -3
- package/build/tests/DynamicFlow.test.js +0 -177
- package/build/tests/HideStepTitle.test.js +0 -58
- package/build/tests/RequestCache.test.js +0 -34
- package/build/tests/SCARejectionHandling.test.js +0 -71
- package/build/tests/Subflow.Wise.test.js +0 -650
- package/build/tests/events.test.js +0 -124
- package/build/tests/logging.test.js +0 -12
- package/build/tests/onNotification.test.js +0 -96
- package/build/tests/renderers/ControlAndTags.test.js +0 -225
- package/build/tests/renderers/ImageRenderer.test.js +0 -129
- package/build/tests/renderers/RadioInputRendererComponent.test.js +0 -89
- package/build/tests/renderers/ReviewRenderer.test.js +0 -41
- package/build/tests/renderers/TextInputRenderer.test.js +0 -245
- package/build/tests/renderers/TimeZoneHeader.test.js +0 -19
- package/build/tests/renderers/UploadInputRenderer.maxSize.test.js +0 -22
- package/build/tests/renderers/value-utils.test.js +0 -24
package/build/i18n/en.json
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
"df.wise.ButtonLayout.buttonLoadingMessage": "This might take a few seconds",
|
|
9
9
|
"df.wise.Collection.clearText": "Clear text",
|
|
10
10
|
"df.wise.Collection.loadMoreMessage": "Load more",
|
|
11
|
+
"df.wise.Collection.showLessResultsButton": "Show less results",
|
|
12
|
+
"df.wise.Collection.showMoreResultsButton": "Show all {count} results",
|
|
11
13
|
"df.wise.ControlFeedback.maxLength": "Please enter {maxLength} or fewer characters.",
|
|
12
14
|
"df.wise.ControlFeedback.maximum": "Please enter a number that's {maximum} or less.",
|
|
13
15
|
"df.wise.ControlFeedback.maximumDate": "Please enter a date that's on or before {maximum}.",
|
package/build/main.css
CHANGED
|
@@ -97,6 +97,36 @@
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
+
/* collapses and expands to the filters' natural height by animating a single grid row */
|
|
101
|
+
.df-filters-collapsible {
|
|
102
|
+
display: grid;
|
|
103
|
+
grid-template-rows: 1fr;
|
|
104
|
+
opacity: 1;
|
|
105
|
+
transition:
|
|
106
|
+
grid-template-rows 150ms ease-out,
|
|
107
|
+
opacity 150ms ease-out;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.df-filters-collapsible--hidden {
|
|
111
|
+
grid-template-rows: 0fr;
|
|
112
|
+
opacity: 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.df-filters-collapsible-content {
|
|
116
|
+
min-height: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/* only clip while hidden, so chip focus rings aren't cut off when the filters are shown */
|
|
120
|
+
.df-filters-collapsible--hidden .df-filters-collapsible-content {
|
|
121
|
+
overflow: hidden;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@media (prefers-reduced-motion: reduce) {
|
|
125
|
+
.df-filters-collapsible {
|
|
126
|
+
transition: none;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
100
130
|
.df-filters-container {
|
|
101
131
|
display: flex;
|
|
102
132
|
flex-direction: row;
|
|
@@ -104,6 +134,30 @@
|
|
|
104
134
|
flex-wrap: wrap;
|
|
105
135
|
}
|
|
106
136
|
|
|
137
|
+
.df-filter-loader .np-chip {
|
|
138
|
+
background: linear-gradient(
|
|
139
|
+
-45deg,
|
|
140
|
+
var(--color-background-neutral) 40%,
|
|
141
|
+
var(--color-background-elevated) 50%,
|
|
142
|
+
var(--color-background-neutral) 60%
|
|
143
|
+
);
|
|
144
|
+
background-size: 300%;
|
|
145
|
+
background-position-x: 100%;
|
|
146
|
+
animation: shimmer 1s infinite linear;
|
|
147
|
+
transition: background 200ms;
|
|
148
|
+
border-color: var(--color-border-neutral);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.df-filter-loader .np-chip > * {
|
|
152
|
+
visibility: hidden;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@keyframes shimmer {
|
|
156
|
+
to {
|
|
157
|
+
background-position-x: 0%;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
107
161
|
.df-columns-renderer-container {
|
|
108
162
|
display: flex;
|
|
109
163
|
gap: var(--size-4);
|