@pantheon-systems/pds-toolkit-react 1.0.0-dev.9998 → 1.0.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 (192) hide show
  1. package/README.md +1 -1
  2. package/_dist/components/Avatar/Avatar.d.ts +6 -6
  3. package/_dist/components/BranchDiff/BranchDiff.d.ts +10 -10
  4. package/_dist/components/CTALink/CTALink.d.ts +6 -6
  5. package/_dist/components/CTASlice/CTASlice.d.ts +7 -7
  6. package/_dist/components/Callout/Callout.d.ts +9 -8
  7. package/_dist/components/Callout/sample-callout-content.d.ts +1 -2
  8. package/_dist/components/CodeBlock/CodeBlock.d.ts +6 -6
  9. package/_dist/components/ComparisonList/ComparisonList.d.ts +7 -7
  10. package/_dist/components/DashboardStat/DashboardStat.d.ts +11 -11
  11. package/_dist/components/FileDiff/FileDiff.d.ts +11 -11
  12. package/_dist/components/FlowSteps/FlowSteps.d.ts +10 -10
  13. package/_dist/components/FlowSteps/example-steps.d.ts +3 -4
  14. package/_dist/components/LinkNewWindow/LinkNewWindow.d.ts +6 -6
  15. package/_dist/components/Modal/Modal.d.ts +6 -6
  16. package/_dist/components/Pagination/Pagination.d.ts +8 -8
  17. package/_dist/components/PantheonLogo/PantheonLogo.d.ts +6 -6
  18. package/_dist/components/PantheonLogo/pantheon-logo-data.d.ts +3 -4
  19. package/_dist/components/Picture/Picture.d.ts +15 -15
  20. package/_dist/components/Popover/Popover.d.ts +22 -23
  21. package/_dist/components/PullQuote/PullQuote.d.ts +7 -7
  22. package/_dist/components/RefreshChecker/RefreshChecker.d.ts +10 -10
  23. package/_dist/components/SiteDashboardHeading/SiteDashboardHeading.d.ts +17 -12
  24. package/_dist/components/Skiplink/Skiplink.d.ts +6 -6
  25. package/_dist/components/SocialLinks/SocialLinks.d.ts +8 -8
  26. package/_dist/components/StatusIndicator/StatusIndicator.d.ts +8 -7
  27. package/_dist/components/Table/Table.d.ts +9 -9
  28. package/_dist/components/TableOfContents/TableOfContents.d.ts +9 -9
  29. package/_dist/components/Tabs/Tabs.d.ts +15 -15
  30. package/_dist/components/Tag/Tag.d.ts +8 -8
  31. package/_dist/components/ThemeSwitcher/ThemeSwitcher.d.ts +9 -9
  32. package/_dist/components/Tooltip/Tooltip.d.ts +7 -7
  33. package/_dist/components/VideoEmbed/VideoEmbed.d.ts +6 -6
  34. package/_dist/components/badges/IndicatorBadge/IndicatorBadge.d.ts +7 -7
  35. package/_dist/components/badges/StatusBadge/StatusBadge.d.ts +8 -7
  36. package/_dist/components/badges/Tally/Tally.d.ts +8 -8
  37. package/_dist/components/buttons/Button/Button.d.ts +11 -10
  38. package/_dist/components/buttons/ButtonLink/ButtonLink.d.ts +8 -8
  39. package/_dist/components/buttons/ClipboardButton/ClipboardButton.d.ts +6 -6
  40. package/_dist/components/buttons/CloseButton/CloseButton.d.ts +6 -6
  41. package/_dist/components/buttons/IconButton/IconButton.d.ts +12 -11
  42. package/_dist/components/buttons/MenuButton/MenuButton.d.ts +11 -11
  43. package/_dist/components/buttons/SegmentedButton/SegmentedButton.d.ts +13 -14
  44. package/_dist/components/buttons/SplitButton/SplitButton.d.ts +9 -9
  45. package/_dist/components/buttons/SplitButton/split-button-sample-data.d.ts +1 -2
  46. package/_dist/components/buttons/UtilityButton/UtilityButton.d.ts +25 -11
  47. package/_dist/components/cards/Card/Card.d.ts +7 -7
  48. package/_dist/components/cards/CardHeading/CardHeading.d.ts +6 -7
  49. package/_dist/components/cards/CardSelectGroup/CardSelectGroup.d.ts +10 -10
  50. package/_dist/components/cards/EmptyStateCard/EmptyStateCard.d.ts +7 -7
  51. package/_dist/components/cards/LinksCard/LinksCard.d.ts +7 -7
  52. package/_dist/components/cards/NewSiteCard/NewSiteCard.d.ts +12 -12
  53. package/_dist/components/cards/PaymentCard/PaymentCard.d.ts +16 -16
  54. package/_dist/components/cards/PricingCard/PricingCard.d.ts +22 -22
  55. package/_dist/components/cards/SiteCard/SiteCard.d.ts +13 -8
  56. package/_dist/components/empty-states/CompactEmptyState/CompactEmptyState.d.ts +9 -9
  57. package/_dist/components/empty-states/HorizontalEmptyState/HorizontalEmptyState.d.ts +27 -27
  58. package/_dist/components/empty-states/VerticalEmptyState/VerticalEmptyState.d.ts +15 -15
  59. package/_dist/components/footer/FooterHeading/FooterHeading.d.ts +7 -7
  60. package/_dist/components/footer/FooterLinks/FooterLinks.d.ts +7 -7
  61. package/_dist/components/footer/SiteFooter/SiteFooter.d.ts +11 -11
  62. package/_dist/components/footer/SiteFooter/footer-content.d.ts +1 -2
  63. package/_dist/components/icons/Icon/Icon.d.ts +19 -8
  64. package/_dist/components/icons/PaymentIcon/PaymentIcon.d.ts +6 -6
  65. package/_dist/components/icons/PaymentIcon/svgData.d.ts +5 -6
  66. package/_dist/components/icons/PlatformIcon/PlatformIcon.d.ts +3 -3
  67. package/_dist/components/inputs/Checkbox/Checkbox.d.ts +7 -7
  68. package/_dist/components/inputs/CheckboxFieldset/CheckboxFieldset.d.ts +9 -9
  69. package/_dist/components/inputs/CheckboxGroup/CheckboxGroup.d.ts +8 -8
  70. package/_dist/components/inputs/Combobox/Combobox.d.ts +22 -17
  71. package/_dist/components/inputs/ComboboxMultiselect/ComboboxMultiselect.d.ts +12 -12
  72. package/_dist/components/inputs/Datepicker/Datepicker.d.ts +96 -0
  73. package/_dist/components/inputs/FileUpload/FileUpload.d.ts +6 -6
  74. package/_dist/components/inputs/InputGroup/InputGroup.d.ts +2 -2
  75. package/_dist/components/inputs/RadioGroup/RadioGroup.d.ts +13 -13
  76. package/_dist/components/inputs/Select/Select.d.ts +23 -14
  77. package/_dist/components/inputs/Select/select-sample-data.d.ts +6 -0
  78. package/_dist/components/inputs/Switch/Switch.d.ts +9 -7
  79. package/_dist/components/inputs/TextInput/TextInput.d.ts +9 -9
  80. package/_dist/components/inputs/Textarea/Textarea.d.ts +14 -13
  81. package/_dist/components/inputs/input-utilities.d.ts +35 -35
  82. package/_dist/components/loading-indicators/Skeleton/Skeleton.d.ts +7 -7
  83. package/_dist/components/loading-indicators/Spinner/Spinner.d.ts +6 -6
  84. package/_dist/components/navigation/Breadcrumb/Breadcrumb.d.ts +6 -6
  85. package/_dist/components/navigation/ButtonNav/ButtonNav.d.ts +7 -7
  86. package/_dist/components/navigation/DashboardNav/DashboardNav.d.ts +6 -6
  87. package/_dist/components/navigation/DashboardNav/DashboardNavItem.d.ts +5 -6
  88. package/_dist/components/navigation/DashboardSearch/DashboardSearch.d.ts +10 -10
  89. package/_dist/components/navigation/DashboardSearch/SiteOptionDisplay.d.ts +7 -7
  90. package/_dist/components/navigation/DropdownMenu/DropdownMenu.d.ts +7 -7
  91. package/_dist/components/navigation/NavMenu/NavMenu.d.ts +8 -18
  92. package/_dist/components/navigation/NavMenu/NavMenuDropdown.d.ts +4 -4
  93. package/_dist/components/navigation/Navbar/Navbar.d.ts +8 -8
  94. package/_dist/components/navigation/SideNav/SideNav.d.ts +7 -7
  95. package/_dist/components/navigation/SideNavCompact/SideNavCompact.d.ts +7 -7
  96. package/_dist/components/navigation/SideNavGlobal/SideNavGlobal.d.ts +6 -6
  97. package/_dist/components/navigation/SideNavGlobal/SideNavGlobalItem.d.ts +5 -6
  98. package/_dist/components/navigation/TabMenu/TabMenu.d.ts +10 -10
  99. package/_dist/components/navigation/TabMenu/TabMenuDropdown.d.ts +4 -5
  100. package/_dist/components/navigation/UserMenu/UserMenu.d.ts +7 -7
  101. package/_dist/components/navigation/WorkspaceSelector/WorkspaceSelector.d.ts +24 -10
  102. package/_dist/components/navigation/navigation-utilities.d.ts +3 -3
  103. package/_dist/components/notifications/Banner/Banner.d.ts +11 -9
  104. package/_dist/components/notifications/InlineMessage/InlineMessage.d.ts +8 -7
  105. package/_dist/components/notifications/SectionMessage/SectionMessage.d.ts +9 -8
  106. package/_dist/components/notifications/Toaster/Toast.d.ts +6 -6
  107. package/_dist/components/notifications/Toaster/Toaster.d.ts +6 -6
  108. package/_dist/components/notifications/Toaster/useToast.d.ts +3 -3
  109. package/_dist/components/panels/ExpansionPanel/ExpansionPanel.d.ts +6 -6
  110. package/_dist/components/panels/ExpansionPanelGroup/ExpansionPanelGroup.d.ts +6 -6
  111. package/_dist/components/panels/Panel/Panel.d.ts +16 -9
  112. package/_dist/components/panels/PanelList/PanelList.d.ts +8 -4
  113. package/_dist/components/panels/PanelList/PanelRow.d.ts +6 -6
  114. package/_dist/components/progress-indicators/ProgressBar/ProgressBar.d.ts +8 -7
  115. package/_dist/components/progress-indicators/ProgressRing/ProgressRing.d.ts +6 -6
  116. package/_dist/components/steppers/Stepper/Stepper.d.ts +7 -7
  117. package/_dist/components/steppers/VerticalStepper/VerticalStep.d.ts +7 -7
  118. package/_dist/components/steppers/VerticalStepper/VerticalStepper.d.ts +6 -6
  119. package/_dist/components/steppers/VerticalStepper/vertical-stepper-sample-data.d.ts +3 -4
  120. package/_dist/components/tiles/AvatarTileList/AvatarTileList.d.ts +9 -9
  121. package/_dist/components/tiles/Tile/Tile.d.ts +7 -7
  122. package/_dist/components/tiles/TileGrid/TileGrid.d.ts +8 -8
  123. package/_dist/css/component-css/pds-avatar.css +1 -1
  124. package/_dist/css/component-css/pds-button.css +1 -1
  125. package/_dist/css/component-css/pds-checkbox.css +1 -1
  126. package/_dist/css/component-css/pds-code-block.css +1 -1
  127. package/_dist/css/component-css/pds-combobox-multiselect.css +1 -1
  128. package/_dist/css/component-css/pds-combobox.css +1 -1
  129. package/_dist/css/component-css/pds-dashboard-nav.css +1 -1
  130. package/_dist/css/component-css/pds-datepicker.css +3 -0
  131. package/_dist/css/component-css/pds-index.css +34 -16
  132. package/_dist/css/component-css/pds-indicator-badge.css +5 -3
  133. package/_dist/css/component-css/pds-input-utilities.css +1 -1
  134. package/_dist/css/component-css/pds-menu-button.css +1 -2
  135. package/_dist/css/component-css/pds-navbar.css +1 -1
  136. package/_dist/css/component-css/pds-panel-list.css +1 -1
  137. package/_dist/css/component-css/pds-pantheon-logo.css +1 -1
  138. package/_dist/css/component-css/pds-popover.css +1 -1
  139. package/_dist/css/component-css/pds-progress-bar.css +1 -1
  140. package/_dist/css/component-css/pds-progress-ring.css +1 -1
  141. package/_dist/css/component-css/pds-radio-group.css +1 -1
  142. package/_dist/css/component-css/pds-section-message.css +1 -1
  143. package/_dist/css/component-css/pds-segmented-button.css +1 -1
  144. package/_dist/css/component-css/pds-select.css +1 -1
  145. package/_dist/css/component-css/pds-side-nav-compact.css +1 -1
  146. package/_dist/css/component-css/pds-side-nav-global.css +1 -1
  147. package/_dist/css/component-css/pds-side-nav.css +1 -2
  148. package/_dist/css/component-css/pds-site-card.css +1 -1
  149. package/_dist/css/component-css/pds-site-dashboard-heading.css +1 -1
  150. package/_dist/css/component-css/pds-switch.css +17 -1
  151. package/_dist/css/component-css/pds-tab-menu.css +1 -1
  152. package/_dist/css/component-css/pds-table.css +1 -1
  153. package/_dist/css/component-css/pds-tabs.css +1 -1
  154. package/_dist/css/component-css/pds-utility-button.css +1 -1
  155. package/_dist/css/component-css/pds-workspace-selector.css +1 -1
  156. package/_dist/css/design-tokens/pds-design-tokens-dark-mode.css +7 -0
  157. package/_dist/css/design-tokens/pds-design-tokens-light-mode.css +7 -0
  158. package/_dist/css/pds-components.css +34 -16
  159. package/_dist/css/pds-core.css +2 -2
  160. package/_dist/css/pds-layouts.css +1 -1
  161. package/_dist/index.css +1 -1
  162. package/_dist/index.d.ts +4 -2
  163. package/_dist/index.js +8372 -8581
  164. package/_dist/index.js.map +1 -1
  165. package/_dist/layouts/AppLayout/AppLayout.d.ts +7 -7
  166. package/_dist/layouts/Container/Container.d.ts +7 -7
  167. package/_dist/layouts/DashboardGlobal/DashboardGlobal.d.ts +13 -13
  168. package/_dist/layouts/DashboardInner/DashboardInner.d.ts +8 -7
  169. package/_dist/layouts/DocsLayout/DocsLayout.d.ts +7 -7
  170. package/_dist/layouts/FlexContainer/FlexContainer.d.ts +11 -11
  171. package/_dist/layouts/GlobalWrapper/GlobalWrapper.d.ts +3 -3
  172. package/_dist/layouts/SidebarLayout/SidebarLayout.d.ts +9 -8
  173. package/_dist/layouts/StepperLayout/StepperLayout.d.ts +2 -2
  174. package/_dist/layouts/ThreeItemLayout/ThreeItemLayout.d.ts +7 -7
  175. package/_dist/layouts/TwoItemLayout/TwoItemLayout.d.ts +7 -7
  176. package/_dist/libs/components/sb-docs-toc-layout.d.ts +2 -2
  177. package/_dist/libs/components/utility-components.d.ts +4 -4
  178. package/_dist/libs/types/custom-types.d.ts +46 -10
  179. package/_dist/{components/navigation → libs/types}/navigation-types.d.ts +15 -7
  180. package/_dist/mocks/data/navigation-items.d.ts +58 -147
  181. package/_dist/mocks/markup/dashboard-main-content.d.ts +3 -4
  182. package/_dist/mocks/markup/dashboard-navigation.d.ts +3 -4
  183. package/_dist/mocks/markup/inputs.d.ts +1 -2
  184. package/_dist/mocks/markup/modal.d.ts +1 -2
  185. package/_dist/mocks/markup/panel-row-content.d.ts +5 -6
  186. package/_dist/utilities/color/color-preview-swatches.d.ts +3 -4
  187. package/_dist/utilities/context-providers/OverlayContext/OverlayContext.d.ts +12 -0
  188. package/_dist/utilities/context-providers/ResponsiveContext/ResponsiveContext.d.ts +1 -1
  189. package/_dist/vars/animation.d.ts +2 -2
  190. package/package.json +50 -43
  191. /package/_dist/{components/inputs → libs/types}/input-types.d.ts +0 -0
  192. /package/_dist/{layouts → libs/types}/layout-types.d.ts +0 -0
