@patternfly/elements 2.3.1 → 2.3.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@patternfly/elements",
3
3
  "license": "MIT",
4
- "version": "2.3.1",
4
+ "version": "2.3.2",
5
5
  "description": "PatternFly Elements",
6
6
  "customElements": "custom-elements.json",
7
7
  "type": "module",
@@ -1,6 +1,4 @@
1
1
  // pf-accordion/pf-accordion-header.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfAccordionHeader } from '@patternfly/elements/pf-accordion/pf-accordion-header.js';
5
- export const AccordionHeader: ReactWebComponent<PfAccordionHeader, { onChange: 'change' }>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfAccordionHeader } from '@patternfly/elements/pf-accordion/pf-accordion-header.js';
4
+ export const AccordionHeader: ReactWebComponent<PfAccordionHeader, { onChange: 'change' }>;
@@ -1,6 +1,4 @@
1
1
  // pf-accordion/pf-accordion-panel.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfAccordionPanel } from '@patternfly/elements/pf-accordion/pf-accordion-panel.js';
5
- export const AccordionPanel: ReactWebComponent<PfAccordionPanel, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfAccordionPanel } from '@patternfly/elements/pf-accordion/pf-accordion-panel.js';
4
+ export const AccordionPanel: ReactWebComponent<PfAccordionPanel, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-accordion/pf-accordion.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfAccordion } from '@patternfly/elements/pf-accordion/pf-accordion.js';
5
- export const Accordion: ReactWebComponent<PfAccordion, { onExpand: 'expand'; onCollapse: 'collapse' }>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfAccordion } from '@patternfly/elements/pf-accordion/pf-accordion.js';
4
+ export const Accordion: ReactWebComponent<PfAccordion, { onExpand: 'expand'; onCollapse: 'collapse' }>;
@@ -1,6 +1,4 @@
1
1
  // pf-avatar/pf-avatar.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfAvatar } from '@patternfly/elements/pf-avatar/pf-avatar.js';
5
- export const Avatar: ReactWebComponent<PfAvatar, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfAvatar } from '@patternfly/elements/pf-avatar/pf-avatar.js';
4
+ export const Avatar: ReactWebComponent<PfAvatar, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-badge/pf-badge.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfBadge } from '@patternfly/elements/pf-badge/pf-badge.js';
5
- export const Badge: ReactWebComponent<PfBadge, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfBadge } from '@patternfly/elements/pf-badge/pf-badge.js';
4
+ export const Badge: ReactWebComponent<PfBadge, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-button/pf-button.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfButton } from '@patternfly/elements/pf-button/pf-button.js';
5
- export const Button: ReactWebComponent<PfButton, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfButton } from '@patternfly/elements/pf-button/pf-button.js';
4
+ export const Button: ReactWebComponent<PfButton, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-card/pf-card.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfCard } from '@patternfly/elements/pf-card/pf-card.js';
5
- export const Card: ReactWebComponent<PfCard, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfCard } from '@patternfly/elements/pf-card/pf-card.js';
4
+ export const Card: ReactWebComponent<PfCard, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-clipboard-copy/pf-clipboard-copy.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfClipboardCopy } from '@patternfly/elements/pf-clipboard-copy/pf-clipboard-copy.js';
5
- export const ClipboardCopy: ReactWebComponent<PfClipboardCopy, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfClipboardCopy } from '@patternfly/elements/pf-clipboard-copy/pf-clipboard-copy.js';
4
+ export const ClipboardCopy: ReactWebComponent<PfClipboardCopy, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-code-block/pf-code-block.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfCodeBlock } from '@patternfly/elements/pf-code-block/pf-code-block.js';
5
- export const CodeBlock: ReactWebComponent<PfCodeBlock, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfCodeBlock } from '@patternfly/elements/pf-code-block/pf-code-block.js';
4
+ export const CodeBlock: ReactWebComponent<PfCodeBlock, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-icon/pf-icon.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfIcon } from '@patternfly/elements/pf-icon/pf-icon.js';
5
- export const Icon: ReactWebComponent<PfIcon, { onLoad: 'load'; onError: 'error' }>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfIcon } from '@patternfly/elements/pf-icon/pf-icon.js';
4
+ export const Icon: ReactWebComponent<PfIcon, { onLoad: 'load'; onError: 'error' }>;
@@ -1,6 +1,4 @@
1
1
  // pf-jump-links/pf-jump-links-item.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfJumpLinksItem } from '@patternfly/elements/pf-jump-links/pf-jump-links-item.js';
5
- export const JumpLinksItem: ReactWebComponent<PfJumpLinksItem, { onSelect: 'select'; onFocus: 'focus' }>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfJumpLinksItem } from '@patternfly/elements/pf-jump-links/pf-jump-links-item.js';
4
+ export const JumpLinksItem: ReactWebComponent<PfJumpLinksItem, { onSelect: 'select'; onFocus: 'focus' }>;
@@ -1,6 +1,4 @@
1
1
  // pf-jump-links/pf-jump-links-list.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfJumpLinksList } from '@patternfly/elements/pf-jump-links/pf-jump-links-list.js';
5
- export const JumpLinksList: ReactWebComponent<PfJumpLinksList, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfJumpLinksList } from '@patternfly/elements/pf-jump-links/pf-jump-links-list.js';
4
+ export const JumpLinksList: ReactWebComponent<PfJumpLinksList, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-jump-links/pf-jump-links.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfJumpLinks } from '@patternfly/elements/pf-jump-links/pf-jump-links.js';
5
- export const JumpLinks: ReactWebComponent<PfJumpLinks, { onToggle: 'toggle' }>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfJumpLinks } from '@patternfly/elements/pf-jump-links/pf-jump-links.js';
4
+ export const JumpLinks: ReactWebComponent<PfJumpLinks, { onToggle: 'toggle' }>;
@@ -1,6 +1,4 @@
1
1
  // pf-label/pf-label.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfLabel } from '@patternfly/elements/pf-label/pf-label.js';
