@scbt-ecom/ui 0.147.5 → 0.147.7

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.
@@ -1,2 +1,2 @@
1
- import r from"../../node_modules/.pnpm/tailwindcss@3.4.17_ts-node@10.9.2_@types_node@24.10.0_typescript@5.9.2_/node_modules/tailwindcss/plugin.js";import l from"tailwindcss-animate";import{allowedBackgroundColors as i,allowedStrokeColors as t,allowedIconsColors as o,allowedTextColors as s,allowedBannersBackgroundColors as d}from"../shared/constants/designSystem/colors.js";import{allowedBackgroundDeg as g,allowedBorderRadius as p}from"../shared/constants/designSystem/others.js";import{allowedTextStyles as c,allowedLineHeight as u,allowedFontSize as b}from"../shared/constants/designSystem/typography.js";const C={theme:{backgroundColor:{color:i,banner:d,icon:o},textColor:{icon:o,color:s},fill:o,stroke:o,borderColor:t,outlineColor:t,borderRadius:p,fontFamily:{roboto:["var(--ff-roboto)","sans-serif"]},fontSize:b,lineHeight:u,gradientColorStops:i,boxShadow:{sm:"0 8px 20px 0 rgba(0, 0, 0, 0.08)",md:"0 12px 20px 0 rgba(0, 33, 87, 0.10)",lg:"0 16px 24px 0 rgba(0, 33, 87, 0.16)"},extend:{bgGradientDeg:g,width:{"popper-content":"var(--radix-popover-content-available-width)","popper-trigger":"var(--radix-popover-trigger-width)","autocomplete-input":"var(--input-width)","select-trigger":"var(--button-width)"},transitionDuration:{DEFAULT:"0.3s",12:"0.12s",15:"0.15s",2:"2s"},transitionTimingFunction:{DEFAULT:"ease-in-out"},keyframes:{"scale-in":{from:{opacity:"0",scale:"0"},to:{opacity:"1",scale:"1"}},"progress-loader":{"100%":{backgroundPosition:"100% 100%"}},"caret-blink":{"0%,70%,100%":{opacity:"1"},"20%,50%":{opacity:"0"}},shine:{to:{"background-position-x":"-200%"}}},animation:{"scale-in":"scale-in 0.3s ease-in-out","progress-loader":"progress-loader 250s linear infinite","caret-blink":"caret-blink 1.25s ease-out infinite"}}},plugins:[l,r(({addComponents:e})=>{e(c)}),r(function({matchUtilities:e,theme:a}){e({"bg-deg-gradient":n=>({"background-image":`linear-gradient(${n}, var(--tw-gradient-stops))`})},{values:Object.assign(a("bgGradientDeg",{}),{})})})]};export{C as tailwindConfigBase};
1
+ import r from"../../node_modules/.pnpm/tailwindcss@3.4.17_ts-node@10.9.2_@types_node@24.10.0_typescript@5.9.2_/node_modules/tailwindcss/plugin.js";import l from"../../node_modules/.pnpm/tailwindcss-animate@1.0.7_tailwindcss@3.4.17_ts-node@10.9.2_@types_node@24.10.0_typescript@5.9.2__/node_modules/tailwindcss-animate/index.js";import{allowedBackgroundColors as i,allowedStrokeColors as t,allowedIconsColors as o,allowedTextColors as s,allowedBannersBackgroundColors as d}from"../shared/constants/designSystem/colors.js";import{allowedBackgroundDeg as g,allowedBorderRadius as p}from"../shared/constants/designSystem/others.js";import{allowedTextStyles as c,allowedLineHeight as u,allowedFontSize as b}from"../shared/constants/designSystem/typography.js";const C={theme:{backgroundColor:{color:i,banner:d,icon:o},textColor:{icon:o,color:s},fill:o,stroke:o,borderColor:t,outlineColor:t,borderRadius:p,fontFamily:{roboto:["var(--ff-roboto)","sans-serif"]},fontSize:b,lineHeight:u,gradientColorStops:i,boxShadow:{sm:"0 8px 20px 0 rgba(0, 0, 0, 0.08)",md:"0 12px 20px 0 rgba(0, 33, 87, 0.10)",lg:"0 16px 24px 0 rgba(0, 33, 87, 0.16)"},extend:{bgGradientDeg:g,width:{"popper-content":"var(--radix-popover-content-available-width)","popper-trigger":"var(--radix-popover-trigger-width)","autocomplete-input":"var(--input-width)","select-trigger":"var(--button-width)"},transitionDuration:{DEFAULT:"0.3s",12:"0.12s",15:"0.15s",2:"2s"},transitionTimingFunction:{DEFAULT:"ease-in-out"},keyframes:{"scale-in":{from:{opacity:"0",scale:"0"},to:{opacity:"1",scale:"1"}},"progress-loader":{"100%":{backgroundPosition:"100% 100%"}},"caret-blink":{"0%,70%,100%":{opacity:"1"},"20%,50%":{opacity:"0"}},shine:{to:{"background-position-x":"-200%"}}},animation:{"scale-in":"scale-in 0.3s ease-in-out","progress-loader":"progress-loader 250s linear infinite","caret-blink":"caret-blink 1.25s ease-out infinite"}}},plugins:[l,r(({addComponents:e})=>{e(c)}),r(function({matchUtilities:e,theme:a}){e({"bg-deg-gradient":n=>({"background-image":`linear-gradient(${n}, var(--tw-gradient-stops))`})},{values:Object.assign(a("bgGradientDeg",{}),{})})})]};export{C as tailwindConfigBase};
2
2
  //# sourceMappingURL=tailwindConfigBase.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tailwindConfigBase.js","sources":["../../../lib/configs/tailwindConfigBase.ts"],"sourcesContent":["import type { Config } from 'tailwindcss'\nimport plugin from 'tailwindcss/plugin'\nimport tailwindAnimation from 'tailwindcss-animate'\nimport {\n allowedBackgroundColors,\n allowedBackgroundDeg,\n allowedBannersBackgroundColors,\n allowedBorderRadius,\n allowedFontSize,\n allowedIconsColors,\n allowedLineHeight,\n allowedStrokeColors,\n allowedTextColors,\n allowedTextStyles\n} from '../shared/constants'\n\nexport const tailwindConfigBase: Omit<Config, 'content'> = {\n theme: {\n backgroundColor: {\n color: allowedBackgroundColors,\n banner: allowedBannersBackgroundColors,\n icon: allowedIconsColors\n },\n textColor: {\n icon: allowedIconsColors,\n color: allowedTextColors\n },\n fill: allowedIconsColors,\n stroke: allowedIconsColors,\n borderColor: allowedStrokeColors,\n outlineColor: allowedStrokeColors,\n borderRadius: allowedBorderRadius,\n fontFamily: { roboto: ['var(--ff-roboto)', 'sans-serif'] },\n fontSize: allowedFontSize,\n lineHeight: allowedLineHeight,\n gradientColorStops: allowedBackgroundColors,\n boxShadow: {\n sm: '0 8px 20px 0 rgba(0, 0, 0, 0.08)',\n md: '0 12px 20px 0 rgba(0, 33, 87, 0.10)',\n lg: '0 16px 24px 0 rgba(0, 33, 87, 0.16)'\n },\n extend: {\n bgGradientDeg: allowedBackgroundDeg,\n width: {\n 'popper-content': 'var(--radix-popover-content-available-width)',\n 'popper-trigger': 'var(--radix-popover-trigger-width)',\n 'autocomplete-input': 'var(--input-width)',\n 'select-trigger': 'var(--button-width)'\n },\n transitionDuration: {\n DEFAULT: '0.3s',\n 12: '0.12s',\n 15: '0.15s',\n 2: '2s'\n },\n transitionTimingFunction: {\n DEFAULT: 'ease-in-out'\n },\n keyframes: {\n 'scale-in': {\n from: { opacity: '0', scale: '0' },\n to: { opacity: '1', scale: '1' }\n },\n 'progress-loader': {\n '100%': {\n backgroundPosition: '100% 100%'\n }\n },\n 'caret-blink': {\n '0%,70%,100%': { opacity: '1' },\n '20%,50%': { opacity: '0' }\n },\n shine: {\n to: {\n 'background-position-x': '-200%'\n }\n }\n },\n animation: {\n 'scale-in': 'scale-in 0.3s ease-in-out',\n 'progress-loader': 'progress-loader 250s linear infinite',\n 'caret-blink': 'caret-blink 1.25s ease-out infinite'\n }\n }\n },\n plugins: [\n tailwindAnimation,\n plugin(({ addComponents }) => {\n addComponents(allowedTextStyles)\n }),\n plugin(function ({ matchUtilities, theme }) {\n matchUtilities(\n {\n 'bg-deg-gradient': (angle) => ({\n 'background-image': `linear-gradient(${angle}, var(--tw-gradient-stops))`\n })\n },\n {\n values: Object.assign(theme('bgGradientDeg', {}), {})\n }\n )\n })\n ]\n}\n"],"names":["tailwindConfigBase","allowedBackgroundColors","allowedBannersBackgroundColors","allowedIconsColors","allowedTextColors","allowedStrokeColors","allowedBorderRadius","allowedFontSize","allowedLineHeight","allowedBackgroundDeg","tailwindAnimation","plugin","addComponents","allowedTextStyles","matchUtilities","theme","angle"],"mappings":"imBAgBO,MAAMA,EAA8C,CACzD,MAAO,CACL,gBAAiB,CACf,MAAOC,EACP,OAAQC,EACR,KAAMC,CAAA,EAER,UAAW,CACT,KAAMA,EACN,MAAOC,CAAA,EAET,KAAMD,EACN,OAAQA,EACR,YAAaE,EACb,aAAcA,EACd,aAAcC,EACd,WAAY,CAAE,OAAQ,CAAC,mBAAoB,YAAY,CAAA,EACvD,SAAUC,EACV,WAAYC,EACZ,mBAAoBP,EACpB,UAAW,CACT,GAAI,mCACJ,GAAI,sCACJ,GAAI,qCAAA,EAEN,OAAQ,CACN,cAAeQ,EACf,MAAO,CACL,iBAAkB,+CAClB,iBAAkB,qCAClB,qBAAsB,qBACtB,iBAAkB,qBAAA,EAEpB,mBAAoB,CAClB,QAAS,OACT,GAAI,QACJ,GAAI,QACJ,EAAG,IAAA,EAEL,yBAA0B,CACxB,QAAS,aAAA,EAEX,UAAW,CACT,WAAY,CACV,KAAM,CAAE,QAAS,IAAK,MAAO,GAAA,EAC7B,GAAI,CAAE,QAAS,IAAK,MAAO,GAAA,CAAI,EAEjC,kBAAmB,CACjB,OAAQ,CACN,mBAAoB,WAAA,CACtB,EAEF,cAAe,CACb,cAAe,CAAE,QAAS,GAAA,EAC1B,UAAW,CAAE,QAAS,GAAA,CAAI,EAE5B,MAAO,CACL,GAAI,CACF,wBAAyB,OAAA,CAC3B,CACF,EAEF,UAAW,CACT,WAAY,4BACZ,kBAAmB,uCACnB,cAAe,qCAAA,CACjB,CACF,EAEF,QAAS,CACPC,EACAC,EAAO,CAAC,CAAE,cAAAC,KAAoB,CAC5BA,EAAcC,CAAiB,CACjC,CAAC,EACDF,EAAO,SAAU,CAAE,eAAAG,EAAgB,MAAAC,GAAS,CAC1CD,EACE,CACE,kBAAoBE,IAAW,CAC7B,mBAAoB,mBAAmBA,CAAK,6BAAA,EAC9C,EAEF,CACE,OAAQ,OAAO,OAAOD,EAAM,gBAAiB,CAAA,CAAE,EAAG,CAAA,CAAE,CAAA,CACtD,CAEJ,CAAC,CAAA,CAEL"}
