@nd-storybook/storybook 0.3.15 → 0.3.17
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/dist/index.cjs.js +34 -21
- package/dist/index.d.ts +10 -11
- package/dist/index.es.js +1223 -1208
- package/dist/style.css +2 -2
- package/dist/tailwind.tokens.js +4 -3
- package/dist/tokens.utilities.js +1 -1
- package/package.json +1 -1
- package/tailwind.tokens.js +4 -3
- package/tokens.utilities.js +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -166,19 +166,18 @@ interface NavigationCardsProps {
|
|
|
166
166
|
}
|
|
167
167
|
declare function NavigationCards(props: NavigationCardsProps): react_jsx_runtime.JSX.Element;
|
|
168
168
|
|
|
169
|
+
interface TabItem {
|
|
170
|
+
href: string;
|
|
171
|
+
label: string;
|
|
172
|
+
}
|
|
169
173
|
interface TabsProps {
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
activeIndex?: number;
|
|
176
|
-
defaultActiveIndex?: number;
|
|
177
|
-
onTabChange?: (index: number) => void;
|
|
178
|
-
activeTabId?: string;
|
|
179
|
-
device?: 'desktop' | 'mobile';
|
|
174
|
+
items: TabItem[];
|
|
175
|
+
active?: boolean;
|
|
176
|
+
backHref?: string;
|
|
177
|
+
currentLocation?: string;
|
|
178
|
+
mobileLayout?: 'vertical' | 'horizontal';
|
|
180
179
|
}
|
|
181
|
-
declare
|
|
180
|
+
declare const Tabs: react__default.FC<TabsProps>;
|
|
182
181
|
|
|
183
182
|
interface FAQItem {
|
|
184
183
|
id?: string;
|