@brokerize/elements 1.4.2 → 1.5.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/CHANGELOG.md +79 -68
- package/dist/bundle.d.ts +434 -3
- package/dist/bundle.es.js +32820 -55856
- package/dist/bundle.umd.js +138 -114
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +3 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,56 +1,67 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
# 1.5.0 (released 2025-12-01)
|
|
4
|
+
|
|
5
|
+
- `ADDED` option for switching between order size in `pieces` vs. monetary amount (available automatically if a `SecurityQuotesProvider` provides quotes)
|
|
6
|
+
- `FIXED` styling issue (light font on light background) in the `PortfolioSelect` dropdown
|
|
7
|
+
- `CLEANUP` update `@brokerize/client` package to `v1.3.7` (cf. https://github.com/brokerize/client-js/compare/v1.3.0...v1.3.7)
|
|
8
|
+
|
|
9
|
+
# 1.4.2 (released 2025-09-26)
|
|
10
|
+
|
|
11
|
+
- `ADDED` `preferredExchangeId` can now be provided in the `BrokerizeMain` config
|
|
12
|
+
- `ADDED` `zl-brokerlist` font size variables for more granular theming
|
|
13
|
+
|
|
3
14
|
# 1.4.1 (released 2025-09-08)
|
|
4
15
|
|
|
5
|
-
-
|
|
16
|
+
- `FIXED` In some environments, `crypto.randomUUID()` is not available. This was used for generating IDs in the previous version and is now replaced with `nanoid`
|
|
6
17
|
|
|
7
18
|
# 1.4.0 (released 2025-08-27)
|
|
8
19
|
|
|
9
|
-
-
|
|
10
|
-
-
|
|
20
|
+
- `ADDED` the new component `Overview` which can replace `BrokerList`, `PortfolioTable` and `SessionsTable` in most applications
|
|
21
|
+
- `ADDED` An improved version of the `BrokerizeMain` component, which encapsulates `Overview` , `PortfolioView` and `OrderForm`.
|
|
11
22
|
|
|
12
23
|
# 1.3.0 (released 2025-05-07)
|
|
13
24
|
|
|
14
|
-
-
|
|
25
|
+
- `ADDED` We have added the new function createCustomWebSocketClient to brokerize client, which allows customizing the WebSocke connection URL and token retrieval. The client can be passed to createAuthorizedContext so that the created client is used in all contexts (including brokerize elements components which rely on WebSockets).
|
|
15
26
|
|
|
16
27
|
# 1.2.1 (released 2025-05-01)
|
|
17
28
|
|
|
18
|
-
-
|
|
29
|
+
- `FIXED` an issue where a relative API basePath lead to wrong WebSocket connection URLs.
|
|
19
30
|
|
|
20
31
|
# 1.2.0 (released 2025-04-24)
|
|
21
32
|
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
33
|
+
- `ADDED` the option to pass a `reportingTag` for `createOrderForm`, `createChangeOrderForm` and `createCancelOrderForm`
|
|
34
|
+
- `FIXED` a wrong label in order receipts for trailing stops
|
|
35
|
+
- `CHANGED` the OrderForm label for "legalHint" has been changed to "Rechtliche Hinweise"
|
|
25
36
|
|
|
26
37
|
# 1.1.1 (released 2025-03-31)
|
|
27
38
|
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
32
|
-
-
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
39
|
+
- `FIXED` cost label in OrderForm was wrong in some cases
|
|
40
|
+
- `FIXED` issues with number parsing in some environments
|
|
41
|
+
- `FIXED` formatting of staking positions information in portfolio tables
|
|
42
|
+
- `FIXED` validity date changes in ChangeOrder
|
|
43
|
+
- `CHANGED` support for strict content security policies by removing usages of `eval`
|
|
44
|
+
- `CHANGED` better looking countdown for quote trading
|
|
45
|
+
- `CHANGED` buying power in OrderForm now selects the cash account based on selected exchange
|
|
46
|
+
- `ADDED` order fees in order receipts
|
|
36
47
|
|
|
37
48
|
# 1.1.0 (released 2024-12-06)
|
|
38
49
|
|
|
39
|
-
-
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
-
|
|
50
|
+
- `CHANGED` opening a sessionTanForm now automatically requests the TAN from the API if there is exactly one method available with `flow=DECOUPLED`.
|
|
51
|
+
- `ADDED` support for switching between the brokerize and DonauCapital order endpoints via the `tradingViaCryptoService` flag. If your client supports crypto trading, you have to add a `basePathCryptoService` option next to `basePath` in the `BrokerizeConfig`. The URLs will be provided to you. The elements will then automatically direct createTrade, changeOrder and cancelOrder requests to that service and display the corresponding provider logo in the UI.
|
|
52
|
+
- `FIXED` hide cash account select when there is actually nothing to choose for the user.
|
|
53
|
+
- `FIXED` number input behavior if the input is restricted to have 0 decimal places.
|
|
54
|
+
- `CHANGED` `getQuote` is now called with the selected `sellPositionId`, if applicable.
|
|
44
55
|
|
|
45
56
|
# 1.0.4 (released 2024-10-28)
|
|
46
57
|
|
|
47
|
-
-
|
|
48
|
-
-
|
|
58
|
+
- `FIXED` passing an order validity in the OrderForm `initialOrder` property was overwritten by default values
|
|
59
|
+
- `CHANGED` OrderForm errors are now displayed closer to the input form
|
|
49
60
|
|
|
50
61
|
# 1.0.3 (released 2024-10-16)
|
|
51
62
|
|
|
52
|
-
-
|
|
53
|
-
-
|
|
63
|
+
- `FIXED` the display of available size to sell from a position in the order form
|
|
64
|
+
- `FIXED` the execution size display in order receipts
|
|
54
65
|
|
|
55
66
|
# 1.0.1, 1.0.2 (released 2024-10-04)
|
|
56
67
|
|
|
@@ -58,84 +69,84 @@ These releases are only small documentation and tag changes related to the switc
|
|
|
58
69
|
|
|
59
70
|
# 1.0.0 (released 2024-10-04)
|
|
60
71
|
|
|
61
|
-
-
|
|
62
|
-
-
|
|
63
|
-
-
|
|
64
|
-
-
|
|
65
|
-
-
|
|
72
|
+
- `CHANGED` the loading indicators throughout the library have been replaced with prettier animated SVGs. Those are hosted from `https://assets.brokerize.com` by default, but this can be changed to self-hosting using the new `Brokerize.Elements.configure` function. The loader's primary color can be configured using the new `zl-loader-color` theme property
|
|
73
|
+
- `ADDED` the `ModalHostConfig` now has an optional function `showToast` which users can implement to customize the display of toast messages issued by the library
|
|
74
|
+
- `CHANGED` added a badge component to visually enhance order tables
|
|
75
|
+
- `CHANGED` some wordings, e.g. the labels for order models in several places
|
|
76
|
+
- `CHANGED` several smaller internal changes have been made in preparation for upcoming broker implementations
|
|
66
77
|
|
|
67
78
|
# 0.0.1-alpha-27 (released 2024-06-13)
|
|
68
79
|
|
|
69
|
-
-
|
|
80
|
+
- `FIXED` The `security` object was not passed to `SecurityQuotesProvider` correctly.
|
|
70
81
|
|
|
71
82
|
# 0.0.1-alpha-26 (released 2024-06-12)
|
|
72
83
|
|
|
73
|
-
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
80
|
-
-
|
|
81
|
-
-
|
|
82
|
-
-
|
|
83
|
-
-
|
|
84
|
+
- `ADDED`: optional `BrokerLoginFormConfig.env` skip selection of the broker enviroment (e.g. if the application has stored the selected environment before, or reads it from the new field `env` in the session list
|
|
85
|
+
- `CHANGED`: `OrderFormConfig` now has the new parameter `security` to provide the security to trade. This has been added to make providing different selectors easily. Instead of `createOrderForm({isin: '...', ...})`, use `createOrderForm({security:{isin: '...', usTicker: '...'}})`. Depending on the broker, the correct selector will be used. Note that the `buy` / `sell` events/callbacks of other views also provide the new security object now, so that they can just be passed-through.
|
|
86
|
+
- `CHANGED` `SecurityQuotesProviderOpts.isin` should also be replaced with `SecurityQuotesProviderOpts.security` (relevant if your application has implemented a custom SecurityQuotesProvider).
|
|
87
|
+
- `CHANGED` background reloads of some views are now calmer (i.e. they don't show the flickering loading indicator if fast enough)
|
|
88
|
+
- `ADDED` some styling variables to control the new layout of the new "state" component
|
|
89
|
+
- `ADDED` support for order intents (open / close), which is required for the new broker `Freestoxx`
|
|
90
|
+
- `FIXED` some date picker issues (they would sometimes not open on mobile views)
|
|
91
|
+
- `FIXED` handling of number parsing on mobile devices
|
|
92
|
+
- `FIXED` some issues where errors were not displayed correctly in UIs
|
|
93
|
+
- `FIXED` styling of checkboxes, especially in dark mode
|
|
94
|
+
- `FIXED` styling of links in texts, e.g. risk class information
|
|
84
95
|
|
|
85
96
|
# 0.0.1-alpha-25 (released 2024-03-08)
|
|
86
97
|
|
|
87
|
-
-
|
|
98
|
+
- `ADDED`: show security quotes as provided by the brokerize backend in OrderForm
|
|
88
99
|
|
|
89
100
|
# 0.0.1-alpha-24 (released 2024-01-09)
|
|
90
101
|
|
|
91
|
-
-
|
|
102
|
+
- `ADDED` `PortfolioTable` option `hideInactivePortfolios` to hide portfolios that do not have an active session
|
|
92
103
|
|
|
93
104
|
# 0.0.1-alpha-23 (released 2023-12-28)
|
|
94
105
|
|
|
95
|
-
-
|
|
96
|
-
-
|
|
97
|
-
-
|
|
98
|
-
-
|
|
106
|
+
- `ADDED` OrderForm `onOrderError` event
|
|
107
|
+
- `ADDED` OrderForm `hideOrderDirection` option
|
|
108
|
+
- `CHANGED` broker login legal terms page is now skipped if corresponding confirmation is stored for the user
|
|
109
|
+
- `FIXED` `saveDownloadedFile` configuration (now available for `ModalHost`)
|
|
99
110
|
|
|
100
111
|
# 0.0.1-alpha-22 (released 2023-11-02)
|
|
101
112
|
|
|
102
|
-
-
|
|
113
|
+
- `FIXED` Order validity date pickers appeared unstyled
|
|
103
114
|
|
|
104
115
|
# 0.0.1-alpha-21 (released 2023-10-30)
|
|
105
116
|
|
|
106
|
-
-
|
|
107
|
-
-
|
|
108
|
-
-
|
|
117
|
+
- `ADDED` The expected order value calculation in OrderForms when a `QuotesProvider` is configured
|
|
118
|
+
- `ADDED` OrderForm now has the optional property `overrideBrokerExchangeId` to pre-select an exchange if the entire "choose exchange" process is implemented elsewhere in frontends
|
|
119
|
+
- `ADDED` OrderForm now has the optional property `lockOrderDirection` to make sure users cannot change the order direction from the initial value
|
|
109
120
|
|
|
110
121
|
# 0.0.1-alpha-20 (released 2023-10-25)
|
|
111
122
|
|
|
112
|
-
-
|
|
113
|
-
-
|
|
114
|
-
-
|
|
115
|
-
-
|
|
116
|
-
-
|
|
117
|
-
-
|
|
123
|
+
- `ADDED` the option `supportLink`, which can be set to add a support link to the brokerize frame
|
|
124
|
+
- `CHANGED` more data from SecurityQuotesProvider is displayed in the OrderForm
|
|
125
|
+
- `FIXED` OrderFormInitialOrder: add support for `takeProfit`
|
|
126
|
+
- `FIXED` OrderForm Card layout fixes
|
|
127
|
+
- `FIXED` unify default behavior for `openExternalLink`
|
|
128
|
+
- `FIXED` print button in order cost estimations
|
|
118
129
|
|
|
119
130
|
# 0.0.1-alpha-19 (released 2023-09-28)
|
|
120
131
|
|
|
121
|
-
-
|
|
132
|
+
- bugfix release that solves issues with the TypeScript definitions
|
|
122
133
|
|
|
123
134
|
# 0.0.1-alpha-18 (released 2023-09-28)
|
|
124
135
|
|
|
125
136
|
## breaking changes
|
|
126
137
|
|
|
127
|
-
-
|
|
128
|
-
-
|
|
129
|
-
-
|
|
138
|
+
- The structure of `theme` objects has changed. Also, many variables were renamed. Please have a look a the theme designer and/or contact support if you need assistance adapting your theme to the new format.
|
|
139
|
+
- The need for `assetsPath` has been dropped in the `createXXX` functions (see README for the new config object format). Also, we have deprecated the nested `renderConfig` object. You now just provide the lighter `theme` object directly.
|
|
140
|
+
- Applications now _MUST_ explicitly create a `ModalHost` instance. This is where any modals triggered by brokerize elements are rendered. See the README section about `ModalHost` or our code examples to see how this works. This change fixes some issues with modals not appearing correctly in some applications. Also, with the new `modalService` object, customers can override any modal and replace it with their own implementations, providing enhanced flexibility.
|
|
130
141
|
|
|
131
142
|
## other changes and new features
|
|
132
143
|
|
|
133
|
-
-
|
|
134
|
-
-
|
|
135
|
-
-
|
|
136
|
-
-
|
|
137
|
-
-
|
|
138
|
-
-
|
|
144
|
+
- `ADDED` all brokerize elements are now also provided as custom elements (see README for details). However, using the `createXYZ` functions is still supported and offers the same functionality
|
|
145
|
+
- `ADDED` an interface for providing security quotes in `OrderForms` (see `quotesProvider` in the documentation)
|
|
146
|
+
- `ADDED` sorting functionality for positions tables
|
|
147
|
+
- `ADDED` some features for upcoming broker implementations
|
|
148
|
+
- `CHANGED` numeric inputs now show the correct numeric keyboard on iOS
|
|
149
|
+
- `FIXED` show blocking layers based on the sync status in `PortfolioView` and `OrderTable`
|
|
139
150
|
|
|
140
151
|
# 0.0.1-alpha-17 (released 2023-05-12)
|
|
141
152
|
|