1
+ {"version":3,"file":"tailwindConfigBase.js","sources":["../../../lib/configs/tailwindConfigBase.ts"],"sourcesContent":["import type { Config } from 'tailwindcss'\nimport plugin from 'tailwindcss/plugin'\nimport tailwindAnimation from 'tailwindcss-animate'\nimport {\n allowedBackgroundColors,\n allowedBackgroundDeg,\n allowedBannersBackgroundColors,\n allowedBorderRadius,\n allowedFontSize,\n allowedIconsColors,\n allowedLineHeight,\n allowedStrokeColors,\n allowedTextColors,\n allowedTextStyles\n} from '../shared/constants'\n\nexport const tailwindConfigBase: Omit<Config, 'content'> = {\n theme: {\n backgroundColor: {\n color: allowedBackgroundColors,\n banner: allowedBannersBackgroundColors,\n icon: allowedIconsColors\n },\n textColor: {\n icon: allowedIconsColors,\n color: allowedTextColors\n },\n fill: allowedIconsColors,\n stroke: allowedIconsColors,\n borderColor: allowedStrokeColors,\n outlineColor: allowedStrokeColors,\n borderRadius: allowedBorderRadius,\n fontFamily: { roboto: ['var(--ff-roboto)', 'sans-serif'] },\n fontSize: allowedFontSize,\n lineHeight: allowedLineHeight,\n gradientColorStops: allowedBackgroundColors,\n boxShadow: {\n sm: '0 8px 20px 0 rgba(0, 0, 0, 0.08)',\n md: '0 12px 20px 0 rgba(0, 33, 87, 0.10)',\n lg: '0 16px 24px 0 rgba(0, 33, 87, 0.16)'\n },\n extend: {\n bgGradientDeg: allowedBackgroundDeg,\n width: {\n 'popper-content': 'var(--radix-popover-content-available-width)',\n 'popper-trigger': 'var(--radix-popover-trigger-width)',\n 'autocomplete-input': 'var(--input-width)',\n 'select-trigger': 'var(--button-width)'\n },\n transitionDuration: {\n DEFAULT: '0.3s',\n 12: '0.12s',\n 15: '0.15s',\n 2: '2s'\n },\n transitionTimingFunction: {\n DEFAULT: 'ease-in-out'\n },\n keyframes: {\n 'scale-in': {\n from: { opacity: '0', scale: '0' },\n to: { opacity: '1', scale: '1' }\n },\n 'progress-loader': {\n '100%': {\n backgroundPosition: '100% 100%'\n }\n },\n 'caret-blink': {\n '0%,70%,100%': { opacity: '1' },\n '20%,50%': { opacity: '0' }\n },\n shine: {\n to: {\n 'background-position-x': '-200%'\n }\n }\n },\n animation: {\n 'scale-in': 'scale-in 0.3s ease-in-out',\n 'progress-loader': 'progress-loader 250s linear infinite',\n 'caret-blink': 'caret-blink 1.25s ease-out infinite'\n }\n }\n },\n plugins: [\n tailwindAnimation,\n plugin(({ addComponents }) => {\n addComponents(allowedTextStyles)\n }),\n plugin(function ({ matchUtilities, theme }) {\n matchUtilities(\n {\n 'bg-deg-gradient': (angle) => ({\n 'background-image': `linear-gradient(${angle}, var(--tw-gradient-stops))`\n })\n },\n {\n values: Object.assign(theme('bgGradientDeg', {}), {})\n }\n )\n })\n ]\n}\n"],"names":["tailwindConfigBase","allowedBackgroundColors","allowedBannersBackgroundColors","allowedIconsColors","allowedTextColors","allowedStrokeColors","allowedBorderRadius","allowedFontSize","allowedLineHeight","allowedBackgroundDeg","tailwindAnimation","plugin","addComponents","allowedTextStyles","matchUtilities","theme","angle"],"mappings":"mvBAgBO,MAAMA,EAA8C,CACzD,MAAO,CACL,gBAAiB,CACf,MAAOC,EACP,OAAQC,EACR,KAAMC,CAAA,EAER,UAAW,CACT,KAAMA,EACN,MAAOC,CAAA,EAET,KAAMD,EACN,OAAQA,EACR,YAAaE,EACb,aAAcA,EACd,aAAcC,EACd,WAAY,CAAE,OAAQ,CAAC,mBAAoB,YAAY,CAAA,EACvD,SAAUC,EACV,WAAYC,EACZ,mBAAoBP,EACpB,UAAW,CACT,GAAI,mCACJ,GAAI,sCACJ,GAAI,qCAAA,EAEN,OAAQ,CACN,cAAeQ,EACf,MAAO,CACL,iBAAkB,+CAClB,iBAAkB,qCAClB,qBAAsB,qBACtB,iBAAkB,qBAAA,EAEpB,mBAAoB,CAClB,QAAS,OACT,GAAI,QACJ,GAAI,QACJ,EAAG,IAAA,EAEL,yBAA0B,CACxB,QAAS,aAAA,EAEX,UAAW,CACT,WAAY,CACV,KAAM,CAAE,QAAS,IAAK,MAAO,GAAA,EAC7B,GAAI,CAAE,QAAS,IAAK,MAAO,GAAA,CAAI,EAEjC,kBAAmB,CACjB,OAAQ,CACN,mBAAoB,WAAA,CACtB,EAEF,cAAe,CACb,cAAe,CAAE,QAAS,GAAA,EAC1B,UAAW,CAAE,QAAS,GAAA,CAAI,EAE5B,MAAO,CACL,GAAI,CACF,wBAAyB,OAAA,CAC3B,CACF,EAEF,UAAW,CACT,WAAY,4BACZ,kBAAmB,uCACnB,cAAe,qCAAA,CACjB,CACF,EAEF,QAAS,CACPC,EACAC,EAAO,CAAC,CAAE,cAAAC,KAAoB,CAC5BA,EAAcC,CAAiB,CACjC,CAAC,EACDF,EAAO,SAAU,CAAE,eAAAG,EAAgB,MAAAC,GAAS,CAC1CD,EACE,CACE,kBAAoBE,IAAW,CAC7B,mBAAoB,mBAAmBA,CAAK,6BAAA,EAC9C,EAEF,CACE,OAAQ,OAAO,OAAOD,EAAM,gBAAiB,CAAA,CAAE,EAAG,CAAA,CAAE,CAAA,CACtD,CAEJ,CAAC,CAAA,CAEL"}
@@ -1,2 +1,2 @@
1
- import r from"../../../node_modules/.pnpm/tailwindcss@3.4.17_ts-node@10.9.2_@types_node@24.10.0_typescript@5.9.2_/node_modules/tailwindcss/plugin.js";import i from"tailwindcss-animate";import{allowedBackgroundColors as l,allowedStrokeColors as a,allowedIconsColors as o,allowedTextColors as d,allowedBannersBackgroundColors as s}from"../../shared/constants/designSystem/colors.js";import{allowedBackgroundDeg as g,allowedZIndex as p,allowedBorderRadius as m}from"../../shared/constants/designSystem/others.js";import{allowedTextStyles as x,allowedLineHeight as b,allowedFontSize as c}from"../../shared/constants/designSystem/typography.js";const S={theme:{screens:{mobile:{max:"1187px"},desktop:"1188px"},backgroundColor:{color:l,banner:s,icon:o},textColor:{icon:o,color:d},fill:o,stroke:o,borderColor:a,outlineColor:a,borderRadius:m,fontFamily:{roboto:["var(--ff-roboto)","sans-serif"]},fontSize:c,lineHeight:b,gradientColorStops:l,boxShadow:{sm:"0 8px 20px 0 rgba(0, 0, 0, 0.08)",md:"0 12px 20px 0 rgba(0, 33, 87, 0.10)",lg:"0 16px 24px 0 rgba(0, 33, 87, 0.16)"},zIndex:p,extend:{bgGradientDeg:g}},plugins:[i,r(({addComponents:e})=>{e(x)}),r(function({matchUtilities:e,theme:t}){e({"bg-deg-gradient":n=>({"background-image":`linear-gradient(${n}, var(--tw-gradient-stops))`})},{values:Object.assign(t("bgGradientDeg",{}),{})})})]};export{S as resetPreset};
1
+ import r from"../../../node_modules/.pnpm/tailwindcss@3.4.17_ts-node@10.9.2_@types_node@24.10.0_typescript@5.9.2_/node_modules/tailwindcss/plugin.js";import i from"../../../node_modules/.pnpm/tailwindcss-animate@1.0.7_tailwindcss@3.4.17_ts-node@10.9.2_@types_node@24.10.0_typescript@5.9.2__/node_modules/tailwindcss-animate/index.js";import{allowedBackgroundColors as l,allowedStrokeColors as a,allowedIconsColors as o,allowedTextColors as d,allowedBannersBackgroundColors as s}from"../../shared/constants/designSystem/colors.js";import{allowedBackgroundDeg as g,allowedZIndex as p,allowedBorderRadius as m}from"../../shared/constants/designSystem/others.js";import{allowedTextStyles as x,allowedLineHeight as b,allowedFontSize as c}from"../../shared/constants/designSystem/typography.js";const S={theme:{screens:{mobile:{max:"1187px"},desktop:"1188px"},backgroundColor:{color:l,banner:s,icon:o},textColor:{icon:o,color:d},fill:o,stroke:o,borderColor:a,outlineColor:a,borderRadius:m,fontFamily:{roboto:["var(--ff-roboto)","sans-serif"]},fontSize:c,lineHeight:b,gradientColorStops:l,boxShadow:{sm:"0 8px 20px 0 rgba(0, 0, 0, 0.08)",md:"0 12px 20px 0 rgba(0, 33, 87, 0.10)",lg:"0 16px 24px 0 rgba(0, 33, 87, 0.16)"},zIndex:p,extend:{bgGradientDeg:g}},plugins:[i,r(({addComponents:e})=>{e(x)}),r(function({matchUtilities:e,theme:t}){e({"bg-deg-gradient":n=>({"background-image":`linear-gradient(${n}, var(--tw-gradient-stops))`})},{values:Object.assign(t("bgGradientDeg",{}),{})})})]};export{S as resetPreset};
2
2
  //# sourceMappingURL=resetPreset.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resetPreset.js","sources":["../../../../lib/configs/tailwindPresets/resetPreset.ts"],"sourcesContent":["// Тут через алиасы не импортируй, иначе не будет работать\nimport type { Config } from 'tailwindcss'\nimport plugin from 'tailwindcss/plugin'\nimport tailwindAnimation from 'tailwindcss-animate'\nimport {\n allowedBackgroundColors,\n allowedBackgroundDeg,\n allowedBannersBackgroundColors,\n allowedBorderRadius,\n allowedFontSize,\n allowedIconsColors,\n allowedLineHeight,\n allowedStrokeColors,\n allowedTextColors,\n allowedTextStyles,\n allowedZIndex\n} from '../../shared/constants'\n\nexport const resetPreset: Omit<Config, 'content'> = {\n theme: {\n screens: {\n mobile: { max: '1187px' },\n desktop: '1188px'\n },\n backgroundColor: {\n color: allowedBackgroundColors,\n banner: allowedBannersBackgroundColors,\n icon: allowedIconsColors\n },\n textColor: {\n icon: allowedIconsColors,\n color: allowedTextColors\n },\n fill: allowedIconsColors,\n stroke: allowedIconsColors,\n borderColor: allowedStrokeColors,\n outlineColor: allowedStrokeColors,\n borderRadius: allowedBorderRadius,\n fontFamily: { roboto: ['var(--ff-roboto)', 'sans-serif'] },\n fontSize: allowedFontSize,\n lineHeight: allowedLineHeight,\n gradientColorStops: allowedBackgroundColors,\n boxShadow: {\n sm: '0 8px 20px 0 rgba(0, 0, 0, 0.08)',\n md: '0 12px 20px 0 rgba(0, 33, 87, 0.10)',\n lg: '0 16px 24px 0 rgba(0, 33, 87, 0.16)'\n },\n zIndex: allowedZIndex,\n extend: {\n bgGradientDeg: allowedBackgroundDeg\n }\n },\n plugins: [\n tailwindAnimation,\n plugin(({ addComponents }) => {\n addComponents(allowedTextStyles)\n }),\n plugin(function ({ matchUtilities, theme }) {\n matchUtilities(\n {\n 'bg-deg-gradient': (angle) => ({\n 'background-image': `linear-gradient(${angle}, var(--tw-gradient-stops))`\n })\n },\n {\n values: Object.assign(theme('bgGradientDeg', {}), {})\n }\n )\n })\n ]\n}\n"],"names":["resetPreset","allowedBackgroundColors","allowedBannersBackgroundColors","allowedIconsColors","allowedTextColors","allowedStrokeColors","allowedBorderRadius","allowedFontSize","allowedLineHeight","allowedZIndex","allowedBackgroundDeg","tailwindAnimation","plugin","addComponents","allowedTextStyles","matchUtilities","theme","angle"],"mappings":"goBAkBO,MAAMA,EAAuC,CAClD,MAAO,CACL,QAAS,CACP,OAAQ,CAAE,IAAK,QAAA,EACf,QAAS,QAAA,EAEX,gBAAiB,CACf,MAAOC,EACP,OAAQC,EACR,KAAMC,CAAA,EAER,UAAW,CACT,KAAMA,EACN,MAAOC,CAAA,EAET,KAAMD,EACN,OAAQA,EACR,YAAaE,EACb,aAAcA,EACd,aAAcC,EACd,WAAY,CAAE,OAAQ,CAAC,mBAAoB,YAAY,CAAA,EACvD,SAAUC,EACV,WAAYC,EACZ,mBAAoBP,EACpB,UAAW,CACT,GAAI,mCACJ,GAAI,sCACJ,GAAI,qCAAA,EAEN,OAAQQ,EACR,OAAQ,CACN,cAAeC,CAAA,CACjB,EAEF,QAAS,CACPC,EACAC,EAAO,CAAC,CAAE,cAAAC,KAAoB,CAC5BA,EAAcC,CAAiB,CACjC,CAAC,EACDF,EAAO,SAAU,CAAE,eAAAG,EAAgB,MAAAC,GAAS,CAC1CD,EACE,CACE,kBAAoBE,IAAW,CAC7B,mBAAoB,mBAAmBA,CAAK,6BAAA,EAC9C,EAEF,CACE,OAAQ,OAAO,OAAOD,EAAM,gBAAiB,CAAA,CAAE,EAAG,CAAA,CAAE,CAAA,CACtD,CAEJ,CAAC,CAAA,CAEL"}
