@arc-ui/components 11.18.0 → 11.19.0
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/Alert/Alert.cjs.js +1 -1
- package/dist/Alert/Alert.esm.js +1 -1
- package/dist/Breadcrumbs/Breadcrumbs.cjs.js +2 -2
- package/dist/Breadcrumbs/Breadcrumbs.esm.js +2 -2
- package/dist/Button/Button.cjs.js +2 -2
- package/dist/Button/Button.esm.js +2 -2
- package/dist/Calendar/Calendar.cjs.js +2 -2
- package/dist/Calendar/Calendar.esm.js +2 -2
- package/dist/Card/Card.cjs.js +2 -2
- package/dist/Card/Card.esm.js +2 -2
- package/dist/DatePicker/DatePicker.cjs.js +4 -4
- package/dist/DatePicker/DatePicker.esm.js +4 -4
- package/dist/Disclosure/Disclosure.cjs.js +5 -1
- package/dist/Disclosure/Disclosure.esm.js +6 -2
- package/dist/Icon/Icon.cjs.js +1 -1
- package/dist/Icon/Icon.esm.js +1 -1
- package/dist/InformationCard/InformationCard.cjs.js +4 -4
- package/dist/InformationCard/InformationCard.esm.js +4 -4
- package/dist/MediaCard/MediaCard.cjs.js +2 -2
- package/dist/MediaCard/MediaCard.esm.js +2 -2
- package/dist/Modal/Modal.cjs.js +2 -2
- package/dist/Modal/Modal.esm.js +2 -2
- package/dist/Pagination/Pagination.cjs.js +1 -1
- package/dist/Pagination/Pagination.esm.js +1 -1
- package/dist/PaginationSimple/PaginationSimple.cjs.js +1 -1
- package/dist/PaginationSimple/PaginationSimple.esm.js +1 -1
- package/dist/ProgressBar/ProgressBar.cjs.js +1 -1
- package/dist/ProgressBar/ProgressBar.esm.js +1 -1
- package/dist/ProgressStepper/ProgressStepper.cjs.js +2 -2
- package/dist/ProgressStepper/ProgressStepper.esm.js +2 -2
- package/dist/RadioGroup/RadioGroup.cjs.js +1 -1
- package/dist/RadioGroup/RadioGroup.esm.js +1 -1
- package/dist/ScrollToTop/ScrollToTop.cjs.js +1 -1
- package/dist/ScrollToTop/ScrollToTop.esm.js +1 -1
- package/dist/Select/Select.cjs.js +1 -1
- package/dist/Select/Select.esm.js +1 -1
- package/dist/SiteHeader/SiteHeader.cjs.js +3 -3
- package/dist/SiteHeader/SiteHeader.esm.js +3 -3
- package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +3 -3
- package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +3 -3
- package/dist/Switch/Switch.cjs.js +1 -1
- package/dist/Switch/Switch.esm.js +1 -1
- package/dist/Tabs/Tabs.cjs.js +2 -2
- package/dist/Tabs/Tabs.esm.js +2 -2
- package/dist/Tag/Tag.cjs.js +2 -2
- package/dist/Tag/Tag.esm.js +2 -2
- package/dist/TextArea/TextArea.cjs.js +11 -11
- package/dist/TextArea/TextArea.esm.js +11 -11
- package/dist/TextInput/TextInput.cjs.js +2 -2
- package/dist/TextInput/TextInput.esm.js +2 -2
- package/dist/Toast/Toast.cjs.js +2 -2
- package/dist/Toast/Toast.esm.js +2 -2
- package/dist/TypographyCard/TypographyCard.cjs.js +2 -2
- package/dist/TypographyCard/TypographyCard.esm.js +2 -2
- package/dist/_shared/cjs/{Breadcrumbs-ef659d2b.js → Breadcrumbs-c6eaf5c4.js} +1 -1
- package/dist/_shared/cjs/{Button-4fed080a.js → Button-84533dc8.js} +1 -1
- package/dist/_shared/cjs/{Calendar-18e255f8.js → Calendar-c6ed5f2c.js} +1 -1
- package/dist/_shared/cjs/{Card-17dcc171.js → Card-5b19cabc.js} +1 -1
- package/dist/_shared/cjs/{CardFooter-43c32239.js → CardFooter-f6cba651.js} +1 -1
- package/dist/_shared/cjs/{Icon-a9801f05.js → Icon-b46897a3.js} +6 -2
- package/dist/_shared/cjs/{ProgressStepper-9cdc0afe.js → ProgressStepper-3af8a210.js} +1 -1
- package/dist/_shared/cjs/{RadioGroup-23c964ae.js → RadioGroup-60845bb3.js} +8 -4
- package/dist/_shared/cjs/{SiteHeader.rehydrator-df053a52.js → SiteHeader.rehydrator-ea49f8d5.js} +2 -2
- package/dist/_shared/cjs/{SiteHeaderV2-79930632.js → SiteHeaderV2-8c8f3f5c.js} +2 -2
- package/dist/_shared/cjs/{Tabs-34db6bc1.js → Tabs-24e6f45b.js} +1 -1
- package/dist/_shared/cjs/{Tag-42ddca45.js → Tag-8723b324.js} +1 -1
- package/dist/_shared/cjs/{TextInput-d0370fa8.js → TextInput-acbd8eda.js} +5 -2
- package/dist/_shared/cjs/{Toast-392b1d60.js → Toast-7a20d1b9.js} +1 -1
- package/dist/_shared/esm/{Breadcrumbs-36edfb3d.js → Breadcrumbs-7d55e1a6.js} +1 -1
- package/dist/_shared/esm/{Button-a453e8e4.js → Button-3f294e64.js} +1 -1
- package/dist/_shared/esm/{Calendar-4033fa48.js → Calendar-753ef6f1.js} +1 -1
- package/dist/_shared/esm/{Card-201e9f28.js → Card-7fc6c9b4.js} +1 -1
- package/dist/_shared/esm/{CardFooter-dd8d4000.js → CardFooter-55ae9a37.js} +1 -1
- package/dist/_shared/esm/{Icon-abd0d990.js → Icon-15799695.js} +6 -2
- package/dist/_shared/esm/{ProgressStepper-f51f86c3.js → ProgressStepper-d4c5b6d9.js} +1 -1
- package/dist/_shared/esm/{RadioGroup-37fdb06b.js → RadioGroup-d42dba3a.js} +8 -4
- package/dist/_shared/esm/{SiteHeader.rehydrator-32bdcd88.js → SiteHeader.rehydrator-65c8cf71.js} +2 -2
- package/dist/_shared/esm/{SiteHeaderV2-9e7e7d3b.js → SiteHeaderV2-6d0ff35b.js} +2 -2
- package/dist/_shared/esm/{Tabs-df9965dd.js → Tabs-a85af483.js} +1 -1
- package/dist/_shared/esm/{Tag-92c088a9.js → Tag-664b85c8.js} +1 -1
- package/dist/_shared/esm/{TextInput-abbab56b.js → TextInput-ddf4cc7a.js} +5 -3
- package/dist/_shared/esm/{Toast-5d66e13f.js → Toast-7a232e15.js} +1 -1
- package/dist/index.es.js +24 -10
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +24 -10
- package/dist/index.js.map +1 -1
- package/dist/styles.css +3 -3
- package/dist/types/components/DatePicker/DatePicker.d.ts +2 -2
- package/dist/types/components/Icon/Icon.d.ts +4 -0
- package/dist/types/components/RadioGroup/RadioButton/RadioButton.d.ts +5 -0
- package/dist/types/components/TextInput/TextInput.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { type ArcCalendarRangeSelection } from "../Calendar";
|
|
3
3
|
import { CalendarProps } from "../Calendar/Calendar";
|
|
4
|
-
import {
|
|
4
|
+
import { TextInputWithPlaceholderProps } from "../TextInput/TextInput";
|
|
5
5
|
export declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLInputElement>>;
|
|
6
6
|
interface DatePickerRangeSelection extends ArcCalendarRangeSelection {
|
|
7
7
|
formattedRange: string;
|
|
8
8
|
}
|
|
9
|
-
export interface DatePickerProps extends Omit<
|
|
9
|
+
export interface DatePickerProps extends Omit<TextInputWithPlaceholderProps, "defaultValue" | "inputMode" | "minLength" | "maxLength" | "pattern" | "type" | "showPassword" | "placeholder" | "iconButton" | "prefix" | "suffix">, Omit<CalendarProps, "onDateSelect" | "onRangeSelect" | "selectedDate" | "selectedRange"> {
|
|
10
10
|
isFluid?: boolean;
|
|
11
11
|
onDateSelect?: (value: {
|
|
12
12
|
date: Date;
|
|
@@ -4,6 +4,11 @@ import { FC } from "react";
|
|
|
4
4
|
*/
|
|
5
5
|
export declare const RadioButton: FC<RadioButtonProps>;
|
|
6
6
|
export interface RadioButtonProps {
|
|
7
|
+
/**
|
|
8
|
+
* Determine the alignment the RadioButton.
|
|
9
|
+
*
|
|
10
|
+
*/
|
|
11
|
+
radioButtonAlignment?: "top" | "center";
|
|
7
12
|
/**
|
|
8
13
|
* ID for the Radio Button.
|
|
9
14
|
*/
|
|
@@ -2,11 +2,9 @@ import React from "react";
|
|
|
2
2
|
import { FormControlProps } from "../FormControl/FormControl";
|
|
3
3
|
import { ArcIcon } from "../../types/arc-icon";
|
|
4
4
|
type EventType = React.ChangeEvent<HTMLInputElement>;
|
|
5
|
-
/**
|
|
6
|
-
* Use `TextInput` to allow custom user text entry with a keyboard.
|
|
7
|
-
*/
|
|
8
5
|
export declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
9
|
-
export
|
|
6
|
+
export declare const TextInputWithPlaceHolder: React.ForwardRefExoticComponent<TextInputComponentProps & React.RefAttributes<HTMLInputElement>>;
|
|
7
|
+
export interface TextInputComponentProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel" | "supplementaryInfo"> {
|
|
10
8
|
/**
|
|
11
9
|
* Uncontrolled default value of the TextInput. If the TextInput is controlled
|
|
12
10
|
* via `value`/`onChange`, `defaultValue` will be ignored.
|
|
@@ -106,4 +104,6 @@ export interface TextInputProps extends Omit<FormControlProps, "children" | "ele
|
|
|
106
104
|
*/
|
|
107
105
|
width?: string;
|
|
108
106
|
}
|
|
107
|
+
export type TextInputProps = Omit<TextInputComponentProps, "placeholder">;
|
|
108
|
+
export type TextInputWithPlaceholderProps = TextInputComponentProps;
|
|
109
109
|
export {};
|