Skip to content

Releases: p3ol/junipero

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 aΜ€ 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

v2.0.0

21 Apr 15:56
Compare
Choose a tag to compare

⚠️ This release is in maintenance mode only, you should not use it on a production project.

What's Changed

  • ✨ fix(native): allow testID overriding in the TextField component by @defless in #174
  • ✨ feat(native): add new button component by @defless in #179
  • ✨ feat(native): selectfield component by @defless in #419
  • ✨ feat: new badge component by @defless in #435
  • ✨ feat: new tag component by @defless in #436
  • ✨ feat(native): add password obscuration for textfield component by @defless in #450
  • ✨ feat: new card component by @defless in #438
  • ✨ feat: new alert component by @defless in #449
  • πŸ› fix: fix form styles in card stories by @defless in #452
  • chore(deps): update dependency @popperjs/core to v2.9.2 by @renovate in #491
  • chore(deps): update dependency webpack to v5.30.0 by @renovate in #492
  • chore(deps): update codecov/codecov-action action to v1.3.2 by @renovate in #493
  • chore(deps): update dependency standard-version to v9.2.0 by @renovate in #495
  • chore(deps): update dependency webpack to v5.31.0 by @renovate in #496
  • fix(deps): update dependency core-js to v3.10.1 by @renovate in #497
  • chore(deps): update babel monorepo to v7.13.15 by @renovate in #499
  • chore(deps): update dependency eslint-plugin-react to v7.23.2 by @renovate in #500
  • chore(deps): update dependency rollup to v2.45.0 by @renovate in #501
  • chore(deps): update dependency css-loader to v5.2.1 by @renovate in #502
  • chore(deps): update dependency webpack to v5.32.0 by @renovate in #503
  • chore(deps): update dependency eslint-plugin-promise to v5 by @renovate in #504
  • chore(deps): update dependency eslint to v7.24.0 by @renovate in #505
  • chore(deps): update dependency rollup to v2.45.2 by @renovate in #506
  • chore(deps): update dependency postcss to v8.2.10 by @renovate in #507
  • ✨ feat(hook): new useInterval hook by @defless in #512
  • chore(deps): update dependency webpack-bundle-analyzer to v4.4.1 by @renovate in #508
  • chore(deps): update codecov/codecov-action action to v1.4.1 by @renovate in #510
  • chore(deps): update dependency css-loader to v5.2.4 by @renovate in #511
  • fix(deps): update dependency core-js to v3.10.2 by @renovate in #513
  • chore(deps): update babel monorepo by @renovate in #514
  • chore(deps): update dependency webpack to v5.35.0 by @renovate in #509
  • πŸ›fix(toggle): add keyboard handling for toggle field by @maximedasilva in #517
  • chore(deps): update dependency postcss to v8.2.13 by @renovate in #520
  • fix(deps): update dependency core-js to v3.11.0 by @renovate in #518
  • chore(deps): update dependency webpack to v5.35.1 by @renovate in #521
  • chore(deps): update dependency eslint to v7.25.0 by @renovate in #522
  • chore(deps): update dependency redux to v4.1.0 by @renovate in #523
  • chore(deps): update dependency react-redux to v7.2.4 by @renovate in #524
  • ✨ feat(dashboard): radio field component by @emileNetter in #515
  • chore(deps): update dependency webpack to v5.36.0 by @renovate in #525
  • chore(deps): update dependency codecov to v3.8.2 by @renovate in #531
  • chore(deps): update dependency postcss to v8.2.14 by @renovate in #535
  • chore(deps): update dependency webpack to v5.36.2 by @renovate in #527
  • chore(deps): update dependency postcss to v8.2.15 by @renovate in #543
  • chore(deps): update dependency @testing-library/react to v11.2.7 by @renovate in #546
  • chore(deps): update dependency webpack-bundle-analyzer to v4.4.2 by @renovate in #548
  • chore(deps): update dependency css-loader to v5.2.5 by @renovate in #549
  • ✨feature: set radio field value prop to any by @maximedasilva in #558
  • chore(deps): update codecov/codecov-action action to v1.5.2 by @renovate in #530
  • ✨ feat: Junipero v2 by @dackmin in #559
  • chore(deps): update dependency clean-css to v5.1.3 by @renovate in #560
  • chore(deps): update dependency codecov to v3.8.3 by @renovate in #561
  • chore(deps): update dependency css-loader to v5.2.7 by @renovate in #551
  • chore(deps): update dependency eslint-config-standard to v16.0.3 by @renovate in #552
  • ✨ release: junipero v2 by @dackmin in #566
  • chore(deps): bump url-parse from 1.4.7 to 1.5.3 by @dependabot in #562
  • chore(deps): update dependency auto-changelog to v2.3.0 by @renovate in #568
  • chore(deps): update dependency react-transition-group to v4.4.2 by @renovate in #564
  • chore(deps): update dependency html-webpack-plugin to v5.3.2 by @renovate in #563
  • chore(deps): bump handlebars from 4.7.6 to 4.7.7 by @dependabot in #537
  • chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 by @dependabot in #541
  • chore(deps): bump dns-packet from 1.3.1 to 1.3.4 by @dependabot in #555
  • chore(deps): update dependency react-native to v0.62.3 [security] by @renovate in #569
  • fix(deps): update dependency core-js to v3.15.2 by @renovate in #526
  • chore(deps): update dependency @rollup/plugin-commonjs to v18.1.0 by @renovate in #532
  • chore(deps): update dependency eslint to v7.31.0 by @renovate in #540
  • chore(deps): update dependency eslint-plugin-import to v2.23.4 by @renovate in #545
  • chore(deps): update dependency webpack to v5.46.0 by @renovate in #542
  • chore(deps): update dependency autoprefixer to v10.3.1 by @renovate in #570
  • chore(deps): update dependency rollup to v2.54.0 by @renovate in #528
  • chore(deps): update dependency postcss to v8.3.6 by @renovate in #550
  • chore(deps): update dependency eslint-plugin-react to v7.24.0 by @renovate in #565
  • chore(deps): update dependency postcss-loader to v5.3.0 by @renovate in #547
  • chore(deps): update dependency webpack-cli to v4.7.2 by @renovate in #536
  • chore(deps): update dependency sinon to v11 by @renovate in #553
  • chore(deps): update dependency @rollup/plugin-node-resolve to v13 by @renovate in #533
  • chore(deps): update dependency stylus-loader to v6 by @renovate in #544
  • chore(deps): update dependency @rollup/plugin-commonjs to v19 by @renovate in #539
  • ✨ feat(colorField): add popperOptions to colorField by @defless in #573
  • chore(deps): update babel monorepo by @renovate in #529
  • chore(deps): update dependency eslint-plugin-react-native to v3.11.0 by @renovate in #571
  • chore(deps): update dependency @rollup/plugin-commonjs to v19.0.2 by @renovate in #574
  • chore(deps): update dependency react-native-web to v0.17.1 by @renovate in #575
  • chore(deps): update dependency metro-react-native-babel-preset to v0.66.2 by @renovate in #572
  • chore(deps): update dependency uglify-js to v3.14.0 by @renovate in #576
  • chore(deps): update dependency webpack-merge to v5.8.0 by @renovate in #577
  • chore(deps): update storybook monorepo to v6.3.6 by @renovate in #579
  • chore(deps): update codecov/codecov-action action to v2 by @renovate in https://github.com/p3ol/junipero/p...
