@triptease/react 2.0.17 → 2.0.19
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/TtPresetButton.d.ts +1 -0
- package/dist/src/TtPresetButton.js +2 -1
- package/dist/src/TtPresetButton.js.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/package.json +2 -2
- package/src/TtPresetButton.tsx +2 -1
- package/src/index.ts +1 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { createComponent } from '@lit/react';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { PresetButton as TtPresetButton } from '@triptease/webcomponents';
|
|
4
|
+
import '@triptease/webcomponents/tt-side-panel.js';
|
|
4
5
|
export const PresetButton = createComponent({
|
|
5
|
-
tagName: 'tt-
|
|
6
|
+
tagName: 'tt-preset-button',
|
|
6
7
|
react: React,
|
|
7
8
|
elementClass: TtPresetButton,
|
|
8
9
|
events: {
|
|
@@ -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,0BAA0B,CAAC;
|
|
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,0BAA0B,CAAC;AACzE,OAAO,2CAA2C,CAAC;AAEnD,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","sourcesContent":["import { createComponent } from '@lit/react';\nimport * as React from 'react';\nimport {PresetButton as TtPresetButton } from '@triptease/webcomponents';\nimport '@triptease/webcomponents/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});"]}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ export { ComboBox } from './TtCombobox.js';
|
|
|
2
2
|
export { DatePicker } from './TtDatePicker.js';
|
|
3
3
|
export { DateRangePicker } from './TtDateRangePicker.js';
|
|
4
4
|
export { PresetButton } from './TtPresetButton.js';
|
|
5
|
-
export
|
|
5
|
+
export { Preset } from '@triptease/webcomponents';
|
package/dist/src/index.js
CHANGED
|
@@ -2,4 +2,5 @@ export { ComboBox } from './TtCombobox.js';
|
|
|
2
2
|
export { DatePicker } from './TtDatePicker.js';
|
|
3
3
|
export { DateRangePicker } from './TtDateRangePicker.js';
|
|
4
4
|
export { PresetButton } from './TtPresetButton.js';
|
|
5
|
+
export { Preset } from '@triptease/webcomponents';
|
|
5
6
|
//# 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,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,eAAe,EAAC,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC","sourcesContent":["export {ComboBox} from './TtCombobox.js';\nexport {DatePicker} from './TtDatePicker.js';\nexport {DateRangePicker} from './TtDateRangePicker.js';\nexport {PresetButton} from './TtPresetButton.js';\nexport
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAC,UAAU,EAAC,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAC,eAAe,EAAC,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAC,YAAY,EAAC,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,0BAA0B,CAAC","sourcesContent":["export {ComboBox} from './TtCombobox.js';\nexport {DatePicker} from './TtDatePicker.js';\nexport {DateRangePicker} from './TtDateRangePicker.js';\nexport {PresetButton} from './TtPresetButton.js';\nexport {Preset} from '@triptease/webcomponents';"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@triptease/react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.19",
|
|
4
4
|
"description": "React bindings for the @triptease/webcomponents components",
|
|
5
5
|
"author": "Launchpad Squad",
|
|
6
6
|
"license": "MIT",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@lit/react": "^1.0.5",
|
|
15
|
-
"@triptease/webcomponents": "^2.0.
|
|
15
|
+
"@triptease/webcomponents": "^2.0.19",
|
|
16
16
|
"react": "^18.3.1"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
package/src/TtPresetButton.tsx
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { createComponent } from '@lit/react';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import {PresetButton as TtPresetButton } from '@triptease/webcomponents';
|
|
4
|
+
import '@triptease/webcomponents/tt-side-panel.js';
|
|
4
5
|
|
|
5
6
|
export const PresetButton = createComponent({
|
|
6
|
-
tagName: 'tt-
|
|
7
|
+
tagName: 'tt-preset-button',
|
|
7
8
|
react: React,
|
|
8
9
|
elementClass: TtPresetButton,
|
|
9
10
|
events: {
|
package/src/index.ts
CHANGED
|
@@ -2,4 +2,4 @@ export {ComboBox} from './TtCombobox.js';
|
|
|
2
2
|
export {DatePicker} from './TtDatePicker.js';
|
|
3
3
|
export {DateRangePicker} from './TtDateRangePicker.js';
|
|
4
4
|
export {PresetButton} from './TtPresetButton.js';
|
|
5
|
-
export
|
|
5
|
+
export {Preset} from '@triptease/webcomponents';
|