Skip to content

Latest commit

 

History

History
681 lines (439 loc) · 63.5 KB

CHANGELOG.md

File metadata and controls

681 lines (439 loc) · 63.5 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

0.4.3 (2023-04-05)

Features

0.4.2 (2023-03-08)

Features

  • /src/components/avatar: allow custom sizes for placeholderInitials (#659) (#660) (525b90d)
  • /src/components/progress: fix unclear label usage (#468) (#547) (f9cad02)

Bug Fixes

  • /src/lib/components/*: add displayName to Forms components (#656) (329cb5a), closes #641
  • /src/lib/components/*: allow theme={} to contain partials (#649) (863a789), closes #646
  • /src/lib/components/Flowbite: fix window is not defined in next.js (#652) (8fd9ddc)
  • /src/theme: fix <Modal> vertical positioning (#658) (5fec3ca), closes #601
  • button: fixes outline button (#654) (eab6bbb)
  • lib/components/buttons: Add target to Button props to open a link in new tab (#631) (ed74d13)
  • sidebar: adds missing className (#657) (12fce11)

0.4.1 (2023-03-03)

⚠ BREAKING CHANGES

  • /lib/components/flowbite: ThemeProps no longer includes usePreferences
  • theme: Like in #500, this version permanently changes the FlowbiteTheme for numerous components.

The philosophy is that themes will more clearly reflect the component's structure.

For example, an <Accordion> can contain any number of <Accordion.Title> or <Accordion.Content> sections. The theme used to look like:

accordion: {
  base: "..",
  content: "..",
  flush: "..",
  title: "..",
}

And now, the theme for an <Accordion> looks like:

js
accordion: {
  root: {
    base: "..",
    flush: "..",
  },
  content: "..",
  title: "..",
}

So now the options in the theme which apply to the <Accordion> itself will always be found under root. Likewise, <Accordion.Content> can be themed via the content subsection.

This ultimately will apply to all components.

  • ci(eslint): remove prettier plugins for eslint

Instead, use prettier-plugin-tailwindcss, which is sufficient.

  • refactor(/lib/*): use yarn prettier with prettier-plugin-tailwindcss

  • fix(/lib/components/*.spec): resolve test errors caused by migrating theme

  • feat(/lib/components/*): add theme={} attribute to components that need it

Features

Bug Fixes

  • /components/modal: Prevent <Modal.Content> from being truncated (#601) (dd19f33), closes #600
  • /docs: remove {' '} literals from code examples (#614) (2f46d90)
  • tsconfig: noEmit is false (44f4cd7)

0.4.0 (2023-03-03)

⚠ BREAKING CHANGES

  • /lib/components/flowbite: ThemeProps no longer includes usePreferences
  • theme: Like in #500, this version permanently changes the FlowbiteTheme for numerous components.

The philosophy is that themes will more clearly reflect the component's structure.

For example, an <Accordion> can contain any number of <Accordion.Title> or <Accordion.Content> sections. The theme used to look like:

accordion: {
  base: "..",
  content: "..",
  flush: "..",
  title: "..",
}

And now, the theme for an <Accordion> looks like:

js
accordion: {
  root: {
    base: "..",
    flush: "..",
  },
  content: "..",
  title: "..",
}

So now the options in the theme which apply to the <Accordion> itself will always be found under root. Likewise, <Accordion.Content> can be themed via the content subsection.

This ultimately will apply to all components.

  • ci(eslint): remove prettier plugins for eslint

Instead, use prettier-plugin-tailwindcss, which is sufficient.

  • refactor(/lib/*): use yarn prettier with prettier-plugin-tailwindcss

  • fix(/lib/components/*.spec): resolve test errors caused by migrating theme

  • feat(/lib/components/*): add theme={} attribute to components that need it

Features

Bug Fixes

  • /components/modal: Prevent <Modal.Content> from being truncated (#601) (dd19f33), closes #600
  • /docs: remove {' '} literals from code examples (#614) (2f46d90)
  • avatar: center avatar correctly (#404) (1027212)
  • Button doesn't fit to its parent width (#370) (15571aa)
  • button: reduce the thickness of button outline (#376) (5ef0aef)
  • component: add missing display name for checkbox, radio and select (#328) (8c307aa)
  • component: display text only on Sidebar.Item tooltip (#315) (9af5d13), closes #258
  • component: remove "All Rights Reserved" from <Footer.Copyright> (#317) (c6524ee)
  • component: Remove type="button" when not a <button> (#217) (8c7012e)
  • component: use 1st letter of text in collapsed Sidebar.Item with no icon (#338) (103d173), closes #81
  • DarkThemeToggle: should toggle the theme with usePreferences is false (#417) (#424) (37244ff)
  • dropdown: close dropdown when item is selected (#392) (05f5534), closes #349 #349 #349
  • helpers/mergedeep: fix potential cases when source or target obects can be mutated (#476) (765fedb)
  • modal: clear modal container ref on unmount (#514) (3387128)
  • modal: fix initial focus inside a modal (#495) (6965074)
  • package: minimal react version is 18 (#344) (bc4fea7)
  • pagination: fix next button icon misalignment (#346) (0dd10d3), closes #330
  • render border colors in Avatar with placeholder initials (#521) (3aa12c6)
  • sidebaritem: fix sidebar item with next link (#438) (32f337b)
  • storybook: fix welcome page (#377) (d2518ad)
  • textinput: merge issue (#499) (f8eca21)
  • theme: add z-index to Dropdown floating component (#314) (77cb356), closes #308
  • timeline-horizontal (#510) (89d2ff8)
  • toast: ToastToggle must have className (#471) (5618b21)
  • typo in navbar theme typedef (#327) (459a864)

0.3.8 (2023-01-26)

Features

Bug Fixes

  • helpers/mergedeep: fix potential cases when source or target obects can be mutated (#476) (765fedb)
  • modal: clear modal container ref on unmount (#514) (3387128)
  • modal: fix initial focus inside a modal (#495) (6965074)
  • render border colors in Avatar with placeholder initials (#521) (3aa12c6)
  • sidebaritem: fix sidebar item with next link (#438) (32f337b)
  • textinput: merge issue (#499) (f8eca21)
  • timeline-horizontal (#510) (89d2ff8)

0.3.7 (2022-12-06)

Bug Fixes

  • toast: ToastToggle must have className (#471) (5618b21)

0.3.6 (2022-12-02)

Features

0.3.5 (2022-11-17)

Features

0.3.4 (2022-11-06)

Bug Fixes

  • DarkThemeToggle: should toggle the theme with usePreferences is false (#417) (#424) (37244ff)

0.3.3 (2022-11-04)

Features

  • breadcrumbitem: add forwardRef to breadcrumb item (#421) (0e4ae62)
  • sidebaritem: add forwardRef to sidebar item (#420) (faca797), closes #397

0.3.2 (2022-10-22)

Features

  • classname: more missing classnames access (#406) (9e40115)

0.3.1 (2022-10-22)

Features

  • classname: all components with classname access (#405) (99b4ceb)

Bug Fixes

0.3.0 (2022-10-22)

0.2.1 (2022-10-19)

Features

Bug Fixes

0.2.0 (2022-10-11)

Bug Fixes

  • button: reduce the thickness of button outline (#376) (5ef0aef)
  • storybook: fix welcome page (#377) (d2518ad)

0.1.12 (2022-10-07)

Bug Fixes

  • Button doesn't fit to its parent width (#370) (15571aa)

0.1.11 (2022-09-13)

Bug Fixes

  • package: minimal react version is 18 (#344) (bc4fea7)
  • pagination: fix next button icon misalignment (#346) (0dd10d3), closes #330

0.1.10 (2022-08-21)

Bug Fixes

  • component: use 1st letter of text in collapsed Sidebar.Item with no icon (#338) (103d173), closes #81

0.1.9 (2022-08-19)

0.1.8 (2022-08-17)

Bug Fixes

  • component: add missing display name for checkbox, radio and select (#328) (8c307aa)

0.1.7 (2022-08-11)

0.1.6 (2022-08-11)

Bug Fixes

0.1.5 (2022-08-01)

Bug Fixes

  • component: remove "All Rights Reserved" from <Footer.Copyright> (#317) (c6524ee)

0.1.4 (2022-07-31)

Bug Fixes

  • component: display text only on Sidebar.Item tooltip (#315) (9af5d13), closes #258
  • theme: add z-index to Dropdown floating component (#314) (77cb356), closes #308

0.1.4 (2022-07-31)

0.1.3 (2022-07-06)

0.1.2 (2022-07-05)

0.1.1 (2022-07-05)

Bug Fixes

  • component: Remove type="button" when not a <button> (#217) (8c7012e)

0.1.0 (2022-06-30)

⚠ BREAKING CHANGES

  • inputs: Adding theme support to the component blocks the access to className property directly

  • fix(inputs): fix wrong default color name from base to gray

  • inputs: adds theme support to TextInput and FileInput (#246) (366a119)

0.0.27 (2022-06-21)

Features

Bug Fixes

  • nanoid requires Node crypto module (#185) (da59ccc)
  • a11y: Use darker text for Breadcrumb.Items, resolves #102 (b6fcf6a)
  • build: Change yarn lint command to actually lint files (#183) (3471318)
  • carousel: carousel size depends on parent size (#241) (279eab4)
  • component: add displayName to TextInput (#219) (cb5ca89)
  • component: add forwardRef to TextInput (#212) (596a445)
  • component: Allow Card to have href (#194) (3be9786)
  • component: Allow Carousels to fill height, resolves #168 (#208) (9ccf0c2)
  • type: Generate FlowbiteTheme.d.ts to builds (#182) (097d875)
  • update typo on Footer.Link from Gihub to Github (#210) (7ca9fcc)

0.0.26 (2022-06-13)

Features

Bug Fixes

  • nanoid requires Node crypto module (#185) (da59ccc)
  • a11y: Use darker text for Breadcrumb.Items, resolves #102 (b6fcf6a)
  • build: Change yarn lint command to actually lint files (#183) (3471318)
  • component: add displayName to TextInput (#219) (cb5ca89)
  • component: add forwardRef to TextInput (#212) (596a445)
  • component: Allow Card to have href (#194) (3be9786)
  • component: Allow Carousels to fill height, resolves #168 (#208) (9ccf0c2)
  • component: Remove default export from Breadcrumb (#150) (511a86c)
  • Replace old colors on Alerts page & stories (#156) (4619168)
  • type: Generate FlowbiteTheme.d.ts to builds (#182) (097d875)
  • update typo on Footer.Link from Gihub to Github (#210) (7ca9fcc)
  • You may want the label to be the number 0 (#157) (396d8f3)

0.0.25 (2022-05-20)

Bug Fixes

0.0.24 (2022-05-15)

0.0.23 (2022-05-12)

0.0.22 (2022-05-10)

Bug Fixes

  • refactor sidebar item to accept a component as wrapper (#96) (c934624)

0.0.21 (2022-05-10)

Features

Bug Fixes

  • docs: Update README Components links to new URL pattern (#84) (39c2d91)
  • fix Carousel styles (78060ea)
  • improving flow handling (#86) (dc8af66)
  • refactor sidebar item to accept a component as wrapper (1c964eb)

0.0.20 (2022-05-02)

0.0.19 (2022-05-02)

Features

  • adds more alert stories (a99abc9)
  • adds the addicional (bcd268e)
  • build: Upgrade @popperjs/* to @floating-ui/react-* (#67) (9ba11ef), closes #57 #69
  • component: Add alt attribute to Avatars (d803781)
  • content: Add example Avatar with alt (b619076)
  • content: Add example Card with image with alt text (7410610)

Bug Fixes

0.0.18 (2022-04-20)

Features

  • add ability to drag to scroll for the Carousel component (eb91078)
  • adds avatar group (c1c3d48)
  • adds the avatar component to the storybook (e2f3a22)

Bug Fixes

  • fix Carousel controls clicking behavior (3fa9180)
  • improvement the dropdown stories (1ab98cc)
  • remove unused import from Avatar.tsx (ebe43ff)

0.0.17 (2022-04-14)

Features

Bug Fixes

  • add missing dark class names of the progress component (09cfef4)
  • add missing label prop usage in the Button component (5e8c291)
  • added 700 duration to Duration type (efd4611)
  • added PropsWithChildren (3090117)
  • added testid, merged imports, added duration record (c5c9cd5)
  • avatar bordered (432d9f5)
  • correctly renamed toast to Toast (fd5d162)
  • correctly renamed Toast.tsx to index.tsx (53881df)
  • exclude storybook stories while building the library (648b110)
  • export Size type and merged imports (55c9cdf)
  • fix Button component styling (c0683cf)
  • imported Size type from RatingContext (bd8ebbb)
  • make arrow prop of Dropdown component much understandable (cc1beff)
  • make label prop of Button component as ReactNode (59cee65)
  • removed svg component props (195b67e)
  • removed Toast.tsx from src/ (0f0c362)
  • removed unneeded imports (249e40e)
  • removed unneeded imports from stories (a731a2c)
  • replaced star svg with HiStar icon (259f345)
  • set tooltipArrow prop as false by default for the Dropdown component (35ad443)
  • simplify routes array (52cb973)

0.0.16 (2022-04-08)

Features

Bug Fixes

  • added border for dark mode (cfdf462)
  • changed navbar logo display name (a0caa49)
  • changed Navbar.Logo to Navbar.Brand (5ecee8b)
  • misspelled NavbarComponent (ad183a8)
  • removed commit for Tab component (629d86c)
  • removed linter ignore (950921a)
  • removed linter ignore for hidden className (7fe9e3e)
  • removed test link (129c9e2)
  • removed typo around a className (d3fcd0f)

0.0.15 (2022-03-21)

0.0.14 (2022-03-21)

Features

  • refactor ListGroup component (0f18211)

Bug Fixes

  • fix ListGroup component (5eda5ed)

0.0.13 (2022-03-17)

Features

Bug Fixes

  • fix Button styling (c4aad36)
  • fix onclick func and button focus in dark mode (a8b6c92)
  • refactor Accordion component (96dc14c)

0.0.12 (2022-03-13)

Features

  • add Button group component (1f8b8fd)

0.0.11 (2022-03-13)

Features

  • add light prop to Spinner component (0590d66)

Bug Fixes

  • Remove extra icon content from Button component (2762b55)

0.0.10 (2022-03-13)

Features

Bug Fixes

0.0.9 (2022-03-12)

Features

  • add Card component (6c3d067)
  • add spinner component (61c417d)
  • use react-icons icons library (236ba62)
  • use tooltips when sidebar is collapsed (17ecd1a)

0.0.8 (2022-03-12)

Features

  • add spinner component (f712228)
  • use react-icons icons library (236ba62)

0.0.7 (2022-03-12)

Features

  • use react-icons icons library (236ba62)

0.0.6 (2022-03-12)

Features

Bug Fixes

  • Edit Accordion.tsx (1110731)
  • use React state instead of data-* attributes in Sidebar.tsx (3942ddd)

0.0.5 (2022-03-05)

Features

  • Add Badges and Breadcrumb (7b7b288)

0.0.4 (2022-03-02)

Bug Fixes

0.0.3 (2022-03-02)

Features

0.0.2 (2022-02-28)

0.0.1 (2022-02-28)