Skip to content

Releases: team-monite/monite-sdk

@monite/[email protected]

02 Jul 14:34
100c2ea
Compare
Choose a tag to compare

Patch Changes

  • 84ebfff: fix(DEV-11506): prevent PDFObject.embed() call for image URLs

    We've updated the file preview logic to skip calling PDFObject.embed() when the URL points to an image. This fix
    addresses an issue where attempting to embed image files as PDFs was causing errors or unexpected behavior.

@monite/[email protected]

02 Jul 14:34
100c2ea
Compare
Choose a tag to compare

@monite/[email protected]

02 Jul 14:34
100c2ea
Compare
Choose a tag to compare

@team-monite/[email protected]

18 Jun 10:53
f4301a7
Compare
Choose a tag to compare

Patch Changes

@team-monite/[email protected]

18 Jun 10:53
f4301a7
Compare
Choose a tag to compare

Patch Changes

  • b2c3d36: fix(ESLINT-2024): Update ESLint Rule 'mui-require-container-property' for useMenuButton(...) Hook

    • Added logic in mui-require-container-property.ts to specifically handle cases where useMenuButton(...) is used to spread props into MUI components, ensuring the container property is included if missing.
    • Expanded test coverage in mui-require-container-property.test.ts to include scenarios with useMenuButton(...) hook, particularly checking for the presence of the container property in spread operations.
    • Modified ESLint configurations in .eslintrc.json within sdk-react package to switch the rule from "off" to "error", enforcing strict compliance across the codebase.
    • Adjusted various components to directly include or correct the container property in their spread attributes to adhere to the updated rule, reducing potential rendering issues in popper-based components.

@monite/[email protected]

18 Jun 10:53
f4301a7
Compare
Choose a tag to compare

Minor Changes

  • b48b887: fix(DEV-11166): rewrite component to use native PDF rendering

    • Fixed a bug with PDF rendering caused by SSR rendering by changing to a more native approach.
    • Switched from react-pdf to native iframe.
  • ee976e6: feat(DEV-8691): add validation for smallest_amount field for the Products in AR

  • 6c20fcd: feat(DEV-9680): add new features to UserRoleDetails component

    • add a feature to create a new role with permissions
    • add a feature to modify permissions for an existing role

Patch Changes

  • 6342a10: fix(proposal): allow nullable smallest_amount to allow invoices creation for products without a defined minimum amount.

  • 3a6c97f: fix(DEV-11218): improve error handling with unstable response

  • b45cfbc: feat(DEV-11112): change all form ID's in a unique names

  • 862b381: feat(DEV-10046): migrate the <TagsTable /> component from the legacy SDK API to Qraft

  • 4c754e6: chore(proposal): replaced Product Form synthetic event submissions

  • 2468976: feat(DEV-11111): rename all I prefix for props to convention without I and with a Props postfix

  • ded78db: feat(DEV-10025): show loader when PDF url is absent

  • 7347a1f: fix(DEV-11222): add filter by direction to avoid duplicated payment methods for AR

  • 7e39ce8: feat(DEV-10959): fix counterpart_vat_id_id default value to edit an invoice

  • b2c3d36: fix(ESLINT-2024): Update ESLint Rule 'mui-require-container-property' for useMenuButton(...) Hook

    • Added logic in mui-require-container-property.ts to specifically handle cases where useMenuButton(...) is used to spread props into MUI components, ensuring the container property is included if missing.
    • Expanded test coverage in mui-require-container-property.test.ts to include scenarios with useMenuButton(...) hook, particularly checking for the presence of the container property in spread operations.
    • Modified ESLint configurations in .eslintrc.json within sdk-react package to switch the rule from "off" to "error", enforcing strict compliance across the codebase.
    • Adjusted various components to directly include or correct the container property in their spread attributes to adhere to the updated rule, reducing potential rendering issues in popper-based components.
  • 59265b6: fix(DEV-11012): remove cloneElement usage

  • 3b65d36: feat(DEV-8691): fix frontend validation when customer adds another line item to an existing ones

  • Updated dependencies [7c9cbf3]

  • Updated dependencies [6c20fcd]

@monite/[email protected]

18 Jun 10:53
f4301a7
Compare
Choose a tag to compare

Patch Changes

@monite/[email protected]

18 Jun 10:53
f4301a7
Compare
Choose a tag to compare

Minor Changes

  • 6c20fcd: feat(DEV-9680): add new features to UserRoleDetails component

    • add a feature to create a new role with permissions
    • add a feature to modify permissions for an existing role

Patch Changes

  • 7c9cbf3: feat(DEV-10046): make fetchToken method public

@team-monite/[email protected]

30 May 14:46
5aeb8ea
Compare
Choose a tag to compare

Patch Changes

@monite/[email protected]

30 May 14:46
5aeb8ea
Compare
Choose a tag to compare

Minor Changes

  • 5dcd266: feat(DEV-10563): provide ReceivablesTable into a public export

  • 647efc9: feat(DEV-10391): add support for multiple message contexts

    Adds support for multiple translations of the same message string (msgstr) based on different message
    contexts (msgctxt).

  • 062b80b: feat(DEV-10943): replace fulfillment_date column with due_date in <InvoicesTable/>

  • a5e64ad: refactor(DEV-8894): update react-pdf lib version

  • 6dee4d5: feat(DEV-10786): add sorting by counterpart_name and status to the Receivables tables

  • 0d9e7b4: feat(DEV-10391): add actions menu to InvoicesTable

    Adds a new Actions Menu to the InvoicesTable component. This allows users to perform actions on individual invoices
    directly from the table, such as viewing, editing, and deleting them.

    The Actions Menu can be customized using the new rowActions prop, which allows you to specify which actions are
    available for each invoice status. If no rowActions prop is provided, a set of default actions will be displayed.

Patch Changes

  • 1852a08: style(DEV-10643): fix pdf layout to have fixed pdf toolbar when scroll
  • cde308c: fix(DEV-10943): Invoice Details "Fulfillment date" output
  • 1644a53: feat(DEV-8990): support backend permissions for different buttons. Don't show some blocks if there is no data for it
  • 9cdd98a: feat(DEV-10563): Improve test stability
  • cb9c44c: feat(DEV-8990): improve InvoiceDetails screen.
  • 600a51d: feat(DEV-10896): fixed table height jumping and scrollbar issues during pagination by refactoring the theme props and adding autoHeight to <DataGrid />.
  • 62a0c4e: feat(proposal): improve <ReceivablesTable/> ARIA usage
  • Updated dependencies [9711e3e]
  • Updated dependencies [1fb0d92]