@@ -1,30 +1,30 @@
1
- import React from 'react';
2
- import type { SideNavGlobalItemProps } from '@components/navigation/SideNavGlobal/SideNavGlobalItem';
1
+ import type { SideNavGlobalItemProps } from '../../components/navigation/SideNavGlobal/SideNavGlobalItem';
2
+ import type { WorkspaceSelectorItem } from '../../components/navigation/WorkspaceSelector/WorkspaceSelector';
3
3
  export declare const dialogMsgBase = "Activated menu item => ";
4
- import { UserMenuItem } from '@components/navigation/UserMenu/UserMenu';
4
+ import { UserMenuItem } from '../../components/navigation/UserMenu/UserMenu';
5
5
  export declare const buttonNavSampleMenuItems: ({
6
- linkContent: React.JSX.Element;
6
+ linkContent: import("react/jsx-runtime").JSX.Element;
7
7
  isActive: boolean;
8
8
  } | {
9
- linkContent: React.JSX.Element;
9
+ linkContent: import("react/jsx-runtime").JSX.Element;
10
10
  isActive?: undefined;
11
11
  })[];
12
12
  export declare const buttonNavSampleMenuItemsRR: {
13
- linkContent: React.JSX.Element;
13
+ linkContent: import("react/jsx-runtime").JSX.Element;
14
14
  }[];
