@dynamic-framework/ui-react 2.0.0-dev.3 → 2.0.0-dev.4
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/dist/css/dynamic-ui-non-root.css +230 -2
- package/dist/css/dynamic-ui-non-root.min.css +3 -3
- package/dist/css/dynamic-ui-root.css +2 -2
- package/dist/css/dynamic-ui-root.min.css +2 -2
- package/dist/css/dynamic-ui.css +230 -2
- package/dist/css/dynamic-ui.min.css +3 -3
- package/dist/index.esm.js +3 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +36 -35
- package/dist/index.js.map +1 -1
- package/dist/types/components/DInputMask/DInputMask.d.ts +7 -17
- package/dist/types/components/DLayout/DLayout.d.ts +2 -1
- package/package.json +33 -29
- package/src/style/abstracts/_utilities.scss +19 -0
|
@@ -1,18 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
size?: import("../interface").ComponentSize | undefined;
|
|
9
|
-
invalid?: boolean | undefined;
|
|
10
|
-
valid?: boolean | undefined;
|
|
11
|
-
floatingLabel?: boolean | undefined;
|
|
12
|
-
inputStart?: import("react").ReactNode;
|
|
13
|
-
inputEnd?: import("react").ReactNode;
|
|
14
|
-
onChange?: ((value: string) => void) | undefined;
|
|
15
|
-
onIconStartClick?: ((value?: string | undefined) => void) | undefined;
|
|
16
|
-
onIconEndClick?: ((value?: string | undefined) => void) | undefined;
|
|
17
|
-
} & import("react").RefAttributes<HTMLInputElement>, "ref">, keyof MaskProps> & MaskProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
1
|
+
import { type InputMaskProps } from '@react-input/mask';
|
|
2
|
+
import type { ComponentPropsWithoutRef } from 'react';
|
|
3
|
+
import DInput from '../DInput';
|
|
4
|
+
import type { Merge } from '../../types';
|
|
5
|
+
type NonDInputProps = InputMaskProps<typeof DInput>;
|
|
6
|
+
type Props = Merge<ComponentPropsWithoutRef<typeof DInput>, NonDInputProps>;
|
|
7
|
+
declare const ForwardedDInputMask: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
18
8
|
export default ForwardedDInputMask;
|
|
@@ -13,8 +13,9 @@ type Props = PropsWithChildren<BaseProps & {
|
|
|
13
13
|
gapLg?: Gap;
|
|
14
14
|
gapXl?: Gap;
|
|
15
15
|
gapXxl?: Gap;
|
|
16
|
+
columns?: number;
|
|
16
17
|
}>;
|
|
17
|
-
declare function DLayout({ className, style, children, gap, gapSm, gapMd, gapLg, gapXl, gapXxl, dataAttributes, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare function DLayout({ className, style, children, gap, columns, gapSm, gapMd, gapLg, gapXl, gapXxl, dataAttributes, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
18
19
|
declare const _default: typeof DLayout & {
|
|
19
20
|
Pane: typeof DLayoutPane;
|
|
20
21
|
};
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"sideEffects": [
|
|
4
4
|
"*.css"
|
|
5
5
|
],
|
|
6
|
-
"version": "2.0.0-dev.
|
|
6
|
+
"version": "2.0.0-dev.4",
|
|
7
7
|
"description": "React Dynamic Framework",
|
|
8
8
|
"license": "https://github.com/dynamic-framework/dynamic-ui/blob/master/libraries/dynamic-ui-react/LICENSE.md",
|
|
9
9
|
"repository": {
|
|
@@ -89,22 +89,21 @@
|
|
|
89
89
|
"jest/"
|
|
90
90
|
],
|
|
91
91
|
"dependencies": {
|
|
92
|
-
"@floating-ui/react": "~0.
|
|
93
|
-
"@react-input/mask": "~
|
|
92
|
+
"@floating-ui/react": "~0.27.16",
|
|
93
|
+
"@react-input/mask": "~2.0.4",
|
|
94
94
|
"@splidejs/react-splide": "~0.7.12",
|
|
95
95
|
"@splidejs/splide": "~4.1.4",
|
|
96
|
-
"bootstrap": "~5.3.
|
|
97
|
-
"classnames": "~2.
|
|
96
|
+
"bootstrap": "~5.3.8",
|
|
97
|
+
"classnames": "~2.5.1",
|
|
98
98
|
"currency.js": "~2.0.4",
|
|
99
|
-
"date-fns": "~
|
|
100
|
-
"file-selector": "
|
|
101
|
-
"google-libphonenumber": "
|
|
102
|
-
"
|
|
103
|
-
"lucide-react": "^0.548.0",
|
|
99
|
+
"date-fns": "~4.1.0",
|
|
100
|
+
"file-selector": "~2.1.2",
|
|
101
|
+
"google-libphonenumber": "~3.2.43",
|
|
102
|
+
"lucide-react": "^0.553.0",
|
|
104
103
|
"react-datepicker": "~8.3.0",
|
|
105
|
-
"react-international-phone": "~4.
|
|
106
|
-
"react-responsive-pagination": "
|
|
107
|
-
"react-select": "
|
|
104
|
+
"react-international-phone": "~4.6.0",
|
|
105
|
+
"react-responsive-pagination": "~2.11.3",
|
|
106
|
+
"react-select": "~5.10.2"
|
|
108
107
|
},
|
|
109
108
|
"devDependencies": {
|
|
110
109
|
"@babel/core": "~7.23.2",
|
|
@@ -126,8 +125,8 @@
|
|
|
126
125
|
"@types/google-libphonenumber": "~7.4.30",
|
|
127
126
|
"@types/jest": "~29.5.12",
|
|
128
127
|
"@types/node": "~18.15.3",
|
|
129
|
-
"@types/react": "~19.
|
|
130
|
-
"@types/react-dom": "~19.
|
|
128
|
+
"@types/react": "~19.2.2",
|
|
129
|
+
"@types/react-dom": "~19.2.2",
|
|
131
130
|
"@typescript-eslint/eslint-plugin": "~6.9.0",
|
|
132
131
|
"@typescript-eslint/parser": "~6.9.0",
|
|
133
132
|
"@vitejs/plugin-react": "~4.7.0",
|
|
@@ -144,8 +143,8 @@
|
|
|
144
143
|
"eslint-plugin-jsx-a11y": "~6.7.1",
|
|
145
144
|
"eslint-plugin-react": "~7.33.2",
|
|
146
145
|
"eslint-plugin-react-hooks": "~4.6.0",
|
|
147
|
-
"formik": "~2.4.
|
|
148
|
-
"glob": "~
|
|
146
|
+
"formik": "~2.4.8",
|
|
147
|
+
"glob": "~11.0.3",
|
|
149
148
|
"husky": "~9.1.7",
|
|
150
149
|
"jest": "~29.7.0",
|
|
151
150
|
"jest-axe": "~8.0.0",
|
|
@@ -153,14 +152,15 @@
|
|
|
153
152
|
"jest-environment-jsdom": "~29.7.0",
|
|
154
153
|
"lint-staged": "^15.2.10",
|
|
155
154
|
"postcss-cli": "~10.1.0",
|
|
156
|
-
"react": "~19.
|
|
157
|
-
"react-dom": "~19.
|
|
158
|
-
"react-hot-toast": "~2.
|
|
159
|
-
"react-i18next": "~
|
|
160
|
-
"
|
|
155
|
+
"react": "~19.2.0",
|
|
156
|
+
"react-dom": "~19.2.0",
|
|
157
|
+
"react-hot-toast": "~2.6.0",
|
|
158
|
+
"react-i18next": "~16.2.4",
|
|
159
|
+
"i18next": "~25.6.1",
|
|
160
|
+
"recharts": "~3.3.0",
|
|
161
161
|
"remark-gfm": "~4.0.1",
|
|
162
|
-
"rimraf": "~6.0
|
|
163
|
-
"rollup": "
|
|
162
|
+
"rimraf": "~6.1.0",
|
|
163
|
+
"rollup": "~4.53.1",
|
|
164
164
|
"sass": "~1.69.4",
|
|
165
165
|
"storybook": "~9.0.17",
|
|
166
166
|
"stylelint": "^16.16.0",
|
|
@@ -172,15 +172,19 @@
|
|
|
172
172
|
"yup": "^1.6.1"
|
|
173
173
|
},
|
|
174
174
|
"peerDependencies": {
|
|
175
|
-
"react": "~19.
|
|
176
|
-
"react-dom": "~19.
|
|
177
|
-
"react-hot-toast": "~2.
|
|
178
|
-
"react-i18next": "~
|
|
179
|
-
"
|
|
175
|
+
"react": "~19.2.0",
|
|
176
|
+
"react-dom": "~19.2.0",
|
|
177
|
+
"react-hot-toast": "~2.6.0",
|
|
178
|
+
"react-i18next": "~16.2.4",
|
|
179
|
+
"i18next": "~25.6.1",
|
|
180
|
+
"recharts": "~3.3.0"
|
|
180
181
|
},
|
|
181
182
|
"peerDependenciesMeta": {
|
|
182
183
|
"recharts": {
|
|
183
184
|
"optional": true
|
|
185
|
+
},
|
|
186
|
+
"formik": {
|
|
187
|
+
"optional": true
|
|
184
188
|
}
|
|
185
189
|
}
|
|
186
190
|
}
|
|
@@ -81,6 +81,25 @@ $utilities: map-merge(
|
|
|
81
81
|
)
|
|
82
82
|
)
|
|
83
83
|
),
|
|
84
|
+
"grid-column": (
|
|
85
|
+
class: "g-col",
|
|
86
|
+
property: grid-column,
|
|
87
|
+
responsive: true,
|
|
88
|
+
values: (
|
|
89
|
+
13: auto/span 13,
|
|
90
|
+
14: auto/span 14,
|
|
91
|
+
15: auto/span 15,
|
|
92
|
+
16: auto/span 16,
|
|
93
|
+
17: auto/span 17,
|
|
94
|
+
18: auto/span 18,
|
|
95
|
+
19: auto/span 19,
|
|
96
|
+
20: auto/span 20,
|
|
97
|
+
21: auto/span 21,
|
|
98
|
+
22: auto/span 22,
|
|
99
|
+
23: auto/span 23,
|
|
100
|
+
24: auto/span 24
|
|
101
|
+
)
|
|
102
|
+
),
|
|
84
103
|
"overlay": (
|
|
85
104
|
property: opacity,
|
|
86
105
|
class: "overlay",
|