@sproutsocial/seeds-react-panel 1.0.11 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +11 -11
- package/CHANGELOG.md +17 -0
- package/dist/esm/index.js +445 -164
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.mts +28 -7
- package/dist/index.d.ts +28 -7
- package/dist/index.js +449 -168
- package/dist/index.js.map +1 -1
- package/dist/panel.css +92 -0
- package/package.json +11 -3
- package/src/Panel.stories.tsx +33 -0
- package/src/Panel.tsx +13 -137
- package/src/PanelContent.tsx +67 -1
- package/src/PanelFooter.tsx +48 -1
- package/src/PanelHeader.tsx +66 -17
- package/src/PanelHybrid.tsx +52 -0
- package/src/PanelMobile.tsx +90 -0
- package/src/PanelMobileActionsHeader.tsx +8 -12
- package/src/PanelShared.tsx +189 -0
- package/src/PanelStyled.tsx +62 -0
- package/src/PanelTailwind.tsx +86 -0
- package/src/__tests__/Panel.test.tsx +47 -1
- package/src/css.d.ts +1 -0
- package/src/panel.css +92 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
yarn run v1.22.22
|
|
2
|
-
$ tsup --dts
|
|
2
|
+
$ tsup --dts && cp src/panel.css dist/panel.css
|
|
3
3
|
[34mCLI[39m Building entry: src/index.ts
|
|
4
4
|
[34mCLI[39m Using tsconfig: tsconfig.json
|
|
5
5
|
[34mCLI[39m tsup v8.5.0
|
|
@@ -8,14 +8,14 @@ $ tsup --dts
|
|
|
8
8
|
[34mCLI[39m Cleaning output folder
|
|
9
9
|
[34mCJS[39m Build start
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
-
[32mCJS[39m [1mdist/index.js [22m[
|
|
12
|
-
[32mCJS[39m [1mdist/index.js.map [22m[
|
|
13
|
-
[32mCJS[39m ⚡️ Build success in
|
|
14
|
-
[32mESM[39m [1mdist/esm/index.js [22m[
|
|
15
|
-
[32mESM[39m [1mdist/esm/index.js.map [22m[
|
|
16
|
-
[32mESM[39m ⚡️ Build success in
|
|
11
|
+
[32mCJS[39m [1mdist/index.js [22m[32m22.93 KB[39m
|
|
12
|
+
[32mCJS[39m [1mdist/index.js.map [22m[32m49.26 KB[39m
|
|
13
|
+
[32mCJS[39m ⚡️ Build success in 104ms
|
|
14
|
+
[32mESM[39m [1mdist/esm/index.js [22m[32m18.60 KB[39m
|
|
15
|
+
[32mESM[39m [1mdist/esm/index.js.map [22m[32m49.07 KB[39m
|
|
16
|
+
[32mESM[39m ⚡️ Build success in 105ms
|
|
17
17
|
[34mDTS[39m Build start
|
|
18
|
-
[32mDTS[39m ⚡️ Build success in
|
|
19
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m9.
|
|
20
|
-
[32mDTS[39m [1mdist/index.d.mts [22m[32m9.
|
|
21
|
-
Done in
|
|
18
|
+
[32mDTS[39m ⚡️ Build success in 4595ms
|
|
19
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m9.41 KB[39m
|
|
20
|
+
[32mDTS[39m [1mdist/index.d.mts [22m[32m9.41 KB[39m
|
|
21
|
+
Done in 6.15s.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @sproutsocial/seeds-react-panel
|
|
2
2
|
|
|
3
|
+
## 1.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 487cab4: Migrate Panel to the hybrid Tailwind/styled-components rendering pattern
|
|
8
|
+
(PanelTailwind / PanelStyled / PanelHybrid + shared PanelShared/PanelMobile and
|
|
9
|
+
a static panel.css), mirroring the multi-part Drawer sibling. Panel now renders
|
|
10
|
+
via `seeds-*` CSS classes by default (no runtime CSS-in-JS) and transparently
|
|
11
|
+
falls back to the existing styled-components implementation for any consumer
|
|
12
|
+
passing styled-system/`COMMON`-mixin props or a `styled()` extension. The
|
|
13
|
+
sub-components (Panel.Header, Panel.Content, Panel.Footer) each route
|
|
14
|
+
independently. Because Panel's `width`/`zIndex` domain props collide with
|
|
15
|
+
styled-system prop names, the routing gate runs on the leftover props after the
|
|
16
|
+
domain props are destructured, so setting `width` no longer forces the styled
|
|
17
|
+
path. Ships a new `./dist/panel.css` export (wrapped in `@layer components` so
|
|
18
|
+
consumer Tailwind utilities win). Zero public API changes.
|
|
19
|
+
|
|
3
20
|
## 1.0.11
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|