1
+ {"version":3,"file":"resetPreset.js","sources":["../../../../lib/configs/tailwindPresets/resetPreset.ts"],"sourcesContent":["// Тут через алиасы не импортируй, иначе не будет работать\nimport type { Config } from 'tailwindcss'\nimport plugin from 'tailwindcss/plugin'\nimport tailwindAnimation from 'tailwindcss-animate'\nimport {\n allowedBackgroundColors,\n allowedBackgroundDeg,\n allowedBannersBackgroundColors,\n allowedBorderRadius,\n allowedFontSize,\n allowedIconsColors,\n allowedLineHeight,\n allowedStrokeColors,\n allowedTextColors,\n allowedTextStyles,\n allowedZIndex\n} from '../../shared/constants'\n\nexport const resetPreset: Omit<Config, 'content'> = {\n theme: {\n screens: {\n mobile: { max: '1187px' },\n desktop: '1188px'\n },\n backgroundColor: {\n color: allowedBackgroundColors,\n banner: allowedBannersBackgroundColors,\n icon: allowedIconsColors\n },\n textColor: {\n icon: allowedIconsColors,\n color: allowedTextColors\n },\n fill: allowedIconsColors,\n stroke: allowedIconsColors,\n borderColor: allowedStrokeColors,\n outlineColor: allowedStrokeColors,\n borderRadius: allowedBorderRadius,\n fontFamily: { roboto: ['var(--ff-roboto)', 'sans-serif'] },\n fontSize: allowedFontSize,\n lineHeight: allowedLineHeight,\n gradientColorStops: allowedBackgroundColors,\n boxShadow: {\n sm: '0 8px 20px 0 rgba(0, 0, 0, 0.08)',\n md: '0 12px 20px 0 rgba(0, 33, 87, 0.10)',\n lg: '0 16px 24px 0 rgba(0, 33, 87, 0.16)'\n },\n zIndex: allowedZIndex,\n extend: {\n bgGradientDeg: allowedBackgroundDeg\n }\n },\n plugins: [\n tailwindAnimation,\n plugin(({ addComponents }) => {\n addComponents(allowedTextStyles)\n }),\n plugin(function ({ matchUtilities, theme }) {\n matchUtilities(\n {\n 'bg-deg-gradient': (angle) => ({\n 'background-image': `linear-gradient(${angle}, var(--tw-gradient-stops))`\n })\n },\n {\n values: Object.assign(theme('bgGradientDeg', {}), {})\n }\n )\n })\n ]\n}\n"],"names":["resetPreset","allowedBackgroundColors","allowedBannersBackgroundColors","allowedIconsColors","allowedTextColors","allowedStrokeColors","allowedBorderRadius","allowedFontSize","allowedLineHeight","allowedZIndex","allowedBackgroundDeg","tailwindAnimation","plugin","addComponents","allowedTextStyles","matchUtilities","theme","angle"],"mappings":"qxBAkBO,MAAMA,EAAuC,CAClD,MAAO,CACL,QAAS,CACP,OAAQ,CAAE,IAAK,QAAA,EACf,QAAS,QAAA,EAEX,gBAAiB,CACf,MAAOC,EACP,OAAQC,EACR,KAAMC,CAAA,EAER,UAAW,CACT,KAAMA,EACN,MAAOC,CAAA,EAET,KAAMD,EACN,OAAQA,EACR,YAAaE,EACb,aAAcA,EACd,aAAcC,EACd,WAAY,CAAE,OAAQ,CAAC,mBAAoB,YAAY,CAAA,EACvD,SAAUC,EACV,WAAYC,EACZ,mBAAoBP,EACpB,UAAW,CACT,GAAI,mCACJ,GAAI,sCACJ,GAAI,qCAAA,EAEN,OAAQQ,EACR,OAAQ,CACN,cAAeC,CAAA,CACjB,EAEF,QAAS,CACPC,EACAC,EAAO,CAAC,CAAE,cAAAC,KAAoB,CAC5BA,EAAcC,CAAiB,CACjC,CAAC,EACDF,EAAO,SAAU,CAAE,eAAAG,EAAgB,MAAAC,GAAS,CAC1CD,EACE,CACE,kBAAoBE,IAAW,CAC7B,mBAAoB,mBAAmBA,CAAK,6BAAA,EAC9C,EAEF,CACE,OAAQ,OAAO,OAAOD,EAAM,gBAAiB,CAAA,CAAE,EAAG,CAAA,CAAE,CAAA,CACtD,CAEJ,CAAC,CAAA,CAEL"}
@@ -1,2 +1,2 @@
1
- import{jsx as o,jsxs as m}from"react/jsx-runtime";import{AuthWrapper as g}from"./ui/AuthWrapper.js";import{EsiaLogo as x}from"./ui/EsiaLogo.js";import{Links as u}from"./ui/Links.js";import{useDevice as N}from"../../../shared/hooks/useDevice.js";import"react";import{cn as i}from"../../../shared/utils/cn.js";import"uuid";import"react-hook-form";import"@hookform/resolvers";import"../../../shared/ui/button/Button.js";import"../../../shared/ui/button/model/helpers.js";import"../../../shared/ui/buttonIcon/ButtonIcon.js";import{Badge as b}from"../../../shared/ui/badge/Badge.js";import"../../../shared/ui/loader/model/helpers.js";import"../../../shared/ui/calendar/Calendar.js";import"../../../shared/ui/calendar/model/utils.js";import"../../../shared/ui/accordion/Accordion.js";import"@radix-ui/react-tooltip";import"@radix-ui/react-popover";import"@radix-ui/react-tabs";import"react-dom";import"framer-motion";import"../../../shared/ui/modal/ui/IframeModalContent.js";import"react-hot-toast";import"../../../shared/ui/notification/ui/CustomToast.js";import"../../../shared/ui/table/ui/primitives/Primitives.js";import{Icon as j}from"../../../shared/ui/icon/Icon.js";import"@tanstack/react-table";import"../../../shared/ui/heading/Heading.js";import"embla-carousel-autoplay";import"embla-carousel-react";import"../../../shared/ui/carousel/ui/CarouselContent.js";import"../../../shared/ui/customLink/model/helpers.js";import"../../../shared/ui/slot/Slot.js";import"../../../shared/ui/formElements/uncontrolled/autocomplete/Autocomplete.js";import"../../../shared/ui/formElements/uncontrolled/checkbox/Checkbox.js";import"../../../shared/ui/formElements/uncontrolled/combobox/combobox.js";import"../../../shared/ui/formElements/uncontrolled/dayPicker/DayPicker.js";import"../../../shared/ui/formElements/uncontrolled/input/Input.js";import"../../../shared/ui/formElements/uncontrolled/inputOtp/InputOtpBase.js";import"../../../shared/ui/formElements/uncontrolled/maskInput/MaskInput.js";import"../../../shared/ui/formElements/uncontrolled/radio/RadioGroup.js";import"../../../shared/ui/formElements/uncontrolled/radio/ui/RadioItem.js";import"@radix-ui/react-radio-group";import"../../../shared/ui/formElements/uncontrolled/slider/SliderBase.js";import"../../../shared/ui/formElements/uncontrolled/switch/Switch.js";import"../../../shared/ui/formElements/uncontrolled/textarea/Textarea.js";import"../../../shared/ui/formElements/uncontrolled/uploader/UploaderBase.js";import"../../../shared/ui/formElements/uncontrolled/inputCurrency/InputCurrency.js";import"../../../shared/ui/formElements/ui/MessageView.js";import"@tanstack/react-query";import"../../../../src/configs/api.js";import"@floating-ui/react";import"date-fns";import"../../../shared/ui/formElements/controlled/editor/ui/Editor.js";import"../../../shared/ui/formElements/controlled/input/MaskInputControl.js";import"classnames";import"../../../shared/ui/dropdownList/ui/dropdownItem/DropdownItem.js";const Wr=({mainLink:p,linkDescription:n,isLoading:e,badge:t,loaderProps:f,classes:r,onClick:d})=>{const{isMobile:h}=N();return o(g,{isLoading:e,loaderProps:f,classes:r==null?void 0:r.authWrapper,children:m("div",{className:i("flex flex-1 items-center justify-between gap-1",{"mobile: justify-center":!t},r==null?void 0:r.innerWrapper),children:[m("div",{className:i("flex items-center gap-1 desktop:gap-4",r==null?void 0:r.textContent),children:[o(x,{className:i("size-7 desktop:size-8",r==null?void 0:r.esiaLogo)}),o(u,{onClick:d,mainLink:p,linkDescription:n,isMobile:h,classes:r==null?void 0:r.links}),o(j,{name:"arrows/arrowRight",className:i("size-6 mobile:hidden",r==null?void 0:r.arrowIcon)})]}),t&&o(b,{className:i("bg-color-positive",r==null?void 0:r.badge),children:t})]})})};export{Wr as Esia};
1
+ import{jsx as o,jsxs as p}from"react/jsx-runtime";import{AuthWrapper as g}from"./ui/AuthWrapper.js";import{EsiaLogo as x}from"./ui/EsiaLogo.js";import{Links as u}from"./ui/Links.js";import{useDevice as N}from"../../../shared/hooks/useDevice.js";import"react";import{cn as i}from"../../../shared/utils/cn.js";import"uuid";import"react-hook-form";import"@hookform/resolvers";import"../../../shared/ui/button/Button.js";import"../../../shared/ui/button/model/helpers.js";import"../../../shared/ui/buttonIcon/ButtonIcon.js";import{Badge as b}from"../../../shared/ui/badge/Badge.js";import"../../../shared/ui/loader/model/helpers.js";import"../../../shared/ui/calendar/Calendar.js";import"../../../shared/ui/calendar/model/utils.js";import"../../../shared/ui/accordion/Accordion.js";import"@radix-ui/react-tooltip";import"@radix-ui/react-popover";import"@radix-ui/react-tabs";import"react-dom";import"framer-motion";import"../../../shared/ui/modal/ui/IframeModalContent.js";import"react-hot-toast";import"../../../shared/ui/notification/ui/CustomToast.js";import"../../../shared/ui/table/ui/primitives/Primitives.js";import{Icon as j}from"../../../shared/ui/icon/Icon.js";import"@tanstack/react-table";import"../../../shared/ui/heading/Heading.js";import"embla-carousel-autoplay";import"embla-carousel-react";import"../../../shared/ui/carousel/ui/CarouselContent.js";import"../../../shared/ui/customLink/model/helpers.js";import"../../../shared/ui/slot/Slot.js";import"../../../shared/ui/formElements/uncontrolled/autocomplete/Autocomplete.js";import"../../../shared/ui/formElements/uncontrolled/checkbox/Checkbox.js";import"../../../shared/ui/formElements/uncontrolled/combobox/combobox.js";import"../../../shared/ui/formElements/uncontrolled/dayPicker/DayPicker.js";import"../../../shared/ui/formElements/uncontrolled/input/Input.js";import"../../../shared/ui/formElements/uncontrolled/inputOtp/InputOtpBase.js";import"../../../shared/ui/formElements/uncontrolled/maskInput/MaskInput.js";import"../../../shared/ui/formElements/uncontrolled/radio/RadioGroup.js";import"../../../shared/ui/formElements/uncontrolled/radio/ui/RadioItem.js";import"@radix-ui/react-radio-group";import"../../../shared/ui/formElements/uncontrolled/slider/SliderBase.js";import"../../../shared/ui/formElements/uncontrolled/switch/Switch.js";import"../../../shared/ui/formElements/uncontrolled/textarea/Textarea.js";import"../../../shared/ui/formElements/uncontrolled/uploader/UploaderBase.js";import"../../../shared/ui/formElements/uncontrolled/inputCurrency/InputCurrency.js";import"../../../shared/ui/formElements/ui/MessageView.js";import"@tanstack/react-query";import"../../../../src/configs/api.js";import"@floating-ui/react";import"date-fns";import"../../../shared/ui/formElements/controlled/editor/ui/Editor.js";import"../../../shared/ui/formElements/controlled/input/MaskInputControl.js";import"classnames";import"../../../shared/ui/dropdownList/ui/dropdownItem/DropdownItem.js";const Wr=({mainLink:n,linkDescription:e,isLoading:f,badge:t,loaderProps:d,classes:r,onClick:h})=>{const{isMobile:m}=N();return o(g,{isLoading:f,loaderProps:d,classes:r==null?void 0:r.authWrapper,children:p("div",{className:i("flex flex-1 items-center justify-between gap-1",{"mobile: justify-center":!t&&m},r==null?void 0:r.innerWrapper),children:[p("div",{className:i("flex items-center gap-1 desktop:gap-4",r==null?void 0:r.textContent),children:[o(x,{className:i("size-7 desktop:size-8",r==null?void 0:r.esiaLogo)}),o(u,{onClick:h,mainLink:n,linkDescription:e,isMobile:m,classes:r==null?void 0:r.links}),o(j,{name:"arrows/arrowRight",className:i("size-6 mobile:hidden",r==null?void 0:r.arrowIcon)})]}),t&&o(b,{className:i("bg-color-positive",r==null?void 0:r.badge),children:t})]})})};export{Wr as Esia};
2
2
  //# sourceMappingURL=Esia.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Esia.js","sources":["../../../../../lib/widgets/authProvider/ui/Esia.tsx"],"sourcesContent":["import type { EsiaProps } from '../model'\nimport { AuthWrapper, EsiaLogo, Links } from './ui'\nimport { useDevice } from '$/shared/hooks'\nimport { Badge, Icon } from '$/shared/ui'\nimport { cn } from '$/shared/utils'\n\nexport const Esia = ({ mainLink, linkDescription, isLoading, badge, loaderProps, classes, onClick }: EsiaProps) => {\n const { isMobile } = useDevice()\n\n return (\n <AuthWrapper isLoading={isLoading} loaderProps={loaderProps} classes={classes?.authWrapper}>\n <div\n className={cn(\n 'flex flex-1 items-center justify-between gap-1',\n { 'mobile: justify-center': !badge },\n classes?.innerWrapper\n )}\n >\n <div className={cn('flex items-center gap-1 desktop:gap-4', classes?.textContent)}>\n <EsiaLogo className={cn('size-7 desktop:size-8', classes?.esiaLogo)} />\n <Links\n onClick={onClick}\n mainLink={mainLink}\n linkDescription={linkDescription}\n isMobile={isMobile}\n classes={classes?.links}\n />\n <Icon name='arrows/arrowRight' className={cn('size-6 mobile:hidden', classes?.arrowIcon)} />\n </div>\n {badge && <Badge className={cn('bg-color-positive', classes?.badge)}>{badge}</Badge>}\n </div>\n </AuthWrapper>\n )\n}\n"],"names":["Esia","mainLink","linkDescription","isLoading","badge","loaderProps","classes","onClick","isMobile","useDevice","AuthWrapper","jsxs","cn","jsx","EsiaLogo","Links","Icon","Badge"],"mappings":"+4FAMO,MAAMA,GAAO,CAAC,CAAE,SAAAC,EAAU,gBAAAC,EAAiB,UAAAC,EAAW,MAAAC,EAAO,YAAAC,EAAa,QAAAC,EAAS,QAAAC,KAAyB,CACjH,KAAM,CAAE,SAAAC,CAAA,EAAaC,EAAA,EAErB,SACGC,EAAA,CAAY,UAAAP,EAAsB,YAAAE,EAA0B,QAASC,GAAA,YAAAA,EAAS,YAC7E,SAAAK,EAAC,MAAA,CACC,UAAWC,EACT,iDACA,CAAE,yBAA0B,CAACR,CAAA,EAC7BE,GAAA,YAAAA,EAAS,YAAA,EAGX,SAAA,CAAAK,EAAC,OAAI,UAAWC,EAAG,wCAAyCN,GAAA,YAAAA,EAAS,WAAW,EAC9E,SAAA,CAAAO,EAACC,GAAS,UAAWF,EAAG,wBAAyBN,GAAA,YAAAA,EAAS,QAAQ,EAAG,EACrEO,EAACE,EAAA,CACC,QAAAR,EACA,SAAAN,EACA,gBAAAC,EACA,SAAAM,EACA,QAASF,GAAA,YAAAA,EAAS,KAAA,CAAA,EAEpBO,EAACG,GAAK,KAAK,oBAAoB,UAAWJ,EAAG,uBAAwBN,GAAA,YAAAA,EAAS,SAAS,CAAA,CAAG,CAAA,EAC5F,EACCF,KAAUa,EAAA,CAAM,UAAWL,EAAG,oBAAqBN,GAAA,YAAAA,EAAS,KAAK,EAAI,SAAAF,CAAA,CAAM,CAAA,CAAA,CAAA,EAEhF,CAEJ"}
