@mantine/core 3.7.0-alpha.1 → 3.7.0-alpha.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.
@@ -1 +1 @@
1
- {"version":3,"file":"SelectRightSection.js","sources":["../../../../src/components/Select/SelectRightSection/SelectRightSection.tsx"],"sourcesContent":["import React from 'react';\nimport { MantineSize } from '@mantine/styles';\nimport { CloseButton } from '../../ActionIcon/CloseButton/CloseButton';\nimport { ChevronIcon } from './ChevronIcon';\n\nexport interface SelectRightSectionProps {\n shouldClear: boolean;\n clearButtonLabel?: string;\n onClear?: () => void;\n size: MantineSize;\n error?: any;\n disabled?: boolean;\n}\n\nexport function SelectRightSection({\n shouldClear,\n clearButtonLabel,\n onClear,\n size,\n error,\n}: SelectRightSectionProps) {\n return shouldClear ? (\n <CloseButton\n variant=\"transparent\"\n aria-label={clearButtonLabel}\n onClick={onClear}\n size={size}\n />\n ) : (\n <ChevronIcon error={error} size={size} />\n );\n}\n\nSelectRightSection.displayName = '@mantine/core/SelectRightSection';\n"],"names":["React","CloseButton","ChevronIcon"],"mappings":";;;;;;;;;;;;AAGO,SAAS,kBAAkB,CAAC;AACnC,EAAE,WAAW;AACb,EAAE,gBAAgB;AAClB,EAAE,OAAO;AACT,EAAE,IAAI;AACN,EAAE,KAAK;AACP,CAAC,EAAE;AACH,EAAE,OAAO,WAAW,mBAAmBA,cAAK,CAAC,aAAa,CAACC,uBAAW,EAAE;AACxE,IAAI,OAAO,EAAE,aAAa;AAC1B,IAAI,YAAY,EAAE,gBAAgB;AAClC,IAAI,OAAO,EAAE,OAAO;AACpB,IAAI,IAAI;AACR,GAAG,CAAC,mBAAmBD,cAAK,CAAC,aAAa,CAACE,uBAAW,EAAE;AACxD,IAAI,KAAK;AACT,IAAI,IAAI;AACR,GAAG,CAAC,CAAC;AACL,CAAC;AACD,kBAAkB,CAAC,WAAW,GAAG,kCAAkC;;;;"}
1
+ {"version":3,"file":"SelectRightSection.js","sources":["../../../../src/components/Select/SelectRightSection/SelectRightSection.tsx"],"sourcesContent":["import React from 'react';\nimport { MantineSize } from '@mantine/styles';\nimport { CloseButton } from '../../ActionIcon/CloseButton/CloseButton';\nimport { ChevronIcon } from './ChevronIcon';\n\nexport interface SelectRightSectionProps {\n shouldClear: boolean;\n clearButtonLabel?: string;\n onClear?: () => void;\n size: MantineSize;\n error?: any;\n // eslint-disable-next-line react/no-unused-prop-types\n disabled?: boolean;\n}\n\nexport function SelectRightSection({\n shouldClear,\n clearButtonLabel,\n onClear,\n size,\n error,\n}: SelectRightSectionProps) {\n return shouldClear ? (\n <CloseButton\n variant=\"transparent\"\n aria-label={clearButtonLabel}\n onClick={onClear}\n size={size}\n />\n ) : (\n <ChevronIcon error={error} size={size} />\n );\n}\n\nSelectRightSection.displayName = '@mantine/core/SelectRightSection';\n"],"names":["React","CloseButton","ChevronIcon"],"mappings":";;;;;;;;;;;;AAGO,SAAS,kBAAkB,CAAC;AACnC,EAAE,WAAW;AACb,EAAE,gBAAgB;AAClB,EAAE,OAAO;AACT,EAAE,IAAI;AACN,EAAE,KAAK;AACP,CAAC,EAAE;AACH,EAAE,OAAO,WAAW,mBAAmBA,cAAK,CAAC,aAAa,CAACC,uBAAW,EAAE;AACxE,IAAI,OAAO,EAAE,aAAa;AAC1B,IAAI,YAAY,EAAE,gBAAgB;AAClC,IAAI,OAAO,EAAE,OAAO;AACpB,IAAI,IAAI;AACR,GAAG,CAAC,mBAAmBD,cAAK,CAAC,aAAa,CAACE,uBAAW,EAAE;AACxD,IAAI,KAAK;AACT,IAAI,IAAI;AACR,GAAG,CAAC,CAAC;AACL,CAAC;AACD,kBAAkB,CAAC,WAAW,GAAG,kCAAkC;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectRightSection.js","sources":["../../../../src/components/Select/SelectRightSection/SelectRightSection.tsx"],"sourcesContent":["import React from 'react';\nimport { MantineSize } from '@mantine/styles';\nimport { CloseButton } from '../../ActionIcon/CloseButton/CloseButton';\nimport { ChevronIcon } from './ChevronIcon';\n\nexport interface SelectRightSectionProps {\n shouldClear: boolean;\n clearButtonLabel?: string;\n onClear?: () => void;\n size: MantineSize;\n error?: any;\n disabled?: boolean;\n}\n\nexport function SelectRightSection({\n shouldClear,\n clearButtonLabel,\n onClear,\n size,\n error,\n}: SelectRightSectionProps) {\n return shouldClear ? (\n <CloseButton\n variant=\"transparent\"\n aria-label={clearButtonLabel}\n onClick={onClear}\n size={size}\n />\n ) : (\n <ChevronIcon error={error} size={size} />\n );\n}\n\nSelectRightSection.displayName = '@mantine/core/SelectRightSection';\n"],"names":[],"mappings":";;;;AAGO,SAAS,kBAAkB,CAAC;AACnC,EAAE,WAAW;AACb,EAAE,gBAAgB;AAClB,EAAE,OAAO;AACT,EAAE,IAAI;AACN,EAAE,KAAK;AACP,CAAC,EAAE;AACH,EAAE,OAAO,WAAW,mBAAmB,KAAK,CAAC,aAAa,CAAC,WAAW,EAAE;AACxE,IAAI,OAAO,EAAE,aAAa;AAC1B,IAAI,YAAY,EAAE,gBAAgB;AAClC,IAAI,OAAO,EAAE,OAAO;AACpB,IAAI,IAAI;AACR,GAAG,CAAC,mBAAmB,KAAK,CAAC,aAAa,CAAC,WAAW,EAAE;AACxD,IAAI,KAAK;AACT,IAAI,IAAI;AACR,GAAG,CAAC,CAAC;AACL,CAAC;AACD,kBAAkB,CAAC,WAAW,GAAG,kCAAkC;;;;"}
1
+ {"version":3,"file":"SelectRightSection.js","sources":["../../../../src/components/Select/SelectRightSection/SelectRightSection.tsx"],"sourcesContent":["import React from 'react';\nimport { MantineSize } from '@mantine/styles';\nimport { CloseButton } from '../../ActionIcon/CloseButton/CloseButton';\nimport { ChevronIcon } from './ChevronIcon';\n\nexport interface SelectRightSectionProps {\n shouldClear: boolean;\n clearButtonLabel?: string;\n onClear?: () => void;\n size: MantineSize;\n error?: any;\n // eslint-disable-next-line react/no-unused-prop-types\n disabled?: boolean;\n}\n\nexport function SelectRightSection({\n shouldClear,\n clearButtonLabel,\n onClear,\n size,\n error,\n}: SelectRightSectionProps) {\n return shouldClear ? (\n <CloseButton\n variant=\"transparent\"\n aria-label={clearButtonLabel}\n onClick={onClear}\n size={size}\n />\n ) : (\n <ChevronIcon error={error} size={size} />\n );\n}\n\nSelectRightSection.displayName = '@mantine/core/SelectRightSection';\n"],"names":[],"mappings":";;;;AAGO,SAAS,kBAAkB,CAAC;AACnC,EAAE,WAAW;AACb,EAAE,gBAAgB;AAClB,EAAE,OAAO;AACT,EAAE,IAAI;AACN,EAAE,KAAK;AACP,CAAC,EAAE;AACH,EAAE,OAAO,WAAW,mBAAmB,KAAK,CAAC,aAAa,CAAC,WAAW,EAAE;AACxE,IAAI,OAAO,EAAE,aAAa;AAC1B,IAAI,YAAY,EAAE,gBAAgB;AAClC,IAAI,OAAO,EAAE,OAAO;AACpB,IAAI,IAAI;AACR,GAAG,CAAC,mBAAmB,KAAK,CAAC,aAAa,CAAC,WAAW,EAAE;AACxD,IAAI,KAAK;AACT,IAAI,IAAI;AACR,GAAG,CAAC,CAAC;AACL,CAAC;AACD,kBAAkB,CAAC,WAAW,GAAG,kCAAkC;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectRightSection.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/SelectRightSection/SelectRightSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAI9C,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,WAAW,EACX,gBAAgB,EAChB,OAAO,EACP,IAAI,EACJ,KAAK,GACN,EAAE,uBAAuB,eAWzB;yBAjBe,kBAAkB"}
1
+ {"version":3,"file":"SelectRightSection.d.ts","sourceRoot":"","sources":["../../../../src/components/Select/SelectRightSection/SelectRightSection.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAI9C,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,CAAC,EAAE,GAAG,CAAC;IAEZ,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,WAAW,EACX,gBAAgB,EAChB,OAAO,EACP,IAAI,EACJ,KAAK,GACN,EAAE,uBAAuB,eAWzB;yBAjBe,kBAAkB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mantine/core",
3
3
  "description": "React components library focused on usability, accessibility and developer experience",
4
- "version": "3.7.0-alpha.1",
4
+ "version": "3.7.0-alpha.2",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",
7
7
  "types": "lib/index.d.ts",
@@ -27,12 +27,12 @@
27
27
  "emotion"
28
28
  ],
29
29
  "peerDependencies": {
30
- "@mantine/hooks": "3.7.0-alpha.1",
30
+ "@mantine/hooks": "3.7.0-alpha.2",
31
31
  "react": ">=16.8.0",
32
32
  "react-dom": ">=16.8.0"
33
33
  },
34
34
  "dependencies": {
35
- "@mantine/styles": "3.7.0-alpha.1",
35
+ "@mantine/styles": "3.7.0-alpha.2",
36
36
  "@radix-ui/react-scroll-area": "^0.1.1",
37
37
  "clsx": "^1.1.1",
38
38
  "react-textarea-autosize": "^8.3.2",