@dynamic-framework/ui-react 1.7.0 → 1.7.1

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.
@@ -3,7 +3,7 @@ import type { EndIcon, LabelIcon, StartIcon } from './interface';
3
3
  type Props = LabelIcon & StartIcon & EndIcon & {
4
4
  id: string;
5
5
  name?: string;
6
- label: string;
6
+ label?: string;
7
7
  placeholder?: string;
8
8
  value?: number;
9
9
  isDisabled?: boolean;
@@ -8,6 +8,7 @@ export type Props<T> = LabelIcon & StartIcon & EndIcon & {
8
8
  id: string;
9
9
  name?: string;
10
10
  label?: string;
11
+ className?: string;
11
12
  isDisabled?: boolean;
12
13
  isLoading?: boolean;
13
14
  hint?: string;
@@ -20,4 +21,4 @@ export type Props<T> = LabelIcon & StartIcon & EndIcon & {
20
21
  valueExtractor?: (item: T) => string | number;
21
22
  labelExtractor?: (item: T) => string;
22
23
  };
23
- export default function DInputSelect<T extends object = DefaultOption>({ id, name, label, options, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, isDisabled, isLoading, iconStart, iconStartFamilyClass, iconStartFamilyPrefix, iconEnd, iconEndFamilyClass, iconEndFamilyPrefix, hint, selectedOption, valueExtractor, labelExtractor, onChange, onBlur, onIconStartClick, onIconEndClick, }: Props<T>): import("react/jsx-runtime").JSX.Element;
24
+ export default function DInputSelect<T extends object = DefaultOption>({ id, name, label, className, options, labelIcon, labelIconFamilyClass, labelIconFamilyPrefix, isDisabled, isLoading, iconStart, iconStartFamilyClass, iconStartFamilyPrefix, iconEnd, iconEndFamilyClass, iconEndFamilyPrefix, hint, selectedOption, valueExtractor, labelExtractor, onChange, onBlur, onIconStartClick, onIconEndClick, }: Props<T>): import("react/jsx-runtime").JSX.Element;
@@ -2,9 +2,10 @@ import type { PropsWithChildren } from 'react';
2
2
  import type { OffcanvasPositionToggleFrom } from './interface';
3
3
  type Props = PropsWithChildren<{
4
4
  name: string;
5
+ className?: string;
5
6
  isStatic?: boolean;
6
7
  isScrollable?: boolean;
7
8
  openFrom?: OffcanvasPositionToggleFrom;
8
9
  }>;
9
- export default function DOffcanvas({ name, isStatic, isScrollable, openFrom, children, }: Props): import("react/jsx-runtime").JSX.Element;
10
+ export default function DOffcanvas({ name, className, isStatic, isScrollable, openFrom, children, }: Props): import("react/jsx-runtime").JSX.Element;
10
11
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dynamic-framework/ui-react",
3
3
  "sideEffects": false,
4
- "version": "1.7.0",
4
+ "version": "1.7.1",
5
5
  "description": "React Dynamic Framework",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -143,5 +143,5 @@
143
143
  "react-i18next": "~11.18.3",
144
144
  "react-toastify": "~9.0.8"
145
145
  },
146
- "gitHead": "f014ad192ea859979ed465b1c6d27f38f9853fe6"
146
+ "gitHead": "9f7a45aace3e4a8bff5a530c4bf65f3ca68348b4"
147
147
  }