@foxford/ui 2.38.0-beta-17fc841-20240813 → 2.38.0-beta-4b5e375-20240813

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 +1 @@
1
- import{__exports as LoaderFill$1}from'../../../../../../../../_virtual/index6.mjs';import require$$0 from'react/jsx-runtime';Object.defineProperty(LoaderFill$1,"__esModule",{value:!0});var LoaderFill_2=LoaderFill$1.LoaderFill=void 0;const jsx_runtime_1=require$$0;function LoaderFill(l){const{color:e,size:a,...r}=l;return(0,jsx_runtime_1.jsx)("svg",{xmlns:'http://www.w3.org/2000/svg',width:a,height:a,viewBox:'0 0 24 24',fill:e,...r,children:(0,jsx_runtime_1.jsx)("path",{fillRule:'evenodd',d:'M12 1.5A1.5 1.5 0 0 1 13.5 3v3a1.5 1.5 0 0 1-3 0V3A1.5 1.5 0 0 1 12 1.5Zm7.426 3.074a1.5 1.5 0 0 1 0 2.121l-2.121 2.122a1.5 1.5 0 1 1-2.121-2.122l2.12-2.12a1.5 1.5 0 0 1 2.122 0Zm-14.85.002a1.5 1.5 0 0 1 2.121 0L8.82 6.7A1.5 1.5 0 0 1 6.7 8.82L4.575 6.697a1.5 1.5 0 0 1 0-2.12ZM1.5 12A1.5 1.5 0 0 1 3 10.5h3a1.5 1.5 0 0 1 0 3H3A1.5 1.5 0 0 1 1.5 12Zm15 0a1.5 1.5 0 0 1 1.5-1.5h3a1.5 1.5 0 0 1 0 3h-3a1.5 1.5 0 0 1-1.5-1.5Zm-7.682 3.181a1.5 1.5 0 0 1 0 2.122l-2.123 2.123a1.5 1.5 0 1 1-2.12-2.121l2.122-2.123a1.5 1.5 0 0 1 2.121 0Zm6.364 0a1.5 1.5 0 0 1 2.12 0l2.122 2.122a1.5 1.5 0 1 1-2.121 2.12l-2.122-2.12a1.5 1.5 0 0 1 0-2.122ZM12 16.5a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-3 0v-3a1.5 1.5 0 0 1 1.5-1.5Z',clipRule:'evenodd'})})}LoaderFill_2=LoaderFill$1.LoaderFill=LoaderFill,LoaderFill$1.default=LoaderFill;export{LoaderFill_2 as LoaderFill};
1
+ import{__exports as LoaderFill$1}from'../../../../../../../../_virtual/index5.mjs';import require$$0 from'react/jsx-runtime';Object.defineProperty(LoaderFill$1,"__esModule",{value:!0});var LoaderFill_2=LoaderFill$1.LoaderFill=void 0;const jsx_runtime_1=require$$0;function LoaderFill(l){const{color:e,size:a,...r}=l;return(0,jsx_runtime_1.jsx)("svg",{xmlns:'http://www.w3.org/2000/svg',width:a,height:a,viewBox:'0 0 24 24',fill:e,...r,children:(0,jsx_runtime_1.jsx)("path",{fillRule:'evenodd',d:'M12 1.5A1.5 1.5 0 0 1 13.5 3v3a1.5 1.5 0 0 1-3 0V3A1.5 1.5 0 0 1 12 1.5Zm7.426 3.074a1.5 1.5 0 0 1 0 2.121l-2.121 2.122a1.5 1.5 0 1 1-2.121-2.122l2.12-2.12a1.5 1.5 0 0 1 2.122 0Zm-14.85.002a1.5 1.5 0 0 1 2.121 0L8.82 6.7A1.5 1.5 0 0 1 6.7 8.82L4.575 6.697a1.5 1.5 0 0 1 0-2.12ZM1.5 12A1.5 1.5 0 0 1 3 10.5h3a1.5 1.5 0 0 1 0 3H3A1.5 1.5 0 0 1 1.5 12Zm15 0a1.5 1.5 0 0 1 1.5-1.5h3a1.5 1.5 0 0 1 0 3h-3a1.5 1.5 0 0 1-1.5-1.5Zm-7.682 3.181a1.5 1.5 0 0 1 0 2.122l-2.123 2.123a1.5 1.5 0 1 1-2.12-2.121l2.122-2.123a1.5 1.5 0 0 1 2.121 0Zm6.364 0a1.5 1.5 0 0 1 2.12 0l2.122 2.122a1.5 1.5 0 1 1-2.121 2.12l-2.122-2.12a1.5 1.5 0 0 1 0-2.122ZM12 16.5a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-3 0v-3a1.5 1.5 0 0 1 1.5-1.5Z',clipRule:'evenodd'})})}LoaderFill_2=LoaderFill$1.LoaderFill=LoaderFill,LoaderFill$1.default=LoaderFill;export{LoaderFill_2 as LoaderFill};
@@ -1 +1 @@
1
- import{__exports as NotifFill$1}from'../../../../../../../../_virtual/index5.mjs';import require$$0 from'react/jsx-runtime';Object.defineProperty(NotifFill$1,"__esModule",{value:!0});var NotifFill_2=NotifFill$1.NotifFill=void 0;const jsx_runtime_1=require$$0;function NotifFill(i){const{color:l,size:t,...o}=i;return(0,jsx_runtime_1.jsx)("svg",{xmlns:'http://www.w3.org/2000/svg',width:t,height:t,viewBox:'0 0 24 24',fill:l,...o,children:(0,jsx_runtime_1.jsx)("path",{fillRule:'evenodd',d:'M13 3a1 1 0 1 0-2 0v1.071c-1.299.186-2.52.732-3.483 1.587C6.307 6.735 5.6 8.221 5.6 9.8c0 1.812-.408 3.124-.905 4.058l-.01.017a73.322 73.322 0 0 0-.83 1.586c-.094.19-.176.364-.235.513-.03.073-.061.161-.085.254a1.225 1.225 0 0 0-.035.465c.014.108.046.347.19.586.144.24.34.38.429.444.157.111.313.16.39.18.093.025.182.04.256.05.147.019.32.029.498.035C5.62 18 6.12 18 6.747 18h10.505c.629 0 1.127 0 1.484-.012a5.37 5.37 0 0 0 .499-.035c.074-.01.163-.025.255-.05.077-.02.234-.069.39-.18.09-.064.286-.204.43-.444.144-.24.175-.478.19-.586a1.223 1.223 0 0 0-.035-.465 2.176 2.176 0 0 0-.085-.254 7.149 7.149 0 0 0-.235-.513 73.24 73.24 0 0 0-.831-1.586l-.01-.017c-.496-.934-.904-2.246-.904-4.058 0-1.579-.707-3.065-1.917-4.142-.963-.855-2.185-1.401-3.483-1.587V3Zm-2.985 16.25a1 1 0 1 0-1.323 1.5 4.991 4.991 0 0 0 3.312 1.252c1.269 0 2.43-.474 3.312-1.252a1 1 0 1 0-1.324-1.5 2.992 2.992 0 0 1-1.988.752 2.992 2.992 0 0 1-1.989-.752Z',clipRule:'evenodd'})})}NotifFill_2=NotifFill$1.NotifFill=NotifFill,NotifFill$1.default=NotifFill;export{NotifFill_2 as NotifFill};
1
+ import{__exports as NotifFill$1}from'../../../../../../../../_virtual/index6.mjs';import require$$0 from'react/jsx-runtime';Object.defineProperty(NotifFill$1,"__esModule",{value:!0});var NotifFill_2=NotifFill$1.NotifFill=void 0;const jsx_runtime_1=require$$0;function NotifFill(i){const{color:l,size:t,...o}=i;return(0,jsx_runtime_1.jsx)("svg",{xmlns:'http://www.w3.org/2000/svg',width:t,height:t,viewBox:'0 0 24 24',fill:l,...o,children:(0,jsx_runtime_1.jsx)("path",{fillRule:'evenodd',d:'M13 3a1 1 0 1 0-2 0v1.071c-1.299.186-2.52.732-3.483 1.587C6.307 6.735 5.6 8.221 5.6 9.8c0 1.812-.408 3.124-.905 4.058l-.01.017a73.322 73.322 0 0 0-.83 1.586c-.094.19-.176.364-.235.513-.03.073-.061.161-.085.254a1.225 1.225 0 0 0-.035.465c.014.108.046.347.19.586.144.24.34.38.429.444.157.111.313.16.39.18.093.025.182.04.256.05.147.019.32.029.498.035C5.62 18 6.12 18 6.747 18h10.505c.629 0 1.127 0 1.484-.012a5.37 5.37 0 0 0 .499-.035c.074-.01.163-.025.255-.05.077-.02.234-.069.39-.18.09-.064.286-.204.43-.444.144-.24.175-.478.19-.586a1.223 1.223 0 0 0-.035-.465 2.176 2.176 0 0 0-.085-.254 7.149 7.149 0 0 0-.235-.513 73.24 73.24 0 0 0-.831-1.586l-.01-.017c-.496-.934-.904-2.246-.904-4.058 0-1.579-.707-3.065-1.917-4.142-.963-.855-2.185-1.401-3.483-1.587V3Zm-2.985 16.25a1 1 0 1 0-1.323 1.5 4.991 4.991 0 0 0 3.312 1.252c1.269 0 2.43-.474 3.312-1.252a1 1 0 1 0-1.324-1.5 2.992 2.992 0 0 1-1.988.752 2.992 2.992 0 0 1-1.989-.752Z',clipRule:'evenodd'})})}NotifFill_2=NotifFill$1.NotifFill=NotifFill,NotifFill$1.default=NotifFill;export{NotifFill_2 as NotifFill};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxford/ui",
3
- "version": "2.38.0-beta-17fc841-20240813",
3
+ "version": "2.38.0-beta-4b5e375-20240813",
4
4
  "description": "UI components library",
