@hhgtech/hhg-components 1.20.43 → 1.20.45

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.
@@ -0,0 +1,2 @@
1
+ export type { SelectProps } from './select';
2
+ export { Select } from './select';
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SelectProps as MantineSelectProps } from '@mantine/core';
3
+ export declare const Select: (props: MantineSelectProps) => JSX.Element;
4
+ export declare type SelectProps = MantineSelectProps;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledSelect: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@mantine/core").SelectProps & import("react").RefAttributes<HTMLInputElement>>, any, {}, never>;
File without changes
@@ -0,0 +1 @@
1
+ import{e,_ as n}from"./tslib.es6-5532bd7b.js";import t from"react";import{Select as o}from"@mantine/core";import r from"styled-components";var i,s=r(o)(i||(i=e(["\n .mantine-Select-input {\n border-radius: 6px;\n &:hover,\n &:focus {\n box-shadow: 0 0 2px 2px\n ",";\n }\n }\n"],["\n .mantine-Select-input {\n border-radius: 6px;\n &:hover,\n &:focus {\n box-shadow: 0 0 2px 2px\n ",";\n }\n }\n"])),(function(e){return e.theme.colors.blue200})),a=function(e){return t.createElement(s,n({rightSection:t.createElement("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t.createElement("path",{d:"M1 1L5 5L9 1",stroke:"#595959",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},e))};export{a as Select};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./tslib.es6-f7929e76.js"),t=require("react"),n=require("@mantine/core"),r=require("styled-components");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i,u=o(t),s=o(r).default(n.Select)(i||(i=e.__makeTemplateObject(["\n .mantine-Select-input {\n border-radius: 6px;\n &:hover,\n &:focus {\n box-shadow: 0 0 2px 2px\n ",";\n }\n }\n"],["\n .mantine-Select-input {\n border-radius: 6px;\n &:hover,\n &:focus {\n box-shadow: 0 0 2px 2px\n ",";\n }\n }\n"])),(function(e){return e.theme.colors.blue200}));exports.Select=function(t){return u.default.createElement(s,e.__assign({rightSection:u.default.createElement("svg",{width:"10",height:"6",viewBox:"0 0 10 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u.default.createElement("path",{d:"M1 1L5 5L9 1",stroke:"#595959",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))},t))};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hhgtech/hhg-components",
3
- "version": "1.20.43",
3
+ "version": "1.20.45",
4
4
  "main": "build/index.js",
5
5
  "module": "build/esm/index.js",
6
6
  "files": [
@@ -65,14 +65,20 @@
65
65
  },
66
66
  "license": "UNLICENSED",
67
67
  "peerDependencies": {
68
+ "@emotion/react": "^11.10.5",
69
+ "@mantine/core": "^5.8.0",
70
+ "@mantine/dates": "^5.8.0",
71
+ "@mantine/form": "^5.8.0",
72
+ "@mantine/hooks": "^5.8.0",
68
73
  "date-fns": ">=2.16.1",
74
+ "dayjs": "^1.11.6",
69
75
  "lodash": ">=4.17.20",
70
- "react": "^17.0.1",
71
76
  "react-day-picker": "^7.4.10",
72
77
  "react-dom": "^17.0.1",
73
78
  "react-id-generator": ">=3.0.1",
74
79
  "react-loading-skeleton": "^3.1.0",
75
80
  "react-range": ">=1.8.3",
81
+ "react": "^17.0.1",
76
82
  "smoothscroll-polyfill": ">=0.4.4",
77
83
  "styled-components": ">=5.3.0"
78
84
  },
@@ -150,7 +156,13 @@
150
156
  "xlsx": "^0.18.5"
151
157
  },
152
158
  "dependencies": {
159
+ "@emotion/react": "^11.10.5",
160
+ "@mantine/core": "^5.8.0",
161
+ "@mantine/dates": "^5.8.0",
162
+ "@mantine/form": "^5.8.0",
163
+ "@mantine/hooks": "^5.8.0",
153
164
  "browser-image-compression": "^2.0.0",
165
+ "dayjs": "^1.11.6",
154
166
  "innertext": "^1.0.3",
155
167
  "keen-slider": "^6.7.0",
156
168
  "react-contenteditable": "^3.3.6",
@@ -184,8 +196,8 @@
184
196
  "babyGrowth": [
185
197
  "build/components/babyGrowth.d.ts"
186
198
  ],
187
- "core": [
188
- "build/core_deprecated.d.ts"
199
+ "mantine": [
200
+ "build/components/mantine/index.d.ts"
189
201
  ],
190
202
  "ecom": [
191
203
  "build/ecom_temp_excluded/index.d.ts"