@warp-ds/elements 2.4.0-next.7 → 2.4.0-next.8
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/api.js.map +2 -2
- package/dist/custom-elements.json +64 -64
- package/dist/index.d.ts +45 -45
- package/dist/packages/alert/react.js +1 -1
- package/dist/packages/attention/attention.js +14 -14
- package/dist/packages/attention/attention.js.map +3 -3
- package/dist/packages/attention/attention.react.stories.d.ts +1 -1
- package/dist/packages/attention/react.js +1 -1
- package/dist/packages/badge/badge.react.stories.d.ts +1 -1
- package/dist/packages/badge/react.js +1 -1
- package/dist/packages/box/box.react.stories.d.ts +1 -1
- package/dist/packages/box/react.js +1 -1
- package/dist/packages/breadcrumbs/breadcrumbs.react.stories.d.ts +1 -1
- package/dist/packages/breadcrumbs/react.js +1 -1
- package/dist/packages/button/button.js +11 -11
- package/dist/packages/button/button.js.map +3 -3
- package/dist/packages/button/button.react.stories.d.ts +1 -1
- package/dist/packages/button/react.js +1 -1
- package/dist/packages/card/card.react.stories.d.ts +1 -1
- package/dist/packages/card/react.js +1 -1
- package/dist/packages/combobox/combobox.js +1 -2
- package/dist/packages/combobox/combobox.js.map +2 -2
- package/dist/packages/combobox/combobox.react.stories.d.ts +1 -1
- package/dist/packages/combobox/react.js +1 -1
- package/dist/packages/combobox/styles.js +1 -2
- package/dist/packages/datepicker/datepicker.react.stories.d.ts +1 -1
- package/dist/packages/datepicker/react.js +1 -1
- package/dist/packages/dead-toggle/dead-toggle.react.stories.d.ts +1 -1
- package/dist/packages/dead-toggle/react.js +1 -1
- package/dist/packages/expandable/expandable.react.stories.d.ts +1 -1
- package/dist/packages/expandable/react.js +1 -1
- package/dist/packages/link/link.js +2 -2
- package/dist/packages/link/link.js.map +2 -2
- package/dist/packages/link/link.react.stories.d.ts +1 -1
- package/dist/packages/link/react.js +1 -1
- package/dist/packages/link/styles.js +2 -2
- package/dist/packages/modal/modal.stories.d.ts +3 -2
- package/dist/packages/modal/react.d.ts +1 -1
- package/dist/packages/modal/react.js +2 -2
- package/dist/packages/modal-footer/modal-footer.js +4 -4
- package/dist/packages/modal-footer/modal-footer.js.map +4 -4
- package/dist/packages/modal-footer/react.js +1 -1
- package/dist/packages/modal-header/modal-header.js +4 -4
- package/dist/packages/modal-header/modal-header.js.map +4 -4
- package/dist/packages/modal-header/react.js +1 -1
- package/dist/packages/page-indicator/page-indicator.react.stories.d.ts +1 -1
- package/dist/packages/page-indicator/react.js +1 -1
- package/dist/packages/pagination/pagination.js +4 -4
- package/dist/packages/pagination/pagination.js.map +4 -4
- package/dist/packages/pagination/pagination.react.stories.d.ts +1 -1
- package/dist/packages/pagination/react.js +1 -1
- package/dist/packages/pill/pill.react.stories.d.ts +1 -1
- package/dist/packages/pill/react.js +1 -1
- package/dist/packages/radio/radio.js +120 -120
- package/dist/packages/radio/radio.js.map +4 -4
- package/dist/packages/radio/react.js +1 -1
- package/dist/packages/radio-group/radio-group.js +112 -112
- package/dist/packages/radio-group/radio-group.js.map +4 -4
- package/dist/packages/radio-group/react.js +1 -1
- package/dist/packages/select/react.js +1 -1
- package/dist/packages/select/select.js +2 -2
- package/dist/packages/select/select.js.map +4 -4
- package/dist/packages/select/select.react.stories.d.ts +1 -1
- package/dist/packages/select/select.react.stories.js +1 -1
- package/dist/packages/slider/index.d.ts +1 -1
- package/dist/packages/slider/index.js +1 -1
- package/dist/packages/slider/react.js +1 -1
- package/dist/packages/slider/slider.js +5 -5
- package/dist/packages/slider/slider.js.map +4 -4
- package/dist/packages/slider-thumb/react.js +1 -1
- package/dist/packages/slider-thumb/slider-thumb.js +14 -14
- package/dist/packages/slider-thumb/slider-thumb.js.map +4 -4
- package/dist/packages/slider-thumb/styles.d.ts +1 -0
- package/dist/packages/slider-thumb/styles.js +2 -0
- package/dist/packages/step/react.js +1 -1
- package/dist/packages/step/step.js +7 -7
- package/dist/packages/step/step.js.map +4 -4
- package/dist/packages/step-indicator/index.d.ts +1 -1
- package/dist/packages/step-indicator/index.js +1 -1
- package/dist/packages/step-indicator/react.js +1 -1
- package/dist/packages/step-indicator/step-indicator.js +1 -1
- package/dist/packages/step-indicator/step-indicator.js.map +2 -2
- package/dist/packages/step-indicator/styles.js +1 -1
- package/dist/packages/switch/react.js +1 -1
- package/dist/packages/switch/switch.test.js +1 -1
- package/dist/packages/tab/react.js +1 -1
- package/dist/packages/tab/tab.js +3 -3
- package/dist/packages/tab/tab.js.map +2 -2
- package/dist/packages/tab-panel/react.js +1 -1
- package/dist/packages/tab-panel/tab-panel.js +1 -1
- package/dist/packages/tab-panel/tab-panel.js.map +2 -2
- package/dist/packages/tabs/react.js +1 -1
- package/dist/packages/tabs/styles.js +1 -1
- package/dist/packages/tabs/tabs.js +1 -1
- package/dist/packages/tabs/tabs.js.map +2 -2
- package/dist/packages/tabs/tabs.react.stories.d.ts +1 -1
- package/dist/packages/tabs/tabs.react.stories.js +2 -2
- package/dist/packages/textarea/react.js +1 -1
- package/dist/packages/textarea/textarea.react.stories.d.ts +1 -1
- package/dist/packages/textfield/react.js +1 -1
- package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
- package/dist/packages/toast/index.d.ts +1 -1
- package/dist/packages/toast/index.js +1 -1
- package/dist/packages/toast-container/styles.d.ts +1 -0
- package/dist/packages/toast-container/styles.js +2 -0
- package/dist/web-types.json +17 -17
- package/package.json +1 -1
package/dist/api.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../packages/utils/window-exists.js", "../packages/toast/api.ts"],
|
|
4
|
-
"sourcesContent": ["export const windowExists = typeof window !== 'undefined';\n", "import {
|
|
5
|
-
"mappings": "AAAO,IAAMA,EAAe,OAAO,QAAW,
|
|
4
|
+
"sourcesContent": ["export const windowExists = typeof window !== 'undefined';\n", "import { WarpToastContainer } from '../toast-container/toast-container.js';\nimport { windowExists } from '../utils/window-exists';\nimport type { ToastInternal, ToastOptions } from './types';\n\nfunction getToastContainer() {\n const container = customElements.get('w-toast-container');\n return container as typeof WarpToastContainer;\n}\n\n/**\n * Creates a new toast\n */\nexport function toast(message: string, options?: ToastOptions) {\n if (!windowExists) return;\n\n const toast = getToastContainer().init() as WarpToastContainer;\n\n const data: ToastOptions = {\n id: Date.now().toString(36) + Math.random().toString(36).slice(2, 5),\n text: message,\n duration: 5000,\n type: 'success',\n ...options,\n };\n\n toast.set(data);\n return data;\n}\n\n/**\n * Remove an existing toast\n */\nexport function removeToast(id: string | number): Promise<boolean> | undefined {\n if (!windowExists) return;\n\n const toast = getToastContainer().init() as WarpToastContainer;\n return toast.del(id);\n}\n\n/**\n * Update an existing toast\n */\nexport function updateToast(id: string | number, options?: ToastOptions): ToastInternal | undefined {\n if (!windowExists) return;\n\n const toast = getToastContainer().init() as WarpToastContainer;\n toast.set({ ...toast.get(id), ...options });\n return toast.get(id);\n}\n"],
|
|
5
|
+
"mappings": "AAAO,IAAMA,EAAe,OAAO,QAAW,YCI9C,SAASC,GAAoB,CAE3B,OADkB,eAAe,IAAI,mBAAmB,CAE1D,CAKO,SAASC,EAAMC,EAAiBC,EAAwB,CAC7D,GAAI,CAACC,EAAc,OAEnB,IAAMH,EAAQD,EAAkB,EAAE,KAAK,EAEjCK,EAAqB,CACzB,GAAI,KAAK,IAAI,EAAE,SAAS,EAAE,EAAI,KAAK,OAAO,EAAE,SAAS,EAAE,EAAE,MAAM,EAAG,CAAC,EACnE,KAAMH,EACN,SAAU,IACV,KAAM,UACN,GAAGC,CACL,EAEA,OAAAF,EAAM,IAAII,CAAI,EACPA,CACT,CAKO,SAASC,EAAYC,EAAmD,CAC7E,OAAKH,EAESJ,EAAkB,EAAE,KAAK,EAC1B,IAAIO,CAAE,EAHA,MAIrB,CAKO,SAASC,EAAYD,EAAqBJ,EAAmD,CAClG,GAAI,CAACC,EAAc,OAEnB,IAAMH,EAAQD,EAAkB,EAAE,KAAK,EACvC,OAAAC,EAAM,IAAI,CAAE,GAAGA,EAAM,IAAIM,CAAE,EAAG,GAAGJ,CAAQ,CAAC,EACnCF,EAAM,IAAIM,CAAE,CACrB",
|
|
6
6
|
"names": ["windowExists", "getToastContainer", "toast", "message", "options", "windowExists", "data", "removeToast", "id", "updateToast"]
|
|
7
7
|
}
|
|
@@ -6629,70 +6629,6 @@
|
|
|
6629
6629
|
}
|
|
6630
6630
|
]
|
|
6631
6631
|
},
|
|
6632
|
-
{
|
|
6633
|
-
"kind": "javascript-module",
|
|
6634
|
-
"path": "packages/tab-panel/tab-panel.ts",
|
|
6635
|
-
"declarations": [
|
|
6636
|
-
{
|
|
6637
|
-
"kind": "class",
|
|
6638
|
-
"description": "Tab panel component that holds content for individual tabs.\nEach tab panel should have a name that matches a corresponding tab.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)",
|
|
6639
|
-
"name": "WarpTabPanel",
|
|
6640
|
-
"members": [
|
|
6641
|
-
{
|
|
6642
|
-
"kind": "field",
|
|
6643
|
-
"name": "hidden",
|
|
6644
|
-
"type": {
|
|
6645
|
-
"text": "boolean"
|
|
6646
|
-
},
|
|
6647
|
-
"default": "true",
|
|
6648
|
-
"attribute": "hidden",
|
|
6649
|
-
"reflects": true
|
|
6650
|
-
},
|
|
6651
|
-
{
|
|
6652
|
-
"kind": "method",
|
|
6653
|
-
"name": "_syncA11yAttributes",
|
|
6654
|
-
"privacy": "private"
|
|
6655
|
-
}
|
|
6656
|
-
],
|
|
6657
|
-
"attributes": [
|
|
6658
|
-
{
|
|
6659
|
-
"name": "hidden",
|
|
6660
|
-
"type": {
|
|
6661
|
-
"text": "boolean"
|
|
6662
|
-
},
|
|
6663
|
-
"default": "true",
|
|
6664
|
-
"fieldName": "hidden"
|
|
6665
|
-
}
|
|
6666
|
-
],
|
|
6667
|
-
"superclass": {
|
|
6668
|
-
"name": "LitElement",
|
|
6669
|
-
"package": "lit"
|
|
6670
|
-
},
|
|
6671
|
-
"tagName": "w-tab-panel",
|
|
6672
|
-
"customElement": true,
|
|
6673
|
-
"modulePath": "packages/tab-panel/tab-panel.ts",
|
|
6674
|
-
"definitionPath": "packages/tab-panel/tab-panel.ts"
|
|
6675
|
-
}
|
|
6676
|
-
],
|
|
6677
|
-
"exports": [
|
|
6678
|
-
{
|
|
6679
|
-
"kind": "js",
|
|
6680
|
-
"name": "WarpTabPanel",
|
|
6681
|
-
"declaration": {
|
|
6682
|
-
"name": "WarpTabPanel",
|
|
6683
|
-
"module": "packages/tab-panel/tab-panel.ts"
|
|
6684
|
-
}
|
|
6685
|
-
},
|
|
6686
|
-
{
|
|
6687
|
-
"kind": "custom-element-definition",
|
|
6688
|
-
"name": "w-tab-panel",
|
|
6689
|
-
"declaration": {
|
|
6690
|
-
"name": "WarpTabPanel",
|
|
6691
|
-
"module": "packages/tab-panel/tab-panel.ts"
|
|
6692
|
-
}
|
|
6693
|
-
}
|
|
6694
|
-
]
|
|
6695
|
-
},
|
|
6696
6632
|
{
|
|
6697
6633
|
"kind": "javascript-module",
|
|
6698
6634
|
"path": "packages/tab/tab.ts",
|
|
@@ -6836,6 +6772,70 @@
|
|
|
6836
6772
|
}
|
|
6837
6773
|
]
|
|
6838
6774
|
},
|
|
6775
|
+
{
|
|
6776
|
+
"kind": "javascript-module",
|
|
6777
|
+
"path": "packages/tab-panel/tab-panel.ts",
|
|
6778
|
+
"declarations": [
|
|
6779
|
+
{
|
|
6780
|
+
"kind": "class",
|
|
6781
|
+
"description": "Tab panel component that holds content for individual tabs.\nEach tab panel should have a name that matches a corresponding tab.\n\n[See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)",
|
|
6782
|
+
"name": "WarpTabPanel",
|
|
6783
|
+
"members": [
|
|
6784
|
+
{
|
|
6785
|
+
"kind": "field",
|
|
6786
|
+
"name": "hidden",
|
|
6787
|
+
"type": {
|
|
6788
|
+
"text": "boolean"
|
|
6789
|
+
},
|
|
6790
|
+
"default": "true",
|
|
6791
|
+
"attribute": "hidden",
|
|
6792
|
+
"reflects": true
|
|
6793
|
+
},
|
|
6794
|
+
{
|
|
6795
|
+
"kind": "method",
|
|
6796
|
+
"name": "_syncA11yAttributes",
|
|
6797
|
+
"privacy": "private"
|
|
6798
|
+
}
|
|
6799
|
+
],
|
|
6800
|
+
"attributes": [
|
|
6801
|
+
{
|
|
6802
|
+
"name": "hidden",
|
|
6803
|
+
"type": {
|
|
6804
|
+
"text": "boolean"
|
|
6805
|
+
},
|
|
6806
|
+
"default": "true",
|
|
6807
|
+
"fieldName": "hidden"
|
|
6808
|
+
}
|
|
6809
|
+
],
|
|
6810
|
+
"superclass": {
|
|
6811
|
+
"name": "LitElement",
|
|
6812
|
+
"package": "lit"
|
|
6813
|
+
},
|
|
6814
|
+
"tagName": "w-tab-panel",
|
|
6815
|
+
"customElement": true,
|
|
6816
|
+
"modulePath": "packages/tab-panel/tab-panel.ts",
|
|
6817
|
+
"definitionPath": "packages/tab-panel/tab-panel.ts"
|
|
6818
|
+
}
|
|
6819
|
+
],
|
|
6820
|
+
"exports": [
|
|
6821
|
+
{
|
|
6822
|
+
"kind": "js",
|
|
6823
|
+
"name": "WarpTabPanel",
|
|
6824
|
+
"declaration": {
|
|
6825
|
+
"name": "WarpTabPanel",
|
|
6826
|
+
"module": "packages/tab-panel/tab-panel.ts"
|
|
6827
|
+
}
|
|
6828
|
+
},
|
|
6829
|
+
{
|
|
6830
|
+
"kind": "custom-element-definition",
|
|
6831
|
+
"name": "w-tab-panel",
|
|
6832
|
+
"declaration": {
|
|
6833
|
+
"name": "WarpTabPanel",
|
|
6834
|
+
"module": "packages/tab-panel/tab-panel.ts"
|
|
6835
|
+
}
|
|
6836
|
+
}
|
|
6837
|
+
]
|
|
6838
|
+
},
|
|
6839
6839
|
{
|
|
6840
6840
|
"kind": "javascript-module",
|
|
6841
6841
|
"path": "packages/tabs/tabs.ts",
|
package/dist/index.d.ts
CHANGED
|
@@ -29,8 +29,8 @@ import type { WarpSliderThumb } from "./packages/slider-thumb/slider-thumb.ts";
|
|
|
29
29
|
import type { WarpSlider } from "./packages/slider/slider.ts";
|
|
30
30
|
import type { WarpStep } from "./packages/step/step.ts";
|
|
31
31
|
import type { WarpStepIndicator } from "./packages/step-indicator/step-indicator.ts";
|
|
32
|
-
import type { WarpTabPanel } from "./packages/tab-panel/tab-panel.ts";
|
|
33
32
|
import type { WarpTab } from "./packages/tab/tab.ts";
|
|
33
|
+
import type { WarpTabPanel } from "./packages/tab-panel/tab-panel.ts";
|
|
34
34
|
import type { WarpTabs } from "./packages/tabs/tabs.ts";
|
|
35
35
|
import type { WarpTextarea } from "./packages/textarea/textarea.ts";
|
|
36
36
|
|
|
@@ -1683,21 +1683,6 @@ export type WarpStepIndicatorSolidJsProps = {
|
|
|
1683
1683
|
textContent?: string | number;
|
|
1684
1684
|
};
|
|
1685
1685
|
|
|
1686
|
-
export type WarpTabPanelProps = {
|
|
1687
|
-
/** */
|
|
1688
|
-
hidden?: WarpTabPanel["hidden"];
|
|
1689
|
-
};
|
|
1690
|
-
|
|
1691
|
-
export type WarpTabPanelSolidJsProps = {
|
|
1692
|
-
/** */
|
|
1693
|
-
"prop:hidden"?: WarpTabPanel["hidden"];
|
|
1694
|
-
|
|
1695
|
-
/** Set the innerHTML of the element */
|
|
1696
|
-
innerHTML?: string;
|
|
1697
|
-
/** Set the textContent of the element */
|
|
1698
|
-
textContent?: string | number;
|
|
1699
|
-
};
|
|
1700
|
-
|
|
1701
1686
|
export type WarpTabProps = {
|
|
1702
1687
|
/** */
|
|
1703
1688
|
for?: WarpTab["for"];
|
|
@@ -1733,6 +1718,21 @@ export type WarpTabSolidJsProps = {
|
|
|
1733
1718
|
textContent?: string | number;
|
|
1734
1719
|
};
|
|
1735
1720
|
|
|
1721
|
+
export type WarpTabPanelProps = {
|
|
1722
|
+
/** */
|
|
1723
|
+
hidden?: WarpTabPanel["hidden"];
|
|
1724
|
+
};
|
|
1725
|
+
|
|
1726
|
+
export type WarpTabPanelSolidJsProps = {
|
|
1727
|
+
/** */
|
|
1728
|
+
"prop:hidden"?: WarpTabPanel["hidden"];
|
|
1729
|
+
|
|
1730
|
+
/** Set the innerHTML of the element */
|
|
1731
|
+
innerHTML?: string;
|
|
1732
|
+
/** Set the textContent of the element */
|
|
1733
|
+
textContent?: string | number;
|
|
1734
|
+
};
|
|
1735
|
+
|
|
1736
1736
|
export type WarpTabsProps = {
|
|
1737
1737
|
/** */
|
|
1738
1738
|
active?: WarpTabs["active"];
|
|
@@ -2722,8 +2722,7 @@ export type CustomElements = {
|
|
|
2722
2722
|
>;
|
|
2723
2723
|
|
|
2724
2724
|
/**
|
|
2725
|
-
*
|
|
2726
|
-
* Each tab panel should have a name that matches a corresponding tab.
|
|
2725
|
+
* Individual tab component used within w-tabs container.
|
|
2727
2726
|
*
|
|
2728
2727
|
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
2729
2728
|
*
|
|
@@ -2731,14 +2730,17 @@ export type CustomElements = {
|
|
|
2731
2730
|
*
|
|
2732
2731
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2733
2732
|
*
|
|
2734
|
-
* - `
|
|
2733
|
+
* - `for`: undefined
|
|
2734
|
+
* - `label`: undefined
|
|
2735
|
+
* - `active`: undefined
|
|
2736
|
+
* - `over`: undefined
|
|
2737
|
+
* - `tab-class`/`tabClass`: undefined
|
|
2735
2738
|
*/
|
|
2736
|
-
"w-tab
|
|
2737
|
-
WarpTabPanelProps & BaseProps<WarpTabPanel> & BaseEvents
|
|
2738
|
-
>;
|
|
2739
|
+
"w-tab": Partial<WarpTabProps & BaseProps<WarpTab> & BaseEvents>;
|
|
2739
2740
|
|
|
2740
2741
|
/**
|
|
2741
|
-
*
|
|
2742
|
+
* Tab panel component that holds content for individual tabs.
|
|
2743
|
+
* Each tab panel should have a name that matches a corresponding tab.
|
|
2742
2744
|
*
|
|
2743
2745
|
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
2744
2746
|
*
|
|
@@ -2746,13 +2748,11 @@ export type CustomElements = {
|
|
|
2746
2748
|
*
|
|
2747
2749
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
2748
2750
|
*
|
|
2749
|
-
* - `
|
|
2750
|
-
* - `label`: undefined
|
|
2751
|
-
* - `active`: undefined
|
|
2752
|
-
* - `over`: undefined
|
|
2753
|
-
* - `tab-class`/`tabClass`: undefined
|
|
2751
|
+
* - `hidden`: undefined
|
|
2754
2752
|
*/
|
|
2755
|
-
"w-tab": Partial<
|
|
2753
|
+
"w-tab-panel": Partial<
|
|
2754
|
+
WarpTabPanelProps & BaseProps<WarpTabPanel> & BaseEvents
|
|
2755
|
+
>;
|
|
2756
2756
|
|
|
2757
2757
|
/**
|
|
2758
2758
|
* Tabs are used to organize content by grouping similar information on the same page.
|
|
@@ -3777,8 +3777,7 @@ export type CustomElementsSolidJs = {
|
|
|
3777
3777
|
>;
|
|
3778
3778
|
|
|
3779
3779
|
/**
|
|
3780
|
-
*
|
|
3781
|
-
* Each tab panel should have a name that matches a corresponding tab.
|
|
3780
|
+
* Individual tab component used within w-tabs container.
|
|
3782
3781
|
*
|
|
3783
3782
|
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
3784
3783
|
*
|
|
@@ -3786,17 +3785,19 @@ export type CustomElementsSolidJs = {
|
|
|
3786
3785
|
*
|
|
3787
3786
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3788
3787
|
*
|
|
3789
|
-
* - `
|
|
3788
|
+
* - `for`: undefined
|
|
3789
|
+
* - `label`: undefined
|
|
3790
|
+
* - `active`: undefined
|
|
3791
|
+
* - `over`: undefined
|
|
3792
|
+
* - `tab-class`/`tabClass`: undefined
|
|
3790
3793
|
*/
|
|
3791
|
-
"w-tab
|
|
3792
|
-
|
|
3793
|
-
WarpTabPanelSolidJsProps &
|
|
3794
|
-
BaseProps<WarpTabPanel> &
|
|
3795
|
-
BaseEvents
|
|
3794
|
+
"w-tab": Partial<
|
|
3795
|
+
WarpTabProps & WarpTabSolidJsProps & BaseProps<WarpTab> & BaseEvents
|
|
3796
3796
|
>;
|
|
3797
3797
|
|
|
3798
3798
|
/**
|
|
3799
|
-
*
|
|
3799
|
+
* Tab panel component that holds content for individual tabs.
|
|
3800
|
+
* Each tab panel should have a name that matches a corresponding tab.
|
|
3800
3801
|
*
|
|
3801
3802
|
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
3802
3803
|
*
|
|
@@ -3804,14 +3805,13 @@ export type CustomElementsSolidJs = {
|
|
|
3804
3805
|
*
|
|
3805
3806
|
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
3806
3807
|
*
|
|
3807
|
-
* - `
|
|
3808
|
-
* - `label`: undefined
|
|
3809
|
-
* - `active`: undefined
|
|
3810
|
-
* - `over`: undefined
|
|
3811
|
-
* - `tab-class`/`tabClass`: undefined
|
|
3808
|
+
* - `hidden`: undefined
|
|
3812
3809
|
*/
|
|
3813
|
-
"w-tab": Partial<
|
|
3814
|
-
|
|
3810
|
+
"w-tab-panel": Partial<
|
|
3811
|
+
WarpTabPanelProps &
|
|
3812
|
+
WarpTabPanelSolidJsProps &
|
|
3813
|
+
BaseProps<WarpTabPanel> &
|
|
3814
|
+
BaseEvents
|
|
3815
3815
|
>;
|
|
3816
3816
|
|
|
3817
3817
|
/**
|