Skip to content

Commit

Permalink
Merge branch 'master' into mmatheson/disable-side-nav-row
Browse files Browse the repository at this point in the history
  • Loading branch information
mkmatheson authored Dec 4, 2024
2 parents a23fc57 + 3f1d273 commit bc6bd78
Show file tree
Hide file tree
Showing 124 changed files with 4,239 additions and 1,511 deletions.
156 changes: 156 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,159 @@
## 166.0.1 (Dec 3, 2024)

### Patch

- Popover, PopoverEducational: VR adjusments ([#3902](https://github.com/pinterest/gestalt/pull/3902)) - [Preview link](https://deploy-preview-3902--gestalt.netlify.app?devexample=true)

## 166.0.0 (Dec 2, 2024)

### Major

- SideNavigation, Tabs, DefaultLabelProvider: implemented Indicator ([#3901](https://github.com/pinterest/gestalt/pull/3901)) - [Preview link](https://deploy-preview-3901--gestalt.netlify.app?devexample=true)

## 165.5.0 (Dec 2, 2024)

### Minor

- Indicator: new component ([#3898](https://github.com/pinterest/gestalt/pull/3898)) - [Preview link](https://deploy-preview-3898--gestalt.netlify.app?devexample=true)

## 165.4.5 (Nov 29, 2024)

### Patch

- Divider: VR adjusments ([#3900](https://github.com/pinterest/gestalt/pull/3900)) - [Preview link](https://deploy-preview-3900--gestalt.netlify.app?devexample=true)

## 165.4.4 (Nov 29, 2024)

### Patch

- HelpButton: VR adjusments ([#3899](https://github.com/pinterest/gestalt/pull/3899)) - [Preview link](https://deploy-preview-3899--gestalt.netlify.app?devexample=true)

## 165.4.3 (Nov 28, 2024)

### Patch

- Checkbox: VR adjustments ([#3896](https://github.com/pinterest/gestalt/pull/3896)) - [Preview link](https://deploy-preview-3896--gestalt.netlify.app?devexample=true)

## 165.4.2 (Nov 28, 2024)

### Patch

- Link: role tab for aria-current === section ([#3897](https://github.com/pinterest/gestalt/pull/3897)) - [Preview link](https://deploy-preview-3897--gestalt.netlify.app?devexample=true)

## 165.4.1 (Nov 27, 2024)

### Patch

- CheckBox: VR certification fixes ([#3895](https://github.com/pinterest/gestalt/pull/3895)) - [Preview link](https://deploy-preview-3895--gestalt.netlify.app?devexample=true)

## 165.4.0 (Nov 26, 2024)

### Minor

- Icon: Update Icons [GESTALT-8645] ([#3894](https://github.com/pinterest/gestalt/pull/3894)) - [Preview link](https://deploy-preview-3894--gestalt.netlify.app?devexample=true)

## 165.3.1 (Nov 26, 2024)

### Patch

- BannerCallout: implement internal IconCompactButton for dismiss button (VR only) ([#3893](https://github.com/pinterest/gestalt/pull/3893)) - [Preview link](https://deploy-preview-3893--gestalt.netlify.app?devexample=true)

## 165.3.0 (Nov 25, 2024)

### Minor

- SearchGuide: VR certification Fixes ([#3892](https://github.com/pinterest/gestalt/pull/3892)) - [Preview link](https://deploy-preview-3892--gestalt.netlify.app?devexample=true)

## 165.2.3 (Nov 25, 2024)

### Patch

- BannerCallout: responsiveness fixes ([#3891](https://github.com/pinterest/gestalt/pull/3891)) - [Preview link](https://deploy-preview-3891--gestalt.netlify.app?devexample=true)

## 165.2.2 (Nov 22, 2024)

### Patch

- Masonry: Revamp Dynamic Heights ([#3890](https://github.com/pinterest/gestalt/pull/3890)) - [Preview link](https://deploy-preview-3890--gestalt.netlify.app?devexample=true)

## 165.2.1 (Nov 20, 2024)

### Patch

- IconButtonFloating: VR fixes ([#3889](https://github.com/pinterest/gestalt/pull/3889)) - [Preview link](https://deploy-preview-3889--gestalt.netlify.app?devexample=true)

## 165.2.0 (Nov 20, 2024)

### Minor

- IconButton: VR Certification Fixes ([#3879](https://github.com/pinterest/gestalt/pull/3879)) - [Preview link](https://deploy-preview-3879--gestalt.netlify.app?devexample=true)

## 165.1.8 (Nov 20, 2024)

### Patch

- Spinner: VR version intro & outro animation ([#3881](https://github.com/pinterest/gestalt/pull/3881)) - [Preview link](https://deploy-preview-3881--gestalt.netlify.app?devexample=true)

## 165.1.7 (Nov 20, 2024)

### Patch

- Spinner: Opacity animation bug in Chrome ([#3888](https://github.com/pinterest/gestalt/pull/3888)) - [Preview link](https://deploy-preview-3888--gestalt.netlify.app?devexample=true)

## 165.1.6 (Nov 20, 2024)

### Patch

- Pog: implement InternalPog ([#3887](https://github.com/pinterest/gestalt/pull/3887)) - [Preview link](https://deploy-preview-3887--gestalt.netlify.app?devexample=true)

## 165.1.5 (Nov 19, 2024)

### Patch

- Icon: rename ios compact sparkle icon to adhere to naming pattern ([#3886](https://github.com/pinterest/gestalt/pull/3886)) - [Preview link](https://deploy-preview-3886--gestalt.netlify.app?devexample=true)

## 165.1.4 (Nov 19, 2024)

### Patch

- BannerOverlay: VR Certification Fixes ([#3878](https://github.com/pinterest/gestalt/pull/3878)) - [Preview link](https://deploy-preview-3878--gestalt.netlify.app?devexample=true)

## 165.1.3 (Nov 19, 2024)

### Patch

- Spinner: Remove Opacity Token ([#3884](https://github.com/pinterest/gestalt/pull/3884)) - [Preview link](https://deploy-preview-3884--gestalt.netlify.app?devexample=true)

## 165.1.2 (Nov 19, 2024)

### Patch

- Revert "Masonry: Update fullWidthLayout to not floor column widths" ([#3885](https://github.com/pinterest/gestalt/pull/3885)) - [Preview link](https://deploy-preview-3885--gestalt.netlify.app?devexample=true)

## 165.1.1 (Nov 18, 2024)

### Patch

- Badge: fix VR size icon ([#3882](https://github.com/pinterest/gestalt/pull/3882)) - [Preview link](https://deploy-preview-3882--gestalt.netlify.app?devexample=true)

## 165.1.0 (Nov 15, 2024)

### Minor

- Tokens: Remove percents from Android rounding ([#3868](https://github.com/pinterest/gestalt/pull/3868)) - [Preview link](https://deploy-preview-3868--gestalt.netlify.app?devexample=true)

## 165.0.6 (Nov 15, 2024)

### Patch

- Masonry: Update fullWidthLayout to not floor column widths ([#3874](https://github.com/pinterest/gestalt/pull/3874)) - [Preview link](https://deploy-preview-3874--gestalt.netlify.app?devexample=true)

## 165.0.5 (Nov 15, 2024)

### Patch

- Masonry: Update container measurement logic for V2 ([#3876](https://github.com/pinterest/gestalt/pull/3876)) - [Preview link](https://deploy-preview-3876--gestalt.netlify.app?devexample=true)

## 165.0.4 (Nov 15, 2024)

### Patch
Expand Down
1 change: 1 addition & 0 deletions docs/docs-components/siteIndex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ const siteIndex: readonly [siteIndexType, ...siteIndexType[]] = [
'IconButtonLink',
'IconButtonFloating',
'Image',
'Indicator',
'Label',
'Layer',
'Letterbox',
Expand Down
28 changes: 28 additions & 0 deletions docs/examples/banneroverlay/dismissButton.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import { useState } from 'react';
import { BannerOverlay, Button, FixedZIndex, Icon } from 'gestalt';

export default function Example() {
const [showComponent, setShowComponent] = useState(true);

return !showComponent ? (
<Button
onClick={() => {
setShowComponent(true);
}}
text="Show BannerOverlay"
/>
) : (
<BannerOverlay
message="You can dismiss this banner with the dismiss button!"
offset={{ top: 130, bottom: 24 }}
onDismiss={() => {
setShowComponent(false);
}}
thumbnail={{
icon: <Icon accessibilityLabel="Sparkle" color="info" icon="info-circle" />,
}}
title="Dismissable Banner"
zIndex={new FixedZIndex(100)}
/>
);
}
57 changes: 57 additions & 0 deletions docs/examples/banneroverlay/message.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
import { useState } from 'react';
import { BannerOverlay, Button, FixedZIndex, Image, Link, Text } from 'gestalt';

export default function Example() {
const [showComponent, setShowComponent] = useState(true);

return !showComponent ? (
<Button
onClick={() => {
setShowComponent(true);
}}
text="Show BannerOverlay"
/>
) : (
<BannerOverlay
message={
<Text inline>
Discover{' '}
<Link display="inlineBlock" href="#" target="self">
trending fashion ideas
</Link>{' '}
in the app!
</Text>
}
offset={{ top: 130, bottom: 24 }}
onDismiss={() => {
setShowComponent(false);
}}
primaryAction={{
role: 'button',
onClick: () => {
setShowComponent(false);
},
label: 'Get the app',
accessibilityLabel: 'Get the app',
}}
secondaryAction={{
role: 'button',
onClick: () => {},
label: 'Not now',
accessibilityLabel: 'Not now',
}}
thumbnail={{
image: (
<Image
alt="Pinterest Logo"
naturalHeight={1}
naturalWidth={1}
src="https://i.ibb.co/LQc8ynn/image.png"
/>
),
}}
title="More to Explore"
zIndex={new FixedZIndex(100)}
/>
);
}
29 changes: 29 additions & 0 deletions docs/examples/checkbox/checked.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import { Box, Checkbox, Flex } from 'gestalt';

const noop = () => {};

export default function Example() {
return (
<Box padding={4}>
<Flex direction="column" gap={4} height="100%" width="100%">
<Checkbox
checked
helperText="Helper Text"
id="Checked sm"
label="Checked"
onChange={noop}
size="sm"
/>

<Checkbox
checked
helperText="Helper Text"
id="Checked md"
label="Checked"
onChange={noop}
size="md"
/>
</Flex>
</Box>
);
}
70 changes: 70 additions & 0 deletions docs/examples/checkbox/disabled.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
import { Box, Checkbox, Flex } from 'gestalt';

const noop = () => {};

export default function Example() {
return (
<Box padding={4}>
<Flex gap={8} height="100%" width="100%">
<Flex direction="column" gap={6}>
<Checkbox
checked={false}
disabled
helperText="Helper Text"
id="Disabled sm"
label="Disabled"
onChange={noop}
size="sm"
/>
<Checkbox
checked
disabled
helperText="Helper Text"
id="Disabled Checked sm"
label="Disabled Checked"
onChange={noop}
size="sm"
/>
<Checkbox
disabled
helperText="Helper Text"
id="Disabled indeterminate sm"
indeterminate
label="Disabled indeterminate "
onChange={noop}
size="sm"
/>
</Flex>
<Flex direction="column" gap={6}>
<Checkbox
checked={false}
disabled
helperText="Helper Text"
id="Disabled md"
label="Disabled"
onChange={noop}
size="md"
/>
<Checkbox
checked
disabled
helperText="Helper Text"
id="Disabled Checked md"
label="Disabled Checked"
onChange={noop}
size="md"
/>
<Checkbox
disabled
helperText="Helper Text"
id="Disabled Indeterminate md"
indeterminate
label="Disabled indeterminate"
onChange={noop}
size="md"
/>
</Flex>
</Flex>
</Box>
);
}
Loading

0 comments on commit bc6bd78

Please sign in to comment.