@triptease/react 6.10.0 → 7.0.0
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/combobox.d.ts +8 -0
- package/dist/src/combobox.js +14 -0
- package/dist/src/combobox.js.map +1 -0
- package/dist/src/date-picker.d.ts +8 -0
- package/dist/src/date-picker.js +14 -0
- package/dist/src/date-picker.js.map +1 -0
- package/dist/src/date-range-picker.d.ts +8 -0
- package/dist/src/date-range-picker.js +14 -0
- package/dist/src/date-range-picker.js.map +1 -0
- package/dist/src/navbar.d.ts +3 -0
- package/dist/src/navbar.js +10 -0
- package/dist/src/navbar.js.map +1 -0
- package/dist/src/{TtPresetButton.d.ts → preset-button.d.ts} +2 -2
- package/dist/src/preset-button.js +15 -0
- package/dist/src/preset-button.js.map +1 -0
- package/dist/src/types.js +2 -0
- package/dist/src/types.js.map +1 -0
- package/package.json +8 -3
- package/src/combobox.ts +15 -0
- package/src/date-picker.ts +15 -0
- package/src/date-range-picker.ts +15 -0
- package/src/navbar.ts +11 -0
- package/src/preset-button.ts +19 -0
- package/dist/src/TtCombobox.d.ts +0 -8
- package/dist/src/TtCombobox.js +0 -14
- package/dist/src/TtCombobox.js.map +0 -1
- package/dist/src/TtDatePicker.d.ts +0 -8
- package/dist/src/TtDatePicker.js +0 -14
- package/dist/src/TtDatePicker.js.map +0 -1
- package/dist/src/TtDateRangePicker.d.ts +0 -8
- package/dist/src/TtDateRangePicker.js +0 -14
- package/dist/src/TtDateRangePicker.js.map +0 -1
- package/dist/src/TtNavBar.d.ts +0 -3
- package/dist/src/TtNavBar.js +0 -10
- package/dist/src/TtNavBar.js.map +0 -1
- package/dist/src/TtPresetButton.js +0 -15
- package/dist/src/TtPresetButton.js.map +0 -1
- package/dist/src/index.d.ts +0 -6
- package/dist/src/index.js +0 -6
- package/dist/src/index.js.map +0 -1
- package/dist/src/types/events.js +0 -2
- package/dist/src/types/events.js.map +0 -1
- package/src/TtCombobox.tsx +0 -15
- package/src/TtDatePicker.tsx +0 -16
- package/src/TtDateRangePicker.tsx +0 -15
- package/src/TtNavBar.tsx +0 -11
- package/src/TtPresetButton.tsx +0 -16
- package/src/index.ts +0 -6
- /package/dist/src/{types/events.d.ts → types.d.ts} +0 -0
- /package/src/{types/events.ts → types.ts} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventName } from "@lit/react";
|
|
2
|
+
import { TtCombobox } from "@triptease/tt-combobox";
|
|
3
|
+
import "@triptease/tt-combobox/tt-combobox.js";
|
|
4
|
+
import { ChangeEvent } from "./types.js";
|
|
5
|
+
export declare const Combobox: import("@lit/react").ReactWebComponent<TtCombobox, {
|
|
6
|
+
onchange: EventName<ChangeEvent<TtCombobox>>;
|
|
7
|
+
onChange: EventName<ChangeEvent<TtCombobox>>;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { createComponent } from "@lit/react";
|
|
3
|
+
import { TtCombobox } from "@triptease/tt-combobox";
|
|
4
|
+
import "@triptease/tt-combobox/tt-combobox.js";
|
|
5
|
+
export const Combobox = createComponent({
|
|
6
|
+
tagName: "tt-combobox",
|
|
7
|
+
react: React,
|
|
8
|
+
elementClass: TtCombobox,
|
|
9
|
+
events: {
|
|
10
|
+
onchange: "change",
|
|
11
|
+
onChange: "change",
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=combobox.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox.js","sourceRoot":"","sources":["../../src/combobox.ts"],"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.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});\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventName } from "@lit/react";
|
|
2
|
+
import { TtDatePicker } from "@triptease/tt-date-picker";
|
|
3
|
+
import "@triptease/tt-date-picker/tt-date-picker.js";
|
|
4
|
+
import { ChangeEvent } from "./types.js";
|
|
5
|
+
export declare const DatePicker: import("@lit/react").ReactWebComponent<TtDatePicker, {
|
|
6
|
+
onchange: EventName<ChangeEvent<TtDatePicker>>;
|
|
7
|
+
onChange: EventName<ChangeEvent<TtDatePicker>>;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { createComponent } from "@lit/react";
|
|
3
|
+
import { TtDatePicker } from "@triptease/tt-date-picker";
|
|
4
|
+
import "@triptease/tt-date-picker/tt-date-picker.js";
|
|
5
|
+
export const DatePicker = createComponent({
|
|
6
|
+
tagName: "tt-date-picker",
|
|
7
|
+
react: React,
|
|
8
|
+
elementClass: TtDatePicker,
|
|
9
|
+
events: {
|
|
10
|
+
onchange: "change",
|
|
11
|
+
onChange: "change",
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=date-picker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-picker.js","sourceRoot":"","sources":["../../src/date-picker.ts"],"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;AAGrD,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.js\";\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});\n"]}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EventName } from "@lit/react";
|
|
2
|
+
import { TtDateRangePicker } from "@triptease/tt-date-range-picker";
|
|
3
|
+
import "@triptease/tt-date-range-picker/tt-date-range-picker.js";
|
|
4
|
+
import { ChangeEvent } from "./types.js";
|
|
5
|
+
export declare const DateRangePicker: import("@lit/react").ReactWebComponent<TtDateRangePicker, {
|
|
6
|
+
onchange: EventName<ChangeEvent<TtDateRangePicker>>;
|
|
7
|
+
onChange: EventName<ChangeEvent<TtDateRangePicker>>;
|
|
8
|
+
}>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { createComponent } from "@lit/react";
|
|
3
|
+
import { TtDateRangePicker } from "@triptease/tt-date-range-picker";
|
|
4
|
+
import "@triptease/tt-date-range-picker/tt-date-range-picker.js";
|
|
5
|
+
export const DateRangePicker = createComponent({
|
|
6
|
+
tagName: "tt-date-range-picker",
|
|
7
|
+
react: React,
|
|
8
|
+
elementClass: TtDateRangePicker,
|
|
9
|
+
events: {
|
|
10
|
+
onchange: "change",
|
|
11
|
+
onChange: "change",
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=date-range-picker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"date-range-picker.js","sourceRoot":"","sources":["../../src/date-range-picker.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAa,MAAM,YAAY,CAAC;AACxD,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.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});\n"]}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { createComponent } from "@lit/react";
|
|
3
|
+
import "@triptease/tt-navbar/tt-navbar.js";
|
|
4
|
+
import { TtNavbar } from "@triptease/tt-navbar";
|
|
5
|
+
export const Navbar = createComponent({
|
|
6
|
+
tagName: "tt-navbar",
|
|
7
|
+
react: React,
|
|
8
|
+
elementClass: TtNavbar,
|
|
9
|
+
});
|
|
10
|
+
//# sourceMappingURL=navbar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"navbar.js","sourceRoot":"","sources":["../../src/navbar.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAC;IACpC,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,KAAK;IACZ,YAAY,EAAE,QAAQ;CACvB,CAAC,CAAC","sourcesContent":["import * as React from \"react\";\nimport { createComponent } from \"@lit/react\";\n\nimport \"@triptease/tt-navbar/tt-navbar.js\";\nimport { TtNavbar } from \"@triptease/tt-navbar\";\n\nexport const Navbar = createComponent({\n tagName: \"tt-navbar\",\n react: React,\n elementClass: TtNavbar,\n});\n"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PresetButton as TtPresetButton
|
|
2
|
-
import
|
|
1
|
+
import { Preset, PresetButton as TtPresetButton } 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;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createComponent } from "@lit/react";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { Preset, PresetButton as TtPresetButton, } from "@triptease/tt-date-range-picker";
|
|
4
|
+
import "@triptease/tt-date-range-picker/tt-side-panel.js";
|
|
5
|
+
export const PresetButton = createComponent({
|
|
6
|
+
tagName: "tt-preset-button",
|
|
7
|
+
react: React,
|
|
8
|
+
elementClass: TtPresetButton,
|
|
9
|
+
events: {
|
|
10
|
+
onchange: "change",
|
|
11
|
+
ondateselection: "date-selection",
|
|
12
|
+
},
|
|
13
|
+
});
|
|
14
|
+
export { Preset };
|
|
15
|
+
//# sourceMappingURL=preset-button.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"preset-button.js","sourceRoot":"","sources":["../../src/preset-button.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,MAAM,EACN,YAAY,IAAI,cAAc,GAC/B,MAAM,iCAAiC,CAAC;AACzC,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,EAAE,MAAM,EAAE,CAAC","sourcesContent":["import { createComponent } from \"@lit/react\";\nimport * as React from \"react\";\nimport {\n Preset,\n PresetButton as TtPresetButton,\n} 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 };\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"","sourcesContent":["export interface ChangeEvent<T extends HTMLElement> extends Event {\n target: T | null;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@triptease/react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "React bindings for the @triptease/webcomponents components",
|
|
5
5
|
"author": "Launchpad Squad",
|
|
6
6
|
"license": "MIT",
|
|
@@ -8,14 +8,19 @@
|
|
|
8
8
|
"main": "dist/src/index.js",
|
|
9
9
|
"module": "dist/src/index.js",
|
|
10
10
|
"exports": {
|
|
11
|
-
"
|
|
11
|
+
"./combobox": "./dist/src/combobox.js",
|
|
12
|
+
"./date-picker": "./dist/src/date-picker.js",
|
|
13
|
+
"./date-range-picker": "./dist/src/date-range-picker.js",
|
|
14
|
+
"./navbar": "./dist/src/navbar.js",
|
|
15
|
+
"./preset-button": "./dist/src/preset-button.js",
|
|
16
|
+
"./types": "./dist/src/types.js"
|
|
12
17
|
},
|
|
13
18
|
"dependencies": {
|
|
14
19
|
"@lit/react": "^1.0.5",
|
|
15
20
|
"@triptease/tt-combobox": "^5.2.0",
|
|
16
21
|
"@triptease/tt-date-picker": "^6.0.2",
|
|
17
22
|
"@triptease/tt-date-range-picker": "^6.1.1",
|
|
18
|
-
"@triptease/tt-navbar": "^0.0.
|
|
23
|
+
"@triptease/tt-navbar": "^0.0.17",
|
|
19
24
|
"react": "^18.3.1"
|
|
20
25
|
},
|
|
21
26
|
"devDependencies": {
|
package/src/combobox.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { createComponent, EventName } from "@lit/react";
|
|
3
|
+
import { TtCombobox } from "@triptease/tt-combobox";
|
|
4
|
+
import "@triptease/tt-combobox/tt-combobox.js";
|
|
5
|
+
import { ChangeEvent } from "./types.js";
|
|
6
|
+
|
|
7
|
+
export const Combobox = createComponent({
|
|
8
|
+
tagName: "tt-combobox",
|
|
9
|
+
react: React,
|
|
10
|
+
elementClass: TtCombobox,
|
|
11
|
+
events: {
|
|
12
|
+
onchange: "change" as EventName<ChangeEvent<TtCombobox>>,
|
|
13
|
+
onChange: "change" as EventName<ChangeEvent<TtCombobox>>,
|
|
14
|
+
},
|
|
15
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { createComponent, EventName } from "@lit/react";
|
|
3
|
+
import { TtDatePicker } from "@triptease/tt-date-picker";
|
|
4
|
+
import "@triptease/tt-date-picker/tt-date-picker.js";
|
|
5
|
+
import { ChangeEvent } from "./types.js";
|
|
6
|
+
|
|
7
|
+
export const DatePicker = createComponent({
|
|
8
|
+
tagName: "tt-date-picker",
|
|
9
|
+
react: React,
|
|
10
|
+
elementClass: TtDatePicker,
|
|
11
|
+
events: {
|
|
12
|
+
onchange: "change" as EventName<ChangeEvent<TtDatePicker>>,
|
|
13
|
+
onChange: "change" as EventName<ChangeEvent<TtDatePicker>>,
|
|
14
|
+
},
|
|
15
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { createComponent, EventName } from "@lit/react";
|
|
3
|
+
import { TtDateRangePicker } from "@triptease/tt-date-range-picker";
|
|
4
|
+
import "@triptease/tt-date-range-picker/tt-date-range-picker.js";
|
|
5
|
+
import { ChangeEvent } from "./types.js";
|
|
6
|
+
|
|
7
|
+
export const DateRangePicker = createComponent({
|
|
8
|
+
tagName: "tt-date-range-picker",
|
|
9
|
+
react: React,
|
|
10
|
+
elementClass: TtDateRangePicker,
|
|
11
|
+
events: {
|
|
12
|
+
onchange: "change" as EventName<ChangeEvent<TtDateRangePicker>>,
|
|
13
|
+
onChange: "change" as EventName<ChangeEvent<TtDateRangePicker>>,
|
|
14
|
+
},
|
|
15
|
+
});
|
package/src/navbar.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { createComponent } from "@lit/react";
|
|
3
|
+
|
|
4
|
+
import "@triptease/tt-navbar/tt-navbar.js";
|
|
5
|
+
import { TtNavbar } from "@triptease/tt-navbar";
|
|
6
|
+
|
|
7
|
+
export const Navbar = createComponent({
|
|
8
|
+
tagName: "tt-navbar",
|
|
9
|
+
react: React,
|
|
10
|
+
elementClass: TtNavbar,
|
|
11
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { createComponent } from "@lit/react";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import {
|
|
4
|
+
Preset,
|
|
5
|
+
PresetButton as TtPresetButton,
|
|
6
|
+
} from "@triptease/tt-date-range-picker";
|
|
7
|
+
import "@triptease/tt-date-range-picker/tt-side-panel.js";
|
|
8
|
+
|
|
9
|
+
export const PresetButton = createComponent({
|
|
10
|
+
tagName: "tt-preset-button",
|
|
11
|
+
react: React,
|
|
12
|
+
elementClass: TtPresetButton,
|
|
13
|
+
events: {
|
|
14
|
+
onchange: "change",
|
|
15
|
+
ondateselection: "date-selection",
|
|
16
|
+
},
|
|
17
|
+
});
|
|
18
|
+
|
|
19
|
+
export { Preset };
|
package/dist/src/TtCombobox.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { EventName } from '@lit/react';
|
|
2
|
-
import { TtCombobox } from '@triptease/tt-combobox';
|
|
3
|
-
import '@triptease/tt-combobox/tt-combobox.js';
|
|
4
|
-
import { ChangeEvent } from './types/events.js';
|
|
5
|
-
export declare const ComboBox: import("@lit/react").ReactWebComponent<TtCombobox, {
|
|
6
|
-
onchange: EventName<ChangeEvent<TtCombobox>>;
|
|
7
|
-
onChange: EventName<ChangeEvent<TtCombobox>>;
|
|
8
|
-
}>;
|
package/dist/src/TtCombobox.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { createComponent } from '@lit/react';
|
|
3
|
-
import { TtCombobox } from '@triptease/tt-combobox';
|
|
4
|
-
import '@triptease/tt-combobox/tt-combobox.js';
|
|
5
|
-
export const ComboBox = createComponent({
|
|
6
|
-
tagName: 'tt-combobox',
|
|
7
|
-
react: React,
|
|
8
|
-
elementClass: TtCombobox,
|
|
9
|
-
events: {
|
|
10
|
-
onchange: 'change',
|
|
11
|
-
onChange: 'change',
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
//# sourceMappingURL=TtCombobox.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,8 +0,0 @@
|
|
|
1
|
-
import { EventName } from '@lit/react';
|
|
2
|
-
import { TtDatePicker } from '@triptease/tt-date-picker';
|
|
3
|
-
import '@triptease/tt-date-picker/tt-date-picker.js';
|
|
4
|
-
import { ChangeEvent } from './types/events.js';
|
|
5
|
-
export declare const DatePicker: import("@lit/react").ReactWebComponent<TtDatePicker, {
|
|
6
|
-
onchange: EventName<ChangeEvent<TtDatePicker>>;
|
|
7
|
-
onChange: EventName<ChangeEvent<TtDatePicker>>;
|
|
8
|
-
}>;
|
package/dist/src/TtDatePicker.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { createComponent } from '@lit/react';
|
|
3
|
-
import { TtDatePicker } from '@triptease/tt-date-picker';
|
|
4
|
-
import '@triptease/tt-date-picker/tt-date-picker.js';
|
|
5
|
-
export const DatePicker = createComponent({
|
|
6
|
-
tagName: 'tt-date-picker',
|
|
7
|
-
react: React,
|
|
8
|
-
elementClass: TtDatePicker,
|
|
9
|
-
events: {
|
|
10
|
-
onchange: 'change',
|
|
11
|
-
onChange: 'change',
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
//# sourceMappingURL=TtDatePicker.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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,8 +0,0 @@
|
|
|
1
|
-
import { EventName } from '@lit/react';
|
|
2
|
-
import { TtDateRangePicker } from '@triptease/tt-date-range-picker';
|
|
3
|
-
import '@triptease/tt-date-range-picker/tt-date-range-picker.js';
|
|
4
|
-
import { ChangeEvent } from './types/events.js';
|
|
5
|
-
export declare const DateRangePicker: import("@lit/react").ReactWebComponent<TtDateRangePicker, {
|
|
6
|
-
onchange: EventName<ChangeEvent<TtDateRangePicker>>;
|
|
7
|
-
onChange: EventName<ChangeEvent<TtDateRangePicker>>;
|
|
8
|
-
}>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { createComponent } from '@lit/react';
|
|
3
|
-
import { TtDateRangePicker } from '@triptease/tt-date-range-picker';
|
|
4
|
-
import '@triptease/tt-date-range-picker/tt-date-range-picker.js';
|
|
5
|
-
export const DateRangePicker = createComponent({
|
|
6
|
-
tagName: 'tt-date-range-picker',
|
|
7
|
-
react: React,
|
|
8
|
-
elementClass: TtDateRangePicker,
|
|
9
|
-
events: {
|
|
10
|
-
onchange: 'change',
|
|
11
|
-
onChange: 'change',
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
//# sourceMappingURL=TtDateRangePicker.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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});"]}
|
package/dist/src/TtNavBar.d.ts
DELETED
package/dist/src/TtNavBar.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { createComponent } from '@lit/react';
|
|
3
|
-
import '@triptease/tt-navbar/tt-navbar.js';
|
|
4
|
-
import { TtNavbar } from '@triptease/tt-navbar';
|
|
5
|
-
export const NavBar = createComponent({
|
|
6
|
-
tagName: 'tt-navbar',
|
|
7
|
-
react: React,
|
|
8
|
-
elementClass: TtNavbar,
|
|
9
|
-
});
|
|
10
|
-
//# sourceMappingURL=TtNavBar.js.map
|
package/dist/src/TtNavBar.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TtNavBar.js","sourceRoot":"","sources":["../../src/TtNavBar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAE7C,OAAO,mCAAmC,CAAC;AAC3C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAEhD,MAAM,CAAC,MAAM,MAAM,GAAG,eAAe,CAAC;IACpC,OAAO,EAAE,WAAW;IACpB,KAAK,EAAE,KAAK;IACZ,YAAY,EAAE,QAAQ;CACvB,CAAC,CAAC","sourcesContent":["import * as React from 'react';\nimport { createComponent } from '@lit/react';\n\nimport '@triptease/tt-navbar/tt-navbar.js';\nimport { TtNavbar } from '@triptease/tt-navbar';\n\nexport const NavBar = createComponent({\n tagName: 'tt-navbar',\n react: React,\n elementClass: TtNavbar,\n});"]}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { createComponent } from '@lit/react';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { PresetButton as TtPresetButton, Preset } from '@triptease/tt-date-range-picker';
|
|
4
|
-
import '@triptease/tt-date-range-picker/tt-side-panel.js';
|
|
5
|
-
export const PresetButton = createComponent({
|
|
6
|
-
tagName: 'tt-preset-button',
|
|
7
|
-
react: React,
|
|
8
|
-
elementClass: TtPresetButton,
|
|
9
|
-
events: {
|
|
10
|
-
onchange: 'change',
|
|
11
|
-
ondateselection: 'date-selection'
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
export { Preset };
|
|
15
|
-
//# sourceMappingURL=TtPresetButton.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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 { NavBar } from './TtNavBar.js';
|
|
6
|
-
export type { ChangeEvent } from './types/events.js';
|
package/dist/src/index.js
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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 { NavBar } from './TtNavBar.js';
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
package/dist/src/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
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;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC","sourcesContent":["export { ComboBox } from './TtCombobox.js';\nexport { DatePicker } from './TtDatePicker.js';\nexport { DateRangePicker } from './TtDateRangePicker.js';\nexport { PresetButton, Preset } from './TtPresetButton.js';\nexport { NavBar } from './TtNavBar.js';\nexport type { ChangeEvent } from './types/events.js';"]}
|
package/dist/src/types/events.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../src/types/events.ts"],"names":[],"mappings":"","sourcesContent":["export interface ChangeEvent<T extends HTMLElement> extends Event {\n target: T | null;\n}\n"]}
|
package/src/TtCombobox.tsx
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { createComponent, EventName } from '@lit/react';
|
|
3
|
-
import { TtCombobox } from '@triptease/tt-combobox';
|
|
4
|
-
import '@triptease/tt-combobox/tt-combobox.js';
|
|
5
|
-
import { ChangeEvent } from './types/events.js';
|
|
6
|
-
|
|
7
|
-
export const ComboBox = createComponent({
|
|
8
|
-
tagName: 'tt-combobox',
|
|
9
|
-
react: React,
|
|
10
|
-
elementClass: TtCombobox,
|
|
11
|
-
events: {
|
|
12
|
-
onchange: 'change' as EventName<ChangeEvent<TtCombobox>>,
|
|
13
|
-
onChange: 'change' as EventName<ChangeEvent<TtCombobox>>,
|
|
14
|
-
}
|
|
15
|
-
});
|
package/src/TtDatePicker.tsx
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { createComponent, EventName } from '@lit/react';
|
|
3
|
-
import { TtDatePicker } from '@triptease/tt-date-picker';
|
|
4
|
-
import '@triptease/tt-date-picker/tt-date-picker.js';
|
|
5
|
-
import { ChangeEvent } from './types/events.js';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export const DatePicker = createComponent({
|
|
9
|
-
tagName: 'tt-date-picker',
|
|
10
|
-
react: React,
|
|
11
|
-
elementClass: TtDatePicker,
|
|
12
|
-
events: {
|
|
13
|
-
onchange: 'change' as EventName<ChangeEvent<TtDatePicker>>,
|
|
14
|
-
onChange: 'change' as EventName<ChangeEvent<TtDatePicker>>,
|
|
15
|
-
}
|
|
16
|
-
});
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import {createComponent, EventName} from '@lit/react';
|
|
3
|
-
import { TtDateRangePicker } from '@triptease/tt-date-range-picker';
|
|
4
|
-
import '@triptease/tt-date-range-picker/tt-date-range-picker.js';
|
|
5
|
-
import { ChangeEvent } from './types/events.js';
|
|
6
|
-
|
|
7
|
-
export const DateRangePicker = createComponent({
|
|
8
|
-
tagName: 'tt-date-range-picker',
|
|
9
|
-
react: React,
|
|
10
|
-
elementClass: TtDateRangePicker,
|
|
11
|
-
events: {
|
|
12
|
-
onchange: 'change' as EventName<ChangeEvent<TtDateRangePicker>>,
|
|
13
|
-
onChange: 'change' as EventName<ChangeEvent<TtDateRangePicker>>,
|
|
14
|
-
}
|
|
15
|
-
});
|
package/src/TtNavBar.tsx
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { createComponent } from '@lit/react';
|
|
3
|
-
|
|
4
|
-
import '@triptease/tt-navbar/tt-navbar.js';
|
|
5
|
-
import { TtNavbar } from '@triptease/tt-navbar';
|
|
6
|
-
|
|
7
|
-
export const NavBar = createComponent({
|
|
8
|
-
tagName: 'tt-navbar',
|
|
9
|
-
react: React,
|
|
10
|
-
elementClass: TtNavbar,
|
|
11
|
-
});
|
package/src/TtPresetButton.tsx
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { createComponent } from '@lit/react';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import {PresetButton as TtPresetButton, Preset } from '@triptease/tt-date-range-picker';
|
|
4
|
-
import '@triptease/tt-date-range-picker/tt-side-panel.js';
|
|
5
|
-
|
|
6
|
-
export const PresetButton = createComponent({
|
|
7
|
-
tagName: 'tt-preset-button',
|
|
8
|
-
react: React,
|
|
9
|
-
elementClass: TtPresetButton,
|
|
10
|
-
events: {
|
|
11
|
-
onchange: 'change',
|
|
12
|
-
ondateselection: 'date-selection'
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
export {Preset};
|
package/src/index.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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 { NavBar } from './TtNavBar.js';
|
|
6
|
-
export type { ChangeEvent } from './types/events.js';
|
|
File without changes
|
|
File without changes
|