15
15
  export declare const blogMenuItems: {
16
- linkContent: React.JSX.Element;
16
+ linkContent: import("react/jsx-runtime").JSX.Element;
17
17
  }[];
18
18
  export declare const dashboardNavSampleMenuItems: SideNavGlobalItemProps[];
19
19
  export declare const dashboardNavSampleMenuItemsRR: SideNavGlobalItemProps[];
20
20
  export declare const documentationMenuItems: ({
21
21
  label: string;
22
22
  links: {
23
- linkContent: React.JSX.Element;
23
+ linkContent: import("react/jsx-runtime").JSX.Element;
24
24
  }[];
25
25
  linkContent?: undefined;
26
26
  } | {
27
- linkContent: React.JSX.Element;
27
+ linkContent: import("react/jsx-runtime").JSX.Element;
28
28
  label?: undefined;
29
29
  links?: undefined;
30
30
  })[];
@@ -47,18 +47,18 @@ export declare const helpMenuItems: ({
47
47
  export declare const micrositeMenuItems: ({
48
48
  label: string;
49
49
  links: {
50
- linkContent: React.JSX.Element;
50
+ linkContent: import("react/jsx-runtime").JSX.Element;
51
51
  }[];
52
52
  linkContent?: undefined;
53
53
  } | {
54
- linkContent: React.JSX.Element;
54
+ linkContent: import("react/jsx-runtime").JSX.Element;
55
55
  label?: undefined;
56
56
  links?: undefined;
57
57
  })[];
58
- export declare const navMenuSampleMenuItems: ({
58
+ export declare const navMenuSampleNavMenuItems: ({
59
59
  label: string;
60
60
  links: ({
61
- linkContent: React.JSX.Element;
61
+ linkContent: import("react/jsx-runtime").JSX.Element;
62
62
  isSeparator?: undefined;
63
63
  } | {
64
64
  isSeparator: boolean;
@@ -67,20 +67,20 @@ export declare const navMenuSampleMenuItems: ({
67
67
  linkContent?: undefined;
68
68
  isActive?: undefined;
69
69
  } | {
70
- linkContent: React.JSX.Element;
70
+ linkContent: import("react/jsx-runtime").JSX.Element;
71
71
  isActive: boolean;
72
72
  label?: undefined;
73
73
  links?: undefined;
74
74
  } | {
75
- linkContent: React.JSX.Element;
75
+ linkContent: import("react/jsx-runtime").JSX.Element;
76
76
  label?: undefined;
77
77
  links?: undefined;
78
78
  isActive?: undefined;
79
79
  })[];
80
- export declare const navMenuSampleMenuItemsRR: ({
80
+ export declare const navMenuSampleNavMenuItemsRR: ({
81
81
  label: string;
82
82
  links: ({
83
- linkContent: React.JSX.Element;
83
+ linkContent: import("react/jsx-runtime").JSX.Element;
84
84
  isSeparator?: undefined;
85
85
  } | {
86
86
  isSeparator: boolean;
@@ -88,7 +88,7 @@ export declare const navMenuSampleMenuItemsRR: ({
88
88
  })[];
89
89
  linkContent?: undefined;
90
90
  } | {
91
- linkContent: React.JSX.Element;
91
+ linkContent: import("react/jsx-runtime").JSX.Element;
92
92
  label?: undefined;
93
93
  links?: undefined;
94
94
  })[];
@@ -112,111 +112,111 @@ export declare const sampleSites: ({
112
112
  type?: undefined;
113
113
  })[];
114
114
  export declare const sideNavSampleMenuItems: ({
115
- linkContent: React.JSX.Element;
115
+ linkContent: import("react/jsx-runtime").JSX.Element;
116
116
  links?: undefined;
117
117
  } | {
118
- linkContent: React.JSX.Element;
118
+ linkContent: import("react/jsx-runtime").JSX.Element;
119
119
  links: {
120
- linkContent: React.JSX.Element;
120
+ linkContent: import("react/jsx-runtime").JSX.Element;
121
121
  }[];
122
122
  } | {
123
123
  linkContent: string;
124
124
  links: ({
125
- linkContent: React.JSX.Element;
125
+ linkContent: import("react/jsx-runtime").JSX.Element;
126
126
  isActive?: undefined;
127
127
  } | {
128
- linkContent: React.JSX.Element;
128
+ linkContent: import("react/jsx-runtime").JSX.Element;
129
129
  isActive: boolean;
130
130
  })[];
131
131
  })[];
132
132
  export declare const sideNavSampleMenuItemsWithTallies: ({
133
- linkContent: React.JSX.Element;
133
+ linkContent: import("react/jsx-runtime").JSX.Element;
134
134
  links?: undefined;
135
135
  } | {
136
- linkContent: React.JSX.Element;
136
+ linkContent: import("react/jsx-runtime").JSX.Element;
137
137
  links: {
138
- linkContent: React.JSX.Element;
138
+ linkContent: import("react/jsx-runtime").JSX.Element;
139
139
  }[];
140
140
  } | {
141
141
  linkContent: string;
142
142
  links: ({
143
- linkContent: React.JSX.Element;
143
+ linkContent: import("react/jsx-runtime").JSX.Element;
144
144
  isActive?: undefined;
145
145
  } | {
146
- linkContent: React.JSX.Element;
146
+ linkContent: import("react/jsx-runtime").JSX.Element;
147
147
  isActive: boolean;
148
148
  })[];
149
149
  })[];
150
150
  export declare const sideNavSampleMenuItemsRR: ({
151
- linkContent: React.JSX.Element;
151
+ linkContent: import("react/jsx-runtime").JSX.Element;
152
152
  links?: undefined;
153
153
  } | {
154
154
  linkContent: string;
155
155
  links: {
156
- linkContent: React.JSX.Element;
156
+ linkContent: import("react/jsx-runtime").JSX.Element;
157
157
  }[];
158
158
  })[];
159
159
  export declare const sideNavSampleMenuItemsMultidev: ({
160
- linkContent: React.JSX.Element;
160
+ linkContent: import("react/jsx-runtime").JSX.Element;
161
161
  isActive: boolean;
162
162
  } | {
163
- linkContent: React.JSX.Element;
163
+ linkContent: import("react/jsx-runtime").JSX.Element;
164
164
  isActive?: undefined;
165
165
  })[];
166
166
  export declare const sideNavSampleMenuItemsCode: ({
167
- linkContent: React.JSX.Element;
167
+ linkContent: import("react/jsx-runtime").JSX.Element;
168
168
  isActive: boolean;
169
169
  } | {
170
- linkContent: React.JSX.Element;
170
+ linkContent: import("react/jsx-runtime").JSX.Element;
171
171
  isActive?: undefined;
172
172
  })[];
173
173
  export declare const sideNavCompactSampleMenuItems: ({
174
- linkContent: React.JSX.Element;
174
+ linkContent: import("react/jsx-runtime").JSX.Element;
175
175
  links?: undefined;
176
176
  } | {
177
177
  linkContent: string;
178
178
  links: {
179
- linkContent: React.JSX.Element;
179
+ linkContent: import("react/jsx-runtime").JSX.Element;
180
180
  }[];
181
181
  } | {
182
- linkContent: React.JSX.Element;
182
+ linkContent: import("react/jsx-runtime").JSX.Element;
183
183
  links: ({
184
184
  linkContent: string;
185
185
  links: ({
186
- linkContent: React.JSX.Element;
186
+ linkContent: import("react/jsx-runtime").JSX.Element;
187
187
  links: ({
188
- linkContent: React.JSX.Element;
188
+ linkContent: import("react/jsx-runtime").JSX.Element;
189
189
  isActive: boolean;
190
190
  } | {
191
- linkContent: React.JSX.Element;
191
+ linkContent: import("react/jsx-runtime").JSX.Element;
192
192
  isActive?: undefined;
193
193
  })[];
194
194
  } | {
195
- linkContent: React.JSX.Element;
195
+ linkContent: import("react/jsx-runtime").JSX.Element;
196
196
  links?: undefined;
197
197
  })[];
198
198
  } | {
199
- linkContent: React.JSX.Element;
199
+ linkContent: import("react/jsx-runtime").JSX.Element;
200
200
  links?: undefined;
201
201
  })[];
202
202
  })[];
203
203
  export declare const sideNavCompactSampleMenuItemsRR: ({
204
- linkContent: React.JSX.Element;
204
+ linkContent: import("react/jsx-runtime").JSX.Element;
205
205
  links?: undefined;
206
206
  } | {
207
207
  linkContent: string;
208
208
  links: {
209
- linkContent: React.JSX.Element;
209
+ linkContent: import("react/jsx-runtime").JSX.Element;
210
210
  }[];
211
211
  } | {
212
- linkContent: React.JSX.Element;
212
+ linkContent: import("react/jsx-runtime").JSX.Element;
213
213
  links: ({
214
214
  linkContent: string;
215
215
  links: {
216
- linkContent: React.JSX.Element;
216
+ linkContent: import("react/jsx-runtime").JSX.Element;
217
217
  }[];
218
218
  } | {
219
- linkContent: React.JSX.Element;
219
+ linkContent: import("react/jsx-runtime").JSX.Element;
220
220
  links?: undefined;
221
221
  })[];
222
222
  })[];
@@ -229,20 +229,20 @@ export declare const tabMenuSampleMenuItems: ({
229
229
  noResultsText: string;
230
230
  };
231
231
  icon: string;
232
- linkContent: React.JSX.Element;
232
+ linkContent: import("react/jsx-runtime").JSX.Element;
233
233
  links: {
234
- linkContent: React.JSX.Element;
234
+ linkContent: import("react/jsx-runtime").JSX.Element;
235
235
  }[];
236
236
  isActive?: undefined;
237
237
  } | {
238
238
  icon: string;
239
- linkContent: React.JSX.Element;
239
+ linkContent: import("react/jsx-runtime").JSX.Element;
240
240
  isActive: boolean;
241
241
  dropdownSettings?: undefined;
242
242
  links?: undefined;
243
243
  } | {
244
244
  icon: string;
245
- linkContent: React.JSX.Element;
245
+ linkContent: import("react/jsx-runtime").JSX.Element;
246
246
  dropdownSettings?: undefined;
247
247
  links?: undefined;
248
248
  isActive?: undefined;
@@ -256,112 +256,23 @@ export declare const tabMenuSampleMenuItemsMultidev: ({
256
256
  noResultsText: string;
257
257
  };
258
258
  icon: string;
259
- linkContent: React.JSX.Element;
259
+ linkContent: import("react/jsx-runtime").JSX.Element;
260
260
  links: ({
261
- linkContent: React.JSX.Element;
261
+ linkContent: import("react/jsx-runtime").JSX.Element;
262
262
  isActive?: undefined;
263
263
  } | {
264
- linkContent: React.JSX.Element;
264
+ linkContent: import("react/jsx-runtime").JSX.Element;
265
265
  isActive: boolean;
266
266
  })[];
267
267
  promoteActiveChildLink: boolean;
268
268
  } | {
269
269
  icon: string;
270
- linkContent: React.JSX.Element;
270
+ linkContent: import("react/jsx-runtime").JSX.Element;
271
271
  dropdownSettings?: undefined;
272
272
  links?: undefined;
273
273
  promoteActiveChildLink?: undefined;
274
274
  })[];
275
275
  export declare const userMenuSampleItems: UserMenuItem[];
276
- export declare const workspaceItemsSimple: ({
277
- displayName: string;
278
- workspaceId: string;
279
- workspaceLink: React.JSX.Element;
280
- imageSrc?: undefined;
281
- planTier?: undefined;
282
- isUnprivileged?: undefined;
283
- isActive?: undefined;
284
- } | {
285
- displayName: string;
286
- imageSrc: string;
287
- planTier: string;
288
- workspaceId: string;
289
- workspaceLink: React.JSX.Element;
290
- isUnprivileged?: undefined;
291
- isActive?: undefined;
292
- } | {
293
- displayName: string;
294
- imageSrc: string;
295
- planTier: string;
296
- workspaceId: string;
297
- workspaceLink: React.JSX.Element;
298
- isUnprivileged: boolean;
299
- isActive?: undefined;
300
- } | {
301
- displayName: string;
302
- planTier: string;
303
- workspaceId: string;
304
- workspaceLink: React.JSX.Element;
305
- isActive: boolean;
306
- imageSrc?: undefined;
307
- isUnprivileged?: undefined;
308
- } | {
309
- displayName: string;
310
- planTier: string;
311
- workspaceId: string;
312
- workspaceLink: React.JSX.Element;
313
- imageSrc?: undefined;
314
- isUnprivileged?: undefined;
315
- isActive?: undefined;
316
- })[];
317
- export declare const workspaceItemsPersonal: ({
318
- displayName: string;
319
- workspaceId: string;
320
- workspaceLink: React.JSX.Element;
321
- isActive: boolean;
322
- imageSrc?: undefined;
323
- planTier?: undefined;
324
- } | {
325
- displayName: string;
326
- imageSrc: string;
327
- planTier: string;
328
- workspaceId: string;
329
- workspaceLink: React.JSX.Element;
330
- isActive?: undefined;
331
- } | {
332
- displayName: string;
333
- planTier: string;
334
- workspaceId: string;
335
- workspaceLink: React.JSX.Element;
336
- isActive?: undefined;
337
- imageSrc?: undefined;
338
- })[];
339
- export declare const workspaceItemsLonger: ({
340
- displayName: string;
341
- workspaceId: string;
342
- workspaceLink: React.JSX.Element;
343
- imageSrc?: undefined;
344
- planTier?: undefined;
345
- isActive?: undefined;
346
- } | {
347
- displayName: string;
348
- imageSrc: string;
349
- planTier: string;
350
- workspaceId: string;
351
- workspaceLink: React.JSX.Element;
352
- isActive?: undefined;
353
- } | {
354
- displayName: string;
355
- planTier: string;
356
- workspaceId: string;
357
- workspaceLink: React.JSX.Element;
358
- imageSrc?: undefined;
359
- isActive?: undefined;
360
- } | {
361
- displayName: string;
362
- planTier: string;
363
- workspaceId: string;
364
- workspaceLink: React.JSX.Element;
365
- isActive: boolean;
366
- imageSrc?: undefined;
367
- })[];
276
+ export declare const workspaceItemsSimple: WorkspaceSelectorItem[];
277
+ export declare const workspaceItemsPersonal: WorkspaceSelectorItem[];
278
+ export declare const workspaceItemsLonger: WorkspaceSelectorItem[];
@@ -1,10 +1,9 @@
1
- import React from 'react';
2
1
  export declare const DemoDashboardInnerHeaderLeft: ({ slot: _slot, }: {
3
2
  slot?: string;
4
- }) => React.JSX.Element;
3
+ }) => import("react/jsx-runtime").JSX.Element;
5
4
  export declare const DemoDashboardInnerHeaderRight: ({ slot: _slot, }: {
6
5
  slot?: string;
7
- }) => React.JSX.Element;
6
+ }) => import("react/jsx-runtime").JSX.Element;
8
7
  export declare const DemoDashboardContent: ({ slot: _slot }: {
9
8
  slot?: string;
10
- }) => React.JSX.Element;
9
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,11 +1,10 @@
1
- import React from 'react';
2
1
  export declare const DemoDashboardSidebarNav: ({ slot: _slot }: {
3
2
  slot?: string;
4
- }) => React.JSX.Element;
3
+ }) => import("react/jsx-runtime").JSX.Element;
5
4
  export declare const DemoDashboardFooter: ({ slot: _slot }: {
6
5
  slot?: string;
7
- }) => React.JSX.Element;
6
+ }) => import("react/jsx-runtime").JSX.Element;
8
7
  export declare const DemoDashboardNavbar: ({ isAdmin, slot: _slot, }: {
9
8
  isAdmin?: boolean;
10
9
  slot?: string;
11
- }) => React.JSX.Element;
10
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const sampleMessage: React.JSX.Element;
1
+ export declare const sampleMessage: import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1 @@
1
- import React from 'react';
2
- export declare const ModalWithForm: () => React.JSX.Element;
1
+ export declare const ModalWithForm: () => import("react/jsx-runtime").JSX.Element;
@@ -1,16 +1,15 @@
1
- import React from 'react';
2
1
  export declare const PanelRowDemoItemsLeft: ({ slot: _slot }: {
3
2
  slot?: string;
4
- }) => React.JSX.Element;
3
+ }) => import("react/jsx-runtime").JSX.Element;
5
4
  export declare const PanelRowDemoItemsLeftList: ({ slot: _slot, }: {
6
5
  slot?: string;
7
- }) => React.JSX.Element;
6
+ }) => import("react/jsx-runtime").JSX.Element;
8
7
  export declare const PanelRowDemoItemsRight: ({ slot: _slot }: {
9
8
  slot?: string;
10
- }) => React.JSX.Element;
9
+ }) => import("react/jsx-runtime").JSX.Element;
11
10
  export declare const PanelRowDemoItemsDropdown: ({ slot: _slot, }: {
12
11
  slot?: string;
13
- }) => React.JSX.Element;
12
+ }) => import("react/jsx-runtime").JSX.Element;
14
13
  export declare const PanelRowDemoItemsBelow: ({ slot: _slot }: {
15
14
  slot?: string;
16
- }) => React.JSX.Element;
15
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,13 +1,12 @@
1
- import React from 'react';
2
1
  import './color-preview-swatches.css';
