@warp-ds/elements 2.4.0-next.5 → 2.4.0-next.6
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/custom-elements.json +95 -0
- package/dist/index.d.ts +24 -0
- package/dist/packages/tabs/index.js +2473 -4
- package/dist/packages/tabs/index.js.map +7 -0
- package/dist/packages/tabs/tab-panel.js +2441 -47
- package/dist/packages/tabs/tab-panel.js.map +7 -0
- package/dist/web-types.json +17 -1
- package/package.json +37 -1
|
@@ -7004,6 +7004,70 @@
|
|
|
7004
7004
|
}
|
|
7005
7005
|
]
|
|
7006
7006
|
},
|
|
7007
|
+
{
|
|
7008
|
+
"kind": "javascript-module",
|
|
7009
|
+
"path": "packages/tabs/tab-panel.ts",
|
|
7010
|
+
"declarations": [
|
|
7011
|
+
{
|
|
7012
|
+
"kind": "class",
|
|
7013
|
+
"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)",
|
|
7014
|
+
"name": "WarpTabPanel",
|
|
7015
|
+
"members": [
|
|
7016
|
+
{
|
|
7017
|
+
"kind": "field",
|
|
7018
|
+
"name": "hidden",
|
|
7019
|
+
"type": {
|
|
7020
|
+
"text": "boolean"
|
|
7021
|
+
},
|
|
7022
|
+
"default": "true",
|
|
7023
|
+
"attribute": "hidden",
|
|
7024
|
+
"reflects": true
|
|
7025
|
+
},
|
|
7026
|
+
{
|
|
7027
|
+
"kind": "method",
|
|
7028
|
+
"name": "_syncA11yAttributes",
|
|
7029
|
+
"privacy": "private"
|
|
7030
|
+
}
|
|
7031
|
+
],
|
|
7032
|
+
"attributes": [
|
|
7033
|
+
{
|
|
7034
|
+
"name": "hidden",
|
|
7035
|
+
"type": {
|
|
7036
|
+
"text": "boolean"
|
|
7037
|
+
},
|
|
7038
|
+
"default": "true",
|
|
7039
|
+
"fieldName": "hidden"
|
|
7040
|
+
}
|
|
7041
|
+
],
|
|
7042
|
+
"superclass": {
|
|
7043
|
+
"name": "LitElement",
|
|
7044
|
+
"package": "lit"
|
|
7045
|
+
},
|
|
7046
|
+
"tagName": "w-tab-panel",
|
|
7047
|
+
"customElement": true,
|
|
7048
|
+
"modulePath": "packages/tabs/tab-panel.ts",
|
|
7049
|
+
"definitionPath": "packages/tabs/tab-panel.ts"
|
|
7050
|
+
}
|
|
7051
|
+
],
|
|
7052
|
+
"exports": [
|
|
7053
|
+
{
|
|
7054
|
+
"kind": "js",
|
|
7055
|
+
"name": "WarpTabPanel",
|
|
7056
|
+
"declaration": {
|
|
7057
|
+
"name": "WarpTabPanel",
|
|
7058
|
+
"module": "packages/tabs/tab-panel.ts"
|
|
7059
|
+
}
|
|
7060
|
+
},
|
|
7061
|
+
{
|
|
7062
|
+
"kind": "custom-element-definition",
|
|
7063
|
+
"name": "w-tab-panel",
|
|
7064
|
+
"declaration": {
|
|
7065
|
+
"name": "WarpTabPanel",
|
|
7066
|
+
"module": "packages/tabs/tab-panel.ts"
|
|
7067
|
+
}
|
|
7068
|
+
}
|
|
7069
|
+
]
|
|
7070
|
+
},
|
|
7007
7071
|
{
|
|
7008
7072
|
"kind": "javascript-module",
|
|
7009
7073
|
"path": "packages/tabs/tabs.ts",
|
|
@@ -7184,6 +7248,37 @@
|
|
|
7184
7248
|
}
|
|
7185
7249
|
]
|
|
7186
7250
|
},
|
|
7251
|
+
{
|
|
7252
|
+
"kind": "javascript-module",
|
|
7253
|
+
"path": "packages/tabs/index.ts",
|
|
7254
|
+
"declarations": [],
|
|
7255
|
+
"exports": [
|
|
7256
|
+
{
|
|
7257
|
+
"kind": "js",
|
|
7258
|
+
"name": "WarpTab",
|
|
7259
|
+
"declaration": {
|
|
7260
|
+
"name": "WarpTab",
|
|
7261
|
+
"module": "./tab.js"
|
|
7262
|
+
}
|
|
7263
|
+
},
|
|
7264
|
+
{
|
|
7265
|
+
"kind": "js",
|
|
7266
|
+
"name": "WarpTabPanel",
|
|
7267
|
+
"declaration": {
|
|
7268
|
+
"name": "WarpTabPanel",
|
|
7269
|
+
"module": "./tab-panel.js"
|
|
7270
|
+
}
|
|
7271
|
+
},
|
|
7272
|
+
{
|
|
7273
|
+
"kind": "js",
|
|
7274
|
+
"name": "WarpTabs",
|
|
7275
|
+
"declaration": {
|
|
7276
|
+
"name": "WarpTabs",
|
|
7277
|
+
"module": "./tabs.js"
|
|
7278
|
+
}
|
|
7279
|
+
}
|
|
7280
|
+
]
|
|
7281
|
+
},
|
|
7187
7282
|
{
|
|
7188
7283
|
"kind": "javascript-module",
|
|
7189
7284
|
"path": "packages/textarea/textarea.ts",
|
package/dist/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ import type { WarpSliderThumb } from "./packages/slider/slider-thumb.ts";
|
|
|
30
30
|
import type { WarpSlider } from "./packages/slider/slider.ts";
|
|
31
31
|
import type { WarpStepIndicator, WarpStep } from "./packages/stepindicator/index.ts";
|
|
32
32
|
import type { WarpTab } from "./packages/tabs/tab.ts";
|
|
33
|
+
import type { WarpTabPanel } from "./packages/tabs/tab-panel.ts";
|
|
33
34
|
import type { WarpTabs } from "./packages/tabs/tabs.ts";
|
|
34
35
|
import type { WarpTextarea } from "./packages/textarea/textarea.ts";
|
|
35
36
|
|
|
@@ -925,6 +926,14 @@ export type WarpTabProps = {
|
|
|
925
926
|
}
|
|
926
927
|
|
|
927
928
|
|
|
929
|
+
export type WarpTabPanelProps = {
|
|
930
|
+
/** */
|
|
931
|
+
"hidden"?: WarpTabPanel['hidden'];
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
|
|
928
937
|
export type WarpTabsProps = {
|
|
929
938
|
/** */
|
|
930
939
|
"active"?: WarpTabs['active'];
|
|
@@ -1873,6 +1882,21 @@ export type WarpTextareaProps = {
|
|
|
1873
1882
|
"w-tab": Partial<WarpTabProps & BaseProps<WarpTab> & BaseEvents>;
|
|
1874
1883
|
|
|
1875
1884
|
|
|
1885
|
+
/**
|
|
1886
|
+
* Tab panel component that holds content for individual tabs.
|
|
1887
|
+
* Each tab panel should have a name that matches a corresponding tab.
|
|
1888
|
+
*
|
|
1889
|
+
* [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/tabs--docs)
|
|
1890
|
+
*
|
|
1891
|
+
* ## Attributes & Properties
|
|
1892
|
+
*
|
|
1893
|
+
* Component attributes and properties that can be applied to the element or by using JavaScript.
|
|
1894
|
+
*
|
|
1895
|
+
* - `hidden`: undefined
|
|
1896
|
+
*/
|
|
1897
|
+
"w-tab-panel": Partial<WarpTabPanelProps & BaseProps<WarpTabPanel> & BaseEvents>;
|
|
1898
|
+
|
|
1899
|
+
|
|
1876
1900
|
/**
|
|
1877
1901
|
* Tabs are used to organize content by grouping similar information on the same page.
|
|
1878
1902
|
*
|