@foxford/ui 2.81.0-beta-3000e76-20250930 → 2.82.0-beta-2c266bb-20251002

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
- 'use strict';exports.POSITIONS={center:{top:'50%',right:'auto',bottom:'auto',left:'50%',transform:'translate(-50%, -50%)'},'top-center':{top:'5vh',right:'auto',bottom:'auto',left:'50%',transform:'translate(-50%, 0px)'},'bottom-left':{top:'auto',right:'auto',bottom:'5vh',left:'5vh',transform:'translate(0px, 0px)'},'bottom-right':{top:'auto',right:'5vh',bottom:'5vh',left:'auto',transform:'translate(0px, 0px)'},'bottom-center':{top:'auto',right:'auto',bottom:'0px',left:'50%',transform:'translate(-50%, 0px)'}};
1
+ 'use strict';exports.POSITIONS={center:{top:'50%',right:'auto',bottom:'auto',left:'50%',transform:'translate(-50%, -50%)'},'top-center':{top:'5vh',right:'auto',bottom:'auto',left:'50%',transform:'translate(-50%, 0px)'},'top-left':{top:'5vh',right:'auto',bottom:'auto',left:'5vh',transform:'translate(0px, 0px)'},'top-right':{top:'5vh',right:'5vh',bottom:'auto',left:'auto',transform:'translate(0px, 0px)'},'bottom-left':{top:'auto',right:'auto',bottom:'5vh',left:'5vh',transform:'translate(0px, 0px)'},'bottom-right':{top:'auto',right:'5vh',bottom:'5vh',left:'auto',transform:'translate(0px, 0px)'},'bottom-center':{top:'auto',right:'auto',bottom:'0px',left:'50%',transform:'translate(-50%, 0px)'},left:{top:'5vh',right:'auto',bottom:'5vh',left:'5vh',transform:'translate(0px, 0px)'},right:{top:'5vh',right:'5vh',bottom:'5vh',left:'auto',transform:'translate(0px, 0px)'}};
2
2
  //# sourceMappingURL=positions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"positions.js","sources":["../../../../src/components/Dialog/positions.ts"],"sourcesContent":["import type { CSSProperties } from 'react'\nimport type { Position } from './types'\n\nexport const POSITIONS: Record<Position, CSSProperties> = {\n center: {\n top: '50%',\n right: 'auto',\n bottom: 'auto',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n },\n 'top-center': {\n top: '5vh',\n right: 'auto',\n bottom: 'auto',\n left: '50%',\n transform: 'translate(-50%, 0px)',\n },\n 'bottom-left': {\n top: 'auto',\n right: 'auto',\n bottom: '5vh',\n left: '5vh',\n transform: 'translate(0px, 0px)',\n },\n 'bottom-right': {\n top: 'auto',\n right: '5vh',\n bottom: '5vh',\n left: 'auto',\n transform: 'translate(0px, 0px)',\n },\n 'bottom-center': {\n top: 'auto',\n right: 'auto',\n bottom: '0px',\n left: '50%',\n transform: 'translate(-50%, 0px)',\n },\n}\n"],"names":["center","top","right","bottom","left","transform"],"mappings":"+BAG0D,CACxDA,OAAQ,CACNC,IAAK,MACLC,MAAO,OACPC,OAAQ,OACRC,KAAM,MACNC,UAAW,yBAEb,aAAc,CACZJ,IAAK,MACLC,MAAO,OACPC,OAAQ,OACRC,KAAM,MACNC,UAAW,wBAEb,cAAe,CACbJ,IAAK,OACLC,MAAO,OACPC,OAAQ,MACRC,KAAM,MACNC,UAAW,uBAEb,eAAgB,CACdJ,IAAK,OACLC,MAAO,MACPC,OAAQ,MACRC,KAAM,OACNC,UAAW,uBAEb,gBAAiB,CACfJ,IAAK,OACLC,MAAO,OACPC,OAAQ,MACRC,KAAM,MACNC,UAAW"}
