@acusti/uikit-docs 0.4.4 → 0.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.storybook/main.ts +19 -4
- package/CHANGELOG.md +60 -0
- package/dist/assets/CSSValueInput-B69U5DrZ.js +5 -0
- package/dist/assets/{CSSValueInput-BgAgo3f9.css → CSSValueInput-DKgB9IQs.css} +1 -1
- package/dist/assets/CSSValueInput.stories-vCftVQHX.js +113 -0
- package/dist/assets/Color-6BZIO3FS-BHsDhiaJ.js +1 -0
- package/dist/assets/DatePicker.stories-X2JO2cn6.js +585 -0
- package/dist/assets/DocsRenderer-LL677BLK-i2bqAbNY.js +2 -0
- package/dist/assets/Dropdown-QkqMQiyU.css +1 -0
- package/dist/assets/Dropdown-_IIsqrAA.js +101 -0
- package/dist/assets/Dropdown.stories-msGED41R.js +364 -0
- package/dist/assets/InputText-_BMv0r1n.css +1 -0
- package/dist/assets/InputText.stories-CG1EnzrQ.js +148 -0
- package/dist/assets/Introduction-orXeKug7.js +184 -0
- package/dist/assets/MonthCalendar.stories-CJT-JiqF.js +177 -0
- package/dist/assets/WithTooltip-65CFNBJE-DlgYg9W2.js +9 -0
- package/dist/assets/blocks-C4xgyV4X.js +46 -0
- package/dist/assets/chunk-242VQQM5-DEt_wvrI.js +1 -0
- package/dist/assets/chunk-YKABRMAI-BpCcWWoG.js +18 -0
- package/dist/assets/client-Bvdml6v2.js +9 -0
- package/dist/assets/clsx-Bdud1Ih_.js +1 -0
- package/dist/assets/compiler-runtime-BOsKKfMw.js +1 -0
- package/dist/assets/components-CuDS54ZU.js +92 -0
- package/dist/assets/dist-6e4YoSiG.js +1 -0
- package/dist/assets/dist-BreUZhw6.js +1 -0
- package/dist/assets/formatter-EIJCOSYU-4RP_9NAI.js +1 -0
- package/dist/assets/iframe-BsC6HWDY.js +1221 -0
- package/dist/assets/jsx-runtime-CZwoFFIL.js +1 -0
- package/dist/assets/lib-WXkUx4TK.js +1 -0
- package/dist/assets/preload-helper-Bhb7V-Yo.js +1 -0
- package/dist/assets/react-18-6aLPZbD-.js +1 -0
- package/dist/assets/react-DcwytXSz.js +1 -0
- package/dist/assets/react-dom-CFVoDXTy.js +1 -0
- package/dist/assets/syntaxhighlighter-ED5Y7EFY-BQSv6pbL.js +6 -0
- package/dist/assets/theming-DLDZLcJn.js +39 -0
- package/dist/assets/useIsOutOfBounds.stories-CI4DMSUD.js +105 -0
- package/dist/assets/{useKeyboardEvents-BH4Zd7d3.css → useKeyboardEvents-CKMYGqVT.css} +1 -1
- package/dist/assets/useKeyboardEvents.stories-CNX299tr.js +3 -0
- package/dist/favicon-wrapper.svg +46 -0
- package/dist/favicon.svg +1 -1
- package/dist/iframe.html +59 -40
- package/dist/index.html +8 -16
- package/dist/index.json +1 -1
- package/dist/project.json +1 -1
- package/dist/sb-addons/docs-1/manager-bundle.js +1 -149
- package/dist/sb-addons/storybook-2/manager-bundle.js +1 -1
- package/dist/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +548 -108
- package/dist/sb-common-assets/favicon-wrapper.svg +46 -0
- package/dist/sb-common-assets/favicon.svg +1 -1
- package/dist/sb-manager/globals-runtime.js +73064 -67182
- package/dist/sb-manager/globals.js +6 -16
- package/dist/sb-manager/manager-stores.js +23 -0
- package/dist/sb-manager/runtime.js +17712 -10309
- package/dist/vite-inject-mocker-entry.js +2 -0
- package/package.json +11 -9
- package/stories/CSSValueInput.stories.tsx +1 -1
- package/stories/DatePicker.stories.tsx +182 -45
- package/stories/InputText.stories.tsx +36 -0
- package/tsconfig.json +1 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/assets/CSSValueInput-BoZriUnh.js +0 -1
- package/dist/assets/CSSValueInput.stories-D1VcYZJ0.js +0 -113
- package/dist/assets/Color-AVL7NMMY-BeW0C7pE.js +0 -1
- package/dist/assets/DatePicker.stories-BSWV31FV.js +0 -244
- package/dist/assets/DocsRenderer-PQXLIZUC-D92GwNti.js +0 -2
- package/dist/assets/Dropdown-D5cyjefk.css +0 -1
- package/dist/assets/Dropdown-DUP_ybXe.js +0 -84
- package/dist/assets/Dropdown.stories-2Wtw1otE.js +0 -336
- package/dist/assets/InputText-Tkbh5amB.css +0 -1
- package/dist/assets/InputText.stories-BYt2Aj0_.js +0 -90
- package/dist/assets/Introduction-nSE2hjmb.js +0 -183
- package/dist/assets/MonthCalendar.stories-IJrL6wIl.js +0 -169
- package/dist/assets/blocks-Du178fXa.js +0 -658
- package/dist/assets/client-B2qWCcIR.js +0 -25
- package/dist/assets/clsx-hXifHU8N.js +0 -9
- package/dist/assets/iframe-ByGa_ItU.js +0 -1102
- package/dist/assets/index-BRXcJgsA.js +0 -1
- package/dist/assets/index-BVajFqaV.js +0 -1
- package/dist/assets/index-DwJ-mRZ2.js +0 -9
- package/dist/assets/jsx-runtime-D_zvdyIk.js +0 -9
- package/dist/assets/react-18-djOrgGe8.js +0 -1
- package/dist/assets/useIsOutOfBounds.stories-e48KZd_G.js +0 -105
- package/dist/assets/useKeyboardEvents.stories-CJbDuGfk.js +0 -3
- package/dist/sb-manager/globals-module-info.js +0 -797
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{E as e,r as t}from"./iframe-BsC6HWDY.js";var n=e=>`control-${e.replace(/\s+/g,`-`)}`,r=e=>`set-${e.replace(/\s+/g,`-`)}`,i=e(t(),1),a=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z`,fill:e}),i.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z`,fill:e}))),o=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z`,fill:e}),i.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z`,fill:e}))),s=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z`,fill:e}))),c=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z`,fill:e}),i.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z`,fill:e}))),l=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z`,fill:e}))),u=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z`,fill:e}),i.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z`,fill:e}))),d=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z`,fill:e}),i.createElement(`path`,{fillRule:`evenodd`,clipRule:`evenodd`,d:`M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z`,fill:e}))),f=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z`,fill:e}),i.createElement(`path`,{d:`M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z`,fill:e}))),p=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z`,fill:e}),i.createElement(`path`,{d:`M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z`,fill:e}))),m=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z`,fill:e}))),h=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z`,fill:e}))),g=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z`,fill:e}))),_=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z`,fill:e}))),v=i.forwardRef(({color:e=`currentColor`,size:t=14,...n},r)=>i.createElement(`svg`,{width:t,height:t,viewBox:`0 0 14 14`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,ref:r,...n},i.createElement(`path`,{d:`M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z`,fill:e})));export{g as a,l as c,v as d,a as f,r as g,n as h,_ as i,p as l,s as m,m as n,c as o,o as p,h as r,f as s,u as t,d as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{E as e,r as t}from"./iframe-BsC6HWDY.js";import{t as n}from"./jsx-runtime-CZwoFFIL.js";import{t as r}from"./compiler-runtime-BOsKKfMw.js";var i=r(),a=e(t(),1),o=n();function s(e){let t=[],n=[],r=e.length,i=0,a=``,o=0,s=``;for(;(o=e.indexOf(`/*`,o))>=0;)i=e.indexOf(`*/`,o+2),i<0&&(i=r),s=e.slice(o+2,i),n.push(s),e=e.slice(0,o+2)+`___PRESERVE_CANDIDATE_COMMENT_`+(n.length-1)+`___`+e.slice(i),o+=2;e=e.replace(/("([^\\"]|\\.|\\)*")|('([^\\']|\\.|\\)*')/g,function(e){let r=e.substring(0,1);if(e=e.slice(1,-1),e.indexOf(`___PRESERVE_CANDIDATE_COMMENT_`)>=0)for(let t=0,r=n.length;t<r;t++)e=e.replace(`___PRESERVE_CANDIDATE_COMMENT_`+t+`___`,n[t]);return t.push(e),r+`___PRESERVED_TOKEN_`+(t.length-1)+`___`+r});for(let r=0,i=n.length;r<i;r+=1){if(s=n[r],a=`___PRESERVE_CANDIDATE_COMMENT_`+r+`___`,s.charAt(0)===`!`){t.push(s),e=e.replace(a,`___PRESERVED_TOKEN_`+(t.length-1)+`___`);continue}e=e.replace(`/*`+a+`*/`,``)}e=e.replace(/\s+/g,` `),e=e.replace(/(^|\})(([^{:])+:)+([^{]*\{)/g,function(e){return e.replace(/:/g,`___PSEUDOCLASSCOLON___`)}),e=e.replace(/calc\s*\(\s*(.*?)\s*\)/g,function(e,t){return e.replace(t,t.replace(/\s+/g,`___SPACE_IN_CALC___`))}),e=e.replace(/\s+([!{};:>+()\],])/g,`$1`),e=e.replace(/___PSEUDOCLASSCOLON___/g,`:`),e=e.replace(/\*\/ /g,`*/`),e=e.replace(/^(.*)(@charset "[^"]*";)/gi,`$2$1`),e=e.replace(/^(\s*@charset [^;]+;\s*)+/gi,`$1`),e=e.replace(/\band\(/gi,`and (`),e=e.replace(/([!{}:;>+([,])\s+/g,`$1`),e=e.replace(/___SPACE_IN_CALC___/g,` `),e=e.replace(/;+\}/g,`}`),e=e.replace(/([\s:])(0)(px|em|%|in|cm|mm|pc|pt|ex)/gi,`$1$2`),e=e.replace(/:0 0 0 0(;|\})/g,`:0$1`),e=e.replace(/:0 0 0(;|\})/g,`:0$1`),e=e.replace(/:0 0(;|\})/g,`:0$1`),e=e.replace(/(background-position|transform-origin):0(;|\})/gi,function(e,t,n){return t.toLowerCase()+`:0 0`+n}),e=e.replace(/(:|\s)0+\.(\d+)/g,`$1.$2`),e=e.replace(/(border|border-top|border-right|border-bottom|border-right|outline|background):none(;|\})/gi,function(e,t,n){return t.toLowerCase()+`:0`+n}),e=e.replace(/[^};{/]+\{\}/g,``),e=e.replace(/;;+/g,`;`);for(let n=0,r=t.length;n<r;n+=1)e=e.replace(`___PRESERVED_TOKEN_`+n+`___`,t[n]);return e.trim()}var c=new Map,l={href:``,referenceCount:0,styles:``};function u(e,t){let n=(0,i.c)(13),r;n[0]!==t||n[1]!==e?(r=()=>{if(!e)return l;let n=t??e,r=c.get(n);if(r)r.referenceCount+=1;else{let i=s(e);r={href:d(t??i),referenceCount:1,styles:i},c.set(n,r)}return r},n[0]=t,n[1]=e,n[2]=r):r=n[2];let[o,u]=(0,a.useState)(r),f;n[3]!==t||n[4]!==e?(f=n=>{if(c.get(n))return;let r=s(e),i={href:d(t??r),referenceCount:1,styles:r};c.set(n,i),u(i)},n[3]=t,n[4]=e,n[5]=f):f=n[5];let p=(0,a.useEffectEvent)(f),m;n[6]!==p||n[7]!==t||n[8]!==e?(m=()=>{if(e)return p(t??e),()=>{let t=c.get(e);t&&(--t.referenceCount,t.referenceCount||c.delete(e))}},n[6]=p,n[7]=t,n[8]=e,n[9]=m):m=n[9];let h;return n[10]!==t||n[11]!==e?(h=[t,e],n[10]=t,n[11]=e,n[12]=h):h=n[12],(0,a.useEffect)(m,h),o}function d(e){return e.replace(/[- ]/g,``)}var f=e=>{let t=(0,i.c)(4),{children:n,href:r,precedence:a}=e,s=a===void 0?`medium`:a,{href:c,styles:l}=u(n,r),d;return t[0]!==c||t[1]!==s||t[2]!==l?(d=(0,o.jsx)(`style`,{href:c,precedence:s,children:l}),t[0]=c,t[1]=s,t[2]=l,t[3]=d):d=t[3],d},p=`-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif`;export{f as n,p as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as e,s as t,x as n}from"./iframe-BsC6HWDY.js";var r=(0,n(e(),1).default)(2)(async(e,n)=>e===!1?n:t(n));export{r as formatter};
|