Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/components/clipboard_button_component.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '@18f/identity-clipboard-button';
import '@18f/identity-clipboard-button/clipboard-button-element';
2 changes: 1 addition & 1 deletion app/components/password_toggle_component.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '@18f/identity-password-toggle';
import '@18f/identity-password-toggle/password-toggle-element';
2 changes: 1 addition & 1 deletion app/components/print_button_component.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '@18f/identity-print-button';
import '@18f/identity-print-button/print-button-element';
2 changes: 1 addition & 1 deletion app/components/spinner_button_component.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '@18f/identity-spinner-button';
import '@18f/identity-spinner-button/spinner-button-element';
2 changes: 1 addition & 1 deletion app/components/validated_field_component.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '@18f/identity-validated-field';
import '@18f/identity-validated-field/validated-field-element';
4 changes: 2 additions & 2 deletions app/javascript/packages/clipboard-button/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Custom element and React implementation for a clipboard button component.

### Custom Element

Importing the package will register the `<lg-clipboard-button>` custom element:
Importing the element will register the `<lg-clipboard-button>` custom element:

```ts
import '@18f/identity-clipboard-button';
import '@18f/identity-clipboard-button/clipboard-button-element';
```

The custom element will implement the copying behavior, but all markup must already exist, rendered server-side or by the included React component.
Expand Down
2 changes: 0 additions & 2 deletions app/javascript/packages/clipboard-button/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import './clipboard-button-element';

export { default as ClipboardButton } from './clipboard-button';
2 changes: 0 additions & 2 deletions app/javascript/packages/password-toggle/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import './password-toggle-element';

export { default as PasswordToggle } from './password-toggle';
4 changes: 2 additions & 2 deletions app/javascript/packages/print-button/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Custom element and React implementation for a print button component.

### Custom Element

Importing the package will register the `<lg-print-button>` custom element:
Importing the element will register the `<lg-print-button>` custom element:

```ts
import '@18f/identity-print-button';
import '@18f/identity-print-button/print-button-element';
```

The custom element will implement the behavior to show a print dialog upon click, but all markup must already exist, rendered server-side or by the included React component.
Expand Down
2 changes: 0 additions & 2 deletions app/javascript/packages/print-button/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
import './print-button-element';

export { default as PrintButton } from './print-button';
2 changes: 0 additions & 2 deletions app/javascript/packages/spinner-button/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
import './spinner-button-element';

export { default as SpinnerButton } from './spinner-button';
export type { SpinnerButtonRefHandle } from './spinner-button';
4 changes: 2 additions & 2 deletions app/javascript/packages/step-indicator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ Custom element and React implementation for a step indicator UI component.

### Custom Element

Importing the package will register the `<lg-step-indicator>` custom element:
Importing the element will register the `<lg-step-indicator>` custom element:

```ts
import '@18f/identity-step-indicator';
import '@18f/identity-step-indicator/step-indicator-element';
```

The custom element will implement the small viewport scroll behavior, but all markup must already exist, rendered server-side or by the included React component.
Expand Down
2 changes: 0 additions & 2 deletions app/javascript/packages/step-indicator/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
import './step-indicator-element';

export { default as StepIndicator } from './step-indicator';
export { default as StepIndicatorStep, StepStatus } from './step-indicator-step';
2 changes: 0 additions & 2 deletions app/javascript/packages/validated-field/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import './validated-field-element';

export { default as ValidatedField } from './validated-field';

export type { ValidatedFieldValidator } from './validated-field';
2 changes: 1 addition & 1 deletion app/javascript/packs/step-indicator.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
import '@18f/identity-step-indicator';
import '@18f/identity-step-indicator/step-indicator-element';