@warp-ds/elements 2.2.0-next.6 → 2.2.0-next.7
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 +85 -24
- package/dist/index.d.ts +1 -0
- package/dist/index.js +124 -110
- package/dist/index.js.map +4 -4
- package/dist/packages/datepicker/datepicker.d.ts +11 -2
- package/dist/packages/datepicker/datepicker.test.d.ts +2 -0
- package/dist/packages/datepicker/index.js +45 -46
- package/dist/packages/datepicker/index.js.map +3 -3
- package/dist/packages/switch/index.d.ts +20 -0
- package/dist/packages/switch/index.js +2455 -0
- package/dist/packages/switch/index.js.map +7 -0
- package/dist/packages/switch/react.d.ts +2 -0
- package/dist/packages/switch/react.js +2475 -0
- package/dist/packages/switch/react.js.map +7 -0
- package/dist/packages/switch/styles.d.ts +1 -0
- package/dist/packages/switch/switch.stories.d.ts +9 -0
- package/dist/vscode.html-custom-data.json +9 -0
- package/dist/web-types.json +24 -6
- package/package.json +5 -5
|
@@ -1024,15 +1024,6 @@
|
|
|
1024
1024
|
},
|
|
1025
1025
|
"default": "false"
|
|
1026
1026
|
},
|
|
1027
|
-
{
|
|
1028
|
-
"kind": "field",
|
|
1029
|
-
"name": "internalValue",
|
|
1030
|
-
"type": {
|
|
1031
|
-
"text": "string"
|
|
1032
|
-
},
|
|
1033
|
-
"default": "''",
|
|
1034
|
-
"description": "The current input value as a stringified date-like"
|
|
1035
|
-
},
|
|
1036
1027
|
{
|
|
1037
1028
|
"kind": "field",
|
|
1038
1029
|
"name": "navigationDate",
|
|
@@ -1121,19 +1112,6 @@
|
|
|
1121
1112
|
"name": "#dispatchChangeEvent",
|
|
1122
1113
|
"privacy": "private"
|
|
1123
1114
|
},
|
|
1124
|
-
{
|
|
1125
|
-
"kind": "method",
|
|
1126
|
-
"name": "#onClickOutside",
|
|
1127
|
-
"privacy": "private",
|
|
1128
|
-
"parameters": [
|
|
1129
|
-
{
|
|
1130
|
-
"name": "e",
|
|
1131
|
-
"type": {
|
|
1132
|
-
"text": "MouseEvent | FocusEvent"
|
|
1133
|
-
}
|
|
1134
|
-
}
|
|
1135
|
-
]
|
|
1136
|
-
},
|
|
1137
1115
|
{
|
|
1138
1116
|
"kind": "method",
|
|
1139
1117
|
"name": "#onInput",
|
|
@@ -1149,13 +1127,13 @@
|
|
|
1149
1127
|
},
|
|
1150
1128
|
{
|
|
1151
1129
|
"kind": "method",
|
|
1152
|
-
"name": "#
|
|
1130
|
+
"name": "#onInputClick",
|
|
1153
1131
|
"privacy": "private",
|
|
1154
1132
|
"parameters": [
|
|
1155
1133
|
{
|
|
1156
1134
|
"name": "e",
|
|
1157
1135
|
"type": {
|
|
1158
|
-
"text": "
|
|
1136
|
+
"text": "PointerEvent"
|
|
1159
1137
|
}
|
|
1160
1138
|
}
|
|
1161
1139
|
]
|
|
@@ -2886,6 +2864,89 @@
|
|
|
2886
2864
|
}
|
|
2887
2865
|
]
|
|
2888
2866
|
},
|
|
2867
|
+
{
|
|
2868
|
+
"kind": "javascript-module",
|
|
2869
|
+
"path": "packages/switch/index.ts",
|
|
2870
|
+
"declarations": [
|
|
2871
|
+
{
|
|
2872
|
+
"kind": "class",
|
|
2873
|
+
"description": "",
|
|
2874
|
+
"name": "WarpSwitch",
|
|
2875
|
+
"members": [
|
|
2876
|
+
{
|
|
2877
|
+
"kind": "field",
|
|
2878
|
+
"name": "value",
|
|
2879
|
+
"type": {
|
|
2880
|
+
"text": "boolean"
|
|
2881
|
+
},
|
|
2882
|
+
"default": "false",
|
|
2883
|
+
"attribute": "value",
|
|
2884
|
+
"reflects": true
|
|
2885
|
+
},
|
|
2886
|
+
{
|
|
2887
|
+
"kind": "field",
|
|
2888
|
+
"name": "disabled",
|
|
2889
|
+
"type": {
|
|
2890
|
+
"text": "boolean"
|
|
2891
|
+
},
|
|
2892
|
+
"default": "false",
|
|
2893
|
+
"attribute": "disabled",
|
|
2894
|
+
"reflects": true
|
|
2895
|
+
}
|
|
2896
|
+
],
|
|
2897
|
+
"events": [
|
|
2898
|
+
{
|
|
2899
|
+
"name": "change",
|
|
2900
|
+
"type": {
|
|
2901
|
+
"text": "CustomEvent"
|
|
2902
|
+
}
|
|
2903
|
+
}
|
|
2904
|
+
],
|
|
2905
|
+
"attributes": [
|
|
2906
|
+
{
|
|
2907
|
+
"name": "value",
|
|
2908
|
+
"type": {
|
|
2909
|
+
"text": "boolean"
|
|
2910
|
+
},
|
|
2911
|
+
"default": "false",
|
|
2912
|
+
"fieldName": "value"
|
|
2913
|
+
},
|
|
2914
|
+
{
|
|
2915
|
+
"name": "disabled",
|
|
2916
|
+
"type": {
|
|
2917
|
+
"text": "boolean"
|
|
2918
|
+
},
|
|
2919
|
+
"default": "false",
|
|
2920
|
+
"fieldName": "disabled"
|
|
2921
|
+
}
|
|
2922
|
+
],
|
|
2923
|
+
"superclass": {
|
|
2924
|
+
"name": "LitElement",
|
|
2925
|
+
"package": "lit"
|
|
2926
|
+
},
|
|
2927
|
+
"tagName": "w-switch",
|
|
2928
|
+
"customElement": true
|
|
2929
|
+
}
|
|
2930
|
+
],
|
|
2931
|
+
"exports": [
|
|
2932
|
+
{
|
|
2933
|
+
"kind": "js",
|
|
2934
|
+
"name": "WarpSwitch",
|
|
2935
|
+
"declaration": {
|
|
2936
|
+
"name": "WarpSwitch",
|
|
2937
|
+
"module": "packages/switch/index.ts"
|
|
2938
|
+
}
|
|
2939
|
+
},
|
|
2940
|
+
{
|
|
2941
|
+
"kind": "custom-element-definition",
|
|
2942
|
+
"name": "w-switch",
|
|
2943
|
+
"declaration": {
|
|
2944
|
+
"name": "WarpSwitch",
|
|
2945
|
+
"module": "packages/switch/index.ts"
|
|
2946
|
+
}
|
|
2947
|
+
}
|
|
2948
|
+
]
|
|
2949
|
+
},
|
|
2889
2950
|
{
|
|
2890
2951
|
"kind": "javascript-module",
|
|
2891
2952
|
"path": "packages/textfield/index.ts",
|
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from "./packages/pill";
|
|
|
15
15
|
export * from "./packages/rip-and-tear-radio/";
|
|
16
16
|
export * from "./packages/rip-and-tear-checkbox/";
|
|
17
17
|
export * from "./packages/select";
|
|
18
|
+
export * from "./packages/switch";
|
|
18
19
|
export * from "./packages/textfield";
|
|
19
20
|
export * from "./packages/toast/api";
|
|
20
21
|
export * from "./packages/toast/toast-container";
|