@temboplus/frontend-react-core 0.1.3-beta.27 → 0.1.3-beta.29
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/alerts/index.cjs.js +1 -1
- package/dist/alerts/index.js +1 -1
- package/dist/dialogs/index.cjs.js +1 -1
- package/dist/dialogs/index.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/notifications/index.cjs.js +1 -1
- package/dist/notifications/index.js +1 -1
- package/dist/{tembo-notify-BJ5ZQ2Fn.js → tembo-notify-C2pwp3tl.js} +2 -2
- package/dist/{tembo-notify-BJ5ZQ2Fn.js.map → tembo-notify-C2pwp3tl.js.map} +1 -1
- package/dist/{tembo-notify-CTCIkaq3.js → tembo-notify-vrLE3jqe.js} +2 -2
- package/dist/{tembo-notify-CTCIkaq3.js.map → tembo-notify-vrLE3jqe.js.map} +1 -1
- package/dist/theme/index.cjs.js +1 -1
- package/dist/theme/index.js +1 -1
- package/dist/theme/tokens/colors.js +5 -5
- package/dist/theme-provider-XqWasApp.js +11 -0
- package/dist/{theme-provider-DCFA3aRi.js.map → theme-provider-XqWasApp.js.map} +1 -1
- package/dist/{theme-provider-D9dppQsU.js → theme-provider-c4R_KW4X.js} +2 -2
- package/dist/{theme-provider-D9dppQsU.js.map → theme-provider-c4R_KW4X.js.map} +1 -1
- package/dist/theme-provider-slJZwhTc.js +11 -0
- package/dist/{theme-provider-DmsvxR9f.js.map → theme-provider-slJZwhTc.js.map} +1 -1
- package/dist/{theme-provider-C2y-8Jxe.js → theme-provider-slTbQLX5.js} +2 -2
- package/dist/{theme-provider-C2y-8Jxe.js.map → theme-provider-slTbQLX5.js.map} +1 -1
- package/package.json +1 -1
- package/dist/theme-provider-DCFA3aRi.js +0 -11
- package/dist/theme-provider-DmsvxR9f.js +0 -11
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import e from"react";import{ConfigProvider as r}from"antd";var t,o={exports:{}},a={};var n,i,c={};
|
|
2
|
-
/**
|
|
3
|
-
* @license React
|
|
4
|
-
* react-jsx-runtime.development.js
|
|
5
|
-
*
|
|
6
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
7
|
-
*
|
|
8
|
-
* This source code is licensed under the MIT license found in the
|
|
9
|
-
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/function l(){return n||(n=1,"production"!==process.env.NODE_ENV&&function(){function r(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===C?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case f:return"Fragment";case b:return"Profiler";case y:return"StrictMode";case B:return"Suspense";case S:return"SuspenseList";case T:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case m:return"Portal";case v:return e.displayName||"Context";case x:return(e._context.displayName||"Context")+".Consumer";case h:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case F:return null!==(t=e.displayName||null)?t:r(e.type)||"Memo";case A:t=e._payload,e=e._init;try{return r(e(t))}catch(e){}}return null}function t(e){return""+e}function o(e){try{t(e);var r=!1}catch(e){r=!0}if(r){var o=(r=console).error,a="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return o.call(r,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),t(e)}}function a(e){if(e===f)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===A)return"<...>";try{var t=r(e);return t?"<"+t+">":"<...>"}catch(e){return"<...>"}}function n(){return Error("react-stack-top-frame")}function i(){var e=r(this.type);return E[e]||(E[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function l(e,t,a,n,c,l){var d,g=t.children;if(void 0!==g)if(n)if(k(g)){for(n=0;n<g.length;n++)s(g[n]);Object.freeze&&Object.freeze(g)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else s(g);if(H.call(t,"key")){g=r(e);var m=Object.keys(t).filter(function(e){return"key"!==e});n=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",z[g+n]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',n,g,m,g),z[g+n]=!0)}if(g=null,void 0!==a&&(o(a),g=""+a),function(e){if(H.call(e,"key")){var r=Object.getOwnPropertyDescriptor(e,"key").get;if(r&&r.isReactWarning)return!1}return void 0!==e.key}(t)&&(o(t.key),g=""+t.key),"key"in t)for(var f in a={},t)"key"!==f&&(a[f]=t[f]);else a=t;return g&&function(e,r){function t(){u||(u=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",r))}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}(a,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,r,t,o,a,n){var c=t.ref;return e={$$typeof:p,type:e,key:r,props:t,_owner:o},null!==(void 0!==c?c:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:i}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:n}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,g,a,null===(d=w.A)?null:d.getOwner(),c,l)}function s(e){d(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===A&&("fulfilled"===e._payload.status?d(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function d(e){return"object"==typeof e&&null!==e&&e.$$typeof===p}var u,g=e,p=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),y=Symbol.for("react.strict_mode"),b=Symbol.for("react.profiler"),x=Symbol.for("react.consumer"),v=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),S=Symbol.for("react.suspense_list"),F=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),T=Symbol.for("react.activity"),C=Symbol.for("react.client.reference"),w=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=Object.prototype.hasOwnProperty,k=Array.isArray,P=console.createTask?console.createTask:function(){return null},E={},R=(g={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(g,n)(),I=P(a(n)),z={};c.Fragment=f,c.jsx=function(e,r,t){var o=1e4>w.recentlyCreatedOwnerStacks++;return l(e,r,t,!1,o?Error("react-stack-top-frame"):R,o?P(a(e)):I)},c.jsxs=function(e,r,t){var o=1e4>w.recentlyCreatedOwnerStacks++;return l(e,r,t,!0,o?Error("react-stack-top-frame"):R,o?P(a(e)):I)}}()),c}var s=(i||(i=1,"production"===process.env.NODE_ENV?o.exports=function(){if(t)return a;t=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function o(r,t,o){var a=null;if(void 0!==o&&(a=""+o),void 0!==t.key&&(a=""+t.key),"key"in t)for(var n in o={},t)"key"!==n&&(o[n]=t[n]);else o=t;return t=o.ref,{$$typeof:e,type:r,key:a,ref:void 0!==t?t:null,props:o}}return a.Fragment=r,a.jsx=o,a.jsxs=o,a}():o.exports=l()),o.exports);!function(e,r){void 0===r&&(r={});var t=r.insertAt;if("undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===t&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}("/* Inputs with prefix/suffix icons */\n.ant-input,\n.ant-input-affix-wrapper .ant-input,\n.ant-select .ant-select-content-value,\n.ant-picker-input > input,\n.ant-input-number-input,\n.ant-input.ant-input-outlined,\n.ant-segmented-item-selected .ant-segmented-item-label {\n font-weight: 500 !important;\n}\n");const d={typography:{fontFamily:{base:"Avenir, MarkPro, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif",mono:"'SF Mono', 'Monaco', 'Inconsolata', 'Fira Mono', monospace"},fontSize:{xs:12,sm:13,base:14,lg:16,xl:18,"2xl":20,"3xl":24,"4xl":30,"5xl":36},fontWeight:{light:300,regular:400,medium:500,semibold:600,bold:700,heavy:800},lineHeight:{tight:1.25,base:1.5,relaxed:1.75},letterSpacing:{tight:"-0.01em",base:"0",wide:"0.025em"}},spacing:{0:0,1:4,2:8,3:12,4:16,5:20,6:24,8:32,10:40,12:48,16:64,20:80,xs:4,sm:8,md:16,lg:24,xl:32,"2xl":40,"3xl":48,"4xl":64,"5xl":80},radius:{none:0,sm:12,base:24,md:28,lg:32,xl:40,full:9999,button:24,input:24,card:28,modal:32,avatar:9999},shadow:{none:"none",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 2px 4px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 8px 0 rgba(0, 0, 0, 0.08)",lg:"0 8px 16px 0 rgba(0, 0, 0, 0.10)",xl:"0 12px 24px 0 rgba(0, 0, 0, 0.12)",card:"0 2px 4px 0 rgba(0, 0, 0, 0.06)",modal:"0 8px 16px 0 rgba(0, 0, 0, 0.10)",popover:"0 4px 8px 0 rgba(0, 0, 0, 0.08)",tooltip:"0 1px 2px 0 rgba(0, 0, 0, 0.05)"},zIndex:{dropdown:1e3,modal:1050,popover:1060,tooltip:1070,notification:1080},transition:{fast:"150ms cubic-bezier(0.4, 0, 0.2, 1)",base:"200ms cubic-bezier(0.4, 0, 0.2, 1)",slow:"300ms cubic-bezier(0.4, 0, 0.2, 1)"}},u={0:"#FFFFFF",1:"#F5F5F5",2:"#E8E8E8",3:"#D4D4D4",4:"#A3A3A3",5:"#737373",6:"#525252",7:"#404040",8:"#171717",9:"#000000"},g={0:"#0A0A0A",1:"#171717",2:"#262626",3:"#404040",4:"#525252",5:"#737373",6:"#A3A3A3",7:"#D4D4D4",8:"#F5F5F5",9:"#FFFFFF"},p=()=>({mode:"light",neutral:u,absolute:{black:"#000000",white:"#FFFFFF"},accent:{default:"#2563EB",hover:"#1D4ED8",active:"#1E40AF",subtle:"#EFF6FF"},semantic:{error:{main:"#DC2626",subtle:"#FEF2F2",contrast:"#FFFFFF"},success:{main:"#0F766E",subtle:"#F0FDFA",contrast:"#FFFFFF"},warning:{main:"#EA580C",subtle:"#FFF7ED",contrast:"#FFFFFF"},info:{main:"#2563EB",subtle:"#EFF6FF",contrast:"#FFFFFF"},pending:{main:"#64748B",subtle:"#F8FAFC",contrast:"#FFFFFF"}},secondary:{purple:{subtlest:"#FDF4FF",subtle:"#F5E3FF",main:"#470047",contrast:"#FFFFFF"},green:{subtlest:"#F0FDF4",subtle:"#DCFCE7",main:"#004700",contrast:"#FFFFFF"},blue:{subtlest:"#F0F4FF",subtle:"#E0E7FF",main:"#0000D1",contrast:"#FFFFFF"},orange:{subtlest:"#FFFBEB",subtle:"#FEF3C7",main:"#472400",contrast:"#FFFFFF"}},surface:{page:u[1],card:u[0],overlay:u[0],input:u[0],interactive:u[2],selected:u[2],nested:u[1]},border:{subtle:u[2],default:u[3],strong:u[4]},text:{primary:u[7],secondary:u[5],tertiary:u[4],disabled:u[3],inverse:u[0],input:u[8]},action:{default:u[8],hover:u[7],disabled:u[2],contrast:u[0]}}),m=()=>({mode:"dark",neutral:g,absolute:{black:"#000000",white:"#FFFFFF"},accent:{default:"#60A5FA",hover:"#93C5FD",active:"#BFDBFE",subtle:"#1E3A8A"},semantic:{error:{main:"#F87171",subtle:"#7F1D1D",contrast:"#450A0A"},success:{main:"#5EEAD4",subtle:"#134E4A",contrast:"#0A3A35"},warning:{main:"#FB923C",subtle:"#7C2D12",contrast:"#431407"},info:{main:"#60A5FA",subtle:"#1E3A8A",contrast:"#1E3A8A"},pending:{main:"#94A3B8",subtle:"#1E293B",contrast:"#0F172A"}},secondary:{purple:{subtlest:"#2E0A2E",subtle:"#4A1A4A",main:"#E879F9",contrast:"#1A0A1A"},green:{subtlest:"#0A1F0A",subtle:"#1A3A1A",main:"#4ADE80",contrast:"#0A1A0A"},blue:{subtlest:"#0A0F2E",subtle:"#1A1F4A",main:"#60A5FA",contrast:"#0A0F1A"},orange:{subtlest:"#1F1A0A",subtle:"#3A2E1A",main:"#FB923C",contrast:"#1A0F0A"}},surface:{page:g[1],card:g[0],overlay:g[0],input:g[0],interactive:g[2],selected:g[2],nested:g[1]},border:{subtle:g[2],default:g[3],strong:g[4]},text:{primary:g[7],secondary:g[5],tertiary:g[4],disabled:g[3],inverse:g[0],input:g[8]},action:{default:g[8],hover:g[7],disabled:g[2],contrast:g[0]}}),f=(e="light")=>"light"===e?p():m();p(),m();const y=e.createContext({colors:f("light"),constants:d,mode:"light"}),b=({children:t,mode:o="light",antdThemeOverrides:a})=>{const n=e.useMemo(()=>f(o),[o]),i=e.useMemo(()=>d,[]),c=e.useMemo(()=>{var e,r;const t=((e,r)=>{const t="dark"===e.mode;return{token:{colorPrimary:e.action.default,colorPrimaryHover:e.action.hover,colorPrimaryActive:e.action.default,colorPrimaryBg:e.neutral[3],colorPrimaryBgHover:e.surface.interactive,colorPrimaryBorder:e.action.default,colorPrimaryBorderHover:e.action.hover,colorPrimaryText:e.action.default,colorPrimaryTextHover:e.action.hover,colorPrimaryTextActive:e.action.default,colorLink:e.accent.default,colorLinkHover:e.accent.hover,colorLinkActive:e.accent.active,colorText:e.text.primary,colorTextSecondary:e.text.secondary,colorTextTertiary:e.text.tertiary,colorTextQuaternary:e.text.tertiary,colorTextDescription:e.text.secondary,colorTextDisabled:e.text.disabled,colorTextHeading:e.text.primary,colorTextLabel:e.text.secondary,colorTextPlaceholder:e.text.tertiary,colorTextLightSolid:e.text.inverse,colorBgBase:e.surface.page,colorBgContainer:e.surface.card,colorBgElevated:e.surface.overlay,colorBgLayout:e.surface.page,colorBgSpotlight:e.surface.interactive,colorBgMask:t?"rgba(0, 0, 0, 0.65)":"rgba(0, 0, 0, 0.45)",colorBgTextHover:e.surface.interactive,colorBgTextActive:e.surface.selected,colorBgContainerDisabled:e.action.disabled,colorBorder:e.border.default,colorBorderBg:e.surface.card,colorBorderSecondary:e.border.subtle,colorSplit:e.border.subtle,colorFill:e.neutral[3],colorFillSecondary:e.neutral[3],colorFillTertiary:e.neutral[2],colorFillQuaternary:e.surface.interactive,colorSuccess:e.semantic.success.main,colorSuccessBg:e.semantic.success.subtle,colorSuccessBgHover:e.semantic.success.subtle,colorSuccessBorder:e.semantic.success.main,colorSuccessBorderHover:e.semantic.success.main,colorSuccessText:e.semantic.success.main,colorSuccessTextHover:e.semantic.success.main,colorSuccessTextActive:e.semantic.success.main,colorError:e.semantic.error.main,colorErrorBg:e.semantic.error.subtle,colorErrorBgHover:e.semantic.error.subtle,colorErrorBorder:e.semantic.error.main,colorErrorBorderHover:e.semantic.error.main,colorErrorText:e.semantic.error.main,colorErrorTextHover:e.semantic.error.main,colorErrorTextActive:e.semantic.error.main,colorWarning:e.semantic.warning.main,colorWarningBg:e.semantic.warning.subtle,colorWarningBgHover:e.semantic.warning.subtle,colorWarningBorder:e.semantic.warning.main,colorWarningBorderHover:e.semantic.warning.main,colorWarningText:e.semantic.warning.main,colorWarningTextHover:e.semantic.warning.main,colorWarningTextActive:e.semantic.warning.main,colorInfo:e.semantic.info.main,colorInfoBg:e.semantic.info.subtle,colorInfoBgHover:e.semantic.info.subtle,colorInfoBorder:e.semantic.info.main,colorInfoBorderHover:e.semantic.info.main,colorInfoText:e.semantic.info.main,colorInfoTextHover:e.semantic.info.main,colorInfoTextActive:e.semantic.info.main,fontFamily:r.typography.fontFamily.base,fontFamilyCode:r.typography.fontFamily.mono,fontSize:r.typography.fontSize.base,fontSizeSM:r.typography.fontSize.sm,fontSizeLG:r.typography.fontSize.lg,fontSizeXL:r.typography.fontSize.xl,fontSizeHeading1:r.typography.fontSize["5xl"],fontSizeHeading2:r.typography.fontSize["4xl"],fontSizeHeading3:r.typography.fontSize["3xl"],fontSizeHeading4:r.typography.fontSize["2xl"],fontSizeHeading5:r.typography.fontSize.xl,fontWeightStrong:r.typography.fontWeight.semibold,lineHeight:r.typography.lineHeight.base,lineHeightSM:r.typography.lineHeight.base,lineHeightLG:r.typography.lineHeight.relaxed,lineHeightHeading1:r.typography.lineHeight.tight,lineHeightHeading2:r.typography.lineHeight.tight,lineHeightHeading3:r.typography.lineHeight.tight,lineHeightHeading4:r.typography.lineHeight.tight,lineHeightHeading5:r.typography.lineHeight.tight,padding:r.spacing[4],paddingXS:r.spacing[2],paddingSM:r.spacing[3],paddingLG:r.spacing[5],paddingXL:r.spacing[6],margin:r.spacing[4],marginXS:r.spacing[2],marginSM:r.spacing[3],marginLG:r.spacing[5],marginXL:r.spacing[6],marginXXL:r.spacing[8],controlHeight:40,controlHeightLG:48,controlHeightSM:32,controlHeightXS:24,borderRadius:r.radius.base,borderRadiusLG:r.radius.md,borderRadiusSM:r.radius.base,borderRadiusXS:r.radius.base,boxShadow:r.shadow.none,boxShadowSecondary:r.shadow.none,boxShadowTertiary:r.shadow.card,motionUnit:.1,motionBase:0,motionEaseInOut:r.transition.base,motionEaseOut:r.transition.base,motionEaseInBack:r.transition.base,zIndexBase:0,zIndexPopupBase:r.zIndex.dropdown},components:{Button:{colorPrimary:e.action.default,colorPrimaryHover:e.action.hover,colorPrimaryActive:e.action.default,colorPrimaryBorder:e.action.default,primaryColor:e.action.contrast,defaultBg:e.surface.card,defaultBorderColor:e.border.default,defaultColor:e.text.primary,defaultHoverBg:e.surface.interactive,defaultHoverBorderColor:e.border.strong,defaultHoverColor:e.text.primary,defaultActiveBg:e.surface.selected,defaultActiveBorderColor:e.action.default,defaultActiveColor:e.action.default,colorLink:e.accent.default,colorLinkHover:e.accent.hover,colorLinkActive:e.accent.active,textHoverBg:e.surface.interactive,dangerColor:e.semantic.error.main,colorErrorHover:e.semantic.error.main,colorErrorActive:e.semantic.error.main,colorBgContainerDisabled:e.action.disabled,colorTextDisabled:e.text.disabled,borderColorDisabled:e.action.disabled,primaryShadow:"none",defaultShadow:"none",dangerShadow:"none",borderRadius:r.radius.button,borderRadiusLG:r.radius.button,borderRadiusSM:r.radius.button,fontWeight:r.typography.fontWeight.medium,paddingContentHorizontal:r.spacing[4],paddingContentVertical:r.spacing[2]},Input:{colorBgContainer:e.surface.input,colorBorder:e.border.default,colorText:e.text.input,colorTextPlaceholder:e.text.tertiary,colorIcon:e.text.tertiary,colorIconHover:e.text.secondary,hoverBg:e.surface.card,hoverBorderColor:e.border.strong,activeBg:e.surface.card,activeBorderColor:e.accent.default,activeShadow:`0 0 0 2px ${e.accent.subtle}`,errorActiveShadow:`0 0 0 2px ${e.semantic.error.subtle}`,warningActiveShadow:`0 0 0 2px ${e.semantic.warning.subtle}`,colorBgContainerDisabled:e.surface.nested,colorTextDisabled:e.text.disabled,borderRadius:r.radius.input,borderRadiusLG:r.radius.input,borderRadiusSM:r.radius.input,paddingBlock:r.spacing[2],paddingInline:r.spacing[3],paddingInlineLG:r.spacing[4],fontWeightStrong:r.typography.fontWeight.medium},InputNumber:{colorBgContainer:e.surface.input,colorText:e.text.input,colorTextPlaceholder:e.text.tertiary,colorIcon:e.text.tertiary,colorIconHover:e.text.secondary,activeBorderColor:e.accent.default,activeShadow:`0 0 0 2px ${e.accent.subtle}`,borderRadius:r.radius.input,handleVisible:!0,fontWeightStrong:r.typography.fontWeight.medium},Select:{colorBgContainer:e.surface.input,colorBgElevated:e.surface.overlay,colorText:e.text.input,colorTextPlaceholder:e.text.tertiary,colorIcon:e.text.tertiary,colorIconHover:e.text.secondary,activeBorderColor:e.accent.default,boxShadow:`0 0 0 2px ${e.accent.subtle}`,optionSelectedBg:e.surface.selected,optionActiveBg:e.surface.interactive,controlItemBgHover:e.surface.interactive,controlItemBgActive:e.surface.selected,borderRadius:r.radius.input,borderRadiusLG:r.radius.input,borderRadiusSM:r.radius.input,boxShadowSecondary:r.shadow.popover,fontWeightStrong:r.typography.fontWeight.medium},DatePicker:{colorBgContainer:e.surface.input,colorText:e.text.input,colorTextPlaceholder:e.text.tertiary,colorIcon:e.text.tertiary,colorIconHover:e.text.secondary,activeBorderColor:e.accent.default,activeShadow:`0 0 0 2px ${e.accent.subtle}`,cellHoverBg:e.surface.interactive,cellActiveWithRangeBg:e.accent.subtle,colorPrimary:e.accent.default,borderRadius:r.radius.input,fontWeightStrong:r.typography.fontWeight.medium},Checkbox:{colorPrimary:e.accent.default,colorPrimaryHover:e.accent.hover,colorPrimaryBorder:e.border.default,borderRadiusSM:r.radius.sm},Radio:{colorPrimary:e.accent.default,colorPrimaryHover:e.accent.hover,colorBorder:e.border.default},Switch:{colorPrimary:e.accent.default,colorPrimaryHover:e.accent.hover,colorTextQuaternary:e.neutral[4],colorTextTertiary:e.neutral[5],handleSize:18},Slider:{colorPrimary:e.accent.default,colorPrimaryBorder:e.accent.default,colorPrimaryBorderHover:e.accent.hover,handleColor:e.surface.card,handleActiveColor:e.surface.card,railBg:e.neutral[3],railHoverBg:e.neutral[4],trackBg:e.accent.default,trackHoverBg:e.accent.hover,dotBorderColor:e.border.default,dotActiveBorderColor:e.accent.default},Form:{labelColor:e.text.primary,labelFontSize:r.typography.fontSize.base,labelRequiredMarkColor:e.semantic.error.main,itemMarginBottom:r.spacing[4],verticalLabelPadding:`0 0 ${r.spacing[2]}px`},Table:{colorBgContainer:e.surface.card,headerBg:e.surface.page,headerColor:e.text.secondary,colorText:e.text.primary,colorTextHeading:e.text.secondary,borderColor:e.border.subtle,rowHoverBg:e.surface.interactive,rowSelectedBg:e.surface.selected,rowExpandedBg:e.surface.nested,borderRadius:r.radius.card,borderRadiusLG:r.radius.card,headerBorderRadius:r.radius.card,cellPaddingBlock:r.spacing[3],cellPaddingInline:r.spacing[4],cellPaddingBlockSM:r.spacing[2],cellPaddingInlineSM:r.spacing[3],cellFontSize:r.typography.fontSize.base,headerSortActiveBg:e.surface.interactive},Descriptions:{labelBg:e.surface.page,titleColor:e.text.primary,contentColor:e.text.primary,extraColor:e.text.secondary,colorSplit:e.border.subtle,itemPaddingBottom:r.spacing[3]},Card:{colorBgContainer:e.surface.card,colorBorderSecondary:e.border.default,colorTextHeading:e.text.primary,colorTextDescription:e.text.secondary,boxShadowTertiary:r.shadow.card,borderRadius:r.radius.card,borderRadiusLG:r.radius.card,padding:r.spacing[4],paddingLG:r.spacing[6]},Statistic:{titleFontSize:r.typography.fontSize.sm,contentFontSize:r.typography.fontSize["4xl"]},Timeline:{tailColor:e.border.default,tailWidth:2,dotBg:e.surface.card,dotBorderWidth:2,itemPaddingBottom:r.spacing[4]},Tag:{defaultBg:e.neutral[2],defaultColor:e.text.primary,borderRadiusSM:r.radius.sm,fontSize:r.typography.fontSize.sm,fontSizeSM:r.typography.fontSize.xs},Badge:{colorBorderBg:e.surface.card,colorError:e.semantic.error.main,colorSuccess:e.semantic.success.main,colorInfo:e.accent.default,colorWarning:e.semantic.warning.main,textFontSize:r.typography.fontSize.xs,textFontWeight:r.typography.fontWeight.medium},Avatar:{colorBgContainer:e.neutral[3],colorTextPlaceholder:e.text.secondary,borderRadius:r.radius.avatar,groupOverlapping:-8,groupSpace:r.spacing[1]},Calendar:{colorBgContainer:e.surface.card,colorPrimary:e.accent.default,itemActiveBg:e.accent.subtle,borderRadius:r.radius.card},Collapse:{colorBgContainer:e.surface.card,headerBg:e.surface.page,headerPadding:`${r.spacing[3]}px ${r.spacing[4]}px`,contentPadding:`${r.spacing[4]}px ${r.spacing[4]}px`,borderRadiusLG:r.radius.card},Tree:{nodeHoverBg:e.surface.interactive,nodeSelectedBg:e.surface.selected,directoryNodeSelectedBg:e.surface.selected,borderRadius:r.radius.sm},Alert:{colorSuccessBg:e.semantic.success.subtle,colorSuccessBorder:e.semantic.success.main,colorSuccessText:e.semantic.success.main,colorErrorBg:e.semantic.error.subtle,colorErrorBorder:e.semantic.error.main,colorErrorText:e.semantic.error.main,colorWarningBg:e.semantic.warning.subtle,colorWarningBorder:e.semantic.warning.main,colorWarningText:e.semantic.warning.main,colorInfoBg:e.semantic.info.subtle,colorInfoBorder:e.semantic.info.main,colorInfoText:e.semantic.info.main,defaultPadding:`${r.spacing[3]}px ${r.spacing[4]}px`,borderRadiusLG:r.radius.card,withDescriptionPadding:`${r.spacing[4]}px ${r.spacing[5]}px`},Modal:{contentBg:e.surface.overlay,headerBg:e.surface.overlay,footerBg:e.surface.overlay,titleColor:e.text.primary,titleFontSize:r.typography.fontSize.xl,colorBgMask:t?"rgba(0, 0, 0, 0.65)":"rgba(0, 0, 0, 0.45)",boxShadow:r.shadow.modal,borderRadiusLG:r.radius.modal},Drawer:{colorBgElevated:e.surface.overlay,colorText:e.text.primary,colorBgMask:t?"rgba(0, 0, 0, 0.65)":"rgba(0, 0, 0, 0.45)",borderRadiusLG:r.radius.modal,footerPaddingBlock:r.spacing[4],footerPaddingInline:r.spacing[6]},Notification:{colorBgElevated:e.surface.overlay,colorText:e.text.primary,colorTextHeading:e.text.primary,boxShadow:r.shadow.popover,borderRadiusLG:r.radius.card,padding:r.spacing[4]},Message:{contentBg:e.surface.overlay,contentPadding:`${r.spacing[2]}px ${r.spacing[4]}px`,boxShadow:r.shadow.popover,borderRadiusLG:r.radius.card},Popconfirm:{colorBgElevated:e.surface.overlay,colorText:e.text.primary,colorTextHeading:e.text.primary,boxShadowSecondary:r.shadow.popover,borderRadiusLG:r.radius.card},Progress:{defaultColor:e.accent.default,colorSuccess:e.semantic.success.main,colorError:e.semantic.error.main,remainingColor:e.neutral[3],borderRadius:100,lineBorderRadius:100},Result:{titleFontSize:r.typography.fontSize["3xl"],subtitleFontSize:r.typography.fontSize.base,iconFontSize:r.typography.fontSize["5xl"],colorSuccess:e.semantic.success.main,colorError:e.semantic.error.main,colorInfo:e.accent.default,colorWarning:e.semantic.warning.main},Skeleton:{colorFill:e.neutral[2],colorFillContent:e.neutral[3],borderRadiusSM:r.radius.sm},Spin:{colorPrimary:e.accent.default},Menu:{itemBg:"transparent",itemColor:e.text.primary,itemHoverBg:e.surface.interactive,itemHoverColor:e.text.primary,itemSelectedBg:e.surface.selected,itemSelectedColor:e.accent.default,itemActiveBg:e.surface.selected,darkItemBg:e.absolute.black,darkSubMenuItemBg:e.absolute.black,darkItemColor:e.absolute.white,darkItemHoverBg:"rgba(255, 255, 255, 0.08)",darkItemSelectedBg:e.accent.default,darkItemSelectedColor:e.absolute.white,itemBorderRadius:r.radius.sm,itemMarginInline:r.spacing[1],itemPaddingInline:r.spacing[3]},Breadcrumb:{itemColor:e.text.secondary,lastItemColor:e.text.primary,linkColor:e.accent.default,linkHoverColor:e.accent.hover,separatorColor:e.text.tertiary,separatorMargin:r.spacing[2],fontSize:r.typography.fontSize.sm},Pagination:{colorPrimary:e.accent.default,colorPrimaryHover:e.accent.hover,itemActiveBg:e.accent.default,itemBg:e.surface.card,itemLinkBg:e.surface.card,itemInputBg:e.surface.card,borderRadius:r.radius.sm},Steps:{colorPrimary:e.accent.default,colorText:e.text.secondary,colorTextDescription:e.text.tertiary,colorFillContent:e.neutral[3]},Tabs:{colorPrimary:e.accent.default,itemColor:e.text.secondary,itemHoverColor:e.accent.hover,itemSelectedColor:e.accent.default,itemActiveColor:e.accent.default,inkBarColor:e.accent.default,colorBgContainer:e.surface.card,cardPadding:`${r.spacing[2]}px ${r.spacing[4]}px`,horizontalItemPadding:`${r.spacing[3]}px 0`,horizontalItemGutter:r.spacing[8]},Anchor:{colorPrimary:e.accent.default,linkPaddingBlock:r.spacing[1],linkPaddingInlineStart:r.spacing[4]},Dropdown:{colorBgElevated:e.surface.overlay,colorText:e.text.primary,controlItemBgHover:e.surface.interactive,controlItemBgActive:e.surface.selected,boxShadowSecondary:r.shadow.popover,borderRadiusLG:r.radius.card,paddingBlock:r.spacing[1]},Layout:{colorBgBody:e.surface.page,colorBgHeader:e.surface.card,colorBgTrigger:e.surface.interactive,headerBg:e.surface.card,headerColor:e.text.primary,siderBg:e.absolute.black,triggerBg:e.surface.interactive,triggerColor:e.text.primary,headerPadding:`0 ${r.spacing[6]}px`,footerPadding:`${r.spacing[6]}px ${r.spacing[12]}px`},Divider:{colorSplit:e.border.subtle,colorText:e.text.tertiary,colorTextHeading:e.text.secondary,verticalMarginInline:r.spacing[2]},Typography:{colorText:e.text.primary,colorTextSecondary:e.text.secondary,colorLink:e.accent.default,colorLinkHover:e.accent.hover,colorLinkActive:e.accent.active,titleMarginBottom:r.spacing[2],titleMarginTop:r.spacing[4]},Tooltip:{colorBgSpotlight:e.neutral[8],colorTextLightSolid:e.text.inverse,boxShadowSecondary:r.shadow.tooltip,borderRadius:r.radius.sm},Popover:{colorBgElevated:e.surface.overlay,colorText:e.text.primary,colorTextHeading:e.text.primary,boxShadowSecondary:r.shadow.popover,borderRadiusLG:r.radius.card,padding:r.spacing[3]},Upload:{colorFillAlter:e.surface.interactive,colorBorder:e.border.default,actionsColor:e.accent.default},Tour:{colorBgElevated:e.surface.overlay,colorPrimary:e.accent.default,colorText:e.text.primary,boxShadowSecondary:r.shadow.popover,borderRadius:r.radius.card},FloatButton:{colorBgElevated:e.surface.overlay,colorPrimary:e.accent.default,colorText:e.text.primary,boxShadow:r.shadow.popover,borderRadiusLG:r.radius.avatar},Segmented:{colorBgLayout:e.neutral[2],itemColor:e.text.secondary,itemHoverColor:e.text.primary,itemHoverBg:e.surface.interactive,itemSelectedBg:e.surface.card,itemSelectedColor:e.text.primary,itemActiveBg:e.surface.card,borderRadius:r.radius.base,borderRadiusSM:r.radius.sm,borderRadiusLG:r.radius.lg,fontWeightStrong:r.typography.fontWeight.medium},Mentions:{colorBgElevated:e.surface.overlay,controlItemBgHover:e.surface.interactive,controlItemBgActive:e.surface.selected,boxShadowSecondary:r.shadow.popover},Cascader:{colorBgElevated:e.surface.overlay,controlItemBgHover:e.surface.interactive,optionSelectedBg:e.surface.selected,colorPrimary:e.accent.default},TreeSelect:{colorBgElevated:e.surface.overlay,nodeHoverBg:e.surface.interactive,nodeSelectedBg:e.surface.selected},Transfer:{colorBgContainer:e.surface.card,controlItemBgHover:e.surface.interactive,controlItemBgActive:e.surface.selected},Rate:{colorFillContent:e.neutral[3],starColor:"#FADB14",starBg:e.neutral[3]},Empty:{colorText:e.text.secondary,colorTextDescription:e.text.tertiary,colorTextDisabled:e.text.disabled},List:{colorBorder:e.border.subtle,colorText:e.text.primary,colorTextDescription:e.text.secondary,itemPadding:`${r.spacing[3]}px 0`,itemPaddingSM:`${r.spacing[2]}px ${r.spacing[3]}px`,itemPaddingLG:`${r.spacing[4]}px ${r.spacing[6]}px`,metaMarginBottom:r.spacing[2],avatarMarginRight:r.spacing[4],titleMarginBottom:r.spacing[1]}}}})(n,i);return a?Object.assign(Object.assign({},t),{token:Object.assign(Object.assign({},t.token),null!==(e=a.token)&&void 0!==e?e:{}),components:Object.assign(Object.assign({},t.components),null!==(r=a.components)&&void 0!==r?r:{})}):t},[n,i,a]),l=e.useMemo(()=>({colors:n,constants:i,mode:o}),[n,i,o]);return s.jsx(y.Provider,{value:l,children:s.jsx(r,{theme:c,children:t})})},x=()=>e.useContext(y);export{b as T,s as j,x as u};
|
|
11
|
-
//# sourceMappingURL=theme-provider-DmsvxR9f.js.map
|