Skip to content

Latest commit

 

History

History
867 lines (573 loc) · 89.9 KB

CHANGELOG.md

File metadata and controls

867 lines (573 loc) · 89.9 KB

Changelog

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

0.6.4 (2023-10-03)

Features

Bug Fixes

0.6.3 (2023-09-30)

Bug Fixes

0.6.2 (2023-09-29)

Features

Bug Fixes

  • docs - avatar - render properly code example (#1006) (48ce786)
  • documentation regressions (#1021) (dbfb019)
  • homepage - missing dark mode section functionality (#989) (63e04e2)
  • issue #846 - docs dropdown - custom trigger section not render… (#1005) (409c01c)
  • toggleswitch: disable + checked state and deprecated html event replacement (#987) (ce55df1), closes #986

0.6.1 (2023-09-23)

Bug Fixes

  • CodePreview - show explicit false props (#985) (b1357c6)
  • button: allow height of buttons stretch (#906) (10b54e3)
  • button: fix error Button cannot be used as a JSX component (#974) (b621601), closes #962
  • component: add custom theme to the carousel's default left and r… (#910) (ddff0e5)
  • datepicker.tsx: fix theme and add onSelectedDate callback (#970) (fe9f63f), closes #968 #964
  • datepicker: button type (#984) (496ed1e)
  • datepiker: incorrect names of days of the week in the datepicker (#963) (e09a22a), closes #960
  • labels: default dark color of the input labels should be white (#978) (3d1d62e)
  • scroll to section blocking above content (#983) (5a9589b)
  • tabs: added tabs container div style and theme (#929) (c0e9d66), closes #924
  • textarea: default font size should be text-sm (#958) (ecf271a)

0.6.0 (2023-09-09)

Features

  • add <Banner> component (#949) (ce05949)
  • add <Datepicker> component (#835) (ff12d41), closes #626
  • component: new pauseOnHover prop to , provide quick information with chance to pause (#918) (f69e1a4)
  • sidebar: add custom chevron icon to collapse (#891) (d92c2cc)

Bug Fixes

  • button.tsx: Adding back displayName (#890) (8e24575)
  • button.tsx: Button as prop internal logic + TS props (#885) (942735e), closes #865
  • pagination: center selected page (#931) (cc1292d), closes #908
  • select.tsx/badge.tsx: With icon classes preference (#877) (ebe605e), closes #869

0.5.0 (2023-07-21)

⚠ BREAKING CHANGES

  • toast.tsx: Removing "removed" theme support

Features

Bug Fixes

  • button.tsx: Relative Spinner size (#868) (3662d5e), closes #850
  • modal.mdx: fix spelling in modal documentation (#862) (380aa63)
  • pagination theme file: added enabled attribute for pagination ba… (#856) (ecc3f6e), closes #849

0.4.11 (2023-07-10)

Features

Bug Fixes

0.4.10 (2023-07-03)

Features

  • button.tsx: Added as prop to button component (#826) (6384882), closes #655
  • carousel: adds onSlideChange property (#833) (c80fb37)
  • components/darkthemetoggle: supports custom icons (1d615c0)
  • components/sidebar: theme access to list item element (d7262ba)
  • dropdown: adding custom trigger (#834) (70c7aec), closes #624

Bug Fixes

  • button.tsx: Disable Button hover state when button is disabled (#830) (2b45084), closes #827
  • components/navbar: fix theme interface (bc280fc)
  • textinput.tsx: TextInput padding when having right/left icons (#832) (d616e66), closes #828

0.4.9 (2023-06-22)

Features

  • replace classnames by tailwind-merge (#816) (7461173)

Bug Fixes

0.4.8 (2023-06-22)

Features

  • replace classnames by tailwind-merge (#816) (7461173)

Bug Fixes

  • paginationbutton.tsx: button now has type button (#811) (470c359), closes #809

0.4.7 (2023-06-01)

Features

  • pagination.tsx: next and previous buttons should disable when on 1 and last page respectively (#731) (8e8531b), closes #726 #726

Bug Fixes

  • button.tsx: make prop theme work (#746) (1b07a76)
  • component: fix Label component disabled property not applying theme styles (#763) (8d6d79e), closes #762
  • dropdown: add type button in dropdown (#757) (974c126), closes #756
  • dropdown: fix dropdown menu items container width (#714) (d13c77c), closes #575 #575 #575 #575 #575
  • making ToggleSwitch color prop as keyof FlowbiteColors (#741) (e3e2112)
  • modal: fixed a bug that disallowed users to set the position of a modal (#766) (5200ecd), closes #760
  • Modal: modal scrollbar overflow style issue fixed (#769) (746098d)
  • modal: overflow bug fix (#718) (9e4e43a), closes #537
  • pagination button not being highlighted correctly (#725) (53c1280)
  • src/components/*: replace tsconfig.json paths by relative paths (6efd448), closes #772
  • theme: typo in bottom-center (#717) (89d58dc)
  • tsconfig.lib: compile to react-jsx for npm (389dd1d)

0.4.6 (2023-05-26)

0.4.5 (2023-05-26)

Features

  • pagination.tsx: next and previous buttons should disable when on 1 and last page respectively (#731) (8e8531b), closes #726 #726

Bug Fixes

0.4.4 (2023-04-24)

Features

  • /src/components/avatar: allow custom sizes for placeholderInitials (#659) (#660) (525b90d)
  • /src/components/progress: fix unclear label usage (#468) (#547) (f9cad02)
  • sidebar: Allow to customize the Sidebar component with 'as' (#703) (54fc3c2)
  • Toast: add onClick prop to Toast.Toggle (#607) (#666) (9be39d0)

Bug Fixes

  • /lib/components/table: prevent scrollbars around <Table>s (#608) (6f1869b)
  • /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
  • added aria-label to solve Buttons do not have an accessible name… (#711) (65b0aef)
  • button: fixes outline button (#654) (eab6bbb)
  • component/models: prevent scrolling of body when modal is shown (#700) (ab6e96a), closes #604
  • component/progressbar: fix progressbar showing label when progress == 0 (#698) (1fa7542), closes #668
  • components/accordion: allow opened panel to be closed #684 - add accordion tests (#705) (7de751e), closes #618
  • group list styling (#668) (a4f39f5)
  • lib/components/buttons: Add target to Button props to open a link in new tab (#631) (ed74d13)
  • sidebar: adds missing className (#657) (12fce11)
  • tabs: remove tab auto focus (#712) (6942943), closes #612 #612

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)