Skip to content

Releases: p3ol/junipero

React 19 compat

11 Dec 10:00
fdfcf71
Compare
Choose a tag to compare

3.10.0 (2024-12-11)

Bug Fixes

  • bring back mockState inside core (71832e1)
  • upgrade a lot of deps (fa8ba65)

Features

SelectField load more

11 Dec 10:00
26aee2a
Compare
Choose a tag to compare

3.9.0 (2024-10-21)

Bug Fixes

Features

  • react: allow to load more data on select-field's scroll (c7c9636)

Better SelectField

11 Sep 14:51
86cc784
Compare
Choose a tag to compare

3.8.0 (2024-09-11)

Bug Fixes

Features

  • select-field: remove arrows and allow to save tag on blur (57df715)
  • select-field: remove useless ref (4a04ee7)
  • select-fields: add a prevent default on enter key press (81dbb30)

Better ordered lists

11 Sep 14:50
b5f9054
Compare
Choose a tag to compare

3.7.4 (2024-08-30)

Bug Fixes

  • react-d3-plugin: remove function as a way to define axis type and scale (96de525)
  • upgrade various deps (8c8b417)

3.7.3 (2024-08-01)

Bug Fixes

  • deps: update dependency @floating-ui/react to v0.26.20 (f1ea1b8)
  • react-d3: fix curves offset (5ab8aba)

3.7.2 (2024-07-19)

Bug Fixes

  • deps: update dependency @floating-ui/react to v0.26.19 (774bb6a)

3.7.1 (2024-07-11)

Bug Fixes

  • core: move StateReducer to core for non react deps (66b00f3)

3.7.0 (2024-06-25)

Bug Fixes

  • deps: update dependency @floating-ui/react to v0.26.18 (0e847eb)
  • react: missing prop type (84b76a0)

Features

  • react: allow to handle order state from outside on list (1deb99b)

Bye-bye PropTypes 👋

13 Jun 13:17
b407d63
Compare
Choose a tag to compare

3.6.0 (2024-06-13)

Notable changes

  • As of React 19, PropTypes is now obsolete and errors will be ignored, so we simply removed it (junipero is now 100% Typescript anyway)

Features

  • remove prop-types & fix a lot of types (7222f54)

Typed™

05 Jun 05:39
19538c0
Compare
Choose a tag to compare

3.5.0 (2024-06-05)

Notable changes

  • ✨ Junipero is now fully written with Typescript. It's not released as a major as the API is exactly the same, so feel free to reach out if anything is broken. ✨ courtesy of @maximedasilva
  • It's now built with Rollup v4 & SWC
  • NPM has been replaced with Yarn 4 (again) and its node-modules linker

Features

  • deps: update dependency core-js to v3.36.0 (a897225)
  • lint files (31f4a6e)
  • make props optionnal (fdfe213)
  • remove all .d.ts and rework types generation (2d5bacb)
  • remove generate-types from builder (f3a04de)
  • rework build, still things to fix (08afdf6)
  • tailwind-plugin: rewrite plugin with TS (a727310)
  • typecript: repair radio Field story (4d4d67f)
  • typescript: add @swc/jest and use it instead of babel (5a9338c)
  • typescript: add type for state (3dad606)
  • typescript: fix package names in rollup (f4dfcb8)
  • typescript: remove defintions on lib (d7adf2b)
  • typescript: remove typescript errors with no implicit any (0b1a27b)
  • typescript: remove useless title (c9a1935)
  • typescript: repair some d3 plugin behaviors (99170b2)
  • typescript: repair tabs (8bf2262)
  • typescript: rework core and hooks rollup and ts config (7bd837a)
  • typescript: rework d3 package (1116c41)
  • typescript: rework transitions package config and fix typo (f3ffc5a)
  • typescript: rework types generation (6dae79b)
  • typescript: switch core package to typescript (be1bcc3)
  • typescript: switch hooks package to typescript (07cf721)
  • typescript: switch last story to ts (a237c82)
  • typescript: switch tests and stories to ts (0c0cbc7)
  • typescript: switch to swc and repair all packages build (b054562)
  • typescript: switch to tsx snapshots (b1a1033)
  • typescript: switch transitions package to typescript (1193275)
  • typescript: type every function (72ea973)
  • typescript: typo (4d9652d)
  • typescript: use yarn on github workflow (ffb045d)
  • typescript: wip rename tests and add implicitAny rule (ebca843)
  • typescript: workaround the draggable problem (8ff5813)
  • types: wip add types for d3 plugin (c3063c7)
  • update tsconfig (abbde0c)
  • wip add types on d3 (53d53d5)

