@kvell-group/ui 1.8.0 → 1.8.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.
package/README.md CHANGED
Binary file
@@ -0,0 +1 @@
1
+ export declare const ExperimentalButtonWithSvg: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,17 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import { Button as C } from "./Button.js";
3
+ import * as e from "react";
4
+ const i = (r) => /* @__PURE__ */ e.createElement("svg", { width: 20, height: 20, viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r }, /* @__PURE__ */ e.createElement("path", { d: "M15.8333 8.33334H16.6667C16.8877 8.33334 17.0996 8.42114 17.2559 8.57742C17.4122 8.7337 17.5 8.94566 17.5 9.16667V17.5C17.5 17.721 17.4122 17.933 17.2559 18.0893C17.0996 18.2455 16.8877 18.3333 16.6667 18.3333H3.33333C3.11232 18.3333 2.90036 18.2455 2.74408 18.0893C2.5878 17.933 2.5 17.721 2.5 17.5V9.16667C2.5 8.94566 2.5878 8.7337 2.74408 8.57742C2.90036 8.42114 3.11232 8.33334 3.33333 8.33334H4.16667V7.50001C4.16667 6.73396 4.31755 5.97542 4.6107 5.26769C4.90386 4.55995 5.33354 3.91689 5.87521 3.37522C6.41689 2.83354 7.05995 2.40386 7.76768 2.11071C8.47541 1.81756 9.23396 1.66667 10 1.66667C10.766 1.66667 11.5246 1.81756 12.2323 2.11071C12.9401 2.40386 13.5831 2.83354 14.1248 3.37522C14.6665 3.91689 15.0961 4.55995 15.3893 5.26769C15.6825 5.97542 15.8333 6.73396 15.8333 7.50001V8.33334ZM4.16667 10V16.6667H15.8333V10H4.16667ZM9.16667 11.6667H10.8333V15H9.16667V11.6667ZM14.1667 8.33334V7.50001C14.1667 6.39494 13.7277 5.33513 12.9463 4.55373C12.1649 3.77233 11.1051 3.33334 10 3.33334C8.89493 3.33334 7.83512 3.77233 7.05372 4.55373C6.27232 5.33513 5.83333 6.39494 5.83333 7.50001V8.33334H14.1667Z", fill: "currentColor", style: {
5
+ fill: "white",
6
+ fillOpacity: 1
7
+ } })), l = () => /* @__PURE__ */ t(
8
+ C,
9
+ {
10
+ leftSection: /* @__PURE__ */ t(i, {}),
11
+ variant: "primary",
12
+ children: "ExperimentalButtonWithSvg"
13
+ }
14
+ );
15
+ export {
16
+ l as ExperimentalButtonWithSvg
17
+ };
@@ -1,4 +1,2 @@
1
- import { MantineProviderProps as MantineProviderCoreProps } from '@mantine/core';
2
- type MantineProviderProps = MantineProviderCoreProps;
3
- export declare function MantineProvider({ children, theme }: MantineProviderProps): import("react/jsx-runtime").JSX.Element;
4
- export {};
1
+ import { MantineProviderProps } from '@mantine/core';
2
+ export declare function MantineProvider({ children, theme, ...restProps }: MantineProviderProps): import("react/jsx-runtime").JSX.Element;
@@ -416,8 +416,15 @@ function T({
416
416
  );
417
417
  }
418
418
  T.displayName = "@mantine/core/MantineProvider";
419
- function fr({ children: r, theme: o }) {
420
- return /* @__PURE__ */ v(T, { theme: o, children: r });
419
+ function fr({ children: r, theme: o, ...a }) {
420
+ return /* @__PURE__ */ v(
421
+ T,
422
+ {
423
+ theme: o,
424
+ ...a,
425
+ children: r
426
+ }
427
+ );
421
428
  }
422
429
  export {
423
430
  fr as MantineProvider
package/dist/main.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export { ExperimentalButtonWithSvg } from './components/Button/ExperimentalButtonWithSvg';
1
2
  export { ColorSchemeScript, mantineHtmlProps } from '@mantine/core';
2
3
  export { MantineProvider } from './components/MainProvider';
3
4
  export { Button } from './components/Button';
package/dist/main.js CHANGED
@@ -1,8 +1,9 @@
1
- import { MantineProvider as s } from "./components/MainProvider/MantineProvider.js";
2
- import { Button as p } from "./components/Button/Button.js";
3
- import { theme as g } from "./components/theme.js";
1
+ import { ExperimentalButtonWithSvg as u } from "./components/Button/ExperimentalButtonWithSvg.js";
2
+ import { MantineProvider as p } from "./components/MainProvider/MantineProvider.js";
3
+ import { Button as g } from "./components/Button/Button.js";
4
+ import { theme as f } from "./components/theme.js";
4
5
  import { jsx as m } from "react/jsx-runtime";
5
- const a = ({
6
+ const n = ({
6
7
  defaultColorScheme: e,
7
8
  localStorageKey: o,
8
9
  forceColorScheme: t
@@ -26,7 +27,7 @@ function l({
26
27
  ...r,
27
28
  "data-mantine-script": !0,
28
29
  dangerouslySetInnerHTML: {
29
- __html: a({
30
+ __html: n({
30
31
  defaultColorScheme: c,
31
32
  localStorageKey: o,
32
33
  forceColorScheme: t
@@ -40,9 +41,10 @@ const i = {
40
41
  "data-mantine-color-scheme": "light"
41
42
  };
42
43
  export {
43
- p as Button,
44
+ g as Button,
44
45
  l as ColorSchemeScript,
45
- s as MantineProvider,
46
+ u as ExperimentalButtonWithSvg,
47
+ p as MantineProvider,
46
48
  i as mantineHtmlProps,
47
- g as theme
49
+ f as theme
48
50
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@kvell-group/ui",
3
3
  "author": "Kvell Group",
4
4
  "private": false,
5
- "version": "1.8.0",
5
+ "version": "1.8.2",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist",