@sps-woodland/tabs 8.50.1 → 8.51.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/README.md +24 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +10 -3071
- package/lib/index.umd.cjs +3 -9
- package/lib/style.css +1 -1
- package/package.json +6 -19
- package/vite.config.mjs +6 -13
- package/lib/tab/Tab.css.d.ts +0 -11
- package/lib/tab/Tab.d.ts +0 -9
- package/lib/tab-panel/TabPanel.d.ts +0 -8
- package/lib/tabs/Tabs.css.d.ts +0 -29
- package/lib/tabs/Tabs.d.ts +0 -5
package/README.md
CHANGED
|
@@ -1,3 +1,26 @@
|
|
|
1
1
|
## [@sps-woodland/tabs](https://github.com/SPSCommerce/woodland/tree/master/packages/@sps-woodland/tabs#readme)
|
|
2
2
|
|
|
3
|
-
SPS Woodland Design System tabs component
|
|
3
|
+
SPS Woodland Design System tabs component.
|
|
4
|
+
|
|
5
|
+
> **Heads up — this is a wrapper package.** The component source now lives in
|
|
6
|
+
> [`@sps-woodland/core`](../core). This package re-exports from core so
|
|
7
|
+
> existing imports keep working, but new code should prefer the
|
|
8
|
+
> subpath imports.
|
|
9
|
+
|
|
10
|
+
### Preferred imports (mono-package)
|
|
11
|
+
|
|
12
|
+
```ts
|
|
13
|
+
import { Tabs, Tab, TabPanel } from "@sps-woodland/core/tabs";
|
|
14
|
+
// or, if you only need one component:
|
|
15
|
+
import { Tab } from "@sps-woodland/core/tab";
|
|
16
|
+
import { TabPanel } from "@sps-woodland/core/tab-panel";
|
|
17
|
+
|
|
18
|
+
import "@sps-woodland/core/tabs/style.css";
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
### Legacy imports (still supported)
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
import { Tabs, Tab, TabPanel } from "@sps-woodland/tabs";
|
|
25
|
+
import "@sps-woodland/tabs/style.css";
|
|
26
|
+
```
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "
|
|
1
|
+
export * from "@sps-woodland/core/tabs";
|
|
2
2
|
export * from "./manifest";
|