Skip to content

Commit

Permalink
chore(main): release 5.0.1 (#439)
Browse files Browse the repository at this point in the history
* chore(main): release 5.0.1

* docs: update storybook for latest release

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: benjitrosch <[email protected]>
  • Loading branch information
github-actions[bot] and benjitrosch authored Jan 1, 2024
1 parent dea06ba commit 48dcdc4
Show file tree
Hide file tree
Showing 44 changed files with 205 additions and 209 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [5.0.1](https://github.com/daisyui/react-daisyui/compare/v5.0.0...v5.0.1) (2024-01-01)


### Bug Fixes

* **Range:** ticks fix ([#438](https://github.com/daisyui/react-daisyui/issues/438)) ([e6f46a3](https://github.com/daisyui/react-daisyui/commit/e6f46a3ce523962d272d8693aa5b97d33a586357))


### Miscellaneous

* **Stats:** changed Stat structure ([#341](https://github.com/daisyui/react-daisyui/issues/341)) ([dea06ba](https://github.com/daisyui/react-daisyui/commit/dea06bab3a868c295fcede7fa806bc028f499861))

## [5.0.0](https://github.com/daisyui/react-daisyui/compare/v4.1.2...v5.0.0) (2023-11-28)


Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{t as dr,j as rr}from"./tw-merge-0a3648bd.js";import{r as ir}from"./index-1b03fe98.js";import{c as cr}from"./clsx.m-1229b3e0.js";const g=ir.forwardRef(({children:a,demo:b=!0,size:e,horizontal:er,dataTheme:ar,className:or,...nr},sr)=>{const tr=dr("artboard",or,cr({"artboard-demo":b,"phone-1":e===1,"phone-2":e===2,"phone-3":e===3,"phone-4":e===4,"phone-5":e===5,"phone-6":e===6,horizontal:er}));return rr("div",{"aria-label":"Artboard",...nr,ref:sr,"data-theme":ar,className:tr,children:a})});g.displayName="Artboard";const z=g;try{g.displayName="Artboard",g.__docgenInfo={description:"",displayName:"Artboard",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},demo:{defaultValue:{value:"true"},description:"",name:"demo",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:"4"},{value:"2"},{value:"1"},{value:"3"},{value:"5"},{value:"6"}]}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}}}}}catch{}try{z.displayName="Artboard",z.__docgenInfo={description:"",displayName:"Artboard",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},demo:{defaultValue:{value:"true"},description:"",name:"demo",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:"4"},{value:"2"},{value:"1"},{value:"3"},{value:"5"},{value:"6"}]}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}}}}}catch{}const mr={title:"Layout/Artboard",component:z},r=({children:a,...b})=>rr(z,{...b,children:a}),o=r.bind({});o.args={size:1,children:" 320×568"};const n=r.bind({});n.args={size:2,children:" 375×667"};const s=r.bind({});s.args={size:3,children:" 414×736"};const t=r.bind({});t.args={size:4,children:" 375×812"};const d=r.bind({});d.args={size:5,children:" 414×896"};const i=r.bind({});i.args={size:6,children:" 320×1024"};const c=r.bind({});c.args={size:1,children:"568×320",horizontal:!0};const l=r.bind({});l.args={size:2,children:" 667×375",horizontal:!0};const u=r.bind({});u.args={size:3,children:" 736×414",horizontal:!0};const p=r.bind({});p.args={size:4,children:" 812×375",horizontal:!0};const m=r.bind({});m.args={size:5,children:" 896×414",horizontal:!0};const h=r.bind({});h.args={size:6,children:" 1024×320",horizontal:!0};var A,S,f;o.parameters={...o.parameters,docs:{...(A=o.parameters)==null?void 0:A.docs,source:{originalSource:`({
import{t as dr,j as rr}from"./tw-merge-0a3648bd.js";import{r as ir}from"./index-1b03fe98.js";import{c as cr}from"./clsx.m-1229b3e0.js";const g=ir.forwardRef(({children:a,demo:b=!0,size:e,horizontal:er,dataTheme:ar,className:or,...nr},sr)=>{const tr=dr("artboard",or,cr({"artboard-demo":b,"phone-1":e===1,"phone-2":e===2,"phone-3":e===3,"phone-4":e===4,"phone-5":e===5,"phone-6":e===6,horizontal:er}));return rr("div",{"aria-label":"Artboard",...nr,ref:sr,"data-theme":ar,className:tr,children:a})});g.displayName="Artboard";const z=g;try{g.displayName="Artboard",g.__docgenInfo={description:"",displayName:"Artboard",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},demo:{defaultValue:{value:"true"},description:"",name:"demo",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:"2"},{value:"4"},{value:"1"},{value:"3"},{value:"5"},{value:"6"}]}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}}}}}catch{}try{z.displayName="Artboard",z.__docgenInfo={description:"",displayName:"Artboard",props:{dataTheme:{defaultValue:null,description:"",name:"dataTheme",required:!1,type:{name:"string"}},demo:{defaultValue:{value:"true"},description:"",name:"demo",required:!1,type:{name:"boolean"}},size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:"enum",value:[{value:"2"},{value:"4"},{value:"1"},{value:"3"},{value:"5"},{value:"6"}]}},horizontal:{defaultValue:null,description:"",name:"horizontal",required:!1,type:{name:"boolean"}}}}}catch{}const mr={title:"Layout/Artboard",component:z},r=({children:a,...b})=>rr(z,{...b,children:a}),o=r.bind({});o.args={size:1,children:" 320×568"};const n=r.bind({});n.args={size:2,children:" 375×667"};const s=r.bind({});s.args={size:3,children:" 414×736"};const t=r.bind({});t.args={size:4,children:" 375×812"};const d=r.bind({});d.args={size:5,children:" 414×896"};const i=r.bind({});i.args={size:6,children:" 320×1024"};const c=r.bind({});c.args={size:1,children:"568×320",horizontal:!0};const l=r.bind({});l.args={size:2,children:" 667×375",horizontal:!0};const u=r.bind({});u.args={size:3,children:" 736×414",horizontal:!0};const p=r.bind({});p.args={size:4,children:" 812×375",horizontal:!0};const m=r.bind({});m.args={size:5,children:" 896×414",horizontal:!0};const h=r.bind({});h.args={size:6,children:" 1024×320",horizontal:!0};var A,S,f;o.parameters={...o.parameters,docs:{...(A=o.parameters)==null?void 0:A.docs,source:{originalSource:`({
children,
...args
}) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{j as r,a as s}from"./tw-merge-0a3648bd.js";import{B as n}from"./index-ccb0f6f2.js";import{B as m}from"./Button-e9ac0f78.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const J={title:"Data Display/Badge",component:n},a=e=>r(n,{...e,children:"Badge"});a.args={};const l=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,children:"default"}),r(n,{...e,color:"neutral",children:"neutral"}),r(n,{...e,color:"primary",children:"primary"}),r(n,{...e,color:"secondary",children:"secondary"}),r(n,{...e,color:"accent",children:"accent"}),r(n,{...e,color:"ghost",children:"ghost"})]}),o=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,children:"default"}),r(n,{...e,color:"primary",children:"primary"}),r(n,{...e,color:"secondary",children:"secondary"}),r(n,{...e,color:"accent",children:"accent"})]});o.args={variant:"outline"};const g=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,size:"lg",children:"987,654"}),r(n,{...e,size:"md",children:"987,654"}),r(n,{...e,size:"sm",children:"987,654"}),r(n,{...e,size:"xs",children:"987,654"})]}),t=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,size:"lg"}),r(n,{...e,size:"md"}),r(n,{...e,size:"sm"}),r(n,{...e,size:"xs"})]});t.args={color:"primary"};const c=e=>s("div",{className:"flex gap-2 items-center",children:[s(n,{...e,color:"info",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"info"]}),s(n,{...e,color:"success",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"success"]}),s(n,{...e,color:"warning",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"warning"]}),s(n,{...e,color:"error",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"error"]})]});c.args={className:"gap-2"};const i=e=>s("div",{className:"flex flex-col gap-2 items-center",children:[s("h2",{className:"text-xl",children:["Heading",r(n,{...e,size:"lg",children:"NEW"})]}),s("h3",{className:"text-xl",children:["Heading",r(n,{...e,size:"md",children:"NEW"})]}),s("h4",{className:"text-base",children:["Heading",r(n,{...e,size:"sm",children:"NEW"})]}),s("h5",{className:"text-sm",children:["Heading",r(n,{...e,size:"xs",children:"NEW"})]})]});i.args={};const d=e=>s("div",{className:"flex gap-2 items-center",children:[s(m,{children:["Inbox",r(n,{...e,children:"+99"})]}),s(m,{children:["Inbox",r(n,{...e,color:"secondary",children:"+99"})]})]});d.args={};var p,h,u;a.parameters={...a.parameters,docs:{...(p=a.parameters)==null?void 0:p.docs,source:{originalSource:`args => {
import{j as r,a as s}from"./tw-merge-0a3648bd.js";import{B as n}from"./index-ccb0f6f2.js";import{B as m}from"./Button-0267a47f.js";import"./index-1b03fe98.js";import"./clsx.m-1229b3e0.js";import"./index-a55c3a76.js";const J={title:"Data Display/Badge",component:n},a=e=>r(n,{...e,children:"Badge"});a.args={};const l=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,children:"default"}),r(n,{...e,color:"neutral",children:"neutral"}),r(n,{...e,color:"primary",children:"primary"}),r(n,{...e,color:"secondary",children:"secondary"}),r(n,{...e,color:"accent",children:"accent"}),r(n,{...e,color:"ghost",children:"ghost"})]}),o=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,children:"default"}),r(n,{...e,color:"primary",children:"primary"}),r(n,{...e,color:"secondary",children:"secondary"}),r(n,{...e,color:"accent",children:"accent"})]});o.args={variant:"outline"};const g=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,size:"lg",children:"987,654"}),r(n,{...e,size:"md",children:"987,654"}),r(n,{...e,size:"sm",children:"987,654"}),r(n,{...e,size:"xs",children:"987,654"})]}),t=e=>s("div",{className:"flex gap-2 items-center",children:[r(n,{...e,size:"lg"}),r(n,{...e,size:"md"}),r(n,{...e,size:"sm"}),r(n,{...e,size:"xs"})]});t.args={color:"primary"};const c=e=>s("div",{className:"flex gap-2 items-center",children:[s(n,{...e,color:"info",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"info"]}),s(n,{...e,color:"success",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"success"]}),s(n,{...e,color:"warning",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"warning"]}),s(n,{...e,color:"error",children:[r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",className:"inline-block w-4 h-4 stroke-current",children:r("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})}),"error"]})]});c.args={className:"gap-2"};const i=e=>s("div",{className:"flex flex-col gap-2 items-center",children:[s("h2",{className:"text-xl",children:["Heading",r(n,{...e,size:"lg",children:"NEW"})]}),s("h3",{className:"text-xl",children:["Heading",r(n,{...e,size:"md",children:"NEW"})]}),s("h4",{className:"text-base",children:["Heading",r(n,{...e,size:"sm",children:"NEW"})]}),s("h5",{className:"text-sm",children:["Heading",r(n,{...e,size:"xs",children:"NEW"})]})]});i.args={};const d=e=>s("div",{className:"flex gap-2 items-center",children:[s(m,{children:["Inbox",r(n,{...e,children:"+99"})]}),s(m,{children:["Inbox",r(n,{...e,color:"secondary",children:"+99"})]})]});d.args={};var p,h,u;a.parameters={...a.parameters,docs:{...(p=a.parameters)==null?void 0:p.docs,source:{originalSource:`args => {
return <Badge {...args}>Badge</Badge>;
}`,...(u=(h=a.parameters)==null?void 0:h.docs)==null?void 0:u.source}}};var B,x,w;l.parameters={...l.parameters,docs:{...(B=l.parameters)==null?void 0:B.docs,source:{originalSource:`args => {
return <div className="flex gap-2 items-center">
Expand Down
Loading

0 comments on commit 48dcdc4

Please sign in to comment.