3
2
  export declare const SwatchButton: ({ clipboardText, color, type, }: {
4
- color: string;
5
3
  clipboardText: string;
4
+ color: string;
6
5
  type: "background" | "foreground" | "border";
7
- }) => React.JSX.Element;
6
+ }) => import("react/jsx-runtime").JSX.Element;
8
7
  interface ColorPreviewSwatchesProps {
9
8
  colors: string[];
10
9
  type: 'background' | 'foreground' | 'border';
11
10
  }
12
- export declare const ColorPreviewSwatches: ({ colors, type, }: ColorPreviewSwatchesProps) => React.JSX.Element;
11
+ export declare const ColorPreviewSwatches: ({ colors, type, }: ColorPreviewSwatchesProps) => import("react/jsx-runtime").JSX.Element;
13
12
  export {};
@@ -0,0 +1,12 @@
1
+ import React, { ReactNode } from 'react';
2
+ interface OverlayContextType {
3
+ closeOverlay: () => void;
4
+ hasOpenOverlay: boolean;
5
+ openOverlay: () => void;
6
+ }
7
+ export declare const OverlayContext: React.Context<OverlayContextType>;
8
+ export declare const OverlayContextProvider: ({ children, }: {
9
+ children: ReactNode;
10
+ }) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const useOverlayContext: () => OverlayContextType;
12
+ export {};
@@ -3,4 +3,4 @@ export declare const ResponsiveContext: React.Context<any>;
3
3
  export declare const ResponsiveContextProvider: ({ children, mobileMenuMaxWidth, }: {
4
4
  children: any;
5
5
  mobileMenuMaxWidth?: number;
6
- }) => React.JSX.Element;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  export const ANIMATION_TRANSITION_DEFAULT_DURATION: 200;
2
2
  export const ANIMATION_TRANSITION_DEFAULT_DELAY: 0;
