Skip to content

Latest commit

 

History

History
234 lines (146 loc) · 8.75 KB

Changelog.md

File metadata and controls

234 lines (146 loc) · 8.75 KB

FTD Change Log

23 February 2023

2 February 2023

1 February 2023

Breaking Change: Renamed `fpm` To `fastn` `fpm` cli is renamed to `fastn`. We renamed `FPM.ftd` to `FASTN.ftd` and `-- import: fpm` becomes `-- import: fastn`. We have also renamed github repository `fpm` to `fastn`.
Inbuilt Clamp: no longer supported Clamp example
  • Regular Clamp
-- integer $num: 0

-- ftd.integer: $num
$on-click$: $clamp($a = $num, by = 1, clamp = 6)

-- void clamp(a,by,clamp):
integer $a:
integer by:
integer clamp:


a = (a + by) % clamp
  • Clamp with min and max
-- integer $num: 1

-- ftd.integer: $num
$on-click$: $clamp($a = $num, by = 1, min = 1, max = 6)

-- void clamp(a,by,min,max):
integer $a:
integer by: 1
integer min: 0
integer max: 5


a = (((a - min) + by) % (max - min)) + min

31 January 2023

Breaking change Inherited types changed

Breaking changes

  • $inherited.types.copy-relaxed -> $inherited.types.copy-regular
  • $inherited.types.copy-tight -> $inherited.types.copy-small
  • $inherited.types.label-big -> $inherited.types.label-large

Headings:

  • $inherited.types.heading-tiny is added
  • rest have weight, line-height, weight updates

Copy:

  • added $inherited.types.copy-regular and $inherited.types.copy-small
  • rest have size and $inherited.types.line-height changes

Specialized Text:

  • $inherited.types.source-code is added
  • rest have size and line-height changes

Labels:

  • $inherited.types.label-big is changed to label-large
  • $inherited.types.label-small is updated with new size and line-height values

Button:

  • All button types which are added are new
  • added $inherited.types.button-large, $inherited.types.button-medium, $inherited.types.button-small, link types

30 January 2023

27 January 2023

Breaking change: Merged spacing with spacing-mode
  • use spacing.fixed.px: 20 instead of spacing.px: 20
  • use spacing: space-around instead of spacing-mode: space-around (same for space-between and space-evenly)

25 January 2023

24 January 2023

23 January 2023

19 January 2023

18 January 2023

17 January 2023

13 January 2023

12 January 2023

11th January 2023

10th January 2023

9th January 2023

6th January 2023

5th January 2023

4th January 2023

3rd January 2023

2nd January 2023

30th December 2022

29th December 2022

  • Added CSS and JS
  • Added classes property
  • Added ftd.device

28th December 2022

27th December 2022

26th December 2022

24th December 2022