1
+ {"version":3,"file":"positions.js","sources":["../../../../src/components/Dialog/positions.ts"],"sourcesContent":["import type { CSSProperties } from 'react'\nimport type { Position } from './types'\n\nexport const POSITIONS: Record<Position, CSSProperties> = {\n center: {\n top: '50%',\n right: 'auto',\n bottom: 'auto',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n },\n 'top-center': {\n top: '5vh',\n right: 'auto',\n bottom: 'auto',\n left: '50%',\n transform: 'translate(-50%, 0px)',\n },\n 'top-left': {\n top: '5vh',\n right: 'auto',\n bottom: 'auto',\n left: '5vh',\n transform: 'translate(0px, 0px)',\n },\n 'top-right': {\n top: '5vh',\n right: '5vh',\n bottom: 'auto',\n left: 'auto',\n transform: 'translate(0px, 0px)',\n },\n 'bottom-left': {\n top: 'auto',\n right: 'auto',\n bottom: '5vh',\n left: '5vh',\n transform: 'translate(0px, 0px)',\n },\n 'bottom-right': {\n top: 'auto',\n right: '5vh',\n bottom: '5vh',\n left: 'auto',\n transform: 'translate(0px, 0px)',\n },\n 'bottom-center': {\n top: 'auto',\n right: 'auto',\n bottom: '0px',\n left: '50%',\n transform: 'translate(-50%, 0px)',\n },\n left: {\n top: '5vh',\n right: 'auto',\n bottom: '5vh',\n left: '5vh',\n transform: 'translate(0px, 0px)',\n },\n right: {\n top: '5vh',\n right: '5vh',\n bottom: '5vh',\n left: 'auto',\n transform: 'translate(0px, 0px)',\n },\n}\n"],"names":["center","top","right","bottom","left","transform"],"mappings":"+BAG0D,CACxDA,OAAQ,CACNC,IAAK,MACLC,MAAO,OACPC,OAAQ,OACRC,KAAM,MACNC,UAAW,yBAEb,aAAc,CACZJ,IAAK,MACLC,MAAO,OACPC,OAAQ,OACRC,KAAM,MACNC,UAAW,wBAEb,WAAY,CACVJ,IAAK,MACLC,MAAO,OACPC,OAAQ,OACRC,KAAM,MACNC,UAAW,uBAEb,YAAa,CACXJ,IAAK,MACLC,MAAO,MACPC,OAAQ,OACRC,KAAM,OACNC,UAAW,uBAEb,cAAe,CACbJ,IAAK,OACLC,MAAO,OACPC,OAAQ,MACRC,KAAM,MACNC,UAAW,uBAEb,eAAgB,CACdJ,IAAK,OACLC,MAAO,MACPC,OAAQ,MACRC,KAAM,OACNC,UAAW,uBAEb,gBAAiB,CACfJ,IAAK,OACLC,MAAO,OACPC,OAAQ,MACRC,KAAM,MACNC,UAAW,wBAEbD,KAAM,CACJH,IAAK,MACLC,MAAO,OACPC,OAAQ,MACRC,KAAM,MACNC,UAAW,uBAEbH,MAAO,CACLD,IAAK,MACLC,MAAO,MACPC,OAAQ,MACRC,KAAM,OACNC,UAAW"}
@@ -1,2 +1,2 @@
1
- const POSITIONS={center:{top:'50%',right:'auto',bottom:'auto',left:'50%',transform:'translate(-50%, -50%)'},'top-center':{top:'5vh',right:'auto',bottom:'auto',left:'50%',transform:'translate(-50%, 0px)'},'bottom-left':{top:'auto',right:'auto',bottom:'5vh',left:'5vh',transform:'translate(0px, 0px)'},'bottom-right':{top:'auto',right:'5vh',bottom:'5vh',left:'auto',transform:'translate(0px, 0px)'},'bottom-center':{top:'auto',right:'auto',bottom:'0px',left:'50%',transform:'translate(-50%, 0px)'}};export{POSITIONS};
1
+ const POSITIONS={center:{top:'50%',right:'auto',bottom:'auto',left:'50%',transform:'translate(-50%, -50%)'},'top-center':{top:'5vh',right:'auto',bottom:'auto',left:'50%',transform:'translate(-50%, 0px)'},'top-left':{top:'5vh',right:'auto',bottom:'auto',left:'5vh',transform:'translate(0px, 0px)'},'top-right':{top:'5vh',right:'5vh',bottom:'auto',left:'auto',transform:'translate(0px, 0px)'},'bottom-left':{top:'auto',right:'auto',bottom:'5vh',left:'5vh',transform:'translate(0px, 0px)'},'bottom-right':{top:'auto',right:'5vh',bottom:'5vh',left:'auto',transform:'translate(0px, 0px)'},'bottom-center':{top:'auto',right:'auto',bottom:'0px',left:'50%',transform:'translate(-50%, 0px)'},left:{top:'5vh',right:'auto',bottom:'5vh',left:'5vh',transform:'translate(0px, 0px)'},right:{top:'5vh',right:'5vh',bottom:'5vh',left:'auto',transform:'translate(0px, 0px)'}};export{POSITIONS};
2
2
  //# sourceMappingURL=positions.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"positions.mjs","sources":["../../../../src/components/Dialog/positions.ts"],"sourcesContent":["import type { CSSProperties } from 'react'\nimport type { Position } from './types'\n\nexport const POSITIONS: Record<Position, CSSProperties> = {\n center: {\n top: '50%',\n right: 'auto',\n bottom: 'auto',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n },\n 'top-center': {\n top: '5vh',\n right: 'auto',\n bottom: 'auto',\n left: '50%',\n transform: 'translate(-50%, 0px)',\n },\n 'bottom-left': {\n top: 'auto',\n right: 'auto',\n bottom: '5vh',\n left: '5vh',\n transform: 'translate(0px, 0px)',\n },\n 'bottom-right': {\n top: 'auto',\n right: '5vh',\n bottom: '5vh',\n left: 'auto',\n transform: 'translate(0px, 0px)',\n },\n 'bottom-center': {\n top: 'auto',\n right: 'auto',\n bottom: '0px',\n left: '50%',\n transform: 'translate(-50%, 0px)',\n },\n}\n"],"names":["POSITIONS","center","top","right","bottom","left","transform"],"mappings":"AAGO,MAAMA,UAA6C,CACxDC,OAAQ,CACNC,IAAK,MACLC,MAAO,OACPC,OAAQ,OACRC,KAAM,MACNC,UAAW,yBAEb,aAAc,CACZJ,IAAK,MACLC,MAAO,OACPC,OAAQ,OACRC,KAAM,MACNC,UAAW,wBAEb,cAAe,CACbJ,IAAK,OACLC,MAAO,OACPC,OAAQ,MACRC,KAAM,MACNC,UAAW,uBAEb,eAAgB,CACdJ,IAAK,OACLC,MAAO,MACPC,OAAQ,MACRC,KAAM,OACNC,UAAW,uBAEb,gBAAiB,CACfJ,IAAK,OACLC,MAAO,OACPC,OAAQ,MACRC,KAAM,MACNC,UAAW"}