1
+ {"version":3,"file":"Esia.js","sources":["../../../../../lib/widgets/authProvider/ui/Esia.tsx"],"sourcesContent":["import type { EsiaProps } from '../model'\nimport { AuthWrapper, EsiaLogo, Links } from './ui'\nimport { useDevice } from '$/shared/hooks'\nimport { Badge, Icon } from '$/shared/ui'\nimport { cn } from '$/shared/utils'\n\nexport const Esia = ({ mainLink, linkDescription, isLoading, badge, loaderProps, classes, onClick }: EsiaProps) => {\n const { isMobile } = useDevice()\n\n return (\n <AuthWrapper isLoading={isLoading} loaderProps={loaderProps} classes={classes?.authWrapper}>\n <div\n className={cn(\n 'flex flex-1 items-center justify-between gap-1',\n { 'mobile: justify-center': !badge && isMobile },\n classes?.innerWrapper\n )}\n >\n <div className={cn('flex items-center gap-1 desktop:gap-4', classes?.textContent)}>\n <EsiaLogo className={cn('size-7 desktop:size-8', classes?.esiaLogo)} />\n <Links\n onClick={onClick}\n mainLink={mainLink}\n linkDescription={linkDescription}\n isMobile={isMobile}\n classes={classes?.links}\n />\n <Icon name='arrows/arrowRight' className={cn('size-6 mobile:hidden', classes?.arrowIcon)} />\n </div>\n {badge && <Badge className={cn('bg-color-positive', classes?.badge)}>{badge}</Badge>}\n </div>\n </AuthWrapper>\n )\n}\n"],"names":["Esia","mainLink","linkDescription","isLoading","badge","loaderProps","classes","onClick","isMobile","useDevice","AuthWrapper","jsxs","cn","jsx","EsiaLogo","Links","Icon","Badge"],"mappings":"+4FAMO,MAAMA,GAAO,CAAC,CAAE,SAAAC,EAAU,gBAAAC,EAAiB,UAAAC,EAAW,MAAAC,EAAO,YAAAC,EAAa,QAAAC,EAAS,QAAAC,KAAyB,CACjH,KAAM,CAAE,SAAAC,CAAA,EAAaC,EAAA,EAErB,SACGC,EAAA,CAAY,UAAAP,EAAsB,YAAAE,EAA0B,QAASC,GAAA,YAAAA,EAAS,YAC7E,SAAAK,EAAC,MAAA,CACC,UAAWC,EACT,iDACA,CAAE,yBAA0B,CAACR,GAASI,CAAA,EACtCF,GAAA,YAAAA,EAAS,YAAA,EAGX,SAAA,CAAAK,EAAC,OAAI,UAAWC,EAAG,wCAAyCN,GAAA,YAAAA,EAAS,WAAW,EAC9E,SAAA,CAAAO,EAACC,GAAS,UAAWF,EAAG,wBAAyBN,GAAA,YAAAA,EAAS,QAAQ,EAAG,EACrEO,EAACE,EAAA,CACC,QAAAR,EACA,SAAAN,EACA,gBAAAC,EACA,SAAAM,EACA,QAASF,GAAA,YAAAA,EAAS,KAAA,CAAA,EAEpBO,EAACG,GAAK,KAAK,oBAAoB,UAAWJ,EAAG,uBAAwBN,GAAA,YAAAA,EAAS,SAAS,CAAA,CAAG,CAAA,EAC5F,EACCF,KAAUa,EAAA,CAAM,UAAWL,EAAG,oBAAqBN,GAAA,YAAAA,EAAS,KAAK,EAAI,SAAAF,CAAA,CAAM,CAAA,CAAA,CAAA,EAEhF,CAEJ"}