@pingux/astro 2.208.0-alpha.0 → 2.208.1-alpha.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 (143) hide show
  1. package/lib/cjs/components/AIComponents/PromptInput/PromptInputReadMe.mdx +12 -15
  2. package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.mdx +13 -19
  3. package/lib/cjs/components/AccordionGroup/AccordionGroup.mdx +16 -17
  4. package/lib/cjs/components/ArrayField/ArrayField.mdx +10 -15
  5. package/lib/cjs/components/Badge/Badge.mdx +6 -8
  6. package/lib/cjs/components/Breadcrumbs/Breadcrumbs.mdx +11 -17
  7. package/lib/cjs/components/Button/Button.mdx +8 -12
  8. package/lib/cjs/components/Calendar/Calendar.mdx +17 -22
  9. package/lib/cjs/components/Callout/Callout.mdx +8 -13
  10. package/lib/cjs/components/Card/Card.mdx +6 -8
  11. package/lib/cjs/components/CheckboxField/CheckboxField.mdx +11 -16
  12. package/lib/cjs/components/CodeEditor/CodeEditor.mdx +8 -13
  13. package/lib/cjs/components/CodeView/CodeView.mdx +5 -8
  14. package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.mdx +10 -13
  15. package/lib/cjs/components/ColorField/ColorField.mdx +13 -18
  16. package/lib/cjs/components/ComboBoxField/ComboBoxField.mdx +13 -15
  17. package/lib/cjs/components/CopyText/CopyText.mdx +6 -8
  18. package/lib/cjs/components/DataTable/DataTable.mdx +17 -22
  19. package/lib/cjs/components/DatePicker/DatePicker.mdx +20 -27
  20. package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.mdx +14 -19
  21. package/lib/cjs/components/ExpandableText/ExpandableText.mdx +9 -15
  22. package/lib/cjs/components/FileInputField/FileInputField.mdx +11 -16
  23. package/lib/cjs/components/Footer/Footer.mdx +9 -14
  24. package/lib/cjs/components/GridList/GridList.mdx +16 -21
  25. package/lib/cjs/components/HelpHint/HelpHint.mdx +8 -14
  26. package/lib/cjs/components/Icon/Icon.mdx +5 -3
  27. package/lib/cjs/components/IconButton/IconButton.mdx +7 -10
  28. package/lib/cjs/components/IconButtonToggle/IconButtonToggle.mdx +9 -15
  29. package/lib/cjs/components/Image/Image.mdx +4 -4
  30. package/lib/cjs/components/ImageUploadField/ImageUploadField.mdx +18 -24
  31. package/lib/cjs/components/Link/Link.mdx +5 -6
  32. package/lib/cjs/components/LinkSelectField/LinkSelectField.mdx +18 -24
  33. package/lib/cjs/components/ListItem/ListItem.mdx +6 -6
  34. package/lib/cjs/components/ListView/ListView.mdx +22 -23
  35. package/lib/cjs/components/Loader/Loader.mdx +6 -5
  36. package/lib/cjs/components/Menu/Menu.mdx +13 -18
  37. package/lib/cjs/components/Messages/Messages.mdx +9 -13
  38. package/lib/cjs/components/Modal/Modal.mdx +18 -19
  39. package/lib/cjs/components/MultivaluesField/MultivaluesField.mdx +14 -20
  40. package/lib/cjs/components/NavBar/NavBar.mdx +12 -17
  41. package/lib/cjs/components/NavSideBar/NavSideBar.mdx +12 -17
  42. package/lib/cjs/components/NavigationHeader/NavigationHeader.mdx +11 -16
  43. package/lib/cjs/components/NumberField/NumberField.mdx +16 -17
  44. package/lib/cjs/components/OverlayPanel/OverlayPanel.mdx +10 -14
  45. package/lib/cjs/components/Pagination/Pagination.mdx +9 -13
  46. package/lib/cjs/components/PasswordField/PasswordField.mdx +10 -15
  47. package/lib/cjs/components/PopoverMenu/PopoverMenu.mdx +16 -22
  48. package/lib/cjs/components/ProgressBar/ProgressBar.mdx +6 -7
  49. package/lib/cjs/components/RadioGroupField/RadioGroupField.mdx +11 -17
  50. package/lib/cjs/components/RangeCalendar/RangeCalendar.mdx +17 -22
  51. package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.mdx +11 -16
  52. package/lib/cjs/components/SearchField/SearchField.mdx +8 -10
  53. package/lib/cjs/components/SelectField/SelectField.mdx +18 -23
  54. package/lib/cjs/components/Separator/Separator.mdx +4 -3
  55. package/lib/cjs/components/ServerErrorBoundary/ServerErrorBoundary.mdx +6 -8
  56. package/lib/cjs/components/SliderField/SliderField.mdx +12 -15
  57. package/lib/cjs/components/StatusIcon/StatusIcon.mdx +4 -3
  58. package/lib/cjs/components/Stepper/Stepper.mdx +18 -20
  59. package/lib/cjs/components/SwitchField/SwitchField.mdx +9 -14
  60. package/lib/cjs/components/Tabs/Tabs.mdx +13 -18
  61. package/lib/cjs/components/TextAreaField/TextAreaField.mdx +8 -12
  62. package/lib/cjs/components/TextField/TextField.mdx +8 -12
  63. package/lib/cjs/components/TimeField/TimeField.mdx +12 -18
  64. package/lib/cjs/components/TooltipTrigger/TooltipTrigger.mdx +4 -3
  65. package/lib/cjs/types/accessibilityTable.d.ts +8 -0
  66. package/lib/cjs/types/accessibilityTable.js +6 -0
  67. package/lib/cjs/types/index.d.ts +1 -0
  68. package/lib/cjs/types/index.js +75 -64
  69. package/lib/cjs/utils/docUtils/AccessibilityTable.d.ts +3 -0
  70. package/lib/cjs/utils/docUtils/AccessibilityTable.js +38 -0
  71. package/lib/cjs/utils/docUtils/AccessibilityTable.test.js +192 -0
  72. package/lib/cjs/utils/docUtils/accessibilityTableConstants.d.ts +130 -0
  73. package/lib/cjs/utils/docUtils/accessibilityTableConstants.js +137 -0
  74. package/lib/components/AIComponents/PromptInput/PromptInputReadMe.mdx +12 -15
  75. package/lib/components/AccordionGridGroup/AccordionGridGroup.mdx +13 -19
  76. package/lib/components/AccordionGroup/AccordionGroup.mdx +16 -17
  77. package/lib/components/ArrayField/ArrayField.mdx +10 -15
  78. package/lib/components/Badge/Badge.mdx +6 -8
  79. package/lib/components/Breadcrumbs/Breadcrumbs.mdx +11 -17
  80. package/lib/components/Button/Button.mdx +8 -12
  81. package/lib/components/Calendar/Calendar.mdx +17 -22
  82. package/lib/components/Callout/Callout.mdx +8 -13
  83. package/lib/components/Card/Card.mdx +6 -8
  84. package/lib/components/CheckboxField/CheckboxField.mdx +11 -16
  85. package/lib/components/CodeEditor/CodeEditor.mdx +8 -13
  86. package/lib/components/CodeView/CodeView.mdx +5 -8
  87. package/lib/components/CollapsiblePanel/CollapsiblePanel.mdx +10 -13
  88. package/lib/components/ColorField/ColorField.mdx +13 -18
  89. package/lib/components/ComboBoxField/ComboBoxField.mdx +13 -15
  90. package/lib/components/CopyText/CopyText.mdx +6 -8
  91. package/lib/components/DataTable/DataTable.mdx +17 -22
  92. package/lib/components/DatePicker/DatePicker.mdx +20 -27
  93. package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.mdx +14 -19
  94. package/lib/components/ExpandableText/ExpandableText.mdx +9 -15
  95. package/lib/components/FileInputField/FileInputField.mdx +11 -16
  96. package/lib/components/Footer/Footer.mdx +9 -14
  97. package/lib/components/GridList/GridList.mdx +16 -21
  98. package/lib/components/HelpHint/HelpHint.mdx +8 -14
  99. package/lib/components/Icon/Icon.mdx +5 -3
  100. package/lib/components/IconButton/IconButton.mdx +7 -10
  101. package/lib/components/IconButtonToggle/IconButtonToggle.mdx +9 -15
  102. package/lib/components/Image/Image.mdx +4 -4
  103. package/lib/components/ImageUploadField/ImageUploadField.mdx +18 -24
  104. package/lib/components/Link/Link.mdx +5 -6
  105. package/lib/components/LinkSelectField/LinkSelectField.mdx +18 -24
  106. package/lib/components/ListItem/ListItem.mdx +6 -6
  107. package/lib/components/ListView/ListView.mdx +22 -23
  108. package/lib/components/Loader/Loader.mdx +6 -5
  109. package/lib/components/Menu/Menu.mdx +13 -18
  110. package/lib/components/Messages/Messages.mdx +9 -13
  111. package/lib/components/Modal/Modal.mdx +18 -19
  112. package/lib/components/MultivaluesField/MultivaluesField.mdx +14 -20
  113. package/lib/components/NavBar/NavBar.mdx +12 -17
  114. package/lib/components/NavSideBar/NavSideBar.mdx +12 -17
  115. package/lib/components/NavigationHeader/NavigationHeader.mdx +11 -16
  116. package/lib/components/NumberField/NumberField.mdx +16 -17
  117. package/lib/components/OverlayPanel/OverlayPanel.mdx +10 -14
  118. package/lib/components/Pagination/Pagination.mdx +9 -13
  119. package/lib/components/PasswordField/PasswordField.mdx +10 -15
  120. package/lib/components/PopoverMenu/PopoverMenu.mdx +16 -22
  121. package/lib/components/ProgressBar/ProgressBar.mdx +6 -7
  122. package/lib/components/RadioGroupField/RadioGroupField.mdx +11 -17
  123. package/lib/components/RangeCalendar/RangeCalendar.mdx +17 -22
  124. package/lib/components/RockerButtonGroup/RockerButtonGroup.mdx +11 -16
  125. package/lib/components/SearchField/SearchField.mdx +8 -10
  126. package/lib/components/SelectField/SelectField.mdx +18 -23
  127. package/lib/components/Separator/Separator.mdx +4 -3
  128. package/lib/components/ServerErrorBoundary/ServerErrorBoundary.mdx +6 -8
  129. package/lib/components/SliderField/SliderField.mdx +12 -15
  130. package/lib/components/StatusIcon/StatusIcon.mdx +4 -3
  131. package/lib/components/Stepper/Stepper.mdx +18 -20
  132. package/lib/components/SwitchField/SwitchField.mdx +9 -14
  133. package/lib/components/Tabs/Tabs.mdx +13 -18
  134. package/lib/components/TextAreaField/TextAreaField.mdx +8 -12
  135. package/lib/components/TextField/TextField.mdx +8 -12
  136. package/lib/components/TimeField/TimeField.mdx +12 -18
  137. package/lib/components/TooltipTrigger/TooltipTrigger.mdx +4 -3
  138. package/lib/types/accessibilityTable.js +1 -0
  139. package/lib/types/index.js +1 -0
  140. package/lib/utils/docUtils/AccessibilityTable.js +30 -0
  141. package/lib/utils/docUtils/AccessibilityTable.test.js +190 -0
  142. package/lib/utils/docUtils/accessibilityTableConstants.js +130 -0
  143. package/package.json +1 -1
