Skip to content

Commit

Permalink
deploy: b6a6592
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-AI-cybersec committed Oct 28, 2024
1 parent 5880940 commit b98a0a5
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 16 deletions.

Large diffs are not rendered by default.

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

27 changes: 27 additions & 0 deletions assets/Tooltip.stories-Cr78zBvb.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import{j as s}from"./jsx-runtime-CKrituN3.js";import{u as l}from"./styled-components.browser.esm-Bk0Pcr2r.js";import"./index-CBqU2yxZ.js";import"./_commonjsHelpers-BosuxZz1.js";const e=l.div`
position: relative;
display: inline-block;
`,c=l.div`
visibility: hidden;
width: 120px;
background-color: ${({theme:o})=>{var t;return((t=o==null?void 0:o.colors)==null?void 0:t.tooltipBg)||"#555"}};
color: ${({theme:o})=>{var t;return((t=o==null?void 0:o.colors)==null?void 0:t.tooltipText)||"#fff"}};
text-align: center;
padding: ${({theme:o})=>{var t;return((t=o==null?void 0:o.spacing)==null?void 0:t.xs)||"5px"}};
border-radius: ${({theme:o})=>{var t;return((t=o==null?void 0:o.borderRadius)==null?void 0:t.sm)||"6px"}};
position: absolute;
z-index: 1;
bottom: 20%;
left: 50%;
margin-left: -60px;
opacity: 0;
transition: opacity 0.3s;
${e}:hover & {
visibility: visible;
opacity: 1;
}
`,r=({text:o,tooltip:t})=>s.jsxs(e,{children:[" ",o," ",s.jsx(c,{children:t})," "]});try{r.displayName="Tooltip",r.__docgenInfo={description:"",displayName:"Tooltip",props:{text:{defaultValue:null,description:"",name:"text",required:!0,type:{name:"string"}},tooltip:{defaultValue:null,description:"",name:"tooltip",required:!0,type:{name:"string"}}}}}catch{}const y={title:"Components/Tooltip",component:r},d={text:"Hover over me",tooltip:"This is a tooltip"},i={args:{...d}};var a,n,p;i.parameters={...i.parameters,docs:{...(a=i.parameters)==null?void 0:a.docs,source:{originalSource:`{
args: {
...defaultProps
}
}`,...(p=(n=i.parameters)==null?void 0:n.docs)==null?void 0:p.source}}};const _=["Default"];export{i as Default,_ as __namedExportsOrder,y as default};
4 changes: 2 additions & 2 deletions assets/iframe-BmTil_4X.js → assets/iframe-C7YVmbqb.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions assets/index-av9VnBMj.js → assets/index-D8DtZKZw.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/index-Bnwoj-PN.js → assets/index-DKJOc01e.js

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

2 changes: 1 addition & 1 deletion assets/preview-B4YI11UD.js → assets/preview-C4wKxRuU.js

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

2 changes: 1 addition & 1 deletion assets/preview-DuhkJI4C.js → assets/preview-CYnKJNy_.js

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

4 changes: 2 additions & 2 deletions assets/preview-Co3UfiSb.js → assets/preview-iP5MXL_F.js

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

2 changes: 1 addition & 1 deletion iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@
}
</style>

<script type="module" crossorigin src="./assets/iframe-BmTil_4X.js"></script>
<script type="module" crossorigin src="./assets/iframe-C7YVmbqb.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion index.json

Large diffs are not rendered by default.

Loading

0 comments on commit b98a0a5

Please sign in to comment.