@licklist/design 0.68.0-dev.0 → 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.
Files changed (212) hide show
  1. package/.storybook/main.cjs +12 -15
  2. package/dist/assets/iframe/selectArrow.svg.js +17 -0
  3. package/dist/auth/Login/LoginComponent.js +1 -2
  4. package/dist/calendar/components/CalendarButtons/CalendarButtons.d.ts.map +1 -1
  5. package/dist/calendar/components/CalendarButtons/CalendarButtons.js +40 -35
  6. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
  7. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +23 -24
  8. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  9. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -0
  10. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  11. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +0 -2
  12. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
  13. package/dist/index.js +0 -1
  14. package/dist/layout/DropDown.d.ts +1 -2
  15. package/dist/layout/DropDown.d.ts.map +1 -1
  16. package/dist/modals/confirmation/ConfirmModal.d.ts +1 -3
  17. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  18. package/dist/modals/confirmation/ConfirmModal.js +8 -172
  19. package/dist/product-set/card/ProductSetCard.d.ts +2 -6
  20. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  21. package/dist/product-set/card/ProductSetCard.js +11 -30
  22. package/dist/product-set/control/DateInput.d.ts.map +1 -1
  23. package/dist/product-set/control/DateInput.js +2 -2
  24. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  25. package/dist/product-set/form/ProductCategoriesControl.js +2 -48
  26. package/dist/product-set/form/ProductSetForm.d.ts +1 -4
  27. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  28. package/dist/product-set/form/ProductSetForm.js +1 -59
  29. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  30. package/dist/product-set/form/ProductZonesControl.js +2 -0
  31. package/dist/product-set/form/SelectCategoryModal.d.ts +0 -12
  32. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  33. package/dist/product-set/form/SelectCategoryModal.js +1 -1
  34. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  35. package/dist/product-set/form/SubProductsControl.js +3 -0
  36. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  37. package/dist/product-set/form/VenueMapsControl.js +3 -0
  38. package/dist/product-set/form/index.d.ts +0 -1
  39. package/dist/product-set/form/index.d.ts.map +1 -1
  40. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  41. package/dist/product-set/utils/index.d.ts +0 -7
  42. package/dist/product-set/utils/index.d.ts.map +1 -1
  43. package/dist/product-set/utils/index.js +1 -10
  44. package/dist/provider/working-hours-input/WorkingHoursInputDescription.js +2 -3
  45. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  46. package/dist/sales/booking/results/components/ResultCard.js +2 -0
  47. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  48. package/dist/snippet/snippet-template/preview/Preview.js +0 -6
  49. package/dist/sortable-tree/SortableTreeItem.d.ts +1 -2
  50. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  51. package/dist/sortable-tree/SortableTreeItem.js +4 -10
  52. package/dist/styles/auth/AccessDenied.scss +1 -1
  53. package/dist/styles/back-button/BackButton.scss +24 -25
  54. package/dist/styles/back-button/_index.scss +1 -1
  55. package/dist/styles/company-user-form/UserForm.scss +7 -4
  56. package/dist/styles/company-user-form/_index.scss +1 -1
  57. package/dist/styles/custom-fields/CreateSortableListItem.scss +1 -2
  58. package/dist/styles/custom-fields/_index.scss +1 -1
  59. package/dist/styles/customers/Filter.scss +5 -5
  60. package/dist/styles/events/EditEventModal.scss +3 -1
  61. package/dist/styles/events/EventVenueMap.scss +7 -7
  62. package/dist/styles/form/Input.scss +1 -1
  63. package/dist/styles/header/Header.scss +1 -1
  64. package/dist/styles/header/elements/CompanySelector.scss +2 -2
  65. package/dist/styles/iframe-events/Calendar.scss +1 -0
  66. package/dist/styles/iframe-events/CalendarSelect.scss +1 -1
  67. package/dist/styles/iframe-events/CategoryStepsForm.scss +7 -6
  68. package/dist/styles/iframe-events/Event.scss +4 -2
  69. package/dist/styles/iframe-events/EventForm.scss +54 -54
  70. package/dist/styles/iframe-events/EventNavigationFooter.scss +0 -1
  71. package/dist/styles/iframe-events/TicketDescription.scss +1 -1
  72. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  73. package/dist/styles/iframe-payments/PaymentForm.scss +1 -1
  74. package/dist/styles/layout/BackgroundVideoContainer.scss +2 -2
  75. package/dist/styles/notification/Notification.scss +1 -1
  76. package/dist/styles/order-items-table/OrderItemsTable.scss +2 -1
  77. package/dist/styles/product-set/CreateProductSetItem.scss +13 -15
  78. package/dist/styles/product-set/DateAndRecurrenceInput.scss +8 -6
  79. package/dist/styles/product-set/EditCategoryModal.scss +4 -4
  80. package/dist/styles/product-set/EditProductModal.scss +3 -3
  81. package/dist/styles/product-set/EditStepModal.scss +4 -4
  82. package/dist/styles/product-set/EditVenueMapSetModal.scss +6 -6
  83. package/dist/styles/product-set/ProductSetForm.scss +2 -25
  84. package/dist/styles/product-set/TutorialGifCard.scss +1 -1
  85. package/dist/styles/product-set/_index.scss +2 -2
  86. package/dist/styles/report/ReportCard.scss +0 -1
  87. package/dist/styles/report/_index.scss +1 -1
  88. package/dist/styles/resources-blocking/_index.scss +0 -4
  89. package/dist/styles/sales/BookingFilter.scss +2 -2
  90. package/dist/styles/sales/BookingResults.scss +1 -1
  91. package/dist/styles/sales/BookingTabs.scss +5 -7
  92. package/dist/styles/sales/Filters.scss +4 -5
  93. package/dist/styles/sales/GuestProfile.scss +175 -170
  94. package/dist/styles/sales/LifeTimeSales.scss +1 -1
  95. package/dist/styles/sales/ManualBooking.scss +2 -4
  96. package/dist/styles/snippet-templates/_snippetVariables.scss +244 -63
  97. package/dist/styles/sortable-field/SortableField.scss +16 -16
  98. package/dist/styles/sortable-field/_index.scss +1 -1
  99. package/dist/styles/sortable-tree/Item.scss +4 -4
  100. package/dist/styles/table/Table.scss +1 -1
  101. package/dist/styles/themes/bookedit/_variables.scss +32 -10
  102. package/dist/styles/themes/licklist/_variables.scss +1 -1
  103. package/dist/styles/tiptap-editor/TiptapEditor.scss +10 -9
  104. package/dist/styles/tiptap-editor/_index.scss +1 -1
  105. package/dist/styles/venue-map-sets/VenueMapSetForm.scss +4 -5
  106. package/dist/styles/virtualized/_index.scss +1 -1
  107. package/dist/styles/zones/ZoneRecurrencesControl.scss +8 -6
  108. package/dist/typeahead/Typeahead.d.ts +1 -5
  109. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  110. package/dist/typeahead/Typeahead.js +2 -9
  111. package/package.json +6 -8
  112. package/src/auth/ChangePassword/ChangePassword.stories.tsx +1 -1
  113. package/src/auth/Login/LoginComponent.tsx +1 -1
  114. package/src/auth/ResetPassword/ResetPassword.stories.tsx +1 -1
  115. package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +28 -31
  116. package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +34 -32
  117. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -0
  118. package/src/header/elements/Elements.stories.tsx +1 -1
  119. package/src/help/popover/Popover.stories.tsx +1 -1
  120. package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +3 -3
  121. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +0 -1
  122. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
  123. package/src/layout/DropDown.tsx +1 -2
  124. package/src/modals/confirmation/ConfirmModal.tsx +3 -19
  125. package/src/product-set/card/ProductSetCard.stories.tsx +1 -3
  126. package/src/product-set/card/ProductSetCard.tsx +8 -47
  127. package/src/product-set/control/DateInput.tsx +1 -2
  128. package/src/product-set/control/ProductSetRecurrenceControl.stories.tsx +2 -2
  129. package/src/product-set/form/ProductCategoriesControl.tsx +1 -37
  130. package/src/product-set/form/ProductSetForm.tsx +3 -18
  131. package/src/product-set/form/ProductZonesControl.tsx +7 -4
  132. package/src/product-set/form/SelectCategoryModal.stories.tsx +1 -1
  133. package/src/product-set/form/SelectCategoryModal.tsx +2 -2
  134. package/src/product-set/form/SubProductsControl.tsx +3 -0
  135. package/src/product-set/form/VenueMapsControl.tsx +3 -0
  136. package/src/product-set/form/index.ts +0 -1
  137. package/src/product-set/product/ProductControl.tsx +5 -1
  138. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +5 -5
  139. package/src/product-set/product/booking-management/ProductBookingManagement.stories.tsx +1 -1
  140. package/src/product-set/product/quantity/ProductQuantity.stories.tsx +1 -1
  141. package/src/product-set/product-zone/ProductZoneControl.tsx +9 -9
  142. package/src/product-set/utils/index.ts +0 -11
  143. package/src/provider/working-hours-input/WorkingHoursInputDescription.tsx +2 -2
  144. package/src/sales/booking/results/components/ResultCard.tsx +2 -0
  145. package/src/setting/admin/AdminSetting.stories.tsx +0 -1
  146. package/src/setting/system/SystemSetting.stories.tsx +1 -1
  147. package/src/snippet/snippet-template/preview/Preview.tsx +0 -6
  148. package/src/sortable-tree/SortableTreeItem.tsx +0 -6
  149. package/src/styles/auth/AccessDenied.scss +1 -1
  150. package/src/styles/back-button/BackButton.scss +24 -25
  151. package/src/styles/back-button/_index.scss +1 -1
  152. package/src/styles/company-user-form/UserForm.scss +7 -4
  153. package/src/styles/company-user-form/_index.scss +1 -1
  154. package/src/styles/custom-fields/CreateSortableListItem.scss +1 -2
  155. package/src/styles/custom-fields/_index.scss +1 -1
  156. package/src/styles/customers/Filter.scss +5 -5
  157. package/src/styles/events/EditEventModal.scss +3 -1
  158. package/src/styles/events/EventVenueMap.scss +7 -7
  159. package/src/styles/form/Input.scss +1 -1
  160. package/src/styles/header/Header.scss +1 -1
  161. package/src/styles/header/elements/CompanySelector.scss +2 -2
  162. package/src/styles/iframe-events/Calendar.scss +1 -0
  163. package/src/styles/iframe-events/CalendarSelect.scss +1 -1
  164. package/src/styles/iframe-events/CategoryStepsForm.scss +7 -6
  165. package/src/styles/iframe-events/Event.scss +4 -2
  166. package/src/styles/iframe-events/EventForm.scss +54 -54
  167. package/src/styles/iframe-events/EventNavigationFooter.scss +0 -1
  168. package/src/styles/iframe-events/TicketDescription.scss +1 -1
  169. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  170. package/src/styles/iframe-payments/PaymentForm.scss +1 -1
  171. package/src/styles/layout/BackgroundVideoContainer.scss +2 -2
  172. package/src/styles/notification/Notification.scss +1 -1
  173. package/src/styles/order-items-table/OrderItemsTable.scss +2 -1
  174. package/src/styles/product-set/CreateProductSetItem.scss +13 -15
  175. package/src/styles/product-set/DateAndRecurrenceInput.scss +8 -6
  176. package/src/styles/product-set/EditCategoryModal.scss +4 -4
  177. package/src/styles/product-set/EditProductModal.scss +3 -3
  178. package/src/styles/product-set/EditStepModal.scss +4 -4
  179. package/src/styles/product-set/EditVenueMapSetModal.scss +6 -6
  180. package/src/styles/product-set/ProductSetForm.scss +2 -25
  181. package/src/styles/product-set/TutorialGifCard.scss +1 -1
  182. package/src/styles/product-set/_index.scss +2 -2
  183. package/src/styles/report/ReportCard.scss +0 -1
  184. package/src/styles/report/_index.scss +1 -1
  185. package/src/styles/resources-blocking/_index.scss +0 -4
  186. package/src/styles/sales/BookingFilter.scss +2 -2
  187. package/src/styles/sales/BookingResults.scss +1 -1
  188. package/src/styles/sales/BookingTabs.scss +5 -7
  189. package/src/styles/sales/Filters.scss +4 -5
  190. package/src/styles/sales/GuestProfile.scss +175 -170
  191. package/src/styles/sales/LifeTimeSales.scss +1 -1
  192. package/src/styles/sales/ManualBooking.scss +2 -4
  193. package/src/styles/snippet-templates/_snippetVariables.scss +244 -63
  194. package/src/styles/sortable-field/SortableField.scss +16 -16
  195. package/src/styles/sortable-field/_index.scss +1 -1
  196. package/src/styles/sortable-tree/Item.scss +4 -4
  197. package/src/styles/table/Table.scss +1 -1
  198. package/src/styles/themes/bookedit/_variables.scss +32 -10
  199. package/src/styles/themes/licklist/_variables.scss +1 -1
  200. package/src/styles/tiptap-editor/TiptapEditor.scss +10 -9
  201. package/src/styles/tiptap-editor/_index.scss +1 -1
  202. package/src/styles/venue-map-sets/VenueMapSetForm.scss +4 -5
  203. package/src/styles/virtualized/_index.scss +1 -1
  204. package/src/styles/zones/ZoneRecurrencesControl.scss +8 -6
  205. package/src/tiptap-editor/TipTapEditor.stories.tsx +4 -6
  206. package/src/tiptap-editor/TipTapMenu/TipTapMenu.stories.tsx +2 -5
  207. package/src/typeahead/Typeahead.tsx +1 -15
  208. package/yarn.lock +14 -40
  209. package/dist/product-set/form/ProductSetNameControl.d.ts +0 -6
  210. package/dist/product-set/form/ProductSetNameControl.d.ts.map +0 -1
  211. package/dist/product-set/form/ProductSetNameControl.js +0 -35
  212. 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={value ?? field.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.29.1-dev.2":
2558
- version: 0.29.1-dev.2
2559
- resolution: "@licklist/core@npm:0.29.1-dev.2"
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/cacb058eb075b8e42fe9135877aa90f5104b661a0a99addbadfe916604ee35d468d07f9ce4e349fad573015044977bf77821b92dc385bab23393bc4d72677c4f
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.29.1-dev.3"
2594
+ "@licklist/core": "npm:0.30.0"
2621
2595
  "@licklist/eslint-config": "npm:0.5.5"
2622
- "@licklist/plugins": "npm:0.32.0-dev.3"
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.29.1-dev.3
2718
+ "@licklist/core": 0.30.0
2745
2719
  "@licklist/eslint-config": 0.5.5
2746
- "@licklist/plugins": 0.32.0-dev.3
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.32.0-dev.3":
2778
- version: 0.32.0-dev.3
2779
- resolution: "@licklist/plugins@npm:0.32.0-dev.3"
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.29.1-dev.2"
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.29.1-dev.2
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/a713a713d8f6d481245243a938f74874eb2ee531890807e1d5a1781a6150ddfac1c9558bc056bc809bbdb64f312129dec93dfac527a89037f6bf69eb6770fd4a
2788
+ checksum: 10c0/5c468813f15a32b351ba05dc8fc505e5e3ce2718d540a344d20fa149042ec30ae6e66477e50e1705132528d6673f127ad52cddb210bf58967e9091b95142eee2
2815
2789
  languageName: node
2816
2790
  linkType: hard
2817
2791
 
@@ -1,6 +0,0 @@
1
- export declare const ProductSetNameControl: ({ value, onChange, error, }: {
2
- value: string;
3
- onChange: (value: string) => void;
4
- error?: string;
5
- }) => import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=ProductSetNameControl.d.ts.map
@@ -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
- };