@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.
Files changed (92) hide show
  1. package/dist/Alert/Alert.cjs.js +1 -1
  2. package/dist/Alert/Alert.esm.js +1 -1
  3. package/dist/Breadcrumbs/Breadcrumbs.cjs.js +2 -2
  4. package/dist/Breadcrumbs/Breadcrumbs.esm.js +2 -2
  5. package/dist/Button/Button.cjs.js +2 -2
  6. package/dist/Button/Button.esm.js +2 -2
  7. package/dist/Calendar/Calendar.cjs.js +2 -2
  8. package/dist/Calendar/Calendar.esm.js +2 -2
  9. package/dist/Card/Card.cjs.js +2 -2
  10. package/dist/Card/Card.esm.js +2 -2
  11. package/dist/DatePicker/DatePicker.cjs.js +4 -4
  12. package/dist/DatePicker/DatePicker.esm.js +4 -4
  13. package/dist/Disclosure/Disclosure.cjs.js +5 -1
  14. package/dist/Disclosure/Disclosure.esm.js +6 -2
  15. package/dist/Icon/Icon.cjs.js +1 -1
  16. package/dist/Icon/Icon.esm.js +1 -1
  17. package/dist/InformationCard/InformationCard.cjs.js +4 -4
  18. package/dist/InformationCard/InformationCard.esm.js +4 -4
  19. package/dist/MediaCard/MediaCard.cjs.js +2 -2
  20. package/dist/MediaCard/MediaCard.esm.js +2 -2
  21. package/dist/Modal/Modal.cjs.js +2 -2
  22. package/dist/Modal/Modal.esm.js +2 -2
  23. package/dist/Pagination/Pagination.cjs.js +1 -1
  24. package/dist/Pagination/Pagination.esm.js +1 -1
  25. package/dist/PaginationSimple/PaginationSimple.cjs.js +1 -1
  26. package/dist/PaginationSimple/PaginationSimple.esm.js +1 -1
  27. package/dist/ProgressBar/ProgressBar.cjs.js +1 -1
  28. package/dist/ProgressBar/ProgressBar.esm.js +1 -1
  29. package/dist/ProgressStepper/ProgressStepper.cjs.js +2 -2
  30. package/dist/ProgressStepper/ProgressStepper.esm.js +2 -2
  31. package/dist/RadioGroup/RadioGroup.cjs.js +1 -1
  32. package/dist/RadioGroup/RadioGroup.esm.js +1 -1
  33. package/dist/ScrollToTop/ScrollToTop.cjs.js +1 -1
  34. package/dist/ScrollToTop/ScrollToTop.esm.js +1 -1
  35. package/dist/Select/Select.cjs.js +1 -1
  36. package/dist/Select/Select.esm.js +1 -1
  37. package/dist/SiteHeader/SiteHeader.cjs.js +3 -3
  38. package/dist/SiteHeader/SiteHeader.esm.js +3 -3
  39. package/dist/SiteHeaderV2/SiteHeaderV2.cjs.js +3 -3
  40. package/dist/SiteHeaderV2/SiteHeaderV2.esm.js +3 -3
  41. package/dist/Switch/Switch.cjs.js +1 -1
  42. package/dist/Switch/Switch.esm.js +1 -1
  43. package/dist/Tabs/Tabs.cjs.js +2 -2
  44. package/dist/Tabs/Tabs.esm.js +2 -2
  45. package/dist/Tag/Tag.cjs.js +2 -2
  46. package/dist/Tag/Tag.esm.js +2 -2
  47. package/dist/TextArea/TextArea.cjs.js +11 -11
  48. package/dist/TextArea/TextArea.esm.js +11 -11
  49. package/dist/TextInput/TextInput.cjs.js +2 -2
  50. package/dist/TextInput/TextInput.esm.js +2 -2
  51. package/dist/Toast/Toast.cjs.js +2 -2
  52. package/dist/Toast/Toast.esm.js +2 -2
  53. package/dist/TypographyCard/TypographyCard.cjs.js +2 -2
  54. package/dist/TypographyCard/TypographyCard.esm.js +2 -2
  55. package/dist/_shared/cjs/{Breadcrumbs-ef659d2b.js → Breadcrumbs-c6eaf5c4.js} +1 -1
  56. package/dist/_shared/cjs/{Button-4fed080a.js → Button-84533dc8.js} +1 -1
  57. package/dist/_shared/cjs/{Calendar-18e255f8.js → Calendar-c6ed5f2c.js} +1 -1
  58. package/dist/_shared/cjs/{Card-17dcc171.js → Card-5b19cabc.js} +1 -1
  59. package/dist/_shared/cjs/{CardFooter-43c32239.js → CardFooter-f6cba651.js} +1 -1
  60. package/dist/_shared/cjs/{Icon-a9801f05.js → Icon-b46897a3.js} +6 -2
  61. package/dist/_shared/cjs/{ProgressStepper-9cdc0afe.js → ProgressStepper-3af8a210.js} +1 -1
  62. package/dist/_shared/cjs/{RadioGroup-23c964ae.js → RadioGroup-60845bb3.js} +8 -4
  63. package/dist/_shared/cjs/{SiteHeader.rehydrator-df053a52.js → SiteHeader.rehydrator-ea49f8d5.js} +2 -2
  64. package/dist/_shared/cjs/{SiteHeaderV2-79930632.js → SiteHeaderV2-8c8f3f5c.js} +2 -2
  65. package/dist/_shared/cjs/{Tabs-34db6bc1.js → Tabs-24e6f45b.js} +1 -1
  66. package/dist/_shared/cjs/{Tag-42ddca45.js → Tag-8723b324.js} +1 -1
  67. package/dist/_shared/cjs/{TextInput-d0370fa8.js → TextInput-acbd8eda.js} +5 -2
  68. package/dist/_shared/cjs/{Toast-392b1d60.js → Toast-7a20d1b9.js} +1 -1
  69. package/dist/_shared/esm/{Breadcrumbs-36edfb3d.js → Breadcrumbs-7d55e1a6.js} +1 -1
  70. package/dist/_shared/esm/{Button-a453e8e4.js → Button-3f294e64.js} +1 -1
  71. package/dist/_shared/esm/{Calendar-4033fa48.js → Calendar-753ef6f1.js} +1 -1
  72. package/dist/_shared/esm/{Card-201e9f28.js → Card-7fc6c9b4.js} +1 -1
  73. package/dist/_shared/esm/{CardFooter-dd8d4000.js → CardFooter-55ae9a37.js} +1 -1
  74. package/dist/_shared/esm/{Icon-abd0d990.js → Icon-15799695.js} +6 -2
  75. package/dist/_shared/esm/{ProgressStepper-f51f86c3.js → ProgressStepper-d4c5b6d9.js} +1 -1
  76. package/dist/_shared/esm/{RadioGroup-37fdb06b.js → RadioGroup-d42dba3a.js} +8 -4
  77. package/dist/_shared/esm/{SiteHeader.rehydrator-32bdcd88.js → SiteHeader.rehydrator-65c8cf71.js} +2 -2
  78. package/dist/_shared/esm/{SiteHeaderV2-9e7e7d3b.js → SiteHeaderV2-6d0ff35b.js} +2 -2
  79. package/dist/_shared/esm/{Tabs-df9965dd.js → Tabs-a85af483.js} +1 -1
  80. package/dist/_shared/esm/{Tag-92c088a9.js → Tag-664b85c8.js} +1 -1
  81. package/dist/_shared/esm/{TextInput-abbab56b.js → TextInput-ddf4cc7a.js} +5 -3
  82. package/dist/_shared/esm/{Toast-5d66e13f.js → Toast-7a232e15.js} +1 -1
  83. package/dist/index.es.js +24 -10
  84. package/dist/index.es.js.map +1 -1
  85. package/dist/index.js +24 -10
  86. package/dist/index.js.map +1 -1
  87. package/dist/styles.css +3 -3
  88. package/dist/types/components/DatePicker/DatePicker.d.ts +2 -2
  89. package/dist/types/components/Icon/Icon.d.ts +4 -0
  90. package/dist/types/components/RadioGroup/RadioButton/RadioButton.d.ts +5 -0
  91. package/dist/types/components/TextInput/TextInput.d.ts +4 -4
  92. 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 { TextInputProps } from "../TextInput/TextInput";
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<TextInputProps, "defaultValue" | "inputMode" | "minLength" | "maxLength" | "pattern" | "type" | "showPassword" | "placeholder" | "iconButton" | "prefix" | "suffix">, Omit<CalendarProps, "onDateSelect" | "onRangeSelect" | "selectedDate" | "selectedRange"> {
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;
@@ -30,4 +30,8 @@ export interface IconProps {
30
30
  * value for data-testid
31
31
  */
32
32
  testId?: string;
33
+ /**
34
+ * hides the icon from screenreaders
35
+ */
36
+ isPresentationIcon?: boolean;
33
37
  }
@@ -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 interface TextInputProps extends Omit<FormControlProps, "children" | "elementType" | "htmlFor" | "requirementStatus" | "helperUnderLabel" | "supplementaryInfo"> {
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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arc-ui/components",
3
- "version": "11.18.0",
3
+ "version": "11.19.0",
4
4
  "homepage": "https://ui.digital-ent-int.bt.com",
5
5
  "author": "BT Enterprise Digital UI Team <ui-digital-ent-int@bt.com>",
6
6
  "main": "./dist/index.js",