impact-ui 4.0.2-alpha.4 → 4.0.2
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/dist/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index15.js +2 -2
- package/dist/_virtual/index16.js +2 -2
- package/dist/_virtual/index2.js +2 -2
- package/dist/_virtual/index3.js +2 -4
- package/dist/_virtual/index4.js +3 -3
- package/dist/_virtual/index5.js +4 -2
- package/dist/components/AccordionModern/index.js +1 -1
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Breadcrumbs/index.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Chart/index.d.ts +1 -4
- package/dist/components/Chart/index.d.ts.map +1 -1
- package/dist/components/Chart/index.js +3 -15
- package/dist/components/Chatbot/index.js +1 -1
- package/dist/components/Chips/index.js +1 -1
- package/dist/components/CommentsPanel/CommentsPanel.impl.js +1 -1
- package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts +10 -4
- package/dist/components/CreateItemFlow/CreateItemFlow.types.d.ts.map +1 -1
- package/dist/components/CreateItemFlow/index.d.ts +3 -15
- package/dist/components/CreateItemFlow/index.d.ts.map +1 -1
- package/dist/components/CreateItemFlow/index.js +132 -52
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/DateRangePicker/index.js +1 -1
- package/dist/components/DynamicLayout/index.d.ts +9 -12
- package/dist/components/DynamicLayout/index.d.ts.map +1 -1
- package/dist/components/DynamicLayout/index.js +37 -29
- package/dist/components/FileUpload/index.js +1 -1
- package/dist/components/FilterPanel/index.js +1 -1
- package/dist/components/FiltersStrip/FilterSlider.js +1 -1
- package/dist/components/FiltersStrip/index.js +1 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +1 -1
- package/dist/components/KeyboardShortCuts/ShortcutModal.js +1 -1
- package/dist/components/KeyboardShortCuts/allSetBox.js +1 -1
- package/dist/components/KeyboardShortCuts/index.js +1 -1
- package/dist/components/KeyboardShortCuts/tutorial.js +1 -1
- package/dist/components/Loader/Loader.types.d.ts +3 -3
- package/dist/components/Loader/Loader.types.d.ts.map +1 -1
- package/dist/components/Loader/index.d.ts.map +1 -1
- package/dist/components/Loader/index.js +2 -4
- package/dist/components/Menu/IconMenuItem.js +1 -1
- package/dist/components/Menu/NestedMenuItem.js +1 -1
- package/dist/components/Menu/index.js +1 -1
- package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/MonthPicker/index.js +1 -1
- package/dist/components/MonthRangePicker/index.js +1 -1
- package/dist/components/Panel/index.js +1 -1
- package/dist/components/Popover/index.js +1 -1
- package/dist/components/Prompt/index.js +1 -1
- package/dist/components/Select/Select.types.d.ts +2 -2
- package/dist/components/Select/Select.types.d.ts.map +1 -1
- package/dist/components/Select/dropdown.d.ts.map +1 -1
- package/dist/components/Select/dropdown.js +1 -9
- package/dist/components/Select/index.d.ts.map +1 -1
- package/dist/components/Select/index.js +4 -3
- package/dist/components/Stepper/index.js +1 -1
- package/dist/components/Table/AgGridHeader.d.ts.map +1 -1
- package/dist/components/Table/AgGridHeader.js +20 -28
- package/dist/components/Table/index.js +1 -1
- package/dist/components/TableChat/EmptyContainer.js +1 -1
- package/dist/components/TableChat/TableChatSidePanel.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
- package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
- package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +1 -1
- package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
- package/dist/components/TableChat/components/TextEditor/Mention.js +1 -1
- package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
- package/dist/components/TableOld/AgGridHeader.d.ts.map +1 -1
- package/dist/components/TableOld/AgGridHeader.js +13 -33
- package/dist/components/TableOld/index.js +1 -1
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/TextArea/index.js +1 -1
- package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
- package/dist/components/common/MentionEditor/index.js +1 -1
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +0 -3
- package/dist/mcp-component-registry.json +1 -1
- package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
- package/dist/node_modules/call-bind/index.js +1 -1
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/is-symbol/index.js +1 -1
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-with-styles-interface-css/dist/index.js +1 -1
- package/dist/styles/style.css +1 -1
- package/dist/utils/helper.d.ts +0 -1
- package/dist/utils/helper.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/components/Chart/ChartSkeleton.d.ts +0 -23
- package/dist/components/Chart/ChartSkeleton.d.ts.map +0 -1
- package/dist/components/Chart/ChartSkeleton.js +0 -171
- package/dist/components/Skeleton/Skeleton.types.d.ts +0 -39
- package/dist/components/Skeleton/Skeleton.types.d.ts.map +0 -1
- package/dist/components/Skeleton/index.d.ts +0 -13
- package/dist/components/Skeleton/index.d.ts.map +0 -1
- package/dist/components/Skeleton/index.js +0 -94
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var i=document.createElement("style");i.appendChild(document.createTextNode(".MuiChip-root.impact-tag{border:1px solid #b3bdf8;color:#60697d}.MuiChip-root.impact-tag:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.MuiChip-root.impact-tag:focus:not(:focus-visible){box-shadow:none;outline:none}.MuiChip-root.impact-tag.Mui-focusVisible{background:#eceefd}.MuiChip-root.impact-tag .MuiSvgIcon-root{color:#60697d;margin-left:10px;margin-right:-9px;width:16px}.MuiChip-root.impact-tag .MuiChip-deleteIcon{background-position:50%;background-size:16px;margin-left:-5px;margin-right:10px}.MuiChip-root.impact-tag-solid{background:#eceefd;border:none;border-radius:8px;color:#1f2b4d}.MuiChip-root.impact-tag-solid:hover{background:#eceefd}.MuiChip-root.impact-tag:hover{background:#fff;border:1px solid #b3bdf8;box-shadow:0 0 4px #0000001f}.MuiChip-root.impact-tag.MuiChip-outlined{background-color:#fff;border:1px solid #b3bdf8}.impact-tag-large{height:32px!important}.impact-tag-large .MuiChip-label{font-size:14px;font-weight:500;line-height:18px}.impact-tag-medium{height:24px!important}.impact-tag-medium .MuiChip-label{font-size:14px;line-height:20px}.impact-tag-small{height:22px!important}.impact-tag-small .MuiChip-label{font-size:12px;line-height:15px}.active_tags{background:#ff0}")),document.head.appendChild(i)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef } from "react";
|
|
4
4
|
import FilledTags from "./filled.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(".impact_textarea_label{color:#60697d;font-size:12px;padding-bottom:6px}.impact_textarea{margin-top:6px}.impact_textarea textarea{border:1px solid #d9dde7;border-radius:8px;min-height:100px;min-width:240px;padding:12px;position:relative;resize:none}.impact_textarea textarea:focus-visible{box-shadow:0 0 0 var(--ia-focus-ring-offset,2px) var(--ia-focus-bg,#fff),0 0 0 calc(var(--ia-focus-ring-offset, 2px) + var(--ia-focus-ring-width, 2px)) var(--ia-focus-color,#4259ee);outline:none;transition:box-shadow .15s ease-in-out}.impact_textarea textarea:focus:not(:focus-visible){box-shadow:none;outline:none}.impact_textarea textarea:focus,.impact_textarea textarea:hover{border:1px solid #4259ee;outline:none}.impact_textarea_btm_container{display:flex;justify-content:space-between;margin-top:6px}.impact_textarea_btm_container .left_secondary_label_container,.impact_textarea_btm_container .right_numeric_container{color:#5f6673;font-size:10px}.impact_textarea_disabled .impact_textarea_label{color:#b4bac7}.impact_textarea_disabled textarea{background:#f8f9fb;color:#d9dde7;pointer-events:none}.impact_textarea_disabled .impact_textarea_btm_container .left_secondary_label_container{color:#b4bac7;text-align:start}.impact_textarea_disabled .impact_textarea_btm_container .right_numeric_container{color:#b4bac7}.impact_textarea_error textarea{color:#ab3939}textarea{font-family:Manrope,sans-serif!important}.impact_textarea_disabled textarea::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#b4bac7}.impact_textarea_error .left_secondary_label_container,.impact_textarea_error .right_numeric_container{color:#ab3939}.impact_textarea_error textarea,.impact_textarea_error textarea:focus,.impact_textarea_error textarea:hover{border:1px solid #ec4c5c}.impact_textarea_error textarea{background:url(https://impact-kit.devs.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/material-symbols_error.svg) no-repeat;background-position:top 12px right 12px;background-size:16px;padding-right:34px}.impact_textarea_success textarea{background:url(https://impact-kit.devs.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/success-icon.svg) no-repeat;background-position:top 12px right 12px;background-size:16px;padding-right:34px}.impact_textarea_success textarea,.impact_textarea_success textarea:focus,.impact_textarea_success textarea:hover{border:1px solid #108431}.impact_textarea_success .left_secondary_label_container,.impact_textarea_success .right_numeric_container{color:#26734b}.impact_textarea_warning textarea{background:url(https://impact-kit.devs.iaproducts.ai/api/v1/files/uploads/impact-ui/prod/icons/warning-fill.svg) no-repeat;background-position:top 12px right 12px;background-size:16px;border:1px solid #ffe174;padding-right:34px}.impact_textarea_warning textarea:focus,.impact_textarea_warning textarea:hover{border:1px solid #ffe174}.impact_textarea_warning .left_secondary_label_container,.impact_textarea_warning .right_numeric_container{color:#9d831c}.impact_textarea textarea::placeholder{color:#b4bac7;font-weight:400;transition:font-weight .2s ease}.impact_textarea_disabled textarea::placeholder{color:#b4bac7}.impact_textarea textarea:focus::placeholder{color:#0000}")),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { useState } from "react";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode(':root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.dropdown-menu{background:#fff;border-radius:8px;display:flex;flex-direction:column;max-height:250px;min-width:180px;overflow:auto;padding:8px;position:relative}.dropdown-menu .mention-item{align-items:center;background-color:initial;border:none;border-radius:4px;color:#0d152c;cursor:pointer;display:flex;font-size:14px;gap:12px;padding:8px 12px;text-align:left;transition:all .2s ease;width:100%}.dropdown-menu .mention-item .mention-avatar{align-items:center;display:flex;justify-content:center}.dropdown-menu .mention-item .mention-info{display:flex;flex:1;flex-direction:column;gap:2px}.dropdown-menu .mention-item .mention-name{font-weight:400;line-height:1.2}.dropdown-menu .mention-item .mention-status{font-size:11px;font-weight:400;line-height:1;opacity:.7;text-transform:capitalize}.dropdown-menu .mention-item .mention-status.online{color:#22c55e}.dropdown-menu .mention-item .mention-status.offline{color:#b4bac7}.dropdown-menu .mention-item:hover,.dropdown-menu .mention-item:hover.is-selected{background-color:#f5f5f5}.dropdown-menu .mention-item.is-selected{background-color:#f0f0f0;font-weight:500}.dropdown-menu .mention-item:focus{box-shadow:0 0 0 2px #4259ee33;outline:none}.dropdown-menu .item{color:#b4bac7;font-size:14px;padding:8px 12px;text-align:center}.dropdown-menu .mention-loading{align-items:center;color:#b4bac7;display:flex;font-size:14px;gap:8px;padding:12px;text-align:center}.dropdown-menu .mention-loading .loading-spinner{animation:spin 1s linear infinite;border:2px solid #f5f5f5;border-radius:50%;border-top-color:#4259ee;height:16px;width:16px}.dropdown-menu .mention-error{color:#ef4444;font-size:14px;padding:12px;text-align:center}.dropdown-menu .mention-no-result{color:#b4bac7;font-size:14px;padding:12px;text-align:center}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.dropdown-menu::-webkit-scrollbar{width:6px}.dropdown-menu::-webkit-scrollbar-track{background:#f5f5f5;border-radius:3px}.dropdown-menu::-webkit-scrollbar-thumb{background:#d4d4d4;border-radius:3px}.dropdown-menu::-webkit-scrollbar-thumb:hover{background:#c7c7c7}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
import { forwardRef, useState, useEffect, useImperativeHandle } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var t=document.createElement("style");t.appendChild(document.createTextNode(':root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}.ProseMirror-focused{outline:none}.tiptap :first-child{margin-top:0}.tiptap p{margin:0;word-wrap:break-word;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}.tiptap h1{font-size:2em;margin:1em 0 .5em}.tiptap h1,.tiptap h2{color:#1a202c;font-weight:600}.tiptap h2{font-size:1.5em;margin:.83em 0 .5em}.tiptap h3{color:#1a202c;font-size:1.17em;font-weight:600;margin:.67em 0 .5em}.tiptap h4{font-size:1em}.tiptap h4,.tiptap h5{color:#1a202c;font-weight:600;margin:.5em 0}.tiptap h5{font-size:.83em}.tiptap h6{color:#1a202c;font-size:.67em;margin:.5em 0}.tiptap h6,.tiptap strong{font-weight:600}.tiptap em{font-style:italic}.tiptap s{color:#666;text-decoration:line-through;text-decoration-thickness:.1em}.tiptap .highlight{background-color:#fef3c7!important}.tiptap .highlight,.tiptap mark{border-radius:4px;margin:0 2px;padding:2px 4px}.tiptap mark{background-color:#fef3c7}.tiptap a{border-bottom:1px solid #2b6cb0;color:#2b6cb0;text-decoration:none;transition:all .2s ease}.tiptap a:hover{border-bottom-color:#1a4971;color:#1a4971}.tiptap img{border-radius:4px;height:auto;margin:.5em 0;max-width:100%}.tiptap .mention{background-color:#f0f4f8;border-radius:4px;-webkit-box-decoration-break:clone;box-decoration-break:clone;color:#2b6cb0;font-weight:500;padding:2px 6px;text-decoration:none;transition:background-color .2s ease;white-space:nowrap}.tiptap .mention:hover{background-color:#e2e8f0;cursor:pointer}.tiptap .is-active{background-color:#f0f4f8}.tiptap ol,.tiptap ul{margin:.5em 0;padding-left:1.2em}.tiptap ol li,.tiptap ul li{line-height:1.2;margin:.2em 0;padding-left:0}.tiptap ol li p,.tiptap ul li p{display:inline-block;margin:0}.tiptap ul li{list-style-type:disc}.tiptap ol li{list-style-type:decimal}.tiptap ol ol,.tiptap ol ul,.tiptap ul ol,.tiptap ul ul{margin:.2em 0 .2em .5em}.tiptap ul ul li{list-style-type:circle}.tiptap ul ul ul li{list-style-type:square}.tiptap ol ol li{list-style-type:lower-alpha}.tiptap ol ol ol li{list-style-type:lower-roman}.tiptap ol[data-type=orderedList] li,.tiptap ul[data-type=bulletList] li{position:relative}.tiptap ol[data-type=orderedList] li:before,.tiptap ul[data-type=bulletList] li:before{border-radius:50%;content:"";height:4px;left:-1em;position:absolute;top:50%;transform:translateY(-50%);width:4px}.tiptap .highlight{background-color:#fef3c7;border-radius:2px;padding:0 2px}.tiptap code{background-color:#f7fafc;border-radius:4px;font-family:monospace;padding:.2em .4em}.tiptap blockquote{border-left:3px solid #e2e8f0;color:#4a5568;margin:.5em 0;padding-left:1em}.character-count{align-items:center;color:var(--gray-5);display:flex;font-size:.75rem;gap:.5rem;margin:1.5rem}.character-count svg{color:var(--purple)}.character-count--warning,.character-count--warning svg{color:var(--red)}.tiptap-editor{background:#0000;border:none;color:#1f2b4d;flex:1;font-family:Manrope,sans-serif;font-size:14px;font-weight:400;line-height:160%;max-height:130px;min-height:20px;outline:none;overflow-y:auto;padding:0;resize:none;transition:all .2s ease-in-out;width:100%}.tiptap-editor::placeholder{color:#b4bac7}.tiptap-editor .ProseMirror{max-height:100px;min-height:40px;outline:none;overflow-y:auto;padding:0!important;word-wrap:break-word}.tiptap-editor .ProseMirror::-webkit-scrollbar{width:4px}.tiptap-editor .ProseMirror::-webkit-scrollbar-track{background:#0000}.tiptap-editor .ProseMirror::-webkit-scrollbar-thumb{background:#0003;border-radius:2px}.tiptap-editor .ProseMirror::-webkit-scrollbar-thumb:hover{background:#0000004d}.single-line .tiptap{line-height:24px}')),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}}();
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
import { forwardRef, useEffect, useImperativeHandle } from "react";
|
|
@@ -76,8 +76,6 @@ export { Header } from './Header';
|
|
|
76
76
|
export type { HeaderProps, HeaderDropMenuOption } from './Header/Header.types';
|
|
77
77
|
export { Loader } from './Loader';
|
|
78
78
|
export type { LoaderProps, LoaderSize } from './Loader/Loader.types';
|
|
79
|
-
export { Skeleton, getShimmerClass } from './Skeleton';
|
|
80
|
-
export type { SkeletonProps, SkeletonVariant, ShimmerDirection, CssSize, } from './Skeleton/Skeleton.types';
|
|
81
79
|
export { Menu, MenuHeaderInfo } from './Menu';
|
|
82
80
|
export type { MenuProps, MenuOption } from './Menu/Menu.types';
|
|
83
81
|
export type { MenuHeaderInfoProps } from './Menu/MenuHeaderInfo.types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAGA,YAAY,EACV,kBAAkB,EAClB,IAAI,EACJ,OAAO,EACP,UAAU,EACV,SAAS,EACT,kBAAkB,GACnB,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,YAAY,EACV,cAAc,EACd,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,eAAe,EAAE,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BAAiB,EACjB,mBAAmB,EACnB,MAAM,EACN,QAAQ,EACR,aAAa,EACb,SAAS,EACT,YAAY,EACZ,gBAAgB,GACjB,MAAM,SAAS,CAAC"}
|
package/dist/components/index.js
CHANGED
|
@@ -38,7 +38,6 @@ import { FileUpload } from "./FileUpload/index.js";
|
|
|
38
38
|
import { FILE_TYPE_MIME_MAP, SIZE_CONVENTIONS } from "./FileUpload/FileUpload.types.js";
|
|
39
39
|
import { Header } from "./Header/index.js";
|
|
40
40
|
import { Loader } from "./Loader/index.js";
|
|
41
|
-
import { Skeleton, getShimmerClass } from "./Skeleton/index.js";
|
|
42
41
|
import { Menu } from "./Menu/index.js";
|
|
43
42
|
import { ProgressBar } from "./ProgressBar/index.js";
|
|
44
43
|
import { CreateItemFlow } from "./CreateItemFlow/index.js";
|
|
@@ -146,7 +145,6 @@ export {
|
|
|
146
145
|
ShortcutsConfigContext,
|
|
147
146
|
ShortcutsProvider,
|
|
148
147
|
Sidebar,
|
|
149
|
-
Skeleton,
|
|
150
148
|
Slider,
|
|
151
149
|
Stepper,
|
|
152
150
|
Switch,
|
|
@@ -161,7 +159,6 @@ export {
|
|
|
161
159
|
default3 as enUS,
|
|
162
160
|
formatShortcutDisplay,
|
|
163
161
|
getAssetUrl,
|
|
164
|
-
getShimmerClass,
|
|
165
162
|
isMac,
|
|
166
163
|
normalizeKey,
|
|
167
164
|
normalizeShortcutString,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __exports as colorManipulator } from "../../../_virtual/colorManipulator.js";
|
|
2
2
|
import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
|
|
3
|
-
import require$$1 from "../../../_virtual/
|
|
4
|
-
import require$$2 from "../../../_virtual/
|
|
3
|
+
import require$$1 from "../../../_virtual/index4.js";
|
|
4
|
+
import require$$2 from "../../../_virtual/index5.js";
|
|
5
5
|
var _interopRequireDefault = require$$0;
|
|
6
6
|
Object.defineProperty(colorManipulator, "__esModule", {
|
|
7
7
|
value: true
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as callBind } from "../../_virtual/
|
|
1
|
+
import { __module as callBind } from "../../_virtual/index15.js";
|
|
2
2
|
import { __require as requireSetFunctionLength } from "../set-function-length/index.js";
|
|
3
3
|
import { __require as requireEsDefineProperty } from "../es-define-property/index.js";
|
|
4
4
|
import { __require as requireCallBindApplyHelpers } from "../call-bind-apply-helpers/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as reactIs } from "../../../../_virtual/
|
|
1
|
+
import { __module as reactIs } from "../../../../_virtual/index13.js";
|
|
2
2
|
import { __require as requireReactIs_production_min } from "./cjs/react-is.production.min.js";
|
|
3
3
|
import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
|
|
4
4
|
if (process.env.NODE_ENV === "production") {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as isSymbol } from "../../_virtual/
|
|
1
|
+
import { __module as isSymbol } from "../../_virtual/index16.js";
|
|
2
2
|
import { __require as requireCallBound } from "../call-bound/index.js";
|
|
3
3
|
import { __require as requireHasSymbols } from "../has-symbols/index.js";
|
|
4
4
|
import { __require as requireSafeRegexTest } from "../safe-regex-test/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getDefaultExportFromCjs } from "../../_virtual/_commonjsHelpers.js";
|
|
2
|
-
import { __module as propTypes } from "../../_virtual/
|
|
2
|
+
import { __module as propTypes } from "../../_virtual/index3.js";
|
|
3
3
|
import { __require as requireReactIs } from "./node_modules/react-is/index.js";
|
|
4
4
|
import { __require as requireFactoryWithTypeCheckers } from "./factoryWithTypeCheckers.js";
|
|
5
5
|
import { __require as requireFactoryWithThrowingShims } from "./factoryWithThrowingShims.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as reactIs } from "../../_virtual/
|
|
1
|
+
import { __module as reactIs } from "../../_virtual/index2.js";
|
|
2
2
|
import { __require as requireReactIs_production } from "./cjs/react-is.production.js";
|
|
3
3
|
import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
|
|
4
4
|
if (process.env.NODE_ENV === "production") {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as dist } from "../../../_virtual/
|
|
1
|
+
import { __exports as dist } from "../../../_virtual/index14.js";
|
|
2
2
|
import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
|
|
3
3
|
import { __require as requireArray_prototype_flat } from "../../array.prototype.flat/index.js";
|
|
4
4
|
import { __require as requireGlobalCache } from "../../global-cache/index.js";
|
package/dist/styles/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
:root{--ia-focus-color:#4259ee;--ia-focus-bg:#fff;--ia-focus-ring-width:2px;--ia-focus-ring-offset:2px}*,:after,:before{box-sizing:border-box}body,textarea{font-style:normal;font-weight:500}a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{border:0;font-size:100%;font:inherit;margin:0;padding:0;vertical-align:initial}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:"";content:none}table{border-collapse:collapse;border-spacing:0}body{font-family:Manrope,sans-serif}.impact-notification-separator{background-color:#d9dde7;display:inline-block;height:16px;width:1.5px}.impact-notification-horizontal-separator{background-color:#d9dde7;display:inline-block;height:1px;width:100%}ul.storybook-order-list{list-style-type:disc;padding-left:12px}ul.storybook-order-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-list li strong{font-weight:800}ul.storybook-order-child-list{list-style-type:circle;padding-left:20px}ul.storybook-order-child-list li{font-size:12px;line-height:20px;padding-bottom:8px}ul.storybook-order-child-list li strong{font-weight:800}
|
package/dist/utils/helper.d.ts
CHANGED
|
@@ -16,7 +16,6 @@ export interface ColumnDefinition {
|
|
|
16
16
|
children?: ColumnDefinition[];
|
|
17
17
|
advanceSearchEnabled?: boolean;
|
|
18
18
|
isSearchable?: boolean;
|
|
19
|
-
inputProps?: Record<string, unknown>;
|
|
20
19
|
columnFieldsInAdvanceSearch?: string[];
|
|
21
20
|
toShowDuplicateColumnInAdvanceSearch?: boolean;
|
|
22
21
|
extra_params?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../src/utils/helper.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,YAAa,SAAQ,YAAY;IAChD,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,MAAM,CAAC;CAClC;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC9B,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,
|
|
1
|
+
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../src/utils/helper.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,YAAa,SAAQ,YAAY;IAChD,IAAI,EAAE,MAAM,GAAG,QAAQ,GAAG,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,gBAAgB,GAAI,SAAS,gBAAgB,EAAE,KAAG,YAAY,EAS1E,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,SAAS,gBAAgB,EAAE,KAAG,wBAAwB,EAGvF,CAAC;AAEF;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,aAAa,EAAE,MAAM,EAAE,GAAG,OAAO,CAUpE;AAED;;GAEG;AACH,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,UAAU,EACtB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,MAAM,EAAE,EAC1B,MAAM,EAAE,WAAW,EAAE,GACpB,OAAO,CAgBT;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,EAClB,gBAAgB,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAC3C,cAAc,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,EAC1C,iBAAiB,EAAE,SAAS,EAAE,EAC9B,WAAW,GAAE,IAAI,CAAC,SAAS,EAAE,UAAU,GAAG,UAAU,CAAC,GAAG,IAAW,EACnE,2BAA2B,UAAQ,GAClC,OAAO,CAwBT;AAED;;;GAGG;AACH,eAAO,MAAM,WAAW,GAAI,KAAK,MAAM,KAAG,MAM7B,CAAC;AAEd;;;GAGG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,MAAM,CASvE"}
|
package/package.json
CHANGED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ShimmerDirection } from '../Skeleton';
|
|
2
|
-
|
|
3
|
-
export type ChartShimmerDirection = ShimmerDirection | 'auto';
|
|
4
|
-
export interface ChartSkeletonProps {
|
|
5
|
-
/** Chart type used to pick the skeleton layout and default shimmer direction. */
|
|
6
|
-
graphType?: string;
|
|
7
|
-
/** Optional fixed height for the skeleton plot area. */
|
|
8
|
-
height?: string | number | null;
|
|
9
|
-
/**
|
|
10
|
-
* Skeleton shimmer direction. `auto` picks by chart type
|
|
11
|
-
* (column→btt, bar/line→ltr, pie→circular).
|
|
12
|
-
* @default 'auto'
|
|
13
|
-
*/
|
|
14
|
-
shimmerDirection?: ChartShimmerDirection;
|
|
15
|
-
}
|
|
16
|
-
/** Default shimmer direction per chart type when `shimmerDirection` is `auto`. */
|
|
17
|
-
export declare const getDefaultShimmerDirection: (graphType?: string) => ShimmerDirection;
|
|
18
|
-
export declare function ChartSkeleton({ graphType, height, shimmerDirection, }: ChartSkeletonProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
export declare namespace ChartSkeleton {
|
|
20
|
-
var displayName: string;
|
|
21
|
-
}
|
|
22
|
-
export default ChartSkeleton;
|
|
23
|
-
//# sourceMappingURL=ChartSkeleton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChartSkeleton.d.ts","sourceRoot":"","sources":["../../../src/components/Chart/ChartSkeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAOpD,MAAM,MAAM,qBAAqB,GAAG,gBAAgB,GAAG,MAAM,CAAC;AAE9D,MAAM,WAAW,kBAAkB;IACjC,iFAAiF;IACjF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;CAC1C;AAED,kFAAkF;AAClF,eAAO,MAAM,0BAA0B,GAAI,YAAY,MAAM,KAAG,gBA+B/D,CAAC;AAmLF,wBAAgB,aAAa,CAAC,EAC5B,SAAoB,EACpB,MAAa,EACb,gBAAyB,GAC1B,EAAE,kBAAkB,2CASpB;yBAbe,aAAa;;;AAiB7B,eAAe,aAAa,CAAC"}
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Skeleton } from "../Skeleton/index.js";
|
|
3
|
-
const COLUMN_BAR_HEIGHTS = [45, 70, 55, 85, 40, 65, 75, 50, 60, 90];
|
|
4
|
-
const BAR_WIDTHS = [92, 78, 88, 64, 72];
|
|
5
|
-
const LINE_BAR_WIDTHS = [88, 72, 80, 58];
|
|
6
|
-
const LEGEND_WIDTHS = [64, 80, 56];
|
|
7
|
-
const getDefaultShimmerDirection = (graphType) => {
|
|
8
|
-
const type = (graphType || "column").toLowerCase();
|
|
9
|
-
if (type === "column" || type === "waterfall" || type === "candlestick" || type === "heatmap" || type === "treemap") {
|
|
10
|
-
return "btt";
|
|
11
|
-
}
|
|
12
|
-
if (type === "bar") {
|
|
13
|
-
return "ltr";
|
|
14
|
-
}
|
|
15
|
-
if (type === "pie" || type === "semidonut" || type === "venn" || type === "bubble" || type === "packedbubble" || type === "scatter" || type === "scatter3d") {
|
|
16
|
-
return "circular";
|
|
17
|
-
}
|
|
18
|
-
return "ltr";
|
|
19
|
-
};
|
|
20
|
-
const resolveShimmerDirection = (shimmerDirection, graphType) => {
|
|
21
|
-
if (shimmerDirection && shimmerDirection !== "auto") {
|
|
22
|
-
return shimmerDirection;
|
|
23
|
-
}
|
|
24
|
-
return getDefaultShimmerDirection(graphType);
|
|
25
|
-
};
|
|
26
|
-
const AxisFrame = ({ children, orientation = "column", direction }) => /* @__PURE__ */ jsxs("div", { className: `chart-skeleton-plot chart-skeleton-plot--${orientation}`, children: [
|
|
27
|
-
/* @__PURE__ */ jsx(
|
|
28
|
-
Skeleton,
|
|
29
|
-
{
|
|
30
|
-
borderRadius: 0,
|
|
31
|
-
className: "chart-skeleton-axis chart-skeleton-axis--y",
|
|
32
|
-
direction,
|
|
33
|
-
height: "100%",
|
|
34
|
-
variant: "rectangular",
|
|
35
|
-
width: 2
|
|
36
|
-
}
|
|
37
|
-
),
|
|
38
|
-
/* @__PURE__ */ jsxs("div", { className: "chart-skeleton-plot-inner", children: [
|
|
39
|
-
/* @__PURE__ */ jsx("div", { className: "chart-skeleton-bars", children }),
|
|
40
|
-
/* @__PURE__ */ jsx(
|
|
41
|
-
Skeleton,
|
|
42
|
-
{
|
|
43
|
-
borderRadius: 0,
|
|
44
|
-
className: "chart-skeleton-axis chart-skeleton-axis--x",
|
|
45
|
-
direction,
|
|
46
|
-
height: 2,
|
|
47
|
-
variant: "rectangular",
|
|
48
|
-
width: "100%"
|
|
49
|
-
}
|
|
50
|
-
)
|
|
51
|
-
] })
|
|
52
|
-
] });
|
|
53
|
-
const ColumnSkeleton = ({ direction }) => /* @__PURE__ */ jsx(AxisFrame, { direction, orientation: "column", children: COLUMN_BAR_HEIGHTS.map((height, index) => /* @__PURE__ */ jsx(
|
|
54
|
-
Skeleton,
|
|
55
|
-
{
|
|
56
|
-
borderRadius: 8,
|
|
57
|
-
className: "chart-skeleton-bar chart-skeleton-bar--column",
|
|
58
|
-
direction,
|
|
59
|
-
height: `${height}%`,
|
|
60
|
-
variant: "pill",
|
|
61
|
-
width: "auto"
|
|
62
|
-
},
|
|
63
|
-
`column-bar-${index}`
|
|
64
|
-
)) });
|
|
65
|
-
const BarSkeleton = ({ direction }) => /* @__PURE__ */ jsx(AxisFrame, { direction, orientation: "bar", children: BAR_WIDTHS.map((width, index) => /* @__PURE__ */ jsx(
|
|
66
|
-
Skeleton,
|
|
67
|
-
{
|
|
68
|
-
className: "chart-skeleton-bar chart-skeleton-bar--bar",
|
|
69
|
-
direction,
|
|
70
|
-
height: 14,
|
|
71
|
-
variant: "pill",
|
|
72
|
-
width: `${width}%`
|
|
73
|
-
},
|
|
74
|
-
`bar-${index}`
|
|
75
|
-
)) });
|
|
76
|
-
const LineSkeleton = ({ direction }) => /* @__PURE__ */ jsx(AxisFrame, { direction, orientation: "line", children: LINE_BAR_WIDTHS.map((width, index) => /* @__PURE__ */ jsx(
|
|
77
|
-
Skeleton,
|
|
78
|
-
{
|
|
79
|
-
className: "chart-skeleton-bar chart-skeleton-bar--line",
|
|
80
|
-
direction,
|
|
81
|
-
height: 14,
|
|
82
|
-
variant: "pill",
|
|
83
|
-
width: `${width}%`
|
|
84
|
-
},
|
|
85
|
-
`line-bar-${index}`
|
|
86
|
-
)) });
|
|
87
|
-
const DonutSkeleton = ({
|
|
88
|
-
direction,
|
|
89
|
-
variant = "donut"
|
|
90
|
-
}) => {
|
|
91
|
-
const isSemi = variant === "semidonut";
|
|
92
|
-
return /* @__PURE__ */ jsxs("div", { className: "chart-skeleton-plot chart-skeleton-plot--circular", children: [
|
|
93
|
-
/* @__PURE__ */ jsx(
|
|
94
|
-
Skeleton,
|
|
95
|
-
{
|
|
96
|
-
className: `chart-skeleton-donut${isSemi ? " chart-skeleton-donut--semi" : ""}`,
|
|
97
|
-
direction,
|
|
98
|
-
height: isSemi ? 90 : 180,
|
|
99
|
-
variant: "circular",
|
|
100
|
-
width: 180
|
|
101
|
-
}
|
|
102
|
-
),
|
|
103
|
-
/* @__PURE__ */ jsx("div", { className: "chart-skeleton-legend", children: LEGEND_WIDTHS.map((width, index) => /* @__PURE__ */ jsx(
|
|
104
|
-
Skeleton,
|
|
105
|
-
{
|
|
106
|
-
className: "chart-skeleton-legend-item",
|
|
107
|
-
direction: "ltr",
|
|
108
|
-
height: 10,
|
|
109
|
-
variant: "pill",
|
|
110
|
-
width
|
|
111
|
-
},
|
|
112
|
-
`legend-${index}`
|
|
113
|
-
)) })
|
|
114
|
-
] });
|
|
115
|
-
};
|
|
116
|
-
const CircularPlotSkeleton = ({ direction }) => /* @__PURE__ */ jsxs("div", { className: "chart-skeleton-plot chart-skeleton-plot--circular", children: [
|
|
117
|
-
/* @__PURE__ */ jsx(
|
|
118
|
-
Skeleton,
|
|
119
|
-
{
|
|
120
|
-
className: "chart-skeleton-circle",
|
|
121
|
-
direction,
|
|
122
|
-
height: 180,
|
|
123
|
-
variant: "circular",
|
|
124
|
-
width: 180
|
|
125
|
-
}
|
|
126
|
-
),
|
|
127
|
-
/* @__PURE__ */ jsx("div", { className: "chart-skeleton-legend", children: LEGEND_WIDTHS.map((width, index) => /* @__PURE__ */ jsx(
|
|
128
|
-
Skeleton,
|
|
129
|
-
{
|
|
130
|
-
className: "chart-skeleton-legend-item",
|
|
131
|
-
direction: "ltr",
|
|
132
|
-
height: 10,
|
|
133
|
-
variant: "pill",
|
|
134
|
-
width
|
|
135
|
-
},
|
|
136
|
-
`legend-${index}`
|
|
137
|
-
)) })
|
|
138
|
-
] });
|
|
139
|
-
const getSkeletonByType = (graphType, direction) => {
|
|
140
|
-
const type = (graphType || "column").toLowerCase();
|
|
141
|
-
if (type === "bar") {
|
|
142
|
-
return /* @__PURE__ */ jsx(BarSkeleton, { direction });
|
|
143
|
-
}
|
|
144
|
-
if (type === "line" || type === "area" || type === "area line") {
|
|
145
|
-
return /* @__PURE__ */ jsx(LineSkeleton, { direction });
|
|
146
|
-
}
|
|
147
|
-
if (type === "pie") {
|
|
148
|
-
return /* @__PURE__ */ jsx(DonutSkeleton, { direction, variant: "donut" });
|
|
149
|
-
}
|
|
150
|
-
if (type === "semidonut") {
|
|
151
|
-
return /* @__PURE__ */ jsx(DonutSkeleton, { direction, variant: "semidonut" });
|
|
152
|
-
}
|
|
153
|
-
if (type === "venn" || type === "bubble" || type === "packedbubble" || type === "scatter" || type === "scatter3d") {
|
|
154
|
-
return /* @__PURE__ */ jsx(CircularPlotSkeleton, { direction });
|
|
155
|
-
}
|
|
156
|
-
return /* @__PURE__ */ jsx(ColumnSkeleton, { direction });
|
|
157
|
-
};
|
|
158
|
-
function ChartSkeleton({
|
|
159
|
-
graphType = "column",
|
|
160
|
-
height = null,
|
|
161
|
-
shimmerDirection = "auto"
|
|
162
|
-
}) {
|
|
163
|
-
const style = height ? { height } : void 0;
|
|
164
|
-
const direction = resolveShimmerDirection(shimmerDirection, graphType);
|
|
165
|
-
return /* @__PURE__ */ jsx("div", { "aria-busy": "true", "aria-live": "polite", className: "chart-skeleton", style, children: getSkeletonByType(graphType, direction) });
|
|
166
|
-
}
|
|
167
|
-
ChartSkeleton.displayName = "ChartSkeleton";
|
|
168
|
-
export {
|
|
169
|
-
ChartSkeleton,
|
|
170
|
-
getDefaultShimmerDirection
|
|
171
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { CSSProperties, HTMLAttributes } from 'react';
|
|
2
|
-
import { AriaProps, RootComponentProps } from '../../types';
|
|
3
|
-
|
|
4
|
-
export type SkeletonVariant = 'rectangular' | 'rounded' | 'circular' | 'text' | 'pill';
|
|
5
|
-
export type ShimmerDirection = 'ltr' | 'rtl' | 'btt' | 'ttb' | 'circular';
|
|
6
|
-
export type CssSize = number | string;
|
|
7
|
-
/**
|
|
8
|
-
* Configurable skeleton placeholder powered by the shared Impact shimmer.
|
|
9
|
-
*/
|
|
10
|
-
export interface SkeletonProps extends Omit<RootComponentProps, keyof AriaProps>, Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
|
|
11
|
-
/**
|
|
12
|
-
* Shape of the skeleton.
|
|
13
|
-
* @default 'rectangular'
|
|
14
|
-
*/
|
|
15
|
-
variant?: SkeletonVariant;
|
|
16
|
-
/** Width in px (number) or any CSS size string. */
|
|
17
|
-
width?: CssSize;
|
|
18
|
-
/** Height in px (number) or any CSS size string. */
|
|
19
|
-
height?: CssSize;
|
|
20
|
-
/** Optional border-radius override (number → px). */
|
|
21
|
-
borderRadius?: CssSize;
|
|
22
|
-
/**
|
|
23
|
-
* Shimmer direction:
|
|
24
|
-
* - ltr: left → right
|
|
25
|
-
* - rtl: right → left
|
|
26
|
-
* - btt: bottom → top (columns)
|
|
27
|
-
* - ttb: top → bottom
|
|
28
|
-
* - circular: rotates around (pie / donut)
|
|
29
|
-
* @default 'ltr'
|
|
30
|
-
*/
|
|
31
|
-
direction?: ShimmerDirection;
|
|
32
|
-
/**
|
|
33
|
-
* Number of skeleton items (useful for text lines).
|
|
34
|
-
* @default 1
|
|
35
|
-
*/
|
|
36
|
-
count?: number;
|
|
37
|
-
style?: CSSProperties;
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=Skeleton.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.types.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/Skeleton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,SAAS,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AAEjE,MAAM,MAAM,eAAe,GAAG,aAAa,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,CAAC;AAEvF,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,GAAG,UAAU,CAAC;AAE1E,MAAM,MAAM,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAEtC;;GAEG;AAGH,MAAM,WAAW,aACf,SACE,IAAI,CAAC,kBAAkB,EAAE,MAAM,SAAS,CAAC,EACzC,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAClD;;;OAGG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAE1B,mDAAmD;IACnD,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB,oDAAoD;IACpD,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,qDAAqD;IACrD,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;;;;;OAQG;IACH,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAE7B;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ShimmerDirection, SkeletonProps } from './Skeleton.types';
|
|
2
|
-
|
|
3
|
-
export type { SkeletonProps, SkeletonVariant, ShimmerDirection, CssSize } from './Skeleton.types';
|
|
4
|
-
export declare const getShimmerClass: (direction?: ShimmerDirection) => string;
|
|
5
|
-
/**
|
|
6
|
-
* Configurable skeleton placeholder using the shared Impact shimmer.
|
|
7
|
-
*/
|
|
8
|
-
export declare function Skeleton({ variant, width, height, borderRadius, direction, count, className, style, id, 'data-testid': dataTestId, ...rest }: SkeletonProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
-
export declare namespace Skeleton {
|
|
10
|
-
var displayName: string;
|
|
11
|
-
}
|
|
12
|
-
export default Skeleton;
|
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Skeleton/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAW,gBAAgB,EAAE,aAAa,EAAmB,MAAM,kBAAkB,CAAC;AAClG,OAAO,wBAAwB,CAAC;AAEhC,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAiBlG,eAAO,MAAM,eAAe,GAAI,YAAW,gBAAwB,KAAG,MAGrE,CAAC;AAEF;;GAEG;AACH,wBAAgB,QAAQ,CAAC,EACvB,OAAuB,EACvB,KAAK,EACL,MAAM,EACN,YAAY,EACZ,SAAiB,EACjB,KAAS,EACT,SAAc,EACd,KAAU,EACV,EAAE,EACF,aAAa,EAAE,UAAU,EACzB,GAAG,IAAI,EACR,EAAE,aAAa,kDAuEf;yBAnFe,QAAQ;;;AAuFxB,eAAe,QAAQ,CAAC"}
|