@epam/ai-dial-ui-kit 0.5.0-rc.43 → 0.5.0-rc.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.
@@ -7227,8 +7227,8 @@ const p0 = "flex justify-end gap-2 px-6 py-4", f0 = "text-secondary dial-small-1
7227
7227
  open: t,
7228
7228
  disabled: s = !1,
7229
7229
  selectedValue: i,
7230
- valueClassNames: o,
7231
- inputClassNames: n,
7230
+ valueClassName: o,
7231
+ inputClassName: n,
7232
7232
  onOpen: r,
7233
7233
  elementId: a,
7234
7234
  errorText: l,
@@ -7317,8 +7317,8 @@ const p0 = "flex justify-end gap-2 px-6 py-4", f0 = "text-secondary dial-small-1
7317
7317
  selectedValue: i,
7318
7318
  radioButtons: o,
7319
7319
  customInputValue: n,
7320
- valueClassNames: r,
7321
- inputClassNames: a,
7320
+ valueClassName: r,
7321
+ inputClassName: a,
7322
7322
  emptyValueText: l,
7323
7323
  onClose: c,
7324
7324
  title: d,
@@ -7347,8 +7347,8 @@ const p0 = "flex justify-end gap-2 px-6 py-4", f0 = "text-secondary dial-small-1
7347
7347
  disabled: s,
7348
7348
  open: S,
7349
7349
  selectedValue: n ?? o.find((D) => D.id === i)?.name,
7350
- valueClassNames: r,
7351
- inputClassNames: Y(a, "py-2", "px-3"),
7350
+ valueClassName: r,
7351
+ inputClassName: Y(a, "py-2", "px-3"),
7352
7352
  emptyValueText: l,
7353
7353
  onOpen: x,
7354
7354
  children: /* @__PURE__ */ v(
@@ -5,8 +5,8 @@ export interface DialInputPopupProps {
5
5
  children: ReactNode;
6
6
  onOpen: () => void;
7
7
  disabled?: boolean;
8
- valueClassNames?: string;
9
- inputClassNames?: string;
8
+ valueClassName?: string;
9
+ inputClassName?: string;
10
10
  placeholder?: string;
11
11
  elementId?: string;
12
12
  errorText?: string;
@@ -26,8 +26,8 @@ export interface DialInputPopupProps {
26
26
  * emptyValueText="No value selected"
27
27
  * onOpen={() => setModalState(true)}
28
28
  * disabled={false}
29
- * valueClassNames="custom-value-class"
30
- * inputClassNames="custom-input-class"
29
+ * valueClassName="custom-value-class"
30
+ * inputClassName="custom-input-class"
31
31
  * elementId="input-modal"
32
32
  * errorText="This field is required"
33
33
  * >
@@ -41,8 +41,8 @@ export interface DialInputPopupProps {
41
41
  * @param children - The content to render inside the modal when it is opened.
42
42
  * @param onOpen - A callback function triggered when the modal open button is clicked.
43
43
  * @param [disabled=false] - Whether the input is disabled, preventing user interaction.
44
- * @param [valueClassNames] - Additional CSS classes applied to the displayed value.
45
- * @param [inputClassNames] - Additional CSS classes applied to the input container.
44
+ * @param [valueClassName] - Additional CSS classes applied to the displayed value.
45
+ * @param [inputClassName] - Additional CSS classes applied to the input container.
46
46
  * @param [elementId] - A unique identifier for the input element, useful for accessibility and testing.
47
47
  * @param [errorText] - An optional error message displayed below the input when an error state is present.
48
48
  * @param [invalid] - Whether the input is in an invalid state, affecting styling. Applyed automatically if errorText is provided.
@@ -51,8 +51,8 @@ export interface RadioGroupPopupFieldProps extends Pick<DialFieldLabelProps, 'fi
51
51
  * @param [selectedValue] - Current value id used to resolve the displayed option name
52
52
  * @param radioButtons - Collection of radio options (id/name)
53
53
  * @param [customInputValue] - Custom value text to display instead of a radio option name
54
- * @param [valueClassNames] - Extra classes applied to the value text in the collapsed field
55
- * @param [inputClassNames] - Extra classes applied to the collapsed input container
54
+ * @param [valueClassName] - Extra classes applied to the value text in the collapsed field
55
+ * @param [inputClassName] - Extra classes applied to the collapsed input container
56
56
  * @param emptyValueText - Placeholder text when no value is selected
57
57
  * @param [onClose] - Callback fired when the popup closes
58
58
  * @param title - Title text shown in the popup header
@@ -46,7 +46,7 @@ export interface DialTabsProps {
46
46
  * @param [screenThreshold=ScreenResolution.Tablet] - Defines the screen size threshold
47
47
  * below which tabs collapse into a dropdown. Uses the {@link ScreenRelosution} enum.
48
48
  * When set to `Tablet`, both mobile and tablet screens will trigger dropdown mode.
49
- * @param [smallScreenContainerClassNames] - Optional CSS class applied to the dropdown container
49
+ * @param [smallScreenContainerClassName] - Optional CSS class applied to the dropdown container
50
50
  * in small-screen (collapsed) mode.
51
51
  * @param [smallScreenDropdownItemClassName] - Optional CSS class applied to individual dropdown
52
52
  * items in small-screen mode.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-ui-kit",
3
- "version": "0.5.0-rc.43",
3
+ "version": "0.5.0-rc.45",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",