@@ -0,0 +1,130 @@
1
+ export var KeyboardRows = {
2
+ shiftTabFocusPrevious: {
3
+ key: 'Shift + Tab',
4
+ description: 'Moves focus to the previous focusable component.'
5
+ },
6
+ tabField: {
7
+ key: 'Tab',
8
+ description: 'The field is focusable using the Tab key and follows the page tab sequence.'
9
+ },
10
+ tabFocusesField: {
11
+ key: 'Tab',
12
+ description: 'Focuses the field and follows the page tab sequence.'
13
+ },
14
+ spaceEnterSelectsButton: {
15
+ key: 'Space or Enter',
16
+ description: 'Selects the button.'
17
+ },
18
+ tabFocusesButton: {
19
+ key: 'Tab',
20
+ description: 'Focuses the button and follows the page tab sequence.'
21
+ },
22
+ homeFirstListboxItem: {
23
+ key: 'Home(Fn + Right Arrow Key) Or Control/Command + Home',
24
+ description: 'Shifts the focus to the first item in the listbox.'
25
+ },
26
+ endLastListboxItem: {
27
+ key: 'End(Fn + Left Arrow Key) Or Control/Command + End',
28
+ description: 'Shifts the focus to the last item in the listbox.'
29
+ },
30
+ tabNextFocusableComponent: {
31
+ key: 'Tab',
32
+ description: 'Moves focus to the next focusable component and follows the page tab sequence.'
33
+ },
34
+ tabFocusesItem: {
35
+ key: 'Tab',
36
+ description: 'Focuses item and follows the page tab sequence.'
37
+ },
38
+ tabAccordionFocusable: {
39
+ key: 'Tab',
40
+ description: 'Moves focus to the next focusable component. All focusable components in the accordion are included in the page tab sequence.'
41
+ },
42
+ shiftTabAccordionFocusPrevious: {
43
+ key: 'Shift + Tab',
44
+ description: 'Moves focus to the previous focusable component. All focusable components in the accordion are included in the page tab sequence.'
45
+ },
46
+ spaceEnterToggleAccordion: {
47
+ key: 'Space or Enter',
48
+ description: 'Toggles the component when the accordion is focused.'
49
+ },
50
+ escCollapseAccordion: {
51
+ key: 'Esc',
52
+ description: 'Pressing the escape key when the accordion is open and focused collapses the component.'
53
+ },
54
+ tabCalendar: {
55
+ key: 'Tab',
56
+ description: 'Components in the calendar are focusable and follow the page tab sequence.'
57
+ },
58
+ homeFirstCalendarDate: {
59
+ key: 'Pressing Home:(Fn + Right Arrow Key) Or Control or Command + Home',
60
+ description: 'Shifts the focus to the first calendar date.'
61
+ },
62
+ pageUpPreviousMonth: {
63
+ key: 'Page up',
64
+ description: 'Changes the grid of dates to the previous month.'
65
+ },
66
+ pageDownNextMonth: {
67
+ key: 'Page down',
68
+ description: 'Changes the grid of dates to the next month.'
69
+ },
70
+ shiftPageUpPreviousYear: {
71
+ key: 'Shift + page up',
72
+ description: 'Changes the grid of dates to the same month in the previous year.'
73
+ },
74
+ shiftPageDownNextYear: {
75
+ key: 'Shift + page down',
76
+ description: 'Changes the grid of dates to the same month in the next year.'
77
+ },
78
+ spaceEnterSelectsComponent: {
79
+ key: 'Space or Enter',
80
+ description: 'Selects the component when it is focused.'
81
+ },
82
+ typingOpenPopover: {
83
+ key: 'Typing in input field',
84
+ description: 'Adds focus to it and opens the popover.'
85
+ },
86
+ spaceEnterSelectsItem: {
87
+ key: 'Space or Enter',
88
+ description: 'Selects the item.'
89
+ },
90
+ spaceEnterSelectsComponentSimple: {
91
+ key: 'Space or Enter',
92
+ description: 'Selects the component.'
93
+ },
94
+ tabFocusesComponent: {
95
+ key: 'Tab',
96
+ description: 'Focuses the component and follows the page tab sequence.'
97
+ },
98
+ tabInput: {
99
+ key: 'Tab',
100
+ description: 'The input is focusable using the Tab key and follows the page tab sequence.'
101
+ },
102
+ homeFirstRow: {
103
+ key: 'Home(Fn + Right Arrow Key) Or Control/Command + Home',
104
+ description: 'Shifts the focus to the first row.'
105
+ },
106
+ endLastVisibleRow: {
107
+ key: 'End(Fn + Left Arrow Key) Or Control/Command + End',
108
+ description: 'Shifts the focus to the last visible row.'
109
+ },
110
+ arrowKeysMovePopoverSelection: {
111
+ key: 'Arrow keys',
112
+ description: 'Moves the selection through the popover.'
113
+ },
114
+ escClosePopoverFocusPrevious: {
115
+ key: 'Esc',
116
+ description: 'Pressing the escape key closes the popover and focuses on the previous focusable component.'
117
+ }
118
+ };
119
+ export var ScreenReaderRows = {
120
+ ariaLabelAccessibleName: 'The **`aria-label`** attribute is used to provide an accessible name.',
121
+ eachLinkAriaLabel: 'Each Link component uses the **`aria-label`** attribute to provide an accessible name.',
122
+ ariaLiveAnnounce: 'The **`aria-live`** attribute is used to announce content changes in a live region.',
123
+ ariaOrientationWithTrailingSpace: 'The **`aria-orientation`** attribute indicates whether the orientation is horizontal, vertical, unknown, or ambiguous. ',
124
+ accordionAriaExpanded: 'The accordion header button uses the **`aria-expanded`** attribute to indicate when the content expands and collapses.',
125
+ iconAriaHidden: 'The Icon uses the **`aria-hidden`** attribute to hide its content from assistive technology.',
126
+ triggerAriaExpandedExpandCollapse: 'The trigger button uses the **`aria-expanded`** attribute to indicate when the content expands and collapses.',
127
+ ariaLabelledByInvalidFalse: 'This component uses the **`aria-labelledby`** attribute pointing to the label, and the **`aria-invalid`** attribute to detect incorrect values or status errors, which is set to "False" by default.',
128
+ ariaOrientationNoTrailingSpace: 'The **`aria-orientation`** attribute indicates whether the orientation is horizontal, vertical, unknown, or ambiguous.',
129
+ componentAriaLabel: 'This component uses the **`aria-label`** attribute to provide an accessible name.'
130
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.208.0-alpha.0",
3
+ "version": "2.208.1-alpha.0",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",