Changelog
Camara
strictly follows semantic versioning
September 2021
Box Component
:- Remove
css
props for additional css properties - Clean up other properties
- Fix spacing system props
- Remove
Spacer Component
:- Add support for system props
Anchor Component
:- Add support for system props
- Add support for
css
props
August 2021
Flex Component
:- Added
alignContent, alignItems, alignSelf, wrap, direction,
props to the flex component
- Added
Heading Component
- Added
color
props to heading component - Added
noWhiteSpace
prop to heading component
- Added
Text Component
- Added
color
props to text component - Added
fontSize
props to text component
- Added
Create new component
Three-Pane-Window
BrowserWindow
- Update layout in storybook full screen mode
- Fix layout inconsistency
Avatar Component
:Username
prop no longer uses substring to split the initials. Provide the already split initials yourself.
Box
- Add
width
props to box component - Add proper support for
css
props to add additional properties - Add spacing system props
- Add
Create new component
List
July 2021
- Clean-up and reorganize the documentation site
- Rename
divider
toseparator
- New
Select
component - New
Switch
component - New
Accordion
component - Accordion component
- Visible at start
- Prefix
- Custom Icon
- Select & Multi-select
- Add actions tab support to storybook
- Add support for active selected icon to be on left or right
- Change chevron to double chevron
June 2021 Update
Here are the most significant changes in June:
- Improved docs experience
- Improved dark theme support
- Changed from styled components to stitches
- Improved storybook docs
- Deployed storybook docs
- Switched build system to TSDX
Anchor Component
:
- Removed
asBtn
prop - Add
variant
prop - Link color now directly affects immediate children
- Added Wikipedia example
- Added Google Search example
- Improve component stories
- Update component docs
Card Component
:
- Reduce default padding to
$2
- New prop
round
for rounded shaped cards - New prop
bg
to change background color of cards
Heading Component
:
- Remove default margin and padding
- Reduce margin vertical to
$2
Text Component
:
small
is now 14pxmedium
is now 16pxlarge
is now 18px
Here's our roadmap intent for July:
- Add more new components, particularly related to forms, error handling, and feedbacks.
- Update docs with getting started guide for React, NextJS, and more.
- Improve the docs for each components and add more examples
- Improve the layout related components
- Add a full-stack web app UI example
v1.0.0-beta.35 (Sat May 22, 2021)
- 🐛: Minor bug fixes
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.34 (Sat May 22, 2021)
CamaraTheme
component:- 🆕:
Theme
prop has been added, this is now the required way to switch the theme. - ✨: Theme toggle button and state hook has been removed, switching the theme now requires passing the appropriate value to the
theme
prop.
- 🆕:
Card
component:- ✨: Card component now has full support for Camara
system
props
- ✨: Card component now has full support for Camara
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.33 (Sat May 22, 2021)
- 🆕: Add support for dark mode to Card component
- ✨: Refactor Card component
- ✨: Improve color theme
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.32 (Fri May 21, 2021)
- 🐛: Minor bug fixes
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.31 (Fri May 21, 2021)
- 🐛: Minor bug fixes
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.30 (Fri May 21, 2021)
- 🐛: Minor bug fixes
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.29 (Fri May 21, 2021)
- 🐛: Minor bug fixes
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.28 (Fri May 21, 2021)
- 🆕: Add support for styled system
- ✨: Improve on themeing experiment
- ✨: Improve on dark mode experiment
- 🚧: Rewrite
button
component to use styled system with dark mode support
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.27 (Tue May 18, 2021)
- 🆕: Initial prototype for themeing and dark mode support
- ✨: Improve tests for all components
- ✨: Improve Type and TypeScript support for all components
- 📚: Improve documentation, add analytics and SEO support
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.26 (Wed Apr 7, 2021)
Flex
component:- ❗ Breaking:
alignSelf
prop has been removed - ❗ Breaking:
flex
prop has been removed
- ❗ Breaking:
Image
component:- ❗ Breaking: The image width is no longer explicitly defined. This property can be set by using the
width
prop
- ❗ Breaking: The image width is no longer explicitly defined. This property can be set by using the
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.25 (Mon Apr 5, 2021)
- ❗ Breaking:
Layout
component has been removed - ❗ Breaking:
Form
component has been removed - ❗ Breaking:
TestComponent
component has been removed
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.24 (Mon Apr 5, 2021)
Flex
component:- 🆕
direction
props sets the flex direction - 🆕
alignContent
prop aligns the flex items across the cross axis - 🆕
alignItems
prop sets the flex container align-items property - 🆕
alignSelf
prop sets align-self property on the flex children - 🆕
flex
prop sets the flex property on the flex children
- 🆕
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.23 (Sat Apr 3, 2021)
Spacer
component:- ❗ Breaking: all previous props have been removed.
- 🆕
bottom
prop sets the spacer at the bottom - 🆕
top
prop sets the spacer at the top - 🆕
both
prop sets the spacer at the vertical axis - 🆕
children
prop sets the content of the spacer
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.22 (Sat Apr 3, 2021)
Box
component:- 🆕
height
prop sets the height of the box. - 🆕
color
prop sets the background color of the box - 🆕
overflow
prop sets the overflow property of the box - 🆕
border
prop sets border property of the box. - 🆕
position
prop sets the position property of the box. - 🆕
minWidth
prop sets the minimum width of the box. - 🆕
minHeight
prop sets the minimum height of the box. - 🆕
maxWidth
prop sets the maximum width of the box. - 🆕
maxHeight
prop sets the maximum height of the box. - 🆕
role
prop sets the ARIA role of the box. - 🆕
pt
prop sets thepadding-top
property of the box. - 🆕
pb
prop sets thepadding-bottom
property of the box. - 🆕
pl
prop sets thepadding-left
property of the box. - 🆕
pr
prop sets thepadding-right
property of the box. - 🆕
px
prop sets thehorizontal padding
property of the box. - 🆕
py
prop sets thevertical padding
property of the box. - 🆕
pd
prop sets theall axis padding
property of the box. - 🆕
mt
prop sets themargin-top
property of the box. - 🆕
mb
prop sets themargin-bottom
property of the box. - 🆕
ml
prop sets themargin-left
property of the box. - 🆕
mr
prop sets themargin-right
property of the box. - 🆕
mx
prop sets thehorizontal margin
property of the box. - 🆕
my
prop sets thevertical margin
property of the box. - 🆕
mg
prop sets theall axis margin
property of the box.
- 🆕
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.21 (Sat Apr 3, 2021)
TextArea
component:- ✨
type
prop is no longer required
- ✨
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.20 (Sat Apr 3, 2021)
TextArea
component:- ❗ Breaking:
value
prop has been removed and deprecated. - ❗ Breaking:
cols
prop has been removed and deprecated. - ❗ Breaking:
form_id
prop has been removed and deprecated. - 🆕
label
prop sets the textarea label. - 🆕
name
prop sets name of the textarea - 🆕
helperText
prop allows for adding additional context to textarea fields. - 🆕
resizable
prop sets if the textarea is drag
- ❗ Breaking:
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.19 (Fri Apr 2, 2021)
Anchor
component:- ❗ Breaking:
color
prop has been removed and deprecated. - 🆕
href
prop sets the link destination URL. - 🆕
asNew
prop sets the option to open link in new tab
- ❗ Breaking:
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.18 (Fri Apr 2, 2021)
Input
component:- ❗ Breaking: remove
validator
support, this should not be taken care of by the library. - ❗ Breaking: trim input type.
type
prop now only accepts 4 values - 'email', 'number', 'password', 'text'. - ❗ Breaking: remove
id
,value
,htmlFor
,validators
, andonChange
props. All this should be taken care of with default HTML input attributes. - 🆕
helperText
prop allows for adding additional context to input fields. - 🆕
inline
prop sets how the input should be displayed - ✨ position of the
required
indicator has been moved to prefix the input fields. - ✨ clean up component default props
- ❗ Breaking: remove
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.17 (Fri Apr 2, 2021)
Tag
component:- ✨ fix reduce scale of
size
prop - 🆕
children
prop to set content of tag
- ✨ fix reduce scale of
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.16 (Fri Apr 2, 2021)
Text
component:- 🆕
weight
prop sets the font-weight - 🆕
italic
prop sets the font style to italic - 🆕
inline
prop sets the text on the same line in relation to its parent - 🆕
align
prop sets the alignment of the text - 🆕
underline
prop sets the text format to underline - 🆕
size
prop sets the size of the text - 🆕
strike
prop sets the text format to strike-through - 🆕
style
prop sets the CSS properties for the text component
- 🆕
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.15 (Fri Apr 2, 2021)
Image
component:- ❗ Breaking:
imageUrl
andimageAlt
props are now required by default. Prior imports of theImage
component that didn't define this props would break.
- ❗ Breaking:
Update
Card
component stories
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.14 (Fri Apr 2, 2021)
Title
component:- ❗ Breaking:
Title
component is no longer exported fromText
, it's now a standalone component. Import it fromTitle
. - 🆕
align
prop sets the text-align property of the title component
- ❗ Breaking:
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.13 (Fri Apr 2, 2021)
Card
component:- ❗ Breaking: all padding related props are now removed and deprecated.
- ❗ Breaking:
width
andheight
props are now of the string type. This helps to make setting their values very flexible. - 🆕
bordered
prop sets border on the card component - 🆕
children
prop controls the card contents
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.12 (Wed Mar 31, 2021)
Image
component:- ❗ Breaking:
imageURL
prop is now renamed toimageUrl
, both still work the same way. It's simply a name change. - ❗ Breaking:
width
prop is removed and deprecated. Setting the image width can be set with default image HTML width attribute. - 🆕
imageAlt
prop sets the description of the image - 🆕
loading
prop controls if the image should be deferred when its off the screen - 🆕
fit
prop sets the image object-fit property
- ❗ Breaking:
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.11 (Tue Mar 30, 2021)
Badge
component:- 🆕
color
prop sets the color of the badge text - 🆕
text
prop sets the text of the badge - 🆕
shape
prop sets the shape of the badge - 🆕
position
prop sets the position of the badge relative to the parent element - ✨
default
option ofsize
prop has been replaced withmedium
.
- 🆕
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.10 (Mon Mar 29, 2021)
Avatar
component:- 🆕
imageAlt
prop allows for adding alternative text to describe the avatar image. - 🆕
username
prop sets a the initials when an initial is to be used. - 🆕
color
prop sets the color of the initials - 🆕
icon
prop sets a custom icon for the avatar. - 🆕
shape
prop determines the shape of the avatar. - 🆕
fit
prop sets theobject-fit
property of the avatar. - 🆕
initialsSize
prop sets the font size of the initials text. - ✨
size
prop now accepts numbers. - ✨
backgroundColor
prop now works forinitials
andicon
avatar too
- 🆕
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.9 (Sat Mar 27, 2021)
A change has been made to how the project gets updated. Going forward every new beta
version is going to focus solely on a single component and try to improve on the component across its Storybook stories, docs, test, and real-world usage. This way I can move incrementally while knowing that I am thinking about each component in a comprehensive manner.
Button
component:- ❌ remove
primary
prop option for setting the type of button. - 🆕
variant
prop is now used for setting the type of button fromprimary
,secondary
orghost
. - ✨
size
prop now updated withlarge
,small
andmedium
options. - 🆕
block
prop sets the option to fit button width to the full width of the parent - 🆕
loading
prop add a loading spinner indicator to be used when users have to wait for the result of their action after pressing a button. - 🆕
disabled
prop adds a visual indicator that a button is not interactive and restricts it from being pressed. - 🆕
danger
prop adds a visual indicator that the button action is destructive and irreversible in some case - ❌ remove
orientation
prop. - ✨ rename
rounded
prop topill
to accurately describe the button shape - ✨ hover, active and focused state has been improved.
- ❌ remove
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.8 (Thur Feb 04, 2021)
- minor package update
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.7 (Wed Feb 03, 2021)
- minor package update
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.6 (Wed Feb 03, 2021)
Rebuild from the ground-up. This changes everything!!!
- The previous bundler cli
microbundle
had a lot of issues with generating typescript definitions and wasn't flexible for me to modify its behavior. After loads of inconsistencies and mess I had to rewrite the core library to make use of rollup directly. This has made bundling the library much more solid and consistent than before. A lot has changed, I had to touch every single file but somehow keep the same APIs for each components. This lays a much more solid foundation for future version of Camara
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.5 (Tue Feb 02, 2021)
- 🔼 minor version bump
- ❌ remove GitHub actions workflow file
- ❓ still debugging declaration file issue
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.4 (Tue Feb 02, 2021)
- BREAKING:
- ❗
avatar
size prop now takes in predefined values as against number input
- ❗
- ✨ refactored project dependencies and configs
- 🚀 fix continuous integration with
auto
- 🐛
Camara
no longer bundles thestories
andplayground
folder on build
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.3 (Tue Feb 02, 2021)
- 🆕 changed the way components are bundled and exported
- ❌ removed
colors
as package dependency - ❌ removed
polished
as package dependency - ❌ removed support for bundling
css-modules
- 🚀 updated rollup configs
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.2 (Fri Jan 29, 2021)
- 🆕
image
component. This works differently from theavatar
component - 💄 Update
$black100
color token to lighter shade of black - Avatar
- 🆕 Add prop
stories
foravatar
component. This gives the Instagram-like avatar look and feel - ⚡
imageUrl
default props now switches to Unsplash and replaces Picsum.photos
- 🆕 Add prop
- Flex
- 🆕 Add prop
justify
for setting flex alignment properties - 🆕 Add prop
wrap
for setting wrap property on flex items - 🆕 Add prop
width
to set width property on flex container
- 🆕 Add prop
- Text
- 💄 default margins have been updated for
BodyText
component
- 💄 default margins have been updated for
- Title
- 🆕 Add prop
color
to set color property dynamically
- 🆕 Add prop
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v1.0.0-beta.1 (Thur Jan 28, 2021)
new:
- Camara moves into
beta
and follows more strict semantic versioning - New layout related components
flex
,spacer
andbox
added - added typescript type definitions for styled-components
text
component has a new variant 'strong'title
component has a new prop 'thin'
- Camara moves into
improved:
- improved CSS global reset, resetting is much broader now and targets more elements
avatar
component has better defaults- height, padding and line-height of
button
component is removed
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v0.2.0 (Sun Nov 8, 2020)
new:
- switched from
stitches.js
tostyled-components
for styling library button
componentbadge
componentdivider
componentcard
componentlink
componentavatar
componentinput
componenttextarea
componentlayout
componenttag
componenttext
component- add component generator utility
- switched from
improved:
- improved support for
eslint
,prettier
andtypescript
- improved support for
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v0.1.0 (Tue Oct 27, 2020)
new:
- (chore): library setup
- add support for airbnb
eslint
andprettier
style guide - add support for
storybookjs
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v0.1.11 (Tue Sep 29 2020)
🐛 Bug Fix
- feat(components): update typography APIs #4 (@Preshonyee)
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v0.1.10 (Sun Sep 27 2020)
⚠️ Pushed to master
- create pull request template (@Preshonyee)
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v0.1.9 (Sun Sep 27 2020)
⚠️ Pushed to master
- Update issue templates (@Preshonyee)
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v0.1.8 (Fri Sep 25 2020)
🐛 Bug Fix
resolve merge conflicts #3 (@Preshonyee) ⚠️ Pushed to
master
Merge branch 'components-typography/preshonyee' into master (@Preshonyee)
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v0.1.7 (Fri Sep 25 2020)
⚠️ Pushed to master
- Merge branch 'master' of into master (@Preshonyee)
- chore: upgrade packages (@Preshonyee)
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v0.1.6 (Fri Sep 25 2020)
⚠️ Pushed to master
- chore: update packages (@Preshonyee)
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v0.1.5 (Mon Sep 07 2020)
🐛 Bug Fix
resolve merge confict #2 (@Preshonyee) ⚠️ Pushed to
master
Merge branch 'alpha' (@Preshonyee)
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v0.1.4 (Sun Sep 06 2020)
🐛 Bug Fix
Merge conflict resolved #1 (@Preshonyee) ⚠️ Pushed to
master
fix(config): reinstall packages (@Preshonyee)
fix(config): fix auto release script (@Preshonyee)
fix(config): update lock file (@Preshonyee)
Merge branch 'alpha' (@Preshonyee)
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v0.1.3 (Sat Sep 05 2020)
⚠️ Pushed to master
- Merge branch 'master' of (@Preshonyee)
- Revert "feat(components): add image rendering and loading state to avatar" (@Preshonyee)
- fix(config): fix bundle watch issues (@Preshonyee)
- fix(config): reinstall packages (@Preshonyee)
- fix(config): reinstall packages (@Preshonyee)
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v0.1.2 (Thu Sep 03 2020)
⚠️ Pushed to master
- testing ci/cd for storybook (@Preshonyee)
- testing automating the setups and bullet-proofing it.
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)
v0.1.1 (Thu Sep 03 2020)
- Created first version of the design system with
Avatar
andButton
components
Authors: 1
- ᑭᖇᗴᔕᕼ ᗝᑎƳᗴᗴ (@Preshonyee)