Read more

v2.0.0-rc

09 Mar 13:16
Compare
Choose a tag to compare
v2.0.0-rc Pre-release
Pre-release

2.0.0-rc.18 (2022-03-09)

Bug Fixes

  • lib: fix missing prop types (5873941)

2.0.0-rc.17 (2022-03-07)

Bug Fixes

  • lib: add react/jsx-runtime to externals (a9d7cc8)

2.0.0-rc.16 (2022-03-04)

Bug Fixes

  • deps: update dependency core-js to v3.19.0 (b5403d2)
  • deps: update dependency core-js to v3.19.1 (7661221)
  • deps: update dependency core-js to v3.19.2 (bfcb307)
  • deps: update dependency core-js to v3.19.3 (8cdf3c2)
  • deps: update dependency core-js to v3.20.2 (062c564)
  • deps: update dependency core-js to v3.20.3 (24e6b07)
  • deps: update dependency core-js to v3.21.0 (d65b3cd)
  • deps: update dependency core-js to v3.21.1 (70e0204)
  • deps: update dependency prop-types to v15.8.1 (2beb6da)
  • junipero: fix wrong prop provided to selectfield story (baaa7f2)
  • junipero: simplify field title parsing dissociation (0969ad9)
  • junipero-native: fix typo (2fa4622)
  • junipero-native: simplify field title parsing dissociation (5b64860)