3
- export const ANIMATION_TRANSITION_DEFAULT_TIMING_FUNCTION: "ease-in-out";
3
+ export const ANIMATION_TRANSITION_DEFAULT_TIMING_FUNCTION: "cubic-bezier(.2, 0, 0, 1)";
4
4
  export const ANIMATION_TRANSITION_REVEAL_DURATION: 300;
5
- export const ANIMATION_TRANSITION_REVEAL_TIMING_FUNCTION: "ease-out";
5
+ export const ANIMATION_TRANSITION_REVEAL_TIMING_FUNCTION: "cubic-bezier(.2, 0, 0, 1)";
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@pantheon-systems/pds-toolkit-react",
3
- "description": "PDS toolkit built using the React framework",
4
3
  "technology": "React",
5
- "version": "1.0.0-dev.9998",
4
+ "version": "1.0.0",
5
+ "description": "PDS toolkit built using the React framework",
6
6
  "publishConfig": {
7
7
  "access": "public",
8
8
  "registry": "https://registry.npmjs.org/",
@@ -37,26 +37,27 @@
37
37
  ],
38
38
  "type": "module",
39
39
  "scripts": {
40
- "build": "npm run vite build && npm run build:types || true",
41
- "build:types": "tsc -p tsconfig.build.json",
42
- "postbuild": "npm run build:css && npm run build:css:components && npm run build:css:layouts && npm run build:css:packageExtraCss",
40
+ "build:lib": "vite build && npm run build:types",
41
+ "build:types": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
42
+ "postbuild:lib": "npm run build:css && npm run build:css:components && npm run build:css:layouts && npm run build:css:packageExtraCss",
43
43
  "build:css": "postcss src/core.css -o _dist/css/pds-core.css",
44
44
  "build:css:components": "postcss src/components/index.css -o _dist/css/pds-components.css",
45
45
  "build:css:layouts": "postcss src/layouts/index.css -o _dist/css/pds-layouts.css",
46
46
  "build:css:packageExtraCss": "node scripts/package-extra-css.js",
47
47
  "build:css:watch": "npm run build:css -- -w",
48
- "typecheck:tsc": "tsc --noEmit",
49
- "typecheck:attw": "attw --pack . --ignore-rules cjs-resolves-to-esm no-resolution internal-resolution-error",
50
- "typecheck:publint": "npx publint",
51
- "typecheck": "npm run typecheck:attw && npm run typecheck:publint && npm run typecheck:tsc",
52
48
  "prestorybook": "npm run build:css",
53
49
  "storybook": "storybook dev -p 6006",
54
- "prestorybook:build": "npm run build:css",
55
- "storybook:build": "storybook build",
50
+ "prebuild": "npm run build:css",
51
+ "build": "storybook build",
52
+ "build-storybook": "storybook build",
53
+ "predeploy:pantheon": "npm run build:css",
54
+ "deploy:pantheon": "storybook build",
55
+ "start": "node index.js",
56
56
  "develop": "concurrently --raw --kill-others \"npm run storybook\" \"npm run build:css:watch\"",
57
- "eslint": "eslint --ext .jsx,.tsx,.js,.ts",
58
- "eslint:all": "eslint src --ext .jsx,.tsx,.js,.ts --cache",
59
- "format:fix": "prettier . --write && npm run eslint:all -- --fix",
57
+ "typecheck": "npm run typecheck:attw && npm run typecheck:publint && npm run typecheck:tsc",
58
+ "typecheck:tsc": "tsc --noEmit",
59
+ "typecheck:attw": "attw --pack . --ignore-rules cjs-resolves-to-esm no-resolution internal-resolution-error",
60
+ "typecheck:publint": "npx publint",
60
61
  "pretest": "npm run build:css",
61
62
  "test": "playwright test",
62
63
  "pretest:vrt": "npm run build:css",
@@ -64,51 +65,54 @@
64
65
  "pretest:vrt:update": "npm run build:css",
65
66
  "test:vrt:update": "npm run test:vrt -- --update-snapshots",
66
67
  "pretest:a11y:generate": "npm run build:css",
67
- "test:a11y:generate": "npm run storybook:build && npx sb extract && node __tests__/a11y/a11y.generate-tests.js",
68
- "test:a11y": "playwright test --project 'a11y'",
68
+ "test:a11y:generate": "DISABLE_A11Y_ADDON=true npm run build && node __tests__/a11y/a11y.generate-tests.js",
69
+ "test:a11y": "USE_STATIC_STORYBOOK=true DISABLE_A11Y_ADDON=true playwright test --project 'a11y'",
69
70
  "test:a11y:results": "npx http-server ./__tests__/a11y/results/",
70
- "predeploy:pantheon": "npm run build:css",
71
- "deploy:pantheon": "storybook build",
71
+ "eslint": "eslint --ext .jsx,.tsx,.js,.ts",
72
+ "eslint:all": "eslint src --ext .jsx,.tsx,.js,.ts --cache",
73
+ "format:fix": "prettier . --write && npm run eslint:all -- --fix",
72
74
  "generate:component": "plop component",
73
75
  "generate:layout": "plop layout",
74
76
  "generate:foundation": "plop foundation",
75
77
  "generate:pattern": "plop pattern",
76
78
  "generate:utility": "plop utility",
77
- "prepare": "husky install",
78
- "build-storybook": "storybook build",
79
- "vite": "vite"
79
+ "test:version-switcher": "bash scripts/test-version-switcher.sh",
80
+ "pack:local": "bash scripts/pack-local.sh",
81
+ "prepare": "husky install"
80
82
  },
