Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into feat/alert
Browse files Browse the repository at this point in the history
  • Loading branch information
Niznikr committed Jul 29, 2024
2 parents 19beb4b + 3943156 commit 14bb169
Show file tree
Hide file tree
Showing 88 changed files with 2,198 additions and 1,495 deletions.
5 changes: 0 additions & 5 deletions .changeset/nasty-bobcats-film.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/smart-berries-greet.md

This file was deleted.

2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.15.0
20.16.0
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"@commitlint/types": "^19.0.3",
"@playwright/test": "^1.45.0",
"@storybook/addon-a11y": "^8.2.1",
"@storybook/addon-designs": "^8.0.0",
"@storybook/addon-designs": "^8.0.3",
"@storybook/addon-essentials": "^8.2.1",
"@storybook/addon-interactions": "^8.2.1",
"@storybook/addon-themes": "^8.2.1",
Expand All @@ -56,7 +56,7 @@
"@storybook/test": "^8.2.1",
"@storybook/theming": "^8.2.1",
"@storybook/types": "^8.2.1",
"@testing-library/dom": "^10.3.1",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
Expand All @@ -73,11 +73,11 @@
"chromatic": "^11.4.1",
"deepmerge": "^4.3.1",
"fast-glob": "^3.3.0",
"husky": "^9.0.3",
"husky": "^9.1.1",
"jsdom": "^24.1.0",
"lightningcss": "^1.25.0",
"lint-staged": "^15.2.0",
"nx": "^19.4.1",
"nx": "^19.5.1",
"plop": "^4.0.0",
"react": "18.3.1",
"react-dom": "18.3.1",
Expand All @@ -92,7 +92,7 @@
"vite": "^5.3.1",
"vitest": "^2.0.0"
},
"packageManager": "pnpm@9.5.0",
"packageManager": "pnpm@9.6.0",
"pnpm": {
"peerDependencyRules": {
"allowedVersions": {
Expand Down
14 changes: 14 additions & 0 deletions packages/alert/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# @launchpad-ui/alert

## 0.9.25

### Patch Changes

- [#1366](https://github.com/launchdarkly/launchpad-ui/pull/1366) [`2a908c0`](https://github.com/launchdarkly/launchpad-ui/commit/2a908c093b5cc6a34bc4785727d0365f833bff0e) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies

## 0.9.24

### Patch Changes

- Updated dependencies [[`1beb404`](https://github.com/launchdarkly/launchpad-ui/commit/1beb4043a3acfcfd0258ca491bd7265eb3c3a3aa)]:
- @launchpad-ui/icons@0.18.8
- @launchpad-ui/button@0.12.21

## 0.9.23

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/alert/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpad-ui/alert",
"version": "0.9.23",
"version": "0.9.25",
"status": "beta",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -36,7 +36,7 @@
"@launchpad-ui/button": "workspace:~",
"@launchpad-ui/icons": "workspace:~",
"@launchpad-ui/tokens": "workspace:~",
"@react-stately/utils": "3.10.1",
"@react-stately/utils": "3.10.2",
"classix": "2.1.17"
},
"peerDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions packages/avatar/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @launchpad-ui/avatar

## 0.6.34

### Patch Changes

- Updated dependencies [[`1beb404`](https://github.com/launchdarkly/launchpad-ui/commit/1beb4043a3acfcfd0258ca491bd7265eb3c3a3aa)]:
- @launchpad-ui/icons@0.18.8

## 0.6.33

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/avatar/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpad-ui/avatar",
"version": "0.6.33",
"version": "0.6.34",
"status": "beta",
"publishConfig": {
"access": "public"
Expand Down
8 changes: 8 additions & 0 deletions packages/banner/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @launchpad-ui/banner

## 0.10.34

### Patch Changes

- Updated dependencies [[`1beb404`](https://github.com/launchdarkly/launchpad-ui/commit/1beb4043a3acfcfd0258ca491bd7265eb3c3a3aa)]:
- @launchpad-ui/icons@0.18.8
- @launchpad-ui/button@0.12.21

## 0.10.33

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/banner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpad-ui/banner",
"version": "0.10.33",
"version": "0.10.34",
"status": "beta",
"publishConfig": {
"access": "public"
Expand Down
7 changes: 7 additions & 0 deletions packages/button/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @launchpad-ui/button

## 0.12.21

### Patch Changes

- Updated dependencies [[`1beb404`](https://github.com/launchdarkly/launchpad-ui/commit/1beb4043a3acfcfd0258ca491bd7265eb3c3a3aa)]:
- @launchpad-ui/icons@0.18.8

## 0.12.20

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/button/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpad-ui/button",
"version": "0.12.20",
"version": "0.12.21",
"status": "beta",
"publishConfig": {
"access": "public"
Expand Down
21 changes: 21 additions & 0 deletions packages/card/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @launchpad-ui/card

## 0.2.41

### Patch Changes

- Updated dependencies [[`4309328`](https://github.com/launchdarkly/launchpad-ui/commit/43093284b05b9093c503cb0b91819a74a6af9660)]:
- @launchpad-ui/form@0.11.26

## 0.2.40

### Patch Changes

- Updated dependencies [[`2a908c0`](https://github.com/launchdarkly/launchpad-ui/commit/2a908c093b5cc6a34bc4785727d0365f833bff0e)]:
- @launchpad-ui/form@0.11.25

## 0.2.39

### Patch Changes

- Updated dependencies []:
- @launchpad-ui/form@0.11.24

## 0.2.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/card/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpad-ui/card",
"version": "0.2.38",
"version": "0.2.41",
"status": "alpha",
"publishConfig": {
"access": "public"
Expand Down
7 changes: 7 additions & 0 deletions packages/chip/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @launchpad-ui/chip

## 0.9.34

### Patch Changes

- Updated dependencies [[`1beb404`](https://github.com/launchdarkly/launchpad-ui/commit/1beb4043a3acfcfd0258ca491bd7265eb3c3a3aa)]:
- @launchpad-ui/icons@0.18.8

## 0.9.33

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/chip/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpad-ui/chip",
"version": "0.9.33",
"version": "0.9.34",
"status": "beta",
"publishConfig": {
"access": "public"
Expand Down
21 changes: 21 additions & 0 deletions packages/clipboard/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# @launchpad-ui/clipboard

## 0.11.41

### Patch Changes

- Updated dependencies []:
- @launchpad-ui/tooltip@0.9.16

## 0.11.40

### Patch Changes

- Updated dependencies []:
- @launchpad-ui/tooltip@0.9.15

## 0.11.39

### Patch Changes

- Updated dependencies [[`1beb404`](https://github.com/launchdarkly/launchpad-ui/commit/1beb4043a3acfcfd0258ca491bd7265eb3c3a3aa)]:
- @launchpad-ui/icons@0.18.8

## 0.11.38

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/clipboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpad-ui/clipboard",
"version": "0.11.38",
"version": "0.11.41",
"status": "beta",
"publishConfig": {
"access": "public"
Expand Down
8 changes: 8 additions & 0 deletions packages/collapsible/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @launchpad-ui/collapsible

## 0.1.65

### Patch Changes

- Updated dependencies [[`1beb404`](https://github.com/launchdarkly/launchpad-ui/commit/1beb4043a3acfcfd0258ca491bd7265eb3c3a3aa)]:
- @launchpad-ui/icons@0.18.8
- @launchpad-ui/button@0.12.21

## 0.1.64

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/collapsible/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpad-ui/collapsible",
"version": "0.1.64",
"version": "0.1.65",
"status": "alpha",
"publishConfig": {
"access": "public"
Expand Down
23 changes: 23 additions & 0 deletions packages/components/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @launchpad-ui/components

## 0.2.19

### Patch Changes

- [#1368](https://github.com/launchdarkly/launchpad-ui/pull/1368) [`4309328`](https://github.com/launchdarkly/launchpad-ui/commit/43093284b05b9093c503cb0b91819a74a6af9660) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies

## 0.2.18

### Patch Changes

- [#1366](https://github.com/launchdarkly/launchpad-ui/pull/1366) [`2a908c0`](https://github.com/launchdarkly/launchpad-ui/commit/2a908c093b5cc6a34bc4785727d0365f833bff0e) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies

## 0.2.17

### Patch Changes

- [#1306](https://github.com/launchdarkly/launchpad-ui/pull/1306) [`1a34080`](https://github.com/launchdarkly/launchpad-ui/commit/1a34080aa11b7249d4bd1ff4747085ac58afb4e9) Thanks [@Niznikr](https://github.com/Niznikr)! - Add `Pressable`

- [#1362](https://github.com/launchdarkly/launchpad-ui/pull/1362) [`15055cb`](https://github.com/launchdarkly/launchpad-ui/commit/15055cb0d8e0d5a301e562211fe7b1c0b7a52115) Thanks [@Niznikr](https://github.com/Niznikr)! - Add `NumberField`

- Updated dependencies [[`1beb404`](https://github.com/launchdarkly/launchpad-ui/commit/1beb4043a3acfcfd0258ca491bd7265eb3c3a3aa)]:
- @launchpad-ui/icons@0.18.8

## 0.2.16

### Patch Changes
Expand Down
22 changes: 11 additions & 11 deletions packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchpad-ui/components",
"version": "0.2.16",
"version": "0.2.19",
"status": "beta",
"publishConfig": {
"access": "public"
Expand Down Expand Up @@ -36,24 +36,24 @@
"dependencies": {
"@launchpad-ui/icons": "workspace:~",
"@launchpad-ui/tokens": "workspace:~",
"@react-aria/interactions": "3.21.3",
"@react-aria/toast": "3.0.0-beta.12",
"@react-aria/utils": "3.24.1",
"@react-stately/toast": "3.0.0-beta.4",
"@react-stately/utils": "3.10.1",
"@react-types/shared": "3.23.1",
"@react-aria/interactions": "3.22.1",
"@react-aria/toast": "3.0.0-beta.14",
"@react-aria/utils": "3.25.1",
"@react-stately/toast": "3.0.0-beta.5",
"@react-stately/utils": "3.10.2",
"@react-types/shared": "3.24.1",
"class-variance-authority": "0.7.0",
"react-aria": "3.33.1",
"react-aria-components": "1.2.1",
"react-aria": "3.34.1",
"react-aria-components": "1.3.1",
"react-router-dom": "6.16.0",
"react-stately": "3.31.1"
"react-stately": "3.32.1"
},
"peerDependencies": {
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@internationalized/date": "3.5.4",
"@internationalized/date": "3.5.5",
"react": "18.3.1",
"react-dom": "18.3.1"
}
Expand Down
16 changes: 10 additions & 6 deletions packages/components/src/Breadcrumbs.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import type { forwardRefType } from '@react-types/shared';
import type { ForwardedRef } from 'react';
import type { BreadcrumbProps, BreadcrumbsProps, ContextValue } from 'react-aria-components';
import type { LinkProps } from './Link';
import type { forwardRefType } from './utils';

import { cva } from 'class-variance-authority';
import { createContext, forwardRef } from 'react';
import {
Breadcrumb as AriaBreadcrumb,
Breadcrumbs as AriaBreadcrumbs,
Provider,
composeRenderProps,
} from 'react-aria-components';

import styles from './styles/Breadcrumbs.module.css';
Expand All @@ -32,12 +33,15 @@ const _Breadcrumbs = <T extends object>(
*/
const Breadcrumbs = (forwardRef as forwardRefType)(_Breadcrumbs);

const _Breadcrumb = (
{ className, children, ...props }: BreadcrumbProps,
ref: ForwardedRef<HTMLLIElement>,
) => {
const _Breadcrumb = ({ children, ...props }: BreadcrumbProps, ref: ForwardedRef<HTMLLIElement>) => {
return (
<AriaBreadcrumb {...props} ref={ref} className={crumb({ className })}>
<AriaBreadcrumb
{...props}
ref={ref}
className={composeRenderProps(props.className, (className, renderProps) =>
crumb({ ...renderProps, className }),
)}
>
<Provider values={[[LinkContext, { variant: 'subtle' }]]}>{children}</Provider>
</AriaBreadcrumb>
);
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/ComboBox.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { forwardRefType } from '@react-types/shared';
import type { CSSProperties, ForwardedRef } from 'react';
import type { ComboBoxProps, PopoverProps } from 'react-aria-components';
import type { IconButtonProps } from './IconButton';
import type { forwardRefType } from './utils';

import { useResizeObserver } from '@react-aria/utils';
import { cva } from 'class-variance-authority';
Expand Down
Loading

0 comments on commit 14bb169

Please sign in to comment.