Releases: p3ol/junipero
Releases · p3ol/junipero
React 19 compat
SelectField load more
Better SelectField
Better ordered lists
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
Features
- react: allow to handle order state from outside on list (1deb99b)
Bye-bye PropTypes 👋
Typed™
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
New transitions
Adds two new simple transitions to @junipero/transitions
-> slideInUp
and slideInDown
3.4.1 (2023-10-27)
Bug Fixes
- transitions: types (a545b6f)
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
- add new transitions (8234958)
v3.3.0
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
3.3.2 (2023-09-27)
Bug Fixes
3.3.1 (2023-09-21)
Bug Fixes
- react: missing export (305a196)
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 📊
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>

3.2.1 (2023-08-04)
Bug Fixes
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
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 forreact-transition-group
@junipero/tailwind-plugin
is a newtailwindcss
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
- ✨feat(v3): add checkbox component on junipero 3 by @maximedasilva in #1106
- ✨feat(v3): add radio-button by @maximedasilva in #1133
- ✨feat(typing): add typescript typing for react package by @maximedasilva in #1139
- ✨feat(junipero-v3): add toggle to junipero V3 by @maximedasilva in #1134
- 🐛fix(typescript-eslint): fix lint problems by @maximedasilva in #1140
- ✨feat(junipero-react): add toggle and logo types and repair some types by @maximedasilva in #1141
- ✨feat(hooks-testing): add basic tests for the three hooks used under @junipero/react by @maximedasilva in #1142
- 🐛fix(date-field): fix month jumping because of out of range day in month by @maximedasilva in #1144
- ✨feat(refactor-v3): create touchable zone component under @junipero/react by @maximedasilva in #1146
- 🐛 fix(theme): prevent radiofield checkbox shrink by @emileNetter in #1148
- 🐛 fix(react): fix select field edge case by @emileNetter in #1147
- ✨feat(select-field): add toggle and keyboard handler options on select fields by @maximedasilva in #1150
- ✨ feat: add new Transition component by @dackmin in #1152
- 🐛fix(hooks): fix hooks types function parameter order by @maximedasilva in #1153
- ✨ feat: add dark mode by @dackmin in #1157
- 🐛 fix(react): fix wrong selectfield's baskpace behavior by @NicolasAuger in #1158
- 🐛fix(select-field): enable toggle field for non searchable select fields by @maximedasilva in #1159
- 🐛 fix: typings by @dackmin in #1162
- 🐛fix(text-field): add onWheel listener to prevent value from changing on wheel by @maximedasilva in #1163
- 🐛 fix: react server components compat by @dackmin in #1164
- ✨ feat(theme): add icons by @dackmin in #1165
- ✨ feat(react): forward floating update method by @emileNetter in #1167
- ✨ feat(core): allow to use a callback inside mockState by @dackmin in #1168
- 🐛fix: add textfield number handling by @maximedasilva in #1169
- ✨ release: v3 by @dackmin in #1161
- chore(deps): update codecov/codecov-action action to v3.1.3 by @renovate in #1170
- chore(deps): update dependency @testing-library/react-native to v11.5.4 by @renovate in #1136
Full Changelog: v2.0.0...v3.0.0