Features

  • junipero: allow to dissociate field title parsing from options (01cc0ed)
  • junipero-native: allow to dissociate field title parsing from options (af685b1)

2.0.0-rc.15 (2021-10-20)

Bug Fixes

  • deps: update dependency core-js to v3.18.2 (600744c)
  • deps: update dependency core-js to v3.18.3 (d9c9ca9)

2.0.0-rc.14 (2021-09-29)

Bug Fixes

  • deps: update dependency core-js to v3.18.1 (7f5cde1)

2.0.0-rc.13 (2021-09-16)

Bug Fixes

  • deps: update dependency @babel/runtime-corejs3 to v7.15.3 (e5d8f38)
  • deps: update dependency core-js to v3.16.1 (7c44b67)
  • deps: update dependency core-js to v3.16.2 (1c0648f)
  • deps: update dependency core-js to v3.16.3 (41f3253)
  • deps: update dependency core-js to v3.16.4 (e2f735d)
  • deps: update dependency core-js to v3.17.1 (43d466f)
  • deps: update dependency core-js to v3.17.2 (c487c0a)
  • deps: update dependency core-js to v3.17.3 (115d08d)

Features

  • add ability to pass custom filter to filter particular children (034f3f2)

2.0.0-rc.12 (2021-08-06)

Bug Fixes

  • lib: fix infinite ref updating (108763a)

2.0.0-rc.11 (2021-08-05)

Bug Fixes

  • lib: fix wrong use of id & name for radio fields (b05647f)

2.0.0-rc.10 (2021-08-02)

Bug Fixes

  • deps: update dependency core-js to v3.16.0 (d3ad99d)
  • utils: fix get default value (107692d)

2.0.0-rc.9 (2021-07-26)

Bug Fixes

  • deps: update dependency core-js to v3.10.1 (4ad4f56)
  • deps: update dependency core-js to v3.10.2 (175c3cd)
  • deps: update dependency core-js to v3.11.0 (b299d69)
  • deps: update dependency core-js to v3.15.2 (0681751)

Features

  • colorField: add popperOptions to colorField (62ec659)

1.6.1 (2021-03-31)

Bug Fixes

  • datePicker: repair tests (bb53838)
  • datePicker: set day to first of the month to avoid months jumps (c7f9219)
  • deps: update dependency core-js to v3.10.0 (b3709ef)
  • deps: update dependency core-js to v3.7.0 (2485e9c)
  • deps: update dependency core-js to v3.8.0 (d58ac88)
  • deps: update dependency core-js to v3.8.1 (b5c56e1)
  • deps: update dependency core-js to v3.8.2 (8c778dd)
  • deps: update dependency core-js to v3.8.3 (e04725a)
  • deps: update dependency core-js to v3.9.0 (b750c11)
  • deps: update dependency core-js to v3.9.1 (4c9c838)

1.6.0 (2020-10-09)

Bug Fixes

  • chore: handle postcss-loader changes (38818fd)
  • deps: update dependency @babel/runtime-corejs3 to v7.11.2 (24afdb6)
  • radiofield: fix missing end of file (9bbe12b)
  • fix enzyme/jsdom fuckup on focus state with testing-library (390b5b4)

Features

  • examples: add radiofield examples (4efc00c)
  • lib: add radiofield component (610b448)
  • radiofield: add a label as a prop (e97ade6)
  • radiofield: add a labeled example (a903259)
  • radiofield: trigger onchange method after component being mounted (f00015a)

2.0.0-rc.8 (2021-07-05)

Bug Fixes

...

Read more