@warp-ds/elements 2.3.0-next.2 → 2.3.0-next.4

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.
@@ -1,2 +1,2 @@
1
- import { WarpAffix } from './index';
1
+ import { WarpAffix } from './index.js';
2
2
  export declare const Affix: import("@lit/react").ReactWebComponent<WarpAffix, {}>;
@@ -1,2 +1,2 @@
1
- import { WarpAlert } from '.';
1
+ import { WarpAlert } from './index.js';
2
2
  export declare const Alert: import("@lit/react").ReactWebComponent<WarpAlert, {}>;
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
  import React from 'react';
3
- import { WarpAttention } from './index';
3
+ import { WarpAttention } from './index.js';
4
4
  declare class Component extends LitElement {
5
5
  }
6
6
  declare const BaseAttention: import("@lit/react").ReactWebComponent<Component, {
@@ -1,2 +1,2 @@
1
- import { WarpBadge } from '.';
1
+ import { WarpBadge } from './index.js';
2
2
  export declare const Badge: import("@lit/react").ReactWebComponent<WarpBadge, {}>;
@@ -1,2 +1,2 @@
1
- import { WarpBox } from '.';
1
+ import { WarpBox } from './index.js';
2
2
  export declare const Box: import("@lit/react").ReactWebComponent<WarpBox, {}>;
@@ -1,2 +1,2 @@
1
- import { WarpBreadcrumbs } from '.';
1
+ import { WarpBreadcrumbs } from './index.js';
2
2
  export declare const Breadcrumbs: import("@lit/react").ReactWebComponent<WarpBreadcrumbs, {}>;
@@ -1,2 +1,2 @@
1
- import { WarpButton } from './index';
1
+ import { WarpButton } from './index.js';
2
2
  export declare const Button: import("@lit/react").ReactWebComponent<WarpButton, {}>;
@@ -1,2 +1,2 @@
1
- import { WarpCard } from '.';
1
+ import { WarpCard } from './index.js';
2
2
  export declare const Card: import("@lit/react").ReactWebComponent<WarpCard, {}>;
@@ -1,4 +1,4 @@
1
- import { WarpCombobox } from '.';
1
+ import { WarpCombobox } from './index.js';
2
2
  export declare const Combobox: import("@lit/react").ReactWebComponent<WarpCombobox, {
3
3
  onSelect: string;
4
4
  onselect: string;
@@ -1,4 +1,4 @@
1
- import { WarpDatepicker } from './datepicker';
1
+ import { WarpDatepicker } from './datepicker.js';
2
2
  export declare const DatePicker: import("@lit/react").ReactWebComponent<WarpDatepicker, {
3
3
  onChange: string;
4
4
  onchange: string;
@@ -1,2 +1,2 @@
1
- import { WarpDeadToggle } from '.';
1
+ import { WarpDeadToggle } from './index.js';
2
2
  export declare const DeadToggle: import("@lit/react").ReactWebComponent<WarpDeadToggle, {}>;
@@ -1,2 +1,2 @@
1
- import { WarpExpandable } from '.';
1
+ import { WarpExpandable } from './index.js';
2
2
  export declare const Expandable: import("@lit/react").ReactWebComponent<WarpExpandable, {}>;
@@ -1,2 +1,2 @@
1
- import { WarpLink } from '.';
1
+ import { WarpLink } from './index.js';
2
2
  export declare const Link: import("@lit/react").ReactWebComponent<WarpLink, {}>;
@@ -1,4 +1,4 @@
1
- import { WarpModalFooter, WarpModal, WarpModalHeader } from '.';
1
+ import { WarpModalFooter, WarpModal, WarpModalHeader } from './index.js';
2
2
  export declare const Modal: import("@lit/react").ReactWebComponent<WarpModal, {
3
3
  onShown: string;
4
4
  onshown: string;
@@ -1,2 +1,2 @@
1
- import { WarpPageIndicator } from '.';
1
+ import { WarpPageIndicator } from './index.js';
2
2
  export declare const PageIndicator: import("@lit/react").ReactWebComponent<WarpPageIndicator, {}>;
@@ -1,4 +1,4 @@
1
- import { WarpPagination } from '.';
1
+ import { WarpPagination } from './index.js';
2
2
  export declare const Pagination: import("@lit/react").ReactWebComponent<WarpPagination, {
3
3
  onPageClick: string;
4
4
  'onpage-click': string;
@@ -1,4 +1,4 @@
1
- import { WarpPill } from '.';
1
+ import { WarpPill } from './index.js';
2
2
  export declare const Pill: import("@lit/react").ReactWebComponent<WarpPill, {
3
3
  onClick: string;
4
4
  onclick: string;
@@ -1,4 +1,4 @@
1
- import { WCheckbox } from './checkbox';
1
+ import { WCheckbox } from './checkbox.js';
2
2
  export declare const Checkbox: import("@lit/react").ReactWebComponent<WCheckbox, {
3
3
  onChange: string;
4
4
  onchange: string;
@@ -1,5 +1,5 @@
1
- import { WRadio } from './radio';
2
- import { WRadioGroup } from './radio-group';
1
+ import { WRadio } from './radio.js';
2
+ import { WRadioGroup } from './radio-group.js';
3
3
  export declare const Radio: import("@lit/react").ReactWebComponent<WRadio, {}>;
4
4
  export declare const RadioGroup: import("@lit/react").ReactWebComponent<WRadioGroup, {
5
5
  onInput: string;
@@ -1,4 +1,4 @@
1
- import { WarpSelect } from '.';
1
+ import { WarpSelect } from './index.js';
2
2
  export declare const Select: import("@lit/react").ReactWebComponent<WarpSelect, {
3
3
  onChange: string;
4
4
  onchange: string;
@@ -1,6 +1,6 @@
1
1
  import { EventName } from '@lit/react';
2
- import { WarpSlider } from './slider';
3
- import { WarpSliderThumb } from './slider-thumb';
2
+ import { WarpSlider } from './slider.js';
3
+ import { WarpSliderThumb } from './slider-thumb.js';
4
4
  export declare const Slider: import("@lit/react").ReactWebComponent<WarpSlider, {}>;
5
5
  export declare const SliderThumb: import("@lit/react").ReactWebComponent<WarpSliderThumb, {
6
6
  onSliderValidity: EventName<CustomEvent>;
@@ -1,4 +1,4 @@
1
- import { WarpSwitch } from '.';
1
+ import { WarpSwitch } from './index.js';
2
2
  export declare const Switch: import("@lit/react").ReactWebComponent<WarpSwitch, {
3
3
  onChange: string;
4
4
  onchange: string;
@@ -1,4 +1,4 @@
1
- import { WarpTextField } from '.';
1
+ import { WarpTextField } from './index.js';
2
2
  export declare const TextField: import("@lit/react").ReactWebComponent<WarpTextField, {
3
3
  onBlur: string;
4
4
  onblur: string;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@warp-ds/elements",
4
- "version": "2.3.0-next.1",
4
+ "version": "2.3.0-next.3",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@warp-ds/elements",
3
3
  "type": "module",
4
- "version": "2.3.0-next.2",
4
+ "version": "2.3.0-next.4",
5
5
  "packageManager": "pnpm@10.20.0",
6
6
  "description": "Custom elements for Warp",
7
7
  "exports": {
@@ -25,6 +25,106 @@
25
25
  "./components/toast": "./dist/packages/toast/index.js",
26
26
  "./toast": "./dist/api.js",
27
27
  "./custom-elements.json": "./dist/custom-elements.json",
28
+ "./react/affix": {
29
+ "types": "./dist/packages/affix/react.d.ts",
30
+ "import": "./dist/packages/affix/react.js"
31
+ },
32
+ "./react/alert": {
33
+ "types": "./dist/packages/alert/react.d.ts",
34
+ "import": "./dist/packages/alert/react.js"
35
+ },
36
+ "./react/attention": {
37
+ "types": "./dist/packages/attention/react.d.ts",
38
+ "import": "./dist/packages/attention/react.js"
39
+ },
40
+ "./react/badge": {
41
+ "types": "./dist/packages/badge/react.d.ts",
42
+ "import": "./dist/packages/badge/react.js"
43
+ },
44
+ "./react/box": {
45
+ "types": "./dist/packages/box/react.d.ts",
46
+ "import": "./dist/packages/box/react.js"
47
+ },
48
+ "./react/breadcrumbs": {
49
+ "types": "./dist/packages/breadcrumbs/react.d.ts",
50
+ "import": "./dist/packages/breadcrumbs/react.js"
51
+ },
52
+ "./react/button": {
53
+ "types": "./dist/packages/button/react.d.ts",
54
+ "import": "./dist/packages/button/react.js"
55
+ },
56
+ "./react/card": {
57
+ "types": "./dist/packages/card/react.d.ts",
58
+ "import": "./dist/packages/card/react.js"
59
+ },
60
+ "./react/combobox": {
61
+ "types": "./dist/packages/combobox/react.d.ts",
62
+ "import": "./dist/packages/combobox/react.js"
63
+ },
64
+ "./react/datepicker": {
65
+ "types": "./dist/packages/datepicker/react.d.ts",
66
+ "import": "./dist/packages/datepicker/react.js"
67
+ },
68
+ "./react/dead-toggle": {
69
+ "types": "./dist/packages/dead-toggle/react.d.ts",
70
+ "import": "./dist/packages/dead-toggle/react.js"
71
+ },
72
+ "./react/expandable": {
73
+ "types": "./dist/packages/expandable/react.d.ts",
74
+ "import": "./dist/packages/expandable/react.js"
75
+ },
76
+ "./react/link": {
77
+ "types": "./dist/packages/link/react.d.ts",
78
+ "import": "./dist/packages/link/react.js"
79
+ },
80
+ "./react/modal": {
81
+ "types": "./dist/packages/modal/react.d.ts",
82
+ "import": "./dist/packages/modal/react.js"
83
+ },
84
+ "./react/pageindicator": {
85
+ "types": "./dist/packages/pageindicator/react.d.ts",
86
+ "import": "./dist/packages/pageindicator/react.js"
87
+ },
88
+ "./react/pagination": {
89
+ "types": "./dist/packages/pagination/react.d.ts",
90
+ "import": "./dist/packages/pagination/react.js"
91
+ },
92
+ "./react/pill": {
93
+ "types": "./dist/packages/pill/react.d.ts",
94
+ "import": "./dist/packages/pill/react.js"
95
+ },
96
+ "./react/rip-and-tear-checkbox": {
97
+ "types": "./dist/packages/rip-and-tear-checkbox/react.d.ts",
98
+ "import": "./dist/packages/rip-and-tear-checkbox/react.js"
99
+ },
100
+ "./react/rip-and-tear-radio": {
101
+ "types": "./dist/packages/rip-and-tear-radio/react.d.ts",
102
+ "import": "./dist/packages/rip-and-tear-radio/react.js"
103
+ },
104
+ "./react/select": {
105
+ "types": "./dist/packages/select/react.d.ts",
106
+ "import": "./dist/packages/select/react.js"
107
+ },
108
+ "./react/slider": {
109
+ "types": "./dist/packages/slider/react.d.ts",
110
+ "import": "./dist/packages/slider/react.js"
111
+ },
112
+ "./react/steps": {
113
+ "types": "./dist/packages/steps/react.d.ts",
114
+ "import": "./dist/packages/steps/react.js"
115
+ },
116
+ "./react/switch": {
117
+ "types": "./dist/packages/switch/react.d.ts",
118
+ "import": "./dist/packages/switch/react.js"
119
+ },
120
+ "./react/tabs": {
121
+ "types": "./dist/packages/tabs/react.d.ts",
122
+ "import": "./dist/packages/tabs/react.js"
123
+ },
124
+ "./react/textfield": {
125
+ "types": "./dist/packages/textfield/react.d.ts",
126
+ "import": "./dist/packages/textfield/react.js"
127
+ },
28
128
  "./react/*": {
29
129
  "types": "./dist/packages/*/react.d.ts",
30
130
  "import": "./dist/packages/*/react.js"
@@ -39,6 +139,88 @@
39
139
  "customElements": "./dist/custom-elements.json",
40
140
  "web-types": "./dist/web-types.json",
41
141
  "types": "./dist/index.d.ts",
142
+ "typesVersions": {
143
+ "*": {
144
+ "react/affix": [
145
+ "./dist/packages/affix/react.d.ts"
146
+ ],
147
+ "react/alert": [
148
+ "./dist/packages/alert/react.d.ts"
149
+ ],
150
+ "react/attention": [
151
+ "./dist/packages/attention/react.d.ts"
152
+ ],
153
+ "react/badge": [
154
+ "./dist/packages/badge/react.d.ts"
155
+ ],
156
+ "react/box": [
157
+ "./dist/packages/box/react.d.ts"
158
+ ],
159
+ "react/breadcrumbs": [
160
+ "./dist/packages/breadcrumbs/react.d.ts"
161
+ ],
162
+ "react/button": [
163
+ "./dist/packages/button/react.d.ts"
164
+ ],
165
+ "react/card": [
166
+ "./dist/packages/card/react.d.ts"
167
+ ],
168
+ "react/combobox": [
169
+ "./dist/packages/combobox/react.d.ts"
170
+ ],
171
+ "react/datepicker": [
172
+ "./dist/packages/datepicker/react.d.ts"
173
+ ],
174
+ "react/dead-toggle": [
175
+ "./dist/packages/dead-toggle/react.d.ts"
176
+ ],
177
+ "react/expandable": [
178
+ "./dist/packages/expandable/react.d.ts"
179
+ ],
180
+ "react/link": [
181
+ "./dist/packages/link/react.d.ts"
182
+ ],
183
+ "react/modal": [
184
+ "./dist/packages/modal/react.d.ts"
185
+ ],
186
+ "react/pageindicator": [
187
+ "./dist/packages/pageindicator/react.d.ts"
188
+ ],
189
+ "react/pagination": [
190
+ "./dist/packages/pagination/react.d.ts"
191
+ ],
192
+ "react/pill": [
193
+ "./dist/packages/pill/react.d.ts"
194
+ ],
195
+ "react/rip-and-tear-checkbox": [
196
+ "./dist/packages/rip-and-tear-checkbox/react.d.ts"
197
+ ],
198
+ "react/rip-and-tear-radio": [
199
+ "./dist/packages/rip-and-tear-radio/react.d.ts"
200
+ ],
201
+ "react/select": [
202
+ "./dist/packages/select/react.d.ts"
203
+ ],
204
+ "react/slider": [
205
+ "./dist/packages/slider/react.d.ts"
206
+ ],
207
+ "react/steps": [
208
+ "./dist/packages/steps/react.d.ts"
209
+ ],
210
+ "react/switch": [
211
+ "./dist/packages/switch/react.d.ts"
212
+ ],
213
+ "react/tabs": [
214
+ "./dist/packages/tabs/react.d.ts"
215
+ ],
216
+ "react/textfield": [
217
+ "./dist/packages/textfield/react.d.ts"
218
+ ],
219
+ "toast": [
220
+ "./dist/packages/toast/api.d.ts"
221
+ ]
222
+ }
223
+ },
42
224
  "files": [
43
225
  "./dist/",
44
226
  "./dist/custom-elements.json"
@@ -69,6 +251,7 @@
69
251
  "prepare": "husky",
70
252
  "semantic-release": "semantic-release",
71
253
  "test": "vitest",
254
+ "test:module-resolution": "cd tests/module-resolution && ./setup.sh && ./test.sh",
72
255
  "watch:npm": "npx esbuild ./index.js --outdir=dist/ --target=es2017 --bundle --sourcemap --format=esm --minify --watch"
73
256
  },
74
257
  "repository": {