Bug Fixes

  • better typings (390a06b)
  • core: only return value if found (7f09a3e)
  • react: add story for select field multiple values with groups (58f7d08)
  • remaining todo (33914cd)
  • remove unused dependencies (389f08d)
  • typescript: fix lint typo (bb72815)
  • various TODOs (7755be3)

New transitions

27 Oct 14:59
5644f04
Compare
Choose a tag to compare

Adds two new simple transitions to @junipero/transitions -> slideInUp and slideInDown


3.4.1 (2023-10-27)

Bug Fixes

Features

  • deps: update dependency @floating-ui/react to v0.26.1 (8c64a8b)
  • deps: update dependency core-js to v3.33.1 (7779370)

3.4.0 (2023-10-27)

Features

v3.3.0

21 Sep 14:11
Compare
Choose a tag to compare

3.3.5 (2023-10-12)

Bug Fixes

  • icons: set icons props to object and not plain string (f13c16e)
  • icons: use svg ComponentsProps instead of custom ones (42799f2)

3.3.4 (2023-09-28)

Bug Fixes

  • react: fix missing export from merge (2975c67)

3.3.3 (2023-09-28)

Bug Fixes

  • react: a lot ofmissing type exports (d06f2fa)
  • react: another missing export (994f8bf)

3.3.2 (2023-09-27)

Bug Fixes

  • transitions: add missing type definitions (bd52355)
  • types: wrong property name (7358b8d)

3.3.1 (2023-09-21)

Bug Fixes

3.3.0 (2023-09-21)

Features

  • react: add ModalControl component (e2a8368)

What's Changed

  • chore(deps): update dependency @typescript-eslint/parser to v6.3.0 (develop) by @renovate in #1315
  • chore(deps): update dependency rollup to v3.28.0 (develop) by @renovate in #1323
  • chore(deps): update dependency sass to v1.65.1 (develop) by @renovate in #1336
  • chore(deps): update dependency eslint to v8.47.0 (develop) by @renovate in #1339
  • chore(deps): update dependency @testing-library/jest-dom to v6 (develop) by @renovate in #1342
  • chore(deps): update dependency @rollup/plugin-node-resolve to v15.2.1 (develop) by @renovate in #1347
  • chore(deps): update dependency sass to v1.66.1 (develop) by @renovate in #1348
  • chore(deps): update dependency @typescript-eslint/parser to v6.7.2 (develop) by @renovate in #1343
  • chore(deps): update storybook monorepo to v7.4.3 (develop) by @renovate in #1344
  • chore(deps): update dependency rollup-plugin-dts to v6 (develop) by @renovate in #1349
  • chore(deps): update dependency typescript to v5.2.2 (develop) by @renovate in #1360
  • chore(deps): update dependency eslint to v8.49.0 (develop) by @renovate in #1362
  • chore(deps): update dependency lerna to v7.3.0 (develop) by @renovate in #1364
  • chore(deps): update actions/checkout action to v4 (develop) by @renovate in #1369
  • chore(deps): update dependency eslint-plugin-n to v16.1.0 (develop) by @renovate in #1376
  • 📦chore: add pull request template by @maximedasilva in #1371
  • chore(deps): update dependency rollup to v3.29.2 (develop) by @renovate in #1373
  • chore(deps): update jest monorepo to v29.7.0 (develop) by @renovate in #1377
  • chore(deps): update dependency sass to v1.67.0 (develop) by @renovate in #1378
  • chore(deps): update dependency @testing-library/user-event to v14.5.1 (develop) by @renovate in #1381
  • chore(deps): update dependency @testing-library/jest-dom to v6.1.3 (master) by @renovate in #1384
  • chore(deps): update storybook monorepo to v7.4.3 (master) by @renovate in #1385