5
- export const Label: ReactWebComponent<PfLabel, { onClose: 'close' }>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfLabel } from '@patternfly/elements/pf-label/pf-label.js';
4
+ export const Label: ReactWebComponent<PfLabel, { onClose: 'close' }>;
@@ -1,6 +1,4 @@
1
1
  // pf-modal/pf-modal.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfModal } from '@patternfly/elements/pf-modal/pf-modal.js';
5
- export const Modal: ReactWebComponent<PfModal, { onOpen: 'open'; onClose: 'close' }>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfModal } from '@patternfly/elements/pf-modal/pf-modal.js';
4
+ export const Modal: ReactWebComponent<PfModal, { onOpen: 'open'; onClose: 'close' }>;
@@ -1,6 +1,4 @@
1
1
  // pf-panel/pf-panel.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfPanel } from '@patternfly/elements/pf-panel/pf-panel.js';
5
- export const Panel: ReactWebComponent<PfPanel, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfPanel } from '@patternfly/elements/pf-panel/pf-panel.js';
4
+ export const Panel: ReactWebComponent<PfPanel, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-popover/pf-popover.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfPopover } from '@patternfly/elements/pf-popover/pf-popover.js';
5
- export const Popover: ReactWebComponent<PfPopover, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfPopover } from '@patternfly/elements/pf-popover/pf-popover.js';
4
+ export const Popover: ReactWebComponent<PfPopover, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-progress-stepper/pf-progress-step.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfProgressStep } from '@patternfly/elements/pf-progress-stepper/pf-progress-step.js';
5
- export const ProgressStep: ReactWebComponent<PfProgressStep, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfProgressStep } from '@patternfly/elements/pf-progress-stepper/pf-progress-step.js';
4
+ export const ProgressStep: ReactWebComponent<PfProgressStep, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-progress-stepper/pf-progress-stepper.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfProgressStepper } from '@patternfly/elements/pf-progress-stepper/pf-progress-stepper.js';
5
- export const ProgressStepper: ReactWebComponent<PfProgressStepper, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfProgressStepper } from '@patternfly/elements/pf-progress-stepper/pf-progress-stepper.js';
4
+ export const ProgressStepper: ReactWebComponent<PfProgressStepper, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-spinner/pf-spinner.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfSpinner } from '@patternfly/elements/pf-spinner/pf-spinner.js';
5
- export const Spinner: ReactWebComponent<PfSpinner, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfSpinner } from '@patternfly/elements/pf-spinner/pf-spinner.js';
4
+ export const Spinner: ReactWebComponent<PfSpinner, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-switch/pf-switch.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfSwitch } from '@patternfly/elements/pf-switch/pf-switch.js';
5
- export const Switch: ReactWebComponent<PfSwitch, { onChange: 'change' }>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfSwitch } from '@patternfly/elements/pf-switch/pf-switch.js';
4
+ export const Switch: ReactWebComponent<PfSwitch, { onChange: 'change' }>;
@@ -1,6 +1,4 @@
1
1
  // pf-tabs/pf-tab-panel.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfTabPanel } from '@patternfly/elements/pf-tabs/pf-tab-panel.js';
5
- export const TabPanel: ReactWebComponent<PfTabPanel, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfTabPanel } from '@patternfly/elements/pf-tabs/pf-tab-panel.js';
4
+ export const TabPanel: ReactWebComponent<PfTabPanel, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-tabs/pf-tab.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfTab } from '@patternfly/elements/pf-tabs/pf-tab.js';
5
- export const Tab: ReactWebComponent<PfTab, { onTabExpand: 'tab-expand' }>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfTab } from '@patternfly/elements/pf-tabs/pf-tab.js';
4
+ export const Tab: ReactWebComponent<PfTab, { onTabExpand: 'tab-expand' }>;
@@ -1,6 +1,4 @@
1
1
  // pf-tabs/pf-tabs.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfTabs } from '@patternfly/elements/pf-tabs/pf-tabs.js';
5
- export const Tabs: ReactWebComponent<PfTabs, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfTabs } from '@patternfly/elements/pf-tabs/pf-tabs.js';
4
+ export const Tabs: ReactWebComponent<PfTabs, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-tile/pf-tile.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfTile } from '@patternfly/elements/pf-tile/pf-tile.js';
5
- export const Tile: ReactWebComponent<PfTile, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfTile } from '@patternfly/elements/pf-tile/pf-tile.js';
4
+ export const Tile: ReactWebComponent<PfTile, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-timestamp/pf-timestamp.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfTimestamp } from '@patternfly/elements/pf-timestamp/pf-timestamp.js';
5
- export const Timestamp: ReactWebComponent<PfTimestamp, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfTimestamp } from '@patternfly/elements/pf-timestamp/pf-timestamp.js';
4
+ export const Timestamp: ReactWebComponent<PfTimestamp, {}>;
@@ -1,6 +1,4 @@
1
1
  // pf-tooltip/pf-tooltip.js
2
- declare module '@patternfly/elements/react/pf-button/pf-button.js' {
3
- import type { ReactWebComponent } from '@lit-labs/react';
4
- import type { PfTooltip } from '@patternfly/elements/pf-tooltip/pf-tooltip.js';
5
- export const Tooltip: ReactWebComponent<PfTooltip, {}>;
6
- }
2
+ import type { ReactWebComponent } from '@lit-labs/react';
3
+ import type { PfTooltip } from '@patternfly/elements/pf-tooltip/pf-tooltip.js';
4
+ export const Tooltip: ReactWebComponent<PfTooltip, {}>;