1
+ {"version":3,"file":"positions.mjs","sources":["../../../../src/components/Dialog/positions.ts"],"sourcesContent":["import type { CSSProperties } from 'react'\nimport type { Position } from './types'\n\nexport const POSITIONS: Record<Position, CSSProperties> = {\n center: {\n top: '50%',\n right: 'auto',\n bottom: 'auto',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n },\n 'top-center': {\n top: '5vh',\n right: 'auto',\n bottom: 'auto',\n left: '50%',\n transform: 'translate(-50%, 0px)',\n },\n 'top-left': {\n top: '5vh',\n right: 'auto',\n bottom: 'auto',\n left: '5vh',\n transform: 'translate(0px, 0px)',\n },\n 'top-right': {\n top: '5vh',\n right: '5vh',\n bottom: 'auto',\n left: 'auto',\n transform: 'translate(0px, 0px)',\n },\n 'bottom-left': {\n top: 'auto',\n right: 'auto',\n bottom: '5vh',\n left: '5vh',\n transform: 'translate(0px, 0px)',\n },\n 'bottom-right': {\n top: 'auto',\n right: '5vh',\n bottom: '5vh',\n left: 'auto',\n transform: 'translate(0px, 0px)',\n },\n 'bottom-center': {\n top: 'auto',\n right: 'auto',\n bottom: '0px',\n left: '50%',\n transform: 'translate(-50%, 0px)',\n },\n left: {\n top: '5vh',\n right: 'auto',\n bottom: '5vh',\n left: '5vh',\n transform: 'translate(0px, 0px)',\n },\n right: {\n top: '5vh',\n right: '5vh',\n bottom: '5vh',\n left: 'auto',\n transform: 'translate(0px, 0px)',\n },\n}\n"],"names":["POSITIONS","center","top","right","bottom","left","transform"],"mappings":"AAGO,MAAMA,UAA6C,CACxDC,OAAQ,CACNC,IAAK,MACLC,MAAO,OACPC,OAAQ,OACRC,KAAM,MACNC,UAAW,yBAEb,aAAc,CACZJ,IAAK,MACLC,MAAO,OACPC,OAAQ,OACRC,KAAM,MACNC,UAAW,wBAEb,WAAY,CACVJ,IAAK,MACLC,MAAO,OACPC,OAAQ,OACRC,KAAM,MACNC,UAAW,uBAEb,YAAa,CACXJ,IAAK,MACLC,MAAO,MACPC,OAAQ,OACRC,KAAM,OACNC,UAAW,uBAEb,cAAe,CACbJ,IAAK,OACLC,MAAO,OACPC,OAAQ,MACRC,KAAM,MACNC,UAAW,uBAEb,eAAgB,CACdJ,IAAK,OACLC,MAAO,MACPC,OAAQ,MACRC,KAAM,OACNC,UAAW,uBAEb,gBAAiB,CACfJ,IAAK,OACLC,MAAO,OACPC,OAAQ,MACRC,KAAM,MACNC,UAAW,wBAEbD,KAAM,CACJH,IAAK,MACLC,MAAO,OACPC,OAAQ,MACRC,KAAM,MACNC,UAAW,uBAEbH,MAAO,CACLD,IAAK,MACLC,MAAO,MACPC,OAAQ,MACRC,KAAM,OACNC,UAAW"}
package/dts/index.d.ts CHANGED
@@ -3878,7 +3878,7 @@ declare const DialogComponent: React.ForwardRefExoticComponent<DialogComponentPr
3878
3878
 
3879
3879
  type Size$5 = 'xxl' | 'xl' | 'l' | 'm' | 's' | 'xs';
3880
3880
  type Layout$1 = 'vertical' | 'horizontal' | 'vertical-reverse' | 'horizontal-reverse';
3881
- type Position = 'center' | 'top-center' | 'bottom-left' | 'bottom-right' | 'bottom-center';
3881
+ type Position = 'center' | 'top-center' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'bottom-center' | 'left' | 'right';
3882
3882
  interface DialogBaseProps extends ResponsiveSizeProps<Size$5>, ResponsiveLayoutProps<Layout$1>, ResponsivePositionProps<Position> {
3883
3883
  /**
3884
3884
  * Открыто диалоговое окно.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foxford/ui",
3
- "version": "2.81.0-beta-3000e76-20250930",
3
+ "version": "2.82.0-beta-2c266bb-20251002",
4
4
  "description": "UI components and utilities",
5
5
  "bugs": {
6
6
  "url": "https://github.com/foxford/ui/issues"
@@ -68,6 +68,6 @@
68
68
  "shared",
69
69
  "theme"
70
70
  ],
71
- "sha": "3000e76",
71
+ "sha": "2c266bb",
72
72
  "scripts": {}
73
73
  }