@licklist/design 0.68.0-dev.1 → 0.68.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/.storybook/main.cjs +12 -15
- package/dist/assets/iframe/selectArrow.svg.js +17 -0
- package/dist/auth/Login/LoginComponent.js +1 -2
- package/dist/calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
- package/dist/calendar/components/CalendarButtons/CalendarButtons.js +40 -35
- package/dist/events/edit-event-modal/IntervalInput.d.ts.map +1 -1
- package/dist/events/edit-event-modal/IntervalInput.js +1 -7
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +23 -24
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
- package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -0
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
- package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +0 -2
- package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/layout/DropDown.d.ts +1 -2
- package/dist/layout/DropDown.d.ts.map +1 -1
- package/dist/modals/confirmation/ConfirmModal.d.ts +1 -3
- package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
- package/dist/modals/confirmation/ConfirmModal.js +8 -172
- package/dist/product-set/card/ProductSetCard.d.ts +2 -6
- package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
- package/dist/product-set/card/ProductSetCard.js +11 -30
- package/dist/product-set/control/DateInput.d.ts.map +1 -1
- package/dist/product-set/control/DateInput.js +2 -2
- package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductCategoriesControl.js +2 -48
- package/dist/product-set/form/ProductSetForm.d.ts +1 -4
- package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
- package/dist/product-set/form/ProductSetForm.js +1 -59
- package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
- package/dist/product-set/form/ProductZonesControl.js +2 -0
- package/dist/product-set/form/SelectCategoryModal.d.ts +0 -12
- package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
- package/dist/product-set/form/SelectCategoryModal.js +1 -1
- package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
- package/dist/product-set/form/SubProductsControl.js +3 -0
- package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
- package/dist/product-set/form/VenueMapsControl.js +3 -0
- package/dist/product-set/form/index.d.ts +0 -1
- package/dist/product-set/form/index.d.ts.map +1 -1
- package/dist/product-set/product/ProductControl.d.ts.map +1 -1
- package/dist/product-set/utils/index.d.ts +0 -7
- package/dist/product-set/utils/index.d.ts.map +1 -1
- package/dist/product-set/utils/index.js +1 -10
- package/dist/provider/working-hours-input/WorkingHoursInputDescription.js +2 -3
- package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
- package/dist/sales/booking/results/components/ResultCard.js +2 -0
- package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
- package/dist/snippet/snippet-template/preview/Preview.js +0 -6
- package/dist/sortable-tree/SortableTreeItem.d.ts +1 -2
- package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
- package/dist/sortable-tree/SortableTreeItem.js +4 -10
- package/dist/styles/auth/AccessDenied.scss +1 -1
- package/dist/styles/back-button/BackButton.scss +24 -25
- package/dist/styles/back-button/_index.scss +1 -1
- package/dist/styles/company-user-form/UserForm.scss +7 -4
- package/dist/styles/company-user-form/_index.scss +1 -1
- package/dist/styles/custom-fields/CreateSortableListItem.scss +1 -2
- package/dist/styles/custom-fields/_index.scss +1 -1
- package/dist/styles/customers/Filter.scss +5 -5
- package/dist/styles/events/EditEventModal.scss +3 -1
- package/dist/styles/events/EventVenueMap.scss +7 -7
- package/dist/styles/form/Input.scss +1 -1
- package/dist/styles/header/Header.scss +1 -1
- package/dist/styles/header/elements/CompanySelector.scss +2 -2
- package/dist/styles/iframe-events/Calendar.scss +1 -0
- package/dist/styles/iframe-events/CalendarSelect.scss +1 -1
- package/dist/styles/iframe-events/CategoryStepsForm.scss +7 -6
- package/dist/styles/iframe-events/Event.scss +4 -2
- package/dist/styles/iframe-events/EventForm.scss +54 -54
- package/dist/styles/iframe-events/EventNavigationFooter.scss +0 -1
- package/dist/styles/iframe-events/TicketDescription.scss +1 -1
- package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
- package/dist/styles/iframe-payments/PaymentForm.scss +1 -1
- package/dist/styles/layout/BackgroundVideoContainer.scss +2 -2
- package/dist/styles/notification/Notification.scss +1 -1
- package/dist/styles/order-items-table/OrderItemsTable.scss +2 -1
- package/dist/styles/product-set/CreateProductSetItem.scss +13 -15
- package/dist/styles/product-set/DateAndRecurrenceInput.scss +8 -6
- package/dist/styles/product-set/EditCategoryModal.scss +4 -4
- package/dist/styles/product-set/EditProductModal.scss +3 -3
- package/dist/styles/product-set/EditStepModal.scss +4 -4
- package/dist/styles/product-set/EditVenueMapSetModal.scss +6 -6
- package/dist/styles/product-set/ProductSetForm.scss +2 -25
- package/dist/styles/product-set/TutorialGifCard.scss +1 -1
- package/dist/styles/product-set/_index.scss +2 -2
- package/dist/styles/report/ReportCard.scss +0 -1
- package/dist/styles/report/_index.scss +1 -1
- package/dist/styles/resources-blocking/_index.scss +0 -4
- package/dist/styles/sales/BookingFilter.scss +2 -2
- package/dist/styles/sales/BookingResults.scss +1 -1
- package/dist/styles/sales/BookingTabs.scss +5 -7
- package/dist/styles/sales/Filters.scss +4 -5
- package/dist/styles/sales/GuestProfile.scss +175 -170
- package/dist/styles/sales/LifeTimeSales.scss +1 -1
- package/dist/styles/sales/ManualBooking.scss +2 -4
- package/dist/styles/snippet-templates/_snippetVariables.scss +244 -63
- package/dist/styles/sortable-field/SortableField.scss +16 -16
- package/dist/styles/sortable-field/_index.scss +1 -1
- package/dist/styles/sortable-tree/Item.scss +4 -4
- package/dist/styles/table/Table.scss +1 -1
- package/dist/styles/themes/bookedit/_variables.scss +32 -10
- package/dist/styles/themes/licklist/_variables.scss +1 -1
- package/dist/styles/tiptap-editor/TiptapEditor.scss +10 -9
- package/dist/styles/tiptap-editor/_index.scss +1 -1
- package/dist/styles/venue-map-sets/VenueMapSetForm.scss +4 -5
- package/dist/styles/virtualized/_index.scss +1 -1
- package/dist/styles/zones/ZoneRecurrencesControl.scss +8 -6
- package/dist/typeahead/Typeahead.d.ts +1 -5
- package/dist/typeahead/Typeahead.d.ts.map +1 -1
- package/dist/typeahead/Typeahead.js +2 -9
- package/package.json +6 -8
- package/src/auth/ChangePassword/ChangePassword.stories.tsx +1 -1
- package/src/auth/Login/LoginComponent.tsx +1 -1
- package/src/auth/ResetPassword/ResetPassword.stories.tsx +1 -1
- package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +28 -31
- package/src/events/edit-event-modal/IntervalInput.tsx +1 -8
- package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +34 -32
- package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -0
- package/src/header/elements/Elements.stories.tsx +1 -1
- package/src/help/popover/Popover.stories.tsx +1 -1
- package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +3 -3
- package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +0 -1
- package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
- package/src/layout/DropDown.tsx +1 -2
- package/src/modals/confirmation/ConfirmModal.tsx +3 -19
- package/src/product-set/card/ProductSetCard.stories.tsx +1 -3
- package/src/product-set/card/ProductSetCard.tsx +8 -47
- package/src/product-set/control/DateInput.tsx +1 -2
- package/src/product-set/control/ProductSetRecurrenceControl.stories.tsx +2 -2
- package/src/product-set/form/ProductCategoriesControl.tsx +1 -37
- package/src/product-set/form/ProductSetForm.tsx +3 -18
- package/src/product-set/form/ProductZonesControl.tsx +7 -4
- package/src/product-set/form/SelectCategoryModal.stories.tsx +1 -1
- package/src/product-set/form/SelectCategoryModal.tsx +2 -2
- package/src/product-set/form/SubProductsControl.tsx +3 -0
- package/src/product-set/form/VenueMapsControl.tsx +3 -0
- package/src/product-set/form/index.ts +0 -1
- package/src/product-set/product/ProductControl.tsx +5 -1
- package/src/product-set/product/advanced-options/AdvancedOptions.tsx +5 -5
- package/src/product-set/product/booking-management/ProductBookingManagement.stories.tsx +1 -1
- package/src/product-set/product/quantity/ProductQuantity.stories.tsx +1 -1
- package/src/product-set/product-zone/ProductZoneControl.tsx +9 -9
- package/src/product-set/utils/index.ts +0 -11
- package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +2 -2
- package/src/sales/booking/results/components/ResultCard.tsx +2 -0
- package/src/setting/admin/AdminSetting.stories.tsx +0 -1
- package/src/setting/system/SystemSetting.stories.tsx +1 -1
- package/src/snippet/snippet-template/preview/Preview.tsx +0 -6
- package/src/sortable-tree/SortableTreeItem.tsx +0 -6
- package/src/styles/auth/AccessDenied.scss +1 -1
- package/src/styles/back-button/BackButton.scss +24 -25
- package/src/styles/back-button/_index.scss +1 -1
- package/src/styles/company-user-form/UserForm.scss +7 -4
- package/src/styles/company-user-form/_index.scss +1 -1
- package/src/styles/custom-fields/CreateSortableListItem.scss +1 -2
- package/src/styles/custom-fields/_index.scss +1 -1
- package/src/styles/customers/Filter.scss +5 -5
- package/src/styles/events/EditEventModal.scss +3 -1
- package/src/styles/events/EventVenueMap.scss +7 -7
- package/src/styles/form/Input.scss +1 -1
- package/src/styles/header/Header.scss +1 -1
- package/src/styles/header/elements/CompanySelector.scss +2 -2
- package/src/styles/iframe-events/Calendar.scss +1 -0
- package/src/styles/iframe-events/CalendarSelect.scss +1 -1
- package/src/styles/iframe-events/CategoryStepsForm.scss +7 -6
- package/src/styles/iframe-events/Event.scss +4 -2
- package/src/styles/iframe-events/EventForm.scss +54 -54
- package/src/styles/iframe-events/EventNavigationFooter.scss +0 -1
- package/src/styles/iframe-events/TicketDescription.scss +1 -1
- package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
- package/src/styles/iframe-payments/PaymentForm.scss +1 -1
- package/src/styles/layout/BackgroundVideoContainer.scss +2 -2
- package/src/styles/notification/Notification.scss +1 -1
- package/src/styles/order-items-table/OrderItemsTable.scss +2 -1
- package/src/styles/product-set/CreateProductSetItem.scss +13 -15
- package/src/styles/product-set/DateAndRecurrenceInput.scss +8 -6
- package/src/styles/product-set/EditCategoryModal.scss +4 -4
- package/src/styles/product-set/EditProductModal.scss +3 -3
- package/src/styles/product-set/EditStepModal.scss +4 -4
- package/src/styles/product-set/EditVenueMapSetModal.scss +6 -6
- package/src/styles/product-set/ProductSetForm.scss +2 -25
- package/src/styles/product-set/TutorialGifCard.scss +1 -1
- package/src/styles/product-set/_index.scss +2 -2
- package/src/styles/report/ReportCard.scss +0 -1
- package/src/styles/report/_index.scss +1 -1
- package/src/styles/resources-blocking/_index.scss +0 -4
- package/src/styles/sales/BookingFilter.scss +2 -2
- package/src/styles/sales/BookingResults.scss +1 -1
- package/src/styles/sales/BookingTabs.scss +5 -7
- package/src/styles/sales/Filters.scss +4 -5
- package/src/styles/sales/GuestProfile.scss +175 -170
- package/src/styles/sales/LifeTimeSales.scss +1 -1
- package/src/styles/sales/ManualBooking.scss +2 -4
- package/src/styles/snippet-templates/_snippetVariables.scss +244 -63
- package/src/styles/sortable-field/SortableField.scss +16 -16
- package/src/styles/sortable-field/_index.scss +1 -1
- package/src/styles/sortable-tree/Item.scss +4 -4
- package/src/styles/table/Table.scss +1 -1
- package/src/styles/themes/bookedit/_variables.scss +32 -10
- package/src/styles/themes/licklist/_variables.scss +1 -1
- package/src/styles/tiptap-editor/TiptapEditor.scss +10 -9
- package/src/styles/tiptap-editor/_index.scss +1 -1
- package/src/styles/venue-map-sets/VenueMapSetForm.scss +4 -5
- package/src/styles/virtualized/_index.scss +1 -1
- package/src/styles/zones/ZoneRecurrencesControl.scss +8 -6
- package/src/tiptap-editor/TipTapEditor.stories.tsx +4 -6
- package/src/tiptap-editor/TipTapMenu/TipTapMenu.stories.tsx +2 -5
- package/src/typeahead/Typeahead.tsx +1 -15
- package/yarn.lock +14 -40
- package/dist/product-set/form/ProductSetNameControl.d.ts +0 -6
- package/dist/product-set/form/ProductSetNameControl.d.ts.map +0 -1
- package/dist/product-set/form/ProductSetNameControl.js +0 -35
- package/src/product-set/form/ProductSetNameControl.tsx +0 -27
|
@@ -21,7 +21,6 @@ export const Disabled: Story<TipTapEditorProps> = (args) => (
|
|
|
21
21
|
<TipTapEditor {...args} />
|
|
22
22
|
);
|
|
23
23
|
|
|
24
|
-
|
|
25
24
|
const content = `
|
|
26
25
|
<h2>
|
|
27
26
|
Hi there,
|
|
@@ -54,24 +53,23 @@ Default.args = {
|
|
|
54
53
|
viewMode: false,
|
|
55
54
|
content,
|
|
56
55
|
withEmoji: false,
|
|
57
|
-
}
|
|
56
|
+
};
|
|
58
57
|
|
|
59
58
|
WithEmoji.args = {
|
|
60
59
|
viewMode: false,
|
|
61
60
|
content,
|
|
62
61
|
withEmoji: true,
|
|
63
|
-
}
|
|
62
|
+
};
|
|
64
63
|
|
|
65
64
|
ViewMode.args = {
|
|
66
65
|
viewMode: true,
|
|
67
66
|
content,
|
|
68
67
|
withEmoji: true,
|
|
69
|
-
}
|
|
68
|
+
};
|
|
70
69
|
|
|
71
70
|
Disabled.args = {
|
|
72
71
|
viewMode: false,
|
|
73
72
|
content,
|
|
74
73
|
withEmoji: true,
|
|
75
74
|
disabled: true,
|
|
76
|
-
}
|
|
77
|
-
|
|
75
|
+
};
|
|
@@ -13,7 +13,6 @@ export default {
|
|
|
13
13
|
component: TipTapMenu,
|
|
14
14
|
} as Meta;
|
|
15
15
|
|
|
16
|
-
|
|
17
16
|
export const Default = () => {
|
|
18
17
|
const editor = useEditor({
|
|
19
18
|
extensions: [
|
|
@@ -26,9 +25,7 @@ export const Default = () => {
|
|
|
26
25
|
EmojiReplacer,
|
|
27
26
|
],
|
|
28
27
|
content: "",
|
|
29
|
-
})
|
|
28
|
+
});
|
|
30
29
|
|
|
31
|
-
return
|
|
32
|
-
<TipTapMenu withEmoji editor={editor} />
|
|
33
|
-
);
|
|
30
|
+
return <TipTapMenu withEmoji editor={editor} />;
|
|
34
31
|
};
|
|
@@ -12,13 +12,10 @@ export interface TypeaheadProps {
|
|
|
12
12
|
placeholder: string;
|
|
13
13
|
isRequired?: boolean;
|
|
14
14
|
name: string;
|
|
15
|
-
value?: TypeaheadOptions;
|
|
16
15
|
isMultipleChoise?: boolean;
|
|
17
16
|
noOptionsMessage: string;
|
|
18
17
|
isInvalid?: boolean;
|
|
19
18
|
isCouponForm?: boolean;
|
|
20
|
-
containerStyles?: CSSObjectWithLabel;
|
|
21
|
-
onChangeValue?: (value: TypeaheadOptions) => void;
|
|
22
19
|
}
|
|
23
20
|
|
|
24
21
|
function Typeahead({
|
|
@@ -27,9 +24,6 @@ function Typeahead({
|
|
|
27
24
|
isRequired = false,
|
|
28
25
|
isMultipleChoise,
|
|
29
26
|
name = "",
|
|
30
|
-
value,
|
|
31
|
-
onChangeValue,
|
|
32
|
-
containerStyles,
|
|
33
27
|
isCouponForm = false,
|
|
34
28
|
noOptionsMessage = "",
|
|
35
29
|
isInvalid,
|
|
@@ -59,23 +53,15 @@ function Typeahead({
|
|
|
59
53
|
render={({ field }) => (
|
|
60
54
|
<Select
|
|
61
55
|
placeholder={placeholder}
|
|
62
|
-
value={
|
|
56
|
+
value={field.value}
|
|
63
57
|
isMulti={isMultipleChoise}
|
|
64
58
|
styles={{
|
|
65
|
-
container: (base) => ({
|
|
66
|
-
...base,
|
|
67
|
-
...containerStyles,
|
|
68
|
-
}),
|
|
69
59
|
control: (base) => ({
|
|
70
60
|
...base,
|
|
71
61
|
...getStyle(),
|
|
72
62
|
}),
|
|
73
63
|
}}
|
|
74
64
|
onChange={(value) => {
|
|
75
|
-
if (onChangeValue) {
|
|
76
|
-
onChangeValue(value);
|
|
77
|
-
return;
|
|
78
|
-
}
|
|
79
65
|
field.onChange(value);
|
|
80
66
|
}}
|
|
81
67
|
options={options}
|
package/yarn.lock
CHANGED
|
@@ -2554,9 +2554,9 @@ __metadata:
|
|
|
2554
2554
|
languageName: node
|
|
2555
2555
|
linkType: hard
|
|
2556
2556
|
|
|
2557
|
-
"@licklist/core@npm:0.
|
|
2558
|
-
version: 0.
|
|
2559
|
-
resolution: "@licklist/core@npm:0.
|
|
2557
|
+
"@licklist/core@npm:0.30.0":
|
|
2558
|
+
version: 0.30.0
|
|
2559
|
+
resolution: "@licklist/core@npm:0.30.0"
|
|
2560
2560
|
dependencies:
|
|
2561
2561
|
"@sentry/browser": "npm:6.2.0"
|
|
2562
2562
|
axios: "npm:0.26.0"
|
|
@@ -2576,33 +2576,7 @@ __metadata:
|
|
|
2576
2576
|
react-dom: 17.0.2
|
|
2577
2577
|
react-i18next: 11.8.8
|
|
2578
2578
|
react-intl: 6.6.8
|
|
2579
|
-
checksum: 10c0/
|
|
2580
|
-
languageName: node
|
|
2581
|
-
linkType: hard
|
|
2582
|
-
|
|
2583
|
-
"@licklist/core@npm:0.29.1-dev.3":
|
|
2584
|
-
version: 0.29.1-dev.3
|
|
2585
|
-
resolution: "@licklist/core@npm:0.29.1-dev.3"
|
|
2586
|
-
dependencies:
|
|
2587
|
-
"@sentry/browser": "npm:6.2.0"
|
|
2588
|
-
axios: "npm:0.26.0"
|
|
2589
|
-
i18next: "npm:19.4.5"
|
|
2590
|
-
luxon: "npm:3.5.0"
|
|
2591
|
-
react: "npm:17.0.2"
|
|
2592
|
-
react-dom: "npm:17.0.2"
|
|
2593
|
-
react-i18next: "npm:11.8.8"
|
|
2594
|
-
react-intl: "npm:6.6.8"
|
|
2595
|
-
uuid: "npm:9.0.0"
|
|
2596
|
-
wait-for-expect: "npm:3.0.2"
|
|
2597
|
-
peerDependencies:
|
|
2598
|
-
"@licklist/eslint-config": 0.5.5
|
|
2599
|
-
axios: 0.26.0
|
|
2600
|
-
luxon: 3.5.0
|
|
2601
|
-
react: 17.0.2
|
|
2602
|
-
react-dom: 17.0.2
|
|
2603
|
-
react-i18next: 11.8.8
|
|
2604
|
-
react-intl: 6.6.8
|
|
2605
|
-
checksum: 10c0/8a31309e88f15d193557a93c875d1fceeedde7be0e6a870b3a4d80a25dca7a445b23e1dd7878ca6ffd5b65cc71aa8a53127131e719bd4f37178833c83fc3b22e
|
|
2579
|
+
checksum: 10c0/98ae9bf9bfac41598374e321efb362aae9f32a30503cc227a66d3aea64e0e499a56b3963dc3a2a9ffe723e318d34df61f3ea46cba15d1920cacac21c0c1fa2ee
|
|
2606
2580
|
languageName: node
|
|
2607
2581
|
linkType: hard
|
|
2608
2582
|
|
|
@@ -2617,9 +2591,9 @@ __metadata:
|
|
|
2617
2591
|
"@dnd-kit/utilities": "npm:2.0.0"
|
|
2618
2592
|
"@fortawesome/fontawesome-svg-core": "npm:1.2.34"
|
|
2619
2593
|
"@fortawesome/free-solid-svg-icons": "npm:5.15.2"
|
|
2620
|
-
"@licklist/core": "npm:0.
|
|
2594
|
+
"@licklist/core": "npm:0.30.0"
|
|
2621
2595
|
"@licklist/eslint-config": "npm:0.5.5"
|
|
2622
|
-
"@licklist/plugins": "npm:0.
|
|
2596
|
+
"@licklist/plugins": "npm:0.33.0"
|
|
2623
2597
|
"@mdx-js/react": "npm:1.6.22"
|
|
2624
2598
|
"@popperjs/core": "npm:2.11.8"
|
|
2625
2599
|
"@react-aria/utils": "npm:3.9.0"
|
|
@@ -2741,9 +2715,9 @@ __metadata:
|
|
|
2741
2715
|
vite-plugin-svgr: "npm:4.2.0"
|
|
2742
2716
|
vite-tsconfig-paths: "npm:5.0.1"
|
|
2743
2717
|
peerDependencies:
|
|
2744
|
-
"@licklist/core": 0.
|
|
2718
|
+
"@licklist/core": 0.30.0
|
|
2745
2719
|
"@licklist/eslint-config": 0.5.5
|
|
2746
|
-
"@licklist/plugins": 0.
|
|
2720
|
+
"@licklist/plugins": 0.33.0
|
|
2747
2721
|
lodash: 4.17.21
|
|
2748
2722
|
luxon: 3.5.0
|
|
2749
2723
|
react: 17.0.2
|
|
@@ -2774,11 +2748,11 @@ __metadata:
|
|
|
2774
2748
|
languageName: node
|
|
2775
2749
|
linkType: hard
|
|
2776
2750
|
|
|
2777
|
-
"@licklist/plugins@npm:0.
|
|
2778
|
-
version: 0.
|
|
2779
|
-
resolution: "@licklist/plugins@npm:0.
|
|
2751
|
+
"@licklist/plugins@npm:0.33.0":
|
|
2752
|
+
version: 0.33.0
|
|
2753
|
+
resolution: "@licklist/plugins@npm:0.33.0"
|
|
2780
2754
|
dependencies:
|
|
2781
|
-
"@licklist/core": "npm:0.
|
|
2755
|
+
"@licklist/core": "npm:0.30.0"
|
|
2782
2756
|
"@ungap/url-search-params": "npm:0.2.2"
|
|
2783
2757
|
axios: "npm:0.26.0"
|
|
2784
2758
|
history: "npm:4.10.1"
|
|
@@ -2799,7 +2773,7 @@ __metadata:
|
|
|
2799
2773
|
rrule: "npm:2.6.8"
|
|
2800
2774
|
use-debounce: "npm:7.0.1"
|
|
2801
2775
|
peerDependencies:
|
|
2802
|
-
"@licklist/core": 0.
|
|
2776
|
+
"@licklist/core": 0.30.0
|
|
2803
2777
|
"@licklist/eslint-config": 0.5.5
|
|
2804
2778
|
axios: 0.26.0
|
|
2805
2779
|
lodash: 4.17.21
|
|
@@ -2811,7 +2785,7 @@ __metadata:
|
|
|
2811
2785
|
react-loader: 2.4.7
|
|
2812
2786
|
react-query: 3.34.12
|
|
2813
2787
|
react-router-dom: 5.2.0
|
|
2814
|
-
checksum: 10c0/
|
|
2788
|
+
checksum: 10c0/5c468813f15a32b351ba05dc8fc505e5e3ce2718d540a344d20fa149042ec30ae6e66477e50e1705132528d6673f127ad52cddb210bf58967e9091b95142eee2
|
|
2815
2789
|
languageName: node
|
|
2816
2790
|
linkType: hard
|
|
2817
2791
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ProductSetNameControl.d.ts","sourceRoot":"","sources":["../../../src/product-set/form/ProductSetNameControl.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,qBAAqB,gCAI/B;IACD,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,4CAeA,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { Form } from 'react-bootstrap';
|
|
3
|
-
import { useTranslation } from 'react-i18next';
|
|
4
|
-
|
|
5
|
-
var ProductSetNameControl = function(param) {
|
|
6
|
-
var value = param.value, onChange = param.onChange, error = param.error;
|
|
7
|
-
var t = useTranslation([
|
|
8
|
-
"Design"
|
|
9
|
-
]).t;
|
|
10
|
-
return /*#__PURE__*/ jsxs(Form.Group, {
|
|
11
|
-
children: [
|
|
12
|
-
/*#__PURE__*/ jsxs(Form.Label, {
|
|
13
|
-
children: [
|
|
14
|
-
t("Design:ProductSetName"),
|
|
15
|
-
"*"
|
|
16
|
-
]
|
|
17
|
-
}),
|
|
18
|
-
/*#__PURE__*/ jsx(Form.Control, {
|
|
19
|
-
value: value,
|
|
20
|
-
maxLength: 255,
|
|
21
|
-
onChange: function(e) {
|
|
22
|
-
return onChange(e.target.value);
|
|
23
|
-
},
|
|
24
|
-
placeholder: t("Design:placeholderProductSetName"),
|
|
25
|
-
isInvalid: Boolean(error)
|
|
26
|
-
}),
|
|
27
|
-
/*#__PURE__*/ jsx(Form.Control.Feedback, {
|
|
28
|
-
type: "invalid",
|
|
29
|
-
children: error
|
|
30
|
-
})
|
|
31
|
-
]
|
|
32
|
-
});
|
|
33
|
-
};
|
|
34
|
-
|
|
35
|
-
export { ProductSetNameControl };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Form } from "react-bootstrap";
|
|
2
|
-
import { useTranslation } from "react-i18next";
|
|
3
|
-
|
|
4
|
-
export const ProductSetNameControl = ({
|
|
5
|
-
value,
|
|
6
|
-
onChange,
|
|
7
|
-
error,
|
|
8
|
-
}: {
|
|
9
|
-
value: string;
|
|
10
|
-
onChange: (value: string) => void;
|
|
11
|
-
error?: string;
|
|
12
|
-
}) => {
|
|
13
|
-
const { t } = useTranslation(["Design"]);
|
|
14
|
-
return (
|
|
15
|
-
<Form.Group>
|
|
16
|
-
<Form.Label>{t("Design:ProductSetName")}*</Form.Label>
|
|
17
|
-
<Form.Control
|
|
18
|
-
value={value}
|
|
19
|
-
maxLength={255}
|
|
20
|
-
onChange={(e) => onChange(e.target.value)}
|
|
21
|
-
placeholder={t("Design:placeholderProductSetName")}
|
|
22
|
-
isInvalid={Boolean(error)}
|
|
23
|
-
/>
|
|
24
|
-
<Form.Control.Feedback type="invalid">{error}</Form.Control.Feedback>
|
|
25
|
-
</Form.Group>
|
|
26
|
-
);
|
|
27
|
-
};
|