Full Changelog: v3.2.4...v3.3.0

Junipero Charts 📊

24 Jul 13:43
Compare
Choose a tag to compare

This release adds a new @junipero/react-d3-plugin package that brings beautiful and easy D3 Charts to Junipero:

yarn add @junipero/react-d3-plugin d3
<Chart
  width={1000}
  height={500}
  axis={[{
    type: d3.axisBottom,
    scale: d3.scaleBand,
    data: [
      { date: new Date('2020-01-01'), free: 37, premium: 63 },
      { date: new Date('2020-01-02'), free: 50, premium: 50 },
      { date: new Date('2020-01-03'), free: 56, premium: 44 },
    ],
    bandDomainKey: 'date',
    stackKeys: ['premium', 'free'],
    parseTitle: d => d.toLocaleDateString(),
    ticks: null,
  }, {
    type: d3.axisLeft,
    scale: d3.scaleLinear,
    grid: true,
    min: 0,
    max: 100,
  }]}
  style={{ paddingRight: 50 }}
  linearDomainMaxMargin={1}
>
  <Bar
    xAxisIndex={0}
    yAxisIndex={1}
    tooltip={({ xIndex }) => (
      <div>
        <div>{ barAxis[0].data[xIndex]?.date?.toISOString() }</div>
        <div>Free: { barAxis[0].data[xIndex]?.free }</div>
        <div>Premium: { barAxis[0].data[xIndex]?.premium }</div>
      </div>
    )}
  />
</Chart>
Capture d’écran 2023-07-24 à 15 43 15

3.2.1 (2023-08-04)

Bug Fixes

  • react: correctly depend on core (4069acc)
  • theme: fix wrong datefield background position (11bf188)

3.2.0 (2023-07-24)

Bug Fixes

  • also get chart size using computed styles if needed (caf9671)
  • chart not going to max (a1c14ed)
  • deps: update dependency @floating-ui/react to v0.24.5 (256dc5d)
  • deps: update dependency @floating-ui/react to v0.24.6 (c91321a)
  • deps: update dependency @floating-ui/react to v0.24.7 (cefa537)
  • deps: update dependency @floating-ui/react to v0.24.8 (6ad0937)
  • deps: update dependency core-js to v3.31.1 (f1e4530)
  • only try to render existing axis (f9c7c9d)
  • pass data to findSelectionIndex (a6c6d0c)
  • props & classes naming and various types (f18acc1)
  • update tooltip on marker position change (696865e)
  • various chart layout issues (ef53818)
  • various layout issues (c4a4369)
  • wrong chart line type (c4981a8)

Features

v3.0.0

15 May 07:08
Compare
Choose a tag to compare

v3 is out 🚀 https://junipero.design

As v2 was already a massive breaking change and never got past RC phase due to its missing doc & time to update it, v3 is a complete rewrite and needs to be treated as a completely new package.
To simplify this, we moved it to a new @junipero/* scope:

  • @junipero/core is basically @poool/junipero-utils with some new helpers
  • @junipero/hooks is basically @poool/junipero-hooks with some new hooks
  • @junipero/react replaces @poool/junipero with completely new components, @floating-ui replacing @popperjs, etc, and is to be used with @junipero/theme as it doesn't package styling
  • @junipero/theme now contains all the styling needed by @junipero/react to work, and allows to completely rework the styles of the design system if needed
  • @junipero/transitions is a collection of animations using our new <Transition /> component used as a drop-in replacement for react-transition-group
  • @junipero/tailwind-plugin is a new tailwindcss plugin bringing junipero's colors & helpers into tailwind
  • @junipero/react-native has not changed a bit from @poool/junipero-native and is kept for history purposes

Both scopes will work in parallel in a project to ensure a flawless transition.

Docs available at https://beta.junipero.design/

kudos to everybody involved @p3ol 🎉


What's Changed

Full Changelog: v2.0.0...v3.0.0