@triptease/react 5.0.3 → 5.1.3
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/src/TtCombobox.d.ts +2 -2
- package/dist/src/TtCombobox.js +2 -2
- package/dist/src/TtCombobox.js.map +1 -1
- package/dist/src/TtDatePicker.d.ts +2 -2
- package/dist/src/TtDatePicker.js +2 -2
- package/dist/src/TtDatePicker.js.map +1 -1
- package/dist/src/TtDateRangePicker.d.ts +2 -2
- package/dist/src/TtDateRangePicker.js +2 -2
- package/dist/src/TtDateRangePicker.js.map +1 -1
- package/dist/src/TtPresetButton.d.ts +3 -2
- package/dist/src/TtPresetButton.js +3 -2
- package/dist/src/TtPresetButton.js.map +1 -1
- package/dist/src/index.d.ts +1 -2
- package/dist/src/index.js +1 -2
- package/dist/src/index.js.map +1 -1
- package/package.json +4 -2
- package/src/TtCombobox.tsx +2 -2
- package/src/TtDatePicker.tsx +2 -2
- package/src/TtDateRangePicker.tsx +2 -2
- package/src/TtPresetButton.tsx +5 -3
- package/src/index.ts +5 -6
package/dist/src/TtCombobox.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventName } from '@lit/react';
|
|
2
|
-
import { TtCombobox } from '@triptease/
|
|
3
|
-
import '@triptease/
|
|
2
|
+
import { TtCombobox } from '@triptease/tt-combobox';
|
|
3
|
+
import '@triptease/tt-combobox/tt-combobox.js';
|
|
4
4
|
import { ChangeEvent } from './types/events.js';
|
|
5
5
|
export declare const ComboBox: import("@lit/react").ReactWebComponent<TtCombobox, {
|
|
6
6
|
onchange: EventName<ChangeEvent<TtCombobox>>;
|
package/dist/src/TtCombobox.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { TtCombobox } from '@triptease/
|
|
4
|
-
import '@triptease/
|
|
3
|
+
import { TtCombobox } from '@triptease/tt-combobox';
|
|
4
|
+
import '@triptease/tt-combobox/tt-combobox.js';
|
|
5
5
|
export const ComboBox = createComponent({
|
|
6
6
|
tagName: 'tt-combobox',
|
|
7
7
|
react: React,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TtCombobox.js","sourceRoot":"","sources":["../../src/TtCombobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAa,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TtCombobox.js","sourceRoot":"","sources":["../../src/TtCombobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAa,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,uCAAuC,CAAC;AAG/C,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC;IACtC,OAAO,EAAE,aAAa;IACtB,KAAK,EAAE,KAAK;IACZ,YAAY,EAAE,UAAU;IACxB,MAAM,EAAE;QACN,QAAQ,EAAE,QAA8C;QACxD,QAAQ,EAAE,QAA8C;KACzD;CACF,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { createComponent, EventName } from '@lit/react';\nimport { TtCombobox } from '@triptease/tt-combobox';\nimport '@triptease/tt-combobox/tt-combobox.js';\nimport { ChangeEvent } from './types/events.js';\n\nexport const ComboBox = createComponent({\n tagName: 'tt-combobox',\n react: React,\n elementClass: TtCombobox,\n events: {\n onchange: 'change' as EventName<ChangeEvent<TtCombobox>>,\n onChange: 'change' as EventName<ChangeEvent<TtCombobox>>,\n }\n});"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventName } from '@lit/react';
|
|
2
|
-
import { TtDatePicker } from '@triptease/
|
|
3
|
-
import '@triptease/
|
|
2
|
+
import { TtDatePicker } from '@triptease/tt-date-picker';
|
|
3
|
+
import '@triptease/tt-date-picker/tt-date-picker.js';
|
|
4
4
|
import { ChangeEvent } from './types/events.js';
|
|
5
5
|
export declare const DatePicker: import("@lit/react").ReactWebComponent<TtDatePicker, {
|
|
6
6
|
onchange: EventName<ChangeEvent<TtDatePicker>>;
|
package/dist/src/TtDatePicker.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { TtDatePicker } from '@triptease/
|
|
4
|
-
import '@triptease/
|
|
3
|
+
import { TtDatePicker } from '@triptease/tt-date-picker';
|
|
4
|
+
import '@triptease/tt-date-picker/tt-date-picker.js';
|
|
5
5
|
export const DatePicker = createComponent({
|
|
6
6
|
tagName: 'tt-date-picker',
|
|
7
7
|
react: React,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TtDatePicker.js","sourceRoot":"","sources":["../../src/TtDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAa,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TtDatePicker.js","sourceRoot":"","sources":["../../src/TtDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAa,MAAM,YAAY,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,6CAA6C,CAAC;AAIrD,MAAM,CAAC,MAAM,UAAU,GAAG,eAAe,CAAC;IACxC,OAAO,EAAE,gBAAgB;IACzB,KAAK,EAAE,KAAK;IACZ,YAAY,EAAE,YAAY;IAC1B,MAAM,EAAE;QACN,QAAQ,EAAE,QAAgD;QAC1D,QAAQ,EAAE,QAAgD;KAC3D;CACF,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { createComponent, EventName } from '@lit/react';\nimport { TtDatePicker } from '@triptease/tt-date-picker';\nimport '@triptease/tt-date-picker/tt-date-picker.js';\nimport { ChangeEvent } from './types/events.js';\n\n\nexport const DatePicker = createComponent({\n tagName: 'tt-date-picker',\n react: React,\n elementClass: TtDatePicker,\n events: {\n onchange: 'change' as EventName<ChangeEvent<TtDatePicker>>,\n onChange: 'change' as EventName<ChangeEvent<TtDatePicker>>,\n }\n});"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventName } from '@lit/react';
|
|
2
|
-
import { TtDateRangePicker } from '@triptease/
|
|
3
|
-
import '@triptease/
|
|
2
|
+
import { TtDateRangePicker } from '@triptease/tt-date-range-picker';
|
|
3
|
+
import '@triptease/tt-date-range-picker/tt-date-range-picker.js';
|
|
4
4
|
import { ChangeEvent } from './types/events.js';
|
|
5
5
|
export declare const DateRangePicker: import("@lit/react").ReactWebComponent<TtDateRangePicker, {
|
|
6
6
|
onchange: EventName<ChangeEvent<TtDateRangePicker>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { createComponent } from '@lit/react';
|
|
3
|
-
import { TtDateRangePicker } from '@triptease/
|
|
4
|
-
import '@triptease/
|
|
3
|
+
import { TtDateRangePicker } from '@triptease/tt-date-range-picker';
|
|
4
|
+
import '@triptease/tt-date-range-picker/tt-date-range-picker.js';
|
|
5
5
|
export const DateRangePicker = createComponent({
|
|
6
6
|
tagName: 'tt-date-range-picker',
|
|
7
7
|
react: React,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TtDateRangePicker.js","sourceRoot":"","sources":["../../src/TtDateRangePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TtDateRangePicker.js","sourceRoot":"","sources":["../../src/TtDateRangePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,eAAe,EAAY,MAAM,YAAY,CAAC;AACtD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,yDAAyD,CAAC;AAGjE,MAAM,CAAC,MAAM,eAAe,GAAG,eAAe,CAAC;IAC7C,OAAO,EAAE,sBAAsB;IAC/B,KAAK,EAAE,KAAK;IACZ,YAAY,EAAE,iBAAiB;IAC/B,MAAM,EAAE;QACN,QAAQ,EAAE,QAAqD;QAC/D,QAAQ,EAAE,QAAqD;KAChE;CACF,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport {createComponent, EventName} from '@lit/react';\nimport { TtDateRangePicker } from '@triptease/tt-date-range-picker';\nimport '@triptease/tt-date-range-picker/tt-date-range-picker.js';\nimport { ChangeEvent } from './types/events.js';\n\nexport const DateRangePicker = createComponent({\n tagName: 'tt-date-range-picker',\n react: React,\n elementClass: TtDateRangePicker,\n events: {\n onchange: 'change' as EventName<ChangeEvent<TtDateRangePicker>>,\n onChange: 'change' as EventName<ChangeEvent<TtDateRangePicker>>,\n }\n});"]}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { PresetButton as TtPresetButton } from '@triptease/
|
|
2
|
-
import '@triptease/
|
|
1
|
+
import { PresetButton as TtPresetButton, Preset } from '@triptease/tt-date-range-picker';
|
|
2
|
+
import '@triptease/tt-date-range-picker/tt-side-panel.js';
|
|
3
3
|
export declare const PresetButton: import("@lit/react").ReactWebComponent<TtPresetButton, {
|
|
4
4
|
onchange: string;
|
|
5
5
|
ondateselection: string;
|
|
6
6
|
}>;
|
|
7
|
+
export { Preset };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createComponent } from '@lit/react';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { PresetButton as TtPresetButton } from '@triptease/
|
|
4
|
-
import '@triptease/
|
|
3
|
+
import { PresetButton as TtPresetButton, Preset } from '@triptease/tt-date-range-picker';
|
|
4
|
+
import '@triptease/tt-date-range-picker/tt-side-panel.js';
|
|
5
5
|
export const PresetButton = createComponent({
|
|
6
6
|
tagName: 'tt-preset-button',
|
|
7
7
|
react: React,
|
|
@@ -11,4 +11,5 @@ export const PresetButton = createComponent({
|
|
|
11
11
|
ondateselection: 'date-selection'
|
|
12
12
|
}
|
|
13
13
|
});
|
|
14
|
+
export { Preset };
|
|
14
15
|
//# sourceMappingURL=TtPresetButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TtPresetButton.js","sourceRoot":"","sources":["../../src/TtPresetButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,YAAY,IAAI,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TtPresetButton.js","sourceRoot":"","sources":["../../src/TtPresetButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,YAAY,IAAI,cAAc,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAC;AACxF,OAAO,kDAAkD,CAAC;AAE1D,MAAM,CAAC,MAAM,YAAY,GAAG,eAAe,CAAC;IAC1C,OAAO,EAAE,kBAAkB;IAC3B,KAAK,EAAE,KAAK;IACZ,YAAY,EAAE,cAAc;IAC5B,MAAM,EAAE;QACN,QAAQ,EAAE,QAAQ;QAClB,eAAe,EAAE,gBAAgB;KAClC;CACF,CAAC,CAAC;AAEH,OAAO,EAAC,MAAM,EAAC,CAAC","sourcesContent":["import { createComponent } from '@lit/react';\nimport * as React from 'react';\nimport {PresetButton as TtPresetButton, Preset } from '@triptease/tt-date-range-picker';\nimport '@triptease/tt-date-range-picker/tt-side-panel.js';\n\nexport const PresetButton = createComponent({\n tagName: 'tt-preset-button',\n react: React,\n elementClass: TtPresetButton,\n events: {\n onchange: 'change',\n ondateselection: 'date-selection'\n }\n});\n\nexport {Preset};"]}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { ComboBox } from './TtCombobox.js';
|
|
2
2
|
export { DatePicker } from './TtDatePicker.js';
|
|
3
3
|
export { DateRangePicker } from './TtDateRangePicker.js';
|
|
4
|
-
export { PresetButton } from './TtPresetButton.js';
|
|
5
|
-
export { Preset } from '@triptease/webcomponents';
|
|
4
|
+
export { PresetButton, Preset } from './TtPresetButton.js';
|
|
6
5
|
export type { ChangeEvent } from './types/events.js';
|
package/dist/src/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export { ComboBox } from './TtCombobox.js';
|
|
2
2
|
export { DatePicker } from './TtDatePicker.js';
|
|
3
3
|
export { DateRangePicker } from './TtDateRangePicker.js';
|
|
4
|
-
export { PresetButton } from './TtPresetButton.js';
|
|
5
|
-
export { Preset } from '@triptease/webcomponents';
|
|
4
|
+
export { PresetButton, Preset } from './TtPresetButton.js';
|
|
6
5
|
//# sourceMappingURL=index.js.map
|
package/dist/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC","sourcesContent":["export { ComboBox } from './TtCombobox.js';\nexport { DatePicker } from './TtDatePicker.js';\nexport { DateRangePicker } from './TtDateRangePicker.js';\nexport { PresetButton, Preset } from './TtPresetButton.js';\nexport type { ChangeEvent } from './types/events.js';"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@triptease/react",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.3",
|
|
4
4
|
"description": "React bindings for the @triptease/webcomponents components",
|
|
5
5
|
"author": "Launchpad Squad",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@lit/react": "^1.0.5",
|
|
15
|
-
"@triptease/
|
|
15
|
+
"@triptease/tt-combobox": "^5.0.3",
|
|
16
|
+
"@triptease/tt-date-picker": "^5.0.7",
|
|
17
|
+
"@triptease/tt-date-range-picker": "^5.0.10",
|
|
16
18
|
"react": "^18.3.1"
|
|
17
19
|
},
|
|
18
20
|
"devDependencies": {
|
package/src/TtCombobox.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { createComponent, EventName } from '@lit/react';
|
|
3
|
-
import { TtCombobox } from '@triptease/
|
|
4
|
-
import '@triptease/
|
|
3
|
+
import { TtCombobox } from '@triptease/tt-combobox';
|
|
4
|
+
import '@triptease/tt-combobox/tt-combobox.js';
|
|
5
5
|
import { ChangeEvent } from './types/events.js';
|
|
6
6
|
|
|
7
7
|
export const ComboBox = createComponent({
|
package/src/TtDatePicker.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { createComponent, EventName } from '@lit/react';
|
|
3
|
-
import { TtDatePicker } from '@triptease/
|
|
4
|
-
import '@triptease/
|
|
3
|
+
import { TtDatePicker } from '@triptease/tt-date-picker';
|
|
4
|
+
import '@triptease/tt-date-picker/tt-date-picker.js';
|
|
5
5
|
import { ChangeEvent } from './types/events.js';
|
|
6
6
|
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import {createComponent, EventName} from '@lit/react';
|
|
3
|
-
import { TtDateRangePicker } from '@triptease/
|
|
4
|
-
import '@triptease/
|
|
3
|
+
import { TtDateRangePicker } from '@triptease/tt-date-range-picker';
|
|
4
|
+
import '@triptease/tt-date-range-picker/tt-date-range-picker.js';
|
|
5
5
|
import { ChangeEvent } from './types/events.js';
|
|
6
6
|
|
|
7
7
|
export const DateRangePicker = createComponent({
|
package/src/TtPresetButton.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createComponent } from '@lit/react';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import {PresetButton as TtPresetButton } from '@triptease/
|
|
4
|
-
import '@triptease/
|
|
3
|
+
import {PresetButton as TtPresetButton, Preset } from '@triptease/tt-date-range-picker';
|
|
4
|
+
import '@triptease/tt-date-range-picker/tt-side-panel.js';
|
|
5
5
|
|
|
6
6
|
export const PresetButton = createComponent({
|
|
7
7
|
tagName: 'tt-preset-button',
|
|
@@ -11,4 +11,6 @@ export const PresetButton = createComponent({
|
|
|
11
11
|
onchange: 'change',
|
|
12
12
|
ondateselection: 'date-selection'
|
|
13
13
|
}
|
|
14
|
-
});
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
export {Preset};
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export {ComboBox} from './TtCombobox.js';
|
|
2
|
-
export {DatePicker} from './TtDatePicker.js';
|
|
3
|
-
export {DateRangePicker} from './TtDateRangePicker.js';
|
|
4
|
-
export {PresetButton} from './TtPresetButton.js';
|
|
5
|
-
export {
|
|
6
|
-
export type {ChangeEvent} from './types/events.js';
|
|
1
|
+
export { ComboBox } from './TtCombobox.js';
|
|
2
|
+
export { DatePicker } from './TtDatePicker.js';
|
|
3
|
+
export { DateRangePicker } from './TtDateRangePicker.js';
|
|
4
|
+
export { PresetButton, Preset } from './TtPresetButton.js';
|
|
5
|
+
export type { ChangeEvent } from './types/events.js';
|