81
83
  "devDependencies": {
82
84
  "@arethetypeswrong/cli": "^0.15.3",
83
- "@axe-core/playwright": "^4.7.0",
85
+ "@axe-core/playwright": "^4.11.0",
84
86
  "@babel/preset-env": "^7.21.5",
85
87
  "@babel/preset-react": "^7.18.6",
86
88
  "@csstools/postcss-design-tokens": "^2.0.4",
87
89
  "@csstools/postcss-global-data": "^1.0.3",
88
90
  "@playwright/test": "^1.36.2",
89
- "@storybook/addon-a11y": "^8.2.4",
90
- "@storybook/addon-essentials": "^8.2.4",
91
- "@storybook/addon-interactions": "^8.2.4",
92
- "@storybook/addon-links": "^8.2.4",
93
- "@storybook/addon-webpack5-compiler-swc": "^1.0.2",
94
- "@storybook/blocks": "^8.2.4",
95
- "@storybook/react": "^8.2.4",
96
- "@storybook/react-vite": "^8.2.4",
97
- "@storybook/react-webpack5": "^8.2.4",
98
- "@storybook/test": "^8.2.4",
99
- "@storybook/theming": "^8.2.4",
91
+ "@storybook/addon-a11y": "^10.1.7",
92
+ "@storybook/addon-docs": "^10.1.7",
93
+ "@storybook/addon-links": "^10.1.7",
94
+ "@storybook/addon-webpack5-compiler-swc": "^4.0.2",
95
+ "@storybook/react-vite": "^10.1.7",
96
+ "@storybook/react-webpack5": "^10.1.7",
100
97
  "@types/prismjs": "^1.26.5",
101
- "@typescript-eslint/eslint-plugin": "^7.7.0",
102
- "@typescript-eslint/parser": "^7.7.0",
98
+ "@types/react": "^19.2.2",
99
+ "@typescript-eslint/eslint-plugin": "^8.47.0",
100
+ "@typescript-eslint/parser": "^8.47.0",
103
101
  "@vitejs/plugin-react": "^4.3.0",
102
+ "@vueless/storybook-dark-mode": "^9.0.9",
104
103
  "axe-html-reporter": "^2.2.3",
105
104
  "concurrently": "^8.0.1",
106
105
  "cssnano": "^6.0.1",
107
106
  "eslint": "^8.57.0",
108
107
  "eslint-config-prettier": "^9.1.0",
108
+ "eslint-import-resolver-typescript": "^4.4.4",
109
+ "eslint-plugin-import": "^2.32.0",
109
110
  "eslint-plugin-prettier": "^5.1.3",
110
111
  "eslint-plugin-react": "^7.32.2",
111
- "eslint-plugin-storybook": "^0.8.0",
112
+ "eslint-plugin-simple-import-sort": "^12.1.1",
113
+ "eslint-plugin-sort-destructure-keys": "^2.0.0",
114
+ "eslint-plugin-storybook": "^10.1.7",
115
+ "eslint-plugin-typescript-sort-keys": "^3.3.0",
112
116
  "fast-glob": "^3.3.2",
113
117
  "husky": "^8.0.3",
114
118
  "lint-staged": "^13.2.3",
@@ -124,10 +128,10 @@
124
128
  "prettier-plugin-css-order": "^2.1.2",
125
129
  "react": "^18.2.0",
126
130
  "react-dom": "^18.2.0",
127
- "storybook": "^8.2.4",
128
- "storybook-dark-mode": "^4.0.1",
131
+ "storybook": "^10.1.7",
132
+ "tsc-alias": "^1.8.16",
129
133
  "typescript": "^5.4.5",
130
- "vite": "^5.2.11",
134
+ "vite": "^7.2.2",
131
135
  "vite-plugin-lib-inject-css": "^2.1.1",
132
136
  "vite-tsconfig-paths": "^4.3.2"
133
137
  },
