Skip to content

Releases: scaleway/ultraviolet

@ultraviolet/utils@1.0.10

20 Apr 15:17
198aa71

Choose a tag to compare

Patch Changes

  • #6342 4be825f Thanks @lisalupi! - useClipboard: fix hook not reacting to prop updates. Clipboard operations now always use the latest values of text and options

  • #6329 17c8f2e Thanks @renovate! - Updated dependency vitest to 4.1.4.
    Updated dependency @vitest/coverage-istanbul to 4.1.4.
    Updated dependency @vitest/coverage-v8 to 4.1.4.
    Updated dependency @vitest/ui to 4.1.4.

  • #6325 f6656ba Thanks @renovate! - Updated dependency react to 19.2.5.
    Updated dependency react-dom to 19.2.5.

  • #6324 5faa8c2 Thanks @renovate! - Updated dependency vite to 8.0.8.

  • #6298 661a29e Thanks @renovate! - Updated dependency @vitest/coverage-istanbul to 4.1.3.
    Updated dependency @vitest/coverage-v8 to 4.1.3.
    Updated dependency @vitest/ui to 4.1.3.
    Updated dependency vitest to 4.1.3.

@ultraviolet/ui@3.14.0

20 Apr 15:17
198aa71

Choose a tag to compare

Minor Changes

  • #6337 e4ae00d Thanks @lisalupi! - FileInput: various improvements to component:
    • new prop validator for custom errors
    • add default onChange for un formatted events
    • new prop disabledDragndrop to disabled drag and drop behavior
    • update prop onDrop to return acceptedFiles and errorFiles
    • new props onKeyDown, onKeyUp, onFocus, onBlur and name.
    • new prop onDelete for FileInput.List
    • When type = "dropzone" and size="small", the component is now a button and clicking anywere on it opens the file selector (previously, only clicking on the label opened the file selector)
    • Fix style issues

Patch Changes

  • #6313 1d62b49 Thanks @lisalupi! - Text: add min-width to the popup container when oneLine is enabled to ensure the ellipsis works properly

  • #6340 8bca898 Thanks @lisalupi! - Alert: fix padding, icons size, icons type (oultine -> filled) and close button (size and sentiment)

  • #6317 27f89d7 Thanks @lisalupi! - Drawer: fix hideOnClickOutside behavior: set to true by default (similar to Modal) for default drawers and to false for push drawers. Small fix to allow interactivity outside of push drawers (previously, only content of the push drawer was interactive).

  • #6346 59c601c Thanks @lisalupi! - Remove unused dependencies

  • #6316 6ba736b Thanks @lisalupi! - Tag: add a max width to ensure correct overflow

  • #6338 bf1ca25 Thanks @lisalupi! - EmptyState: small refactor to avoid empty divs

  • #6314 9cfb3e9 Thanks @lisalupi! - BarChart: fix legend placement (firefox)

  • #6325 f6656ba Thanks @renovate! - Updated dependency react to 19.2.5.
    Updated dependency react-dom to 19.2.5.

  • #6324 5faa8c2 Thanks @renovate! - Updated dependency vite to 8.0.8.

  • #6288 7382e79 Thanks @renovate! - Updated dependency @uiw/codemirror-extensions-langs to 4.25.9.
    Updated dependency @uiw/codemirror-theme-material to 4.25.9.
    Updated dependency @uiw/react-codemirror to 4.25.9.

  • Updated dependencies [4be825f, 17c8f2e, f6656ba, 5faa8c2, 661a29e, 1e4cc20]:

    • @ultraviolet/utils@1.0.10
    • @ultraviolet/icons@5.3.2
    • @ultraviolet/themes@3.1.5

@ultraviolet/themes@3.1.5

20 Apr 15:17
198aa71

Choose a tag to compare

Patch Changes

@ultraviolet/nextjs@3.0.28

20 Apr 15:17
198aa71

Choose a tag to compare

Patch Changes

@ultraviolet/illustrations@6.0.16

20 Apr 15:17
198aa71

Choose a tag to compare

Patch Changes

@ultraviolet/icons@5.3.2

20 Apr 15:17
198aa71

Choose a tag to compare

Patch Changes

  • #6325 f6656ba Thanks @renovate! - Updated dependency react to 19.2.5.
    Updated dependency react-dom to 19.2.5.

  • #6324 5faa8c2 Thanks @renovate! - Updated dependency vite to 8.0.8.

  • #6279 1e4cc20 Thanks @lisalupi! - New icons:

    • Product icon: ForkProductIcon, SwitchProductIcon and TrycatchProductIcon
    • Icon: CursorOutlineIcon, HandOutlineIcon, TicketOutlineIcon, CursorIcon, HandIcon and TicketIcon
  • Updated dependencies [4be825f, 17c8f2e, f6656ba, 5faa8c2, 661a29e]:

    • @ultraviolet/utils@1.0.10
    • @ultraviolet/themes@3.1.5

@ultraviolet/form@6.3.0

20 Apr 15:17
198aa71

Choose a tag to compare

Minor Changes

  • #6241 fa4a28f Thanks @lisalupi! - Form element can have a errorLabel (string) to use as a custom value to display (instead of the label) when an error is displayed (empty required element, min/max value not respected, etc.).

    For instance, this component:

    <NumberInputField
      label="Choose number of elements"
      errorLabel="Amount"
      value={20}
      max={10}
    />

    Used with this error:

    import type { FormErrors } from '@ultraviolet/form'
    import { NumberInputField } from '@ultraviolet/form'
    
    const errors: FormErrors = {
       ...
       isInteger: ...
       max: ({ max, label }) => `${label} must be less than ${max}$`,
       min: ...
       ...
    }

    The displayed max error message is Amount must be less than 10 instead of Choose number of elements must be less than 10.

    It allows custom error labels with a fallback on the label if errorLabel is not defined — this can be useful when creating a default useError.

Patch Changes

@ultraviolet/fonts@2.1.5

20 Apr 15:17
198aa71

Choose a tag to compare

Patch Changes

@ultraviolet/utils@1.0.9

07 Apr 08:58
390c860

Choose a tag to compare

Patch Changes

@ultraviolet/ui@3.13.1

07 Apr 08:57
390c860

Choose a tag to compare

Patch Changes