@brokerize/elements 1.0.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 ADDED
@@ -0,0 +1,88 @@
1
+ # Changelog
2
+
3
+ # 1.0.0 (released 2024-10-04)
4
+
5
+ - `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
6
+ - `ADDED` the `ModalHostConfig` now has an optional function `showToast` which users can implement to customize the display of toast messages issued by the library
7
+ - `CHANGED` added a badge component to visually enhance order tables
8
+ - `CHANGED` some wordings, e.g. the labels for order models in several places
9
+ - `CHANGED` several smaller internal changes have been made in preparation for upcoming broker implementations
10
+
11
+ # 0.0.1-alpha-27 (released 2024-06-13)
12
+
13
+ - `FIXED` The `security` object was not passed to `SecurityQuotesProvider` correctly.
14
+
15
+ # 0.0.1-alpha-26 (released 2024-06-12)
16
+
17
+ - `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
18
+ - `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.
19
+ - `CHANGED` `SecurityQuotesProviderOpts.isin` should also be replaced with `SecurityQuotesProviderOpts.security` (relevant if your application has implemented a custom SecurityQuotesProvider).
20
+ - `CHANGED` background reloads of some views are now calmer (i.e. they don't show the flickering loading indicator if fast enough)
21
+ - `ADDED` some styling variables to control the new layout of the new "state" component
22
+ - `ADDED` support for order intents (open / close), which is required for the new broker `Freestoxx`
23
+ - `FIXED` some date picker issues (they would sometimes not open on mobile views)
24
+ - `FIXED` handling of number parsing on mobile devices
25
+ - `FIXED` some issues where errors were not displayed correctly in UIs
26
+ - `FIXED` styling of checkboxes, especially in dark mode
27
+ - `FIXED` styling of links in texts, e.g. risk class information
28
+
29
+ # 0.0.1-alpha-25 (released 2024-03-08)
30
+
31
+ - `ADDED`: show security quotes as provided by the brokerize backend in OrderForm
32
+
33
+ # 0.0.1-alpha-24 (released 2024-01-09)
34
+
35
+ - `ADDED` `PortfolioTable` option `hideInactivePortfolios` to hide portfolios that do not have an active session
36
+
37
+ # 0.0.1-alpha-23 (released 2023-12-28)
38
+
39
+ - `ADDED` OrderForm `onOrderError` event
40
+ - `ADDED` OrderForm `hideOrderDirection` option
41
+ - `CHANGED` broker login legal terms page is now skipped if corresponding confirmation is stored for the user
42
+ - `FIXED` `saveDownloadedFile` configuration (now available for `ModalHost`)
43
+
44
+ # 0.0.1-alpha-22 (released 2023-11-02)
45
+
46
+ - `FIXED` Order validity date pickers appeared unstyled
47
+
48
+ # 0.0.1-alpha-21 (released 2023-10-30)
49
+
50
+ - `ADDED` The expected order value calculation in OrderForms when a `QuotesProvider` is configured
51
+ - `ADDED` OrderForm now has the optional property `overrideBrokerExchangeId` to pre-select an exchange if the entire "choose exchange" process is implemented elsewhere in frontends
52
+ - `ADDED` OrderForm now has the optional property `lockOrderDirection` to make sure users cannot change the order direction from the initial value
53
+
54
+ # 0.0.1-alpha-20 (released 2023-10-25)
55
+
56
+ - `ADDED` the option `supportLink`, which can be set to add a support link to the brokerize frame
57
+ - `CHANGED` more data from SecurityQuotesProvider is displayed in the OrderForm
58
+ - `FIXED` OrderFormInitialOrder: add support for `takeProfit`
59
+ - `FIXED` OrderForm Card layout fixes
60
+ - `FIXED` unify default behavior for `openExternalLink`
61
+ - `FIXED` print button in order cost estimations
62
+
63
+ # 0.0.1-alpha-19 (released 2023-09-28)
64
+
65
+ - bugfix release that solves issues with the TypeScript definitions
66
+
67
+ # 0.0.1-alpha-18 (released 2023-09-28)
68
+
69
+ ## breaking changes
70
+
71
+ - 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.
72
+ - 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.
73
+ - 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.
74
+
75
+ ## other changes and new features
76
+
77
+ - `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
78
+ - `ADDED` an interface for providing security quotes in `OrderForms` (see `quotesProvider` in the documentation)
79
+ - `ADDED` sorting functionality for positions tables
80
+ - `ADDED` some features for upcoming broker implementations
81
+ - `CHANGED` numeric inputs now show the correct numeric keyboard on iOS
82
+ - `FIXED` show blocking layers based on the sync status in `PortfolioView` and `OrderTable`
83
+
84
+ # 0.0.1-alpha-17 (released 2023-05-12)
85
+
86
+ No changelog was provided until this release.
87
+
88
+ (tag entries with `ADDED`/`CHANGED`/`DEPRECATED`/`REMOVED`/`FIXED`/`SECURITY`/`CLEANUP`)
package/LICENSE.md ADDED
@@ -0,0 +1 @@
1
+ Need help choosing an open-source license? Try [HERE](https://choosealicense.com/).