@@ -138,22 +142,25 @@
138
142
  "dependencies": {
139
143
  "@floating-ui/react": "^0.24.3",
140
144
  "@floating-ui/react-dom": "~1.3.0",
141
- "@pantheon-systems/pds-design-tokens": "^1.0.0-dev.164",
145
+ "@pantheon-systems/pds-design-tokens": "^1.0.0",
142
146
  "@reactuses/core": "^5.0.15",
147
+ "date-fns": "^4.1.0",
143
148
  "downshift": "^9.0.8",
149
+ "express": "^4.22.1",
150
+ "express-rate-limit": "^8.2.1",
144
151
  "focus-trap-react": "^10.2.1",
145
152
  "hash-sum": "^2.0.0",
146
153
  "prism-react-renderer": "^2.4.1",
147
154
  "prismjs": "^1.29.0",
148
155
  "react-code-block": "^1.1.1",
156
+ "react-day-picker": "^9.11.1",
149
157
  "react-device-detect": "^2.2.3",
150
158
  "react-hotkeys-hook": "^4.5.1",
151
159
  "react-router-dom": "^6.13.0",
152
160
  "react-toastify": "^9.0.3"
153
161
  },
154
162
  "lint-staged": {
155
- "src/**/*.{js,jsx,ts,tsx}": [
156
- "npm run eslint"
157
- ]
163
+ "*": "prettier --write --ignore-unknown",
164
+ "src/**/*.{js,jsx,ts,tsx}": "npm run eslint -- --fix"
158
165
  }
159
166
  }