Skip to content

Releases: techniq/svelte-ux

[email protected]

31 Mar 00:58
8cb709a
Compare
Choose a tag to compare

Patch Changes

  • Add step() number util which combines round() and decimalCount() to simplify handling floating point handling with stepping (#319)

  • [ToggleGroup] Use border instead of space for variant="outline" and gap (0c30818e9ddbaaf1bc0713a3225e17eb6e7c0a71)

  • [TextField/Input] Add min/max/step support (for integer / decimal types) (#319)

  • [NumberStepper / TextField] Fix handling of initial 0 (111c67aa5d0a03b33b727c89db8d432143ed1b55)

  • [NumberStepper] Add step support (to support decimal including HTML form validation) (#319)

[email protected]

29 Mar 18:37
c7b8bfd
Compare
Choose a tag to compare

Patch Changes

[email protected]

28 Mar 21:36
a51c6ec
Compare
Choose a tag to compare

Patch Changes

  • [Checkbox / Radio] Add fullWidth prop. Add input to classes, and class names to all internal elements for easier devtool recognition and CSS targeting (#310)

  • [MultiSelect] Remove default outer padding (add to MultiSelectMenu) and add classes.action (#310)

  • [MultiSelectOption] Improve default styling (align with SelectField) including :hover. Leverage recent Checkbox fullWidth changes for better pointer targets (full width and height). Support passing all Checkbox classes. (#310)

[email protected]

28 Mar 14:05
e68ce78
Compare
Choose a tag to compare

Patch Changes

  • Add required prop to Checkbox, Radio, and Switch. Add name to Switch. (#309)

  • Add required prop to Input, TextField, SelectField, and DateField (#308)

  • Add Menu transition and transitionParams customization to settings (#305)

  • Add support for color objects with nested keys to processThemeColors (#307)

[email protected]

22 Mar 14:19
4f84a2b
Compare
Choose a tag to compare

Patch Changes

[email protected]

22 Mar 12:59
e5cc57b
Compare
Choose a tag to compare

Patch Changes

  • Make options optional scrollFade, scrollShadow, and sticky actions (#301)

[email protected]

22 Mar 11:49
dcc6955
Compare
Choose a tag to compare

Minor Changes

  • Breaking change: tableOrderStore now takes in the full event with e.detail.column instead of just column to simplify usage. (341b51a47df0db4774a6470ecbcee36e21002188)

    Before

    <Table on:headerClick={(e) => tableOrder.onHeaderClick(e.detail.column)} />

    After

    <Table on:headerClick={tableOrder.onHeaderClick} />
  • Breaking change: Simplify Table ordering by passing instance of tableOrderStore instead of orderBy, orderDirection, and handling on:headerClick. Also fixes display of clickable headers when order is not used, and improves sort arrow size. (e72a154524d0a8583717f58617984b1ea46f187b)

    Before

    <script>
      const order = tableOrderStore();
    </script>
    
    <Table
      orderBy={$order.by}
      orderDirection={$order.direction}
      on:headerClick={order.onHeaderClick}
    />

    After

    <script>
      const order = tableOrderStore();
    </script>
    
    <Table {order} />
  • Breaking change: [Paginate] Rename items to data and pageItems slot prop to pageData to better integrate with Table. Maintain data type to pageData. (fc50ca2d5670596dd9c125725fff1ad38c07e723)

Patch Changes

[email protected]

18 Mar 11:40
ddfc1e9
Compare
Choose a tag to compare

Patch Changes

[email protected]

12 Mar 12:22
31048a3
Compare
Choose a tag to compare

Patch Changes

  • Fix ToggleOption value sometimes being converted to string due to bind:value (#294)

[email protected]

11 Mar 21:04
ba9900f
Compare
Choose a tag to compare

Patch Changes