5
5
  "bugs": {
6
6
  "url": "https://github.com/foxford/ui/issues"
@@ -49,6 +49,7 @@
49
49
  "_virtual",
50
50
  "assets",
51
51
  "components",
52
+ "dts",
52
53
  "external",
53
54
  "hocs",
54
55
  "hooks",
package/theme/themes.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var colors$1=require('../shared/utils/colors.js');var relBuilder=require('../shared/utils/rel-builder.js');var sizeInput=require('../shared/enums/sizeInput.js');var constants=require('../shared/constants.js');var colors=require('./colors.js');var colorsLight=require('./colors-light.js');var colorsDark=require('./colors-dark.js');const defaultTheme={breakpoints:constants.BREAKPOINTS,assetHost:window.location.origin,colors:{...colors.colors,...colors.socialColors,...colors.unitColors,...colorsLight.baseColors,...colorsLight.motherColors},borderRadius:'5px',textColor:'mineShaft',fallbackColor:'mineShaft',zIndex:{modal:9e3,tooltip:80},classNamePrefix:'fox',defaultInputControlsWidth:sizeInput.SizeInput.l,utils:{relBuilder:relBuilder.relBuilder,hexToRgbA:colors$1.hexToRgbA},mode:'light',preset:'default',name:'mother',components:{Arrow:{size:'l'},Button:{size:'m'},Checkbox:{size:'m'},Tooltip:{preset:'default'}}};const motherLightTheme={...defaultTheme,preset:'brand'};const motherDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsDark.baseColors,...colorsDark.motherColors},mode:'dark',preset:'brand'};const babyLightTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsLight.babyColors},preset:'brand',name:'baby'};const babyDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsDark.baseColors,...colorsDark.babyColors},mode:'dark',preset:'brand',name:'baby'};const teenLightTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsLight.teenColors},preset:'brand',name:'teen'};const teenDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsDark.baseColors,...colorsDark.teenColors},mode:'dark',preset:'brand',name:'teen'};const adultLightTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsLight.adultColors},preset:'brand',name:'adult'};const adultDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsDark.baseColors,...colorsDark.adultColors},mode:'dark',preset:'brand',name:'adult'};exports.adultDarkTheme=adultDarkTheme,exports.adultLightTheme=adultLightTheme,exports.babyDarkTheme=babyDarkTheme,exports.babyLightTheme=babyLightTheme,exports.defaultTheme=defaultTheme,exports.motherDarkTheme=motherDarkTheme,exports.motherLightTheme=motherLightTheme,exports.teenDarkTheme=teenDarkTheme,exports.teenLightTheme=teenLightTheme;
1
+ 'use strict';var colors$1=require('../shared/utils/colors.js');var relBuilder=require('../shared/utils/rel-builder.js');var sizeInput=require('../shared/enums/sizeInput.js');var constants=require('../shared/constants.js');var colors=require('./colors.js');var colorsLight=require('./colors-light.js');var colorsDark=require('./colors-dark.js');const defaultTheme={breakpoints:constants.BREAKPOINTS,colors:{...colors.colors,...colors.socialColors,...colors.unitColors,...colorsLight.baseColors,...colorsLight.motherColors},borderRadius:'5px',textColor:'mineShaft',fallbackColor:'mineShaft',zIndex:{modal:9e3,tooltip:80},classNamePrefix:'fox',defaultInputControlsWidth:sizeInput.SizeInput.l,utils:{relBuilder:relBuilder.relBuilder,hexToRgbA:colors$1.hexToRgbA},mode:'light',preset:'default',name:'mother',components:{Arrow:{size:'l'},Button:{size:'m'},Checkbox:{size:'m'},Tooltip:{preset:'default'}}};const motherLightTheme={...defaultTheme,preset:'brand'};const motherDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsDark.baseColors,...colorsDark.motherColors},mode:'dark',preset:'brand'};const babyLightTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsLight.babyColors},preset:'brand',name:'baby'};const babyDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsDark.baseColors,...colorsDark.babyColors},mode:'dark',preset:'brand',name:'baby'};const teenLightTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsLight.teenColors},preset:'brand',name:'teen'};const teenDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsDark.baseColors,...colorsDark.teenColors},mode:'dark',preset:'brand',name:'teen'};const adultLightTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsLight.adultColors},preset:'brand',name:'adult'};const adultDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...colorsDark.baseColors,...colorsDark.adultColors},mode:'dark',preset:'brand',name:'adult'};exports.adultDarkTheme=adultDarkTheme,exports.adultLightTheme=adultLightTheme,exports.babyDarkTheme=babyDarkTheme,exports.babyLightTheme=babyLightTheme,exports.defaultTheme=defaultTheme,exports.motherDarkTheme=motherDarkTheme,exports.motherLightTheme=motherLightTheme,exports.teenDarkTheme=teenDarkTheme,exports.teenLightTheme=teenLightTheme;
package/theme/themes.mjs CHANGED
@@ -1 +1 @@
1
- import{hexToRgbA}from'../shared/utils/colors.mjs';import{relBuilder}from'../shared/utils/rel-builder.mjs';import{SizeInput}from'../shared/enums/sizeInput.mjs';import{BREAKPOINTS}from'../shared/constants.mjs';import{colors,socialColors,unitColors}from'./colors.mjs';import{baseColors,motherColors,babyColors,teenColors,adultColors}from'./colors-light.mjs';import{baseColors as baseColors$1,motherColors as motherColors$1,babyColors as babyColors$1,teenColors as teenColors$1,adultColors as adultColors$1}from'./colors-dark.mjs';const defaultTheme={breakpoints:BREAKPOINTS,assetHost:window.location.origin,colors:{...colors,...socialColors,...unitColors,...baseColors,...motherColors},borderRadius:'5px',textColor:'mineShaft',fallbackColor:'mineShaft',zIndex:{modal:9e3,tooltip:80},classNamePrefix:'fox',defaultInputControlsWidth:SizeInput.l,utils:{relBuilder,hexToRgbA},mode:'light',preset:'default',name:'mother',components:{Arrow:{size:'l'},Button:{size:'m'},Checkbox:{size:'m'},Tooltip:{preset:'default'}}};const motherLightTheme={...defaultTheme,preset:'brand'};const motherDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...baseColors$1,...motherColors$1},mode:'dark',preset:'brand'};const babyLightTheme={...defaultTheme,colors:{...defaultTheme.colors,...babyColors},preset:'brand',name:'baby'};const babyDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...baseColors$1,...babyColors$1},mode:'dark',preset:'brand',name:'baby'};const teenLightTheme={...defaultTheme,colors:{...defaultTheme.colors,...teenColors},preset:'brand',name:'teen'};const teenDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...baseColors$1,...teenColors$1},mode:'dark',preset:'brand',name:'teen'};const adultLightTheme={...defaultTheme,colors:{...defaultTheme.colors,...adultColors},preset:'brand',name:'adult'};const adultDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...baseColors$1,...adultColors$1},mode:'dark',preset:'brand',name:'adult'};export{adultDarkTheme,adultLightTheme,babyDarkTheme,babyLightTheme,defaultTheme,motherDarkTheme,motherLightTheme,teenDarkTheme,teenLightTheme};
1
+ import{hexToRgbA}from'../shared/utils/colors.mjs';import{relBuilder}from'../shared/utils/rel-builder.mjs';import{SizeInput}from'../shared/enums/sizeInput.mjs';import{BREAKPOINTS}from'../shared/constants.mjs';import{colors,socialColors,unitColors}from'./colors.mjs';import{baseColors,motherColors,babyColors,teenColors,adultColors}from'./colors-light.mjs';import{baseColors as baseColors$1,motherColors as motherColors$1,babyColors as babyColors$1,teenColors as teenColors$1,adultColors as adultColors$1}from'./colors-dark.mjs';const defaultTheme={breakpoints:BREAKPOINTS,colors:{...colors,...socialColors,...unitColors,...baseColors,...motherColors},borderRadius:'5px',textColor:'mineShaft',fallbackColor:'mineShaft',zIndex:{modal:9e3,tooltip:80},classNamePrefix:'fox',defaultInputControlsWidth:SizeInput.l,utils:{relBuilder,hexToRgbA},mode:'light',preset:'default',name:'mother',components:{Arrow:{size:'l'},Button:{size:'m'},Checkbox:{size:'m'},Tooltip:{preset:'default'}}};const motherLightTheme={...defaultTheme,preset:'brand'};const motherDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...baseColors$1,...motherColors$1},mode:'dark',preset:'brand'};const babyLightTheme={...defaultTheme,colors:{...defaultTheme.colors,...babyColors},preset:'brand',name:'baby'};const babyDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...baseColors$1,...babyColors$1},mode:'dark',preset:'brand',name:'baby'};const teenLightTheme={...defaultTheme,colors:{...defaultTheme.colors,...teenColors},preset:'brand',name:'teen'};const teenDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...baseColors$1,...teenColors$1},mode:'dark',preset:'brand',name:'teen'};const adultLightTheme={...defaultTheme,colors:{...defaultTheme.colors,...adultColors},preset:'brand',name:'adult'};const adultDarkTheme={...defaultTheme,colors:{...defaultTheme.colors,...baseColors$1,...adultColors$1},mode:'dark',preset:'brand',name:'adult'};export{adultDarkTheme,adultLightTheme,babyDarkTheme,babyLightTheme,defaultTheme,motherDarkTheme,motherLightTheme,teenDarkTheme,teenLightTheme};