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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ publish: build
yarn publish

publish-nightly: build
git update-index --refresh
rm -f .git/index
git reset
yarn version:nightly
yarn publish:nightly

Expand Down Expand Up @@ -124,7 +125,7 @@ website-production:
mv starters/tailwind/react-aria-tailwind-starter.zip dist/production/docs/react-aria-tailwind-starter.$$(git rev-parse --short HEAD).zip

check-examples:
node scripts/extractExamples.mjs
node scripts/extractExamplesS2.mjs
yarn tsc --project dist/docs-examples/tsconfig.json

starter:
Expand Down
4 changes: 3 additions & 1 deletion bin/imports.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ const devDependencies = new Set([
'@adobe/spectrum-css-temp',
'@react-spectrum/style-macro-s1',
'@parcel/macros',
'@adobe/spectrum-tokens'
'@adobe/spectrum-tokens',
'playwright',
'axe-playwright'
]);

module.exports = {
Expand Down
15 changes: 14 additions & 1 deletion packages/@react-spectrum/s2/chromatic/Picker.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import {AsyncPickerStory, AsyncPickerStoryType, ContextualHelpExample, CustomWidth, Dynamic, Example, Sections, WithAvatars, WithIcons} from '../stories/Picker.stories';
import {expect} from '@storybook/jest';
import type {Meta, StoryObj} from '@storybook/react';
import {Picker} from '../src';
import {Picker, PickerItem} from '../src';
import {userEvent, waitFor, within} from '@storybook/test';

const meta: Meta<typeof Picker<any>> = {
Expand All @@ -39,6 +39,19 @@ export const Default: Story = {
}
};

export const isQuiet: Story = {
render: () => (
<Picker isQuiet label="Favorite Ice Cream">
<PickerItem>Chocolate</PickerItem>
<PickerItem>Mint</PickerItem>
<PickerItem>Strawberry</PickerItem>
<PickerItem>Vanilla</PickerItem>
<PickerItem>Chocolate Chip Cookie Dough</PickerItem>
</Picker>
),
play: Default.play
};

export const WithSections: Story = {
...Sections,
play: Default.play
Expand Down
2 changes: 1 addition & 1 deletion packages/@react-spectrum/s2/intl/sr-SP.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"notificationbadge.indicatorOnly": "Nova aktivnost",
"notificationbadge.plus": "{notifications}+",
"picker.placeholder": "Izaberite...",
"picker.selectedCount": "{count, plural, =0 {No items selected} one {# item selected} other {# items selected}}",
"picker.selectedCount": "{count, plural, =0 {Nije izabrana nijedna stavka} one {Izabrana je # stavka} other {Izabrano je # stavki}}",
"slider.maximum": "Najvi拧e",
"slider.minimum": "Najmanje",
"table.cancel": "Otka啪i",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading