Releases: p3ol/junipero
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
v2.0.0
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...
v2.0.0-rc
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
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
...