From eb01ceec28b00128cbb5d07735fb1904a6f4e51e Mon Sep 17 00:00:00 2001 From: Robert Snow Date: Thu, 4 Sep 2025 06:08:58 +1000 Subject: [PATCH 1/2] chore: Test app add missing components (#8779) * chore: Add date time components to test apps * turn on verdaccio * Revert "turn on verdaccio" This reverts commit 3c15e2dc590af7870265f18285a81b40a366cb90. * turn on verdaccio * add ActionBar, FullscreenDialog, NotificationBadge, SelectBox * fix import paths * Fix import case for PaperAirplane and StarFilled1 * Revert "turn on verdaccio" This reverts commit 3677ebf3c55fffc6186aa744cf41fbc34d80c176. * Add ActionBar import to App.js --- examples/s2-next-macros/src/app/Lazy.js | 62 +++++++++++++++++++ examples/s2-next-macros/src/app/page.tsx | 15 ++++- examples/s2-parcel-example/src/App.js | 15 ++++- examples/s2-parcel-example/src/Lazy.js | 62 +++++++++++++++++++ examples/s2-vite-project/src/App.tsx | 15 ++++- examples/s2-vite-project/src/Lazy.tsx | 62 +++++++++++++++++++ examples/s2-webpack-5-example/src/App.js | 15 ++++- examples/s2-webpack-5-example/src/Lazy.js | 62 +++++++++++++++++++ .../src/Lazy.tsx | 62 +++++++++++++++++++ 9 files changed, 362 insertions(+), 8 deletions(-) diff --git a/examples/s2-next-macros/src/app/Lazy.js b/examples/s2-next-macros/src/app/Lazy.js index 4dd0c1afbd4..cd4d1202b2a 100644 --- a/examples/s2-next-macros/src/app/Lazy.js +++ b/examples/s2-next-macros/src/app/Lazy.js @@ -25,6 +25,7 @@ import { Breadcrumbs, Button, ButtonGroup, + Calendar, Checkbox, CheckboxGroup, CloseButton, @@ -39,6 +40,9 @@ import { Content, ContextualHelp, CustomDialog, + DateField, + DatePicker, + DateRangePicker, Dialog, DialogContainer, DialogTrigger, @@ -49,6 +53,7 @@ import { DropZone, Footer, Form, + FullscreenDialog, Header, Heading, IllustratedMessage, @@ -65,10 +70,13 @@ import { ProgressCircle, Radio, RadioGroup, + RangeCalendar, RangeSlider, SearchField, SegmentedControl, SegmentedControlItem, + SelectBox, + SelectBoxGroup, Slider, StatusLight, Switch, @@ -81,12 +89,17 @@ import { Text, TextArea, TextField, + TimeField, Tooltip, TooltipTrigger, } from "@react-spectrum/s2"; import Checkmark from '@react-spectrum/s2/illustrations/gradient/generic1/Checkmark'; import Cloud from "@react-spectrum/s2/illustrations/linear/Cloud"; import DropToUpload from "@react-spectrum/s2/illustrations/linear/DropToUpload"; +import Server from "@react-spectrum/s2/illustrations/linear/Server"; +import AlertNotice from "@react-spectrum/s2/illustrations/linear/AlertNotice"; +import PaperAirplane from "@react-spectrum/s2/illustrations/linear/Paperairplane"; +import StarFilled1 from "@react-spectrum/s2/illustrations/linear/Star"; import Edit from "@react-spectrum/s2/icons/Edit"; import Section from "./components/Section"; import { style } from "@react-spectrum/s2/style" with { type: "macro" }; @@ -110,6 +123,15 @@ export default function Lazy() { +
+ + + + + + +
+
@@ -141,6 +163,26 @@ export default function Lazy() {