@licklist/design 0.68.2-dev.3 → 0.68.2

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 (112) hide show
  1. package/dist/affiliate/form/AffiliateForm.d.ts.map +1 -1
  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/IntervalInput.d.ts.map +1 -1
  7. package/dist/events/edit-event-modal/IntervalInput.js +1 -7
  8. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.d.ts.map +1 -1
  9. package/dist/events/edit-event-modal/component/EditEventForm/EditEventForm.js +1 -0
  10. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.d.ts.map +1 -1
  11. package/dist/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.js +23 -24
  12. package/dist/events/edit-event-modal/utils/getDefaultProductSet.d.ts.map +1 -1
  13. package/dist/events/edit-event-modal/utils/getDefaultProductSet.js +1 -0
  14. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.d.ts.map +1 -1
  15. package/dist/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.js +0 -2
  16. package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.d.ts.map +1 -1
  17. package/dist/iframe/page/components/PageBody/hooks/useResizePageBody.js +1 -0
  18. package/dist/iframe/payment/order-items-table/utils/paymentSummary.d.ts.map +1 -1
  19. package/dist/index.js +0 -1
  20. package/dist/layout/DropDown.d.ts +1 -2
  21. package/dist/layout/DropDown.d.ts.map +1 -1
  22. package/dist/modals/confirmation/ConfirmModal.d.ts +1 -3
  23. package/dist/modals/confirmation/ConfirmModal.d.ts.map +1 -1
  24. package/dist/modals/confirmation/ConfirmModal.js +8 -172
  25. package/dist/product-set/card/ProductSetCard.d.ts +2 -6
  26. package/dist/product-set/card/ProductSetCard.d.ts.map +1 -1
  27. package/dist/product-set/card/ProductSetCard.js +11 -30
  28. package/dist/product-set/control/DateInput.d.ts.map +1 -1
  29. package/dist/product-set/control/DateInput.js +2 -2
  30. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  31. package/dist/product-set/form/ProductCategoriesControl.js +2 -48
  32. package/dist/product-set/form/ProductSetForm.d.ts +1 -4
  33. package/dist/product-set/form/ProductSetForm.d.ts.map +1 -1
  34. package/dist/product-set/form/ProductSetForm.js +1 -59
  35. package/dist/product-set/form/ProductZonesControl.d.ts.map +1 -1
  36. package/dist/product-set/form/ProductZonesControl.js +2 -0
  37. package/dist/product-set/form/SelectCategoryModal.d.ts +0 -12
  38. package/dist/product-set/form/SelectCategoryModal.d.ts.map +1 -1
  39. package/dist/product-set/form/SelectCategoryModal.js +1 -1
  40. package/dist/product-set/form/SubProductsControl.d.ts.map +1 -1
  41. package/dist/product-set/form/SubProductsControl.js +3 -0
  42. package/dist/product-set/form/VenueMapsControl.d.ts.map +1 -1
  43. package/dist/product-set/form/VenueMapsControl.js +3 -0
  44. package/dist/product-set/form/index.d.ts +0 -1
  45. package/dist/product-set/form/index.d.ts.map +1 -1
  46. package/dist/product-set/product/ProductControl.d.ts.map +1 -1
  47. package/dist/product-set/utils/index.d.ts +0 -7
  48. package/dist/product-set/utils/index.d.ts.map +1 -1
  49. package/dist/product-set/utils/index.js +1 -10
  50. package/dist/sales/booking/results/components/ResultCard.d.ts.map +1 -1
  51. package/dist/sales/booking/results/components/ResultCard.js +2 -0
  52. package/dist/snippet/snippet-template/preview/Preview.d.ts.map +1 -1
  53. package/dist/snippet/snippet-template/preview/Preview.js +0 -6
  54. package/dist/sortable-tree/SortableTreeItem.d.ts +1 -2
  55. package/dist/sortable-tree/SortableTreeItem.d.ts.map +1 -1
  56. package/dist/sortable-tree/SortableTreeItem.js +4 -10
  57. package/dist/styles/iframe-events/Calendar.scss +1 -0
  58. package/dist/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  59. package/dist/styles/iframe-page/PageBody.scss +1 -1
  60. package/dist/styles/product-set/ProductSetForm.scss +0 -22
  61. package/dist/styles/sales/BookingResults.scss +1 -1
  62. package/dist/tiptap-editor/TipTapMenu/extensions/utils.d.ts +1 -1
  63. package/dist/tiptap-editor/TipTapMenu/extensions/utils.d.ts.map +1 -1
  64. package/dist/tiptap-editor/TipTapMenu/extensions/utils.js +1 -3
  65. package/dist/typeahead/Typeahead.d.ts +1 -5
  66. package/dist/typeahead/Typeahead.d.ts.map +1 -1
  67. package/dist/typeahead/Typeahead.js +2 -9
  68. package/package.json +6 -8
  69. package/src/affiliate/form/AffiliateForm.tsx +0 -1
  70. package/src/auth/Login/LoginComponent.tsx +1 -1
  71. package/src/calendar/components/CalendarButtons/CalendarButtons.tsx +28 -29
  72. package/src/events/edit-event-modal/IntervalInput.tsx +1 -8
  73. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.tsx +1 -0
  74. package/src/events/edit-event-modal/component/SelectEventProductSet/SelectEventProductSet.tsx +85 -82
  75. package/src/events/edit-event-modal/utils/getDefaultProductSet.ts +1 -0
  76. package/src/iframe/order-process/components/CategoryProduct/components/ProductQuantityInput/ProductQuantityInput.tsx +0 -1
  77. package/src/iframe/page/components/PageBody/hooks/useResizePageBody.ts +1 -0
  78. package/src/iframe/payment/order-items-table/utils/paymentSummary.tsx +0 -1
  79. package/src/layout/DropDown.tsx +1 -2
  80. package/src/modals/confirmation/ConfirmModal.tsx +3 -19
  81. package/src/product-set/card/ProductSetCard.tsx +8 -47
  82. package/src/product-set/control/DateInput.tsx +1 -2
  83. package/src/product-set/form/ProductCategoriesControl.tsx +1 -37
  84. package/src/product-set/form/ProductSetForm.tsx +2 -17
  85. package/src/product-set/form/ProductZonesControl.tsx +4 -1
  86. package/src/product-set/form/SelectCategoryModal.tsx +2 -2
  87. package/src/product-set/form/SubProductsControl.tsx +3 -0
  88. package/src/product-set/form/VenueMapsControl.tsx +3 -0
  89. package/src/product-set/form/index.ts +0 -1
  90. package/src/product-set/product/ProductControl.tsx +1 -0
  91. package/src/product-set/product/advanced-options/AdvancedOptions.tsx +1 -1
  92. package/src/product-set/product-zone/ProductZoneControl.tsx +1 -1
  93. package/src/product-set/utils/index.ts +0 -11
  94. package/src/sales/booking/results/components/ResultCard.tsx +2 -0
  95. package/src/snippet/snippet-template/preview/Preview.tsx +0 -6
  96. package/src/sortable-tree/SortableTreeItem.tsx +0 -6
  97. package/src/styles/iframe-events/Calendar.scss +1 -0
  98. package/src/styles/iframe-external-modal/IframeExternalModal.scss +2 -2
  99. package/src/styles/iframe-page/PageBody.scss +1 -1
  100. package/src/styles/product-set/ProductSetForm.scss +0 -22
  101. package/src/styles/sales/BookingResults.scss +1 -1
  102. package/src/tiptap-editor/TipTapMenu/extensions/utils.ts +1 -4
  103. package/src/typeahead/Typeahead.tsx +1 -15
  104. package/yarn.lock +33 -59
  105. package/dist/product-set/form/ProductSetNameControl.d.ts +0 -6
  106. package/dist/product-set/form/ProductSetNameControl.d.ts.map +0 -1
  107. package/dist/product-set/form/ProductSetNameControl.js +0 -35
  108. package/dist/tiptap-editor/TipTapMenu/extensions/constants.d.ts +0 -2
  109. package/dist/tiptap-editor/TipTapMenu/extensions/constants.d.ts.map +0 -1
  110. package/dist/tiptap-editor/TipTapMenu/extensions/constants.js +0 -3
  111. package/src/product-set/form/ProductSetNameControl.tsx +0 -27
  112. package/src/tiptap-editor/TipTapMenu/extensions/constants.ts +0 -1
@@ -1,2 +1 @@
1
1
  export * from './ProductSetForm'
2
- export * from './ProductSetNameControl'
@@ -34,6 +34,7 @@ import {
34
34
  } from 'react-hook-form'
35
35
  import { useTranslation } from 'react-i18next'
36
36
  import { useImages } from '@licklist/plugins/dist/hooks/Media/useImages'
37
+
37
38
  import {
38
39
  Image,
39
40
  IMAGE_TYPE_IMAGE,
@@ -1,4 +1,4 @@
1
- import { useContext } from 'react'
1
+ import React, { useContext } from 'react'
2
2
  import { Col, Form } from 'react-bootstrap'
3
3
  import { Controller, Path, useFormContext } from 'react-hook-form'
4
4
  import { HookFormService } from '@licklist/plugins'
@@ -1,4 +1,4 @@
1
- import { useContext, useEffect, useMemo } from 'react'
1
+ import React, { useContext, useEffect, useMemo } from 'react'
2
2
  import { Col, Form, Row } from 'react-bootstrap'
3
3
  import {
4
4
  ArrayPath,
@@ -3,7 +3,6 @@ import { SmsTemplate } from '@licklist/core/dist/DataMapper/Notification/SmsTemp
3
3
  import { TFunction } from 'react-i18next'
4
4
  import { UseFormSetError } from 'react-hook-form'
5
5
  import { checkIfZoneCategory } from '@licklist/plugins'
6
- import { ProductSet } from '@licklist/core/dist/DataMapper/Product/ProductSetDataMapper'
7
6
  import { TemplateItem } from '../control/ProductSetControl'
8
7
  import { ProductSetFormValues } from '../form/ProductSetForm'
9
8
 
@@ -13,11 +12,6 @@ interface CheckAvailableTimesErrors {
13
12
  t: TFunction
14
13
  }
15
14
 
16
- export interface MenuTypeheadItem {
17
- id: number
18
- label: string
19
- value: number
20
- }
21
15
  export const moveArrayElements = <T>(
22
16
  array: T[],
23
17
  prevIndex: number,
@@ -89,8 +83,3 @@ export const checkAvailableTimesErrors = ({
89
83
  })
90
84
  return hasError
91
85
  }
92
-
93
- export const getTypeHeadItemsFromMenus = (
94
- menus?: (ProductSet | ProductSetFormValues)[],
95
- ): MenuTypeheadItem[] =>
96
- menus?.map((menu) => ({ id: menu.id, value: menu.id, label: menu.name }))
@@ -20,6 +20,8 @@ export type ResultCardProps = {
20
20
  onCardClick?: (id: number) => void
21
21
  }
22
22
 
23
+ // @TODO integrate when API will be available
24
+ // activity and staff keys
23
25
  export const ResultCard = ({
24
26
  order,
25
27
  className,
@@ -307,7 +307,6 @@ export function Preview({
307
307
  productCategoryId: 57,
308
308
  productGroupId: null,
309
309
  availableQuantity: 980,
310
- zoneId: null,
311
310
  name: 'Cofee',
312
311
  description: '',
313
312
  price: 15,
@@ -316,8 +315,6 @@ export function Preview({
316
315
  maxQuantity: 15,
317
316
  totalQuantity: 980,
318
317
  type: 'sale' as const,
319
- capacity: 0,
320
- duration: 0,
321
318
  weight: 0,
322
319
  isAvailable: true,
323
320
  isSoldOut: false,
@@ -336,7 +333,6 @@ export function Preview({
336
333
  productCategoryId: 57,
337
334
  productGroupId: null,
338
335
  availableQuantity: 980,
339
- zoneId: null,
340
336
  name: 'Cofee 2',
341
337
  description: '',
342
338
  price: 15,
@@ -345,8 +341,6 @@ export function Preview({
345
341
  maxQuantity: 15,
346
342
  totalQuantity: 980,
347
343
  type: 'sale' as const,
348
- capacity: 0,
349
- duration: 0,
350
344
  weight: 0,
351
345
  isAvailable: true,
352
346
  isSoldOut: false,
@@ -33,7 +33,6 @@ export interface SortableTreeItemProps {
33
33
  body: ReactNode
34
34
  children?: ReactNode
35
35
  preItem?: ReactNode
36
- itemButton?: ReactNode
37
36
  postItem?: ReactNode
38
37
  sortableItems?: string[]
39
38
  isExpanded?: boolean
@@ -83,7 +82,6 @@ export function SortableTreeItem({
83
82
  secondaryBadge,
84
83
  setIsExpanded,
85
84
  isOverride,
86
- itemButton,
87
85
  }: SortableTreeItemProps) {
88
86
  const [expanded, setExpanded] = useState(isExpanded)
89
87
  const [isModalVisible, setIsModalVisible] = useState(isNewAdded)
@@ -289,13 +287,9 @@ export function SortableTreeItem({
289
287
  className={clsx(
290
288
  'sortable-tree-item-title',
291
289
  modalLabel && 'sortable-tree-product-set-element-title',
292
- 'd-flex justify-content-between',
293
290
  )}
294
291
  >
295
292
  {title}
296
- <div className="sortable-tree-item-subtitle">
297
- {itemButton}
298
- </div>
299
293
  </span>
300
294
  {!expanded && (
301
295
  <span className="sortable-tree-item-subtitle">
@@ -48,6 +48,7 @@
48
48
  height: 2.25rem;
49
49
  width: 14.125rem;
50
50
  justify-content: space-between;
51
+ border: 1px solid $snippet-dropdown-border-color;
51
52
  border-radius: $iframe-border-radius;
52
53
  transition: $color-transition;
53
54
 
@@ -15,7 +15,7 @@ body[bkdt-scrollable='false'] .bkdt-mask {
15
15
  left: 0;
16
16
  width: 100%;
17
17
  height: 100%;
18
- z-index: 2147483646;
18
+ z-index: 1000000;
19
19
  background-color: rgba(0, 0, 0, 0.5);
20
20
  display: none;
21
21
  }
@@ -24,7 +24,7 @@ body[bkdt-scrollable='false'] .bkdt-mask {
24
24
  position: fixed;
25
25
  top: 0;
26
26
  left: 0;
27
- z-index: 2147483647;
27
+ z-index: 1000001;
28
28
  display: none;
29
29
  width: 100%;
30
30
  height: 100%;
@@ -258,7 +258,7 @@
258
258
  position: inherit;
259
259
  margin: 0 1rem 1rem;
260
260
  height: unset;
261
- min-height: 8rem;
261
+ min-height: 7rem;
262
262
  max-height: calc(calc(100svh - 8.25rem) * 0.75);
263
263
  }
264
264
  }
@@ -15,12 +15,10 @@
15
15
  height: 2.5rem;
16
16
  border-width: 2px;
17
17
  padding: 2px;
18
-
19
18
  label,
20
19
  .btn-switch-indicator {
21
20
  border-radius: 0.375rem !important;
22
21
  }
23
-
24
22
  label {
25
23
  height: 2rem;
26
24
  }
@@ -36,7 +34,6 @@
36
34
  margin-top: 1.5rem;
37
35
  margin-bottom: 1.5rem;
38
36
  }
39
-
40
37
  @include media-breakpoint-down(sm) {
41
38
  padding: 1.5rem 1rem;
42
39
  margin-top: 0.5rem;
@@ -62,21 +59,10 @@
62
59
  background-color: #ffdbdb;
63
60
  color: #d52902;
64
61
  }
65
-
66
62
  .category-badge {
67
63
  background-color: #e8f4f6;
68
64
  color: #1a93aa;
69
65
  }
70
-
71
- .item-icon {
72
- display: flex;
73
- justify-items: center;
74
- align-items: center;
75
- font-size: 0.65rem;
76
- padding: 0.2rem;
77
- margin-right: 1rem;
78
- }
79
-
80
66
  .product-badge {
81
67
  background-color: #e9f5ea;
82
68
  color: #269b36;
@@ -89,12 +75,10 @@
89
75
 
90
76
  .product-set-mobile-modal {
91
77
  margin: 0;
92
-
93
78
  .modal-content {
94
79
  border-radius: 1rem 1rem 0 0;
95
80
  border-width: 0;
96
81
  margin: 0;
97
-
98
82
  .modal-body {
99
83
  padding: 1rem 0;
100
84
  }
@@ -116,22 +100,18 @@
116
100
  font-weight: 600;
117
101
  font-size: 0.625rem;
118
102
  }
119
-
120
103
  .product-set-subtitle-dot {
121
104
  margin-right: 0.375rem;
122
105
  width: 0.375rem;
123
106
  height: 0.375rem;
124
107
  border-radius: 3px;
125
108
  }
126
-
127
109
  .product-set-subtitle-category-dot {
128
110
  background-color: #269b36;
129
111
  }
130
-
131
112
  .product-set-subtitle-step-dot {
132
113
  background-color: #1a93aa;
133
114
  }
134
-
135
115
  .product-set-subtitle-product-dot {
136
116
  background-color: #269b36;
137
117
  }
@@ -176,7 +156,6 @@
176
156
  justify-self: flex-end;
177
157
  align-items: flex-end;
178
158
  }
179
-
180
159
  .small-badge {
181
160
  font-size: 0.5rem;
182
161
  height: 1rem;
@@ -184,7 +163,6 @@
184
163
  padding: 0 0.2rem;
185
164
  margin-bottom: 0.2rem;
186
165
  }
187
-
188
166
  .product-set-save-btn-wrapper {
189
167
  padding-left: 0 !important;
190
168
  display: flex;
@@ -5,7 +5,7 @@
5
5
  flex-wrap: wrap;
6
6
 
7
7
  .result-card {
8
- height: 14rem;
8
+ height: 14.25rem;
9
9
  border: 1px solid $gray-400;
10
10
  max-width: calc(50% - 0.75rem);
11
11
  flex: 0 0 calc(50% - 0.75rem);
@@ -1,13 +1,10 @@
1
1
  import { parse } from 'twemoji-parser'
2
- import { EMOJI_URL } from './constants'
3
2
 
4
3
  function parseTwemoji(emoji: string) {
5
4
  const [twemoji] = parse(emoji)
6
5
 
7
- const emojiPathUrl = EMOJI_URL.concat(twemoji.url.split("/").slice(-1));
8
-
9
6
  return {
10
- src: emojiPathUrl,
7
+ src: twemoji.url,
11
8
  alt: twemoji.text,
12
9
  class: 'emoji',
13
10
  draggable: 'false',
@@ -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,35 +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"
2560
- dependencies:
2561
- "@sentry/browser": "npm:6.2.0"
2562
- axios: "npm:0.26.0"
2563
- i18next: "npm:19.4.5"
2564
- luxon: "npm:3.5.0"
2565
- react: "npm:17.0.2"
2566
- react-dom: "npm:17.0.2"
2567
- react-i18next: "npm:11.8.8"
2568
- react-intl: "npm:6.6.8"
2569
- uuid: "npm:9.0.0"
2570
- wait-for-expect: "npm:3.0.2"
2571
- peerDependencies:
2572
- "@licklist/eslint-config": 0.5.5
2573
- axios: 0.26.0
2574
- luxon: 3.5.0
2575
- react: 17.0.2
2576
- react-dom: 17.0.2
2577
- react-i18next: 11.8.8
2578
- react-intl: 6.6.8
2579
- checksum: 10c0/cacb058eb075b8e42fe9135877aa90f5104b661a0a99addbadfe916604ee35d468d07f9ce4e349fad573015044977bf77821b92dc385bab23393bc4d72677c4f
2580
- languageName: node
2581
- linkType: hard
2582
-
2583
- "@licklist/core@npm:0.30.0-dev.0":
2584
- version: 0.30.0-dev.0
2585
- resolution: "@licklist/core@npm:0.30.0-dev.0"
2557
+ "@licklist/core@npm:0.30.1":
2558
+ version: 0.30.1
2559
+ resolution: "@licklist/core@npm:0.30.1"
2586
2560
  dependencies:
2587
2561
  "@sentry/browser": "npm:6.2.0"
2588
2562
  axios: "npm:0.26.0"
@@ -2602,7 +2576,7 @@ __metadata:
2602
2576
  react-dom: 17.0.2
2603
2577
  react-i18next: 11.8.8
2604
2578
  react-intl: 6.6.8
2605
- checksum: 10c0/0254119edd1b01abeb3cdce66d26a56098860bfb5e0a8ec1d98ac2da3eb28b1cb8f7b2315a07ca3bd905eb25c349d65a4a4dab44e53466968b1b50012eec10bd
2579
+ checksum: 10c0/2b3ec4eebfffd120e188825beb607864dfc85ddc6f5cd834e6c7b99b0191171936da0299441f2a91721d70ebb196279b6b72d8e9ec37fc21d4f51f97400b8475
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.30.0-dev.0"
2594
+ "@licklist/core": "npm:0.30.1"
2621
2595
  "@licklist/eslint-config": "npm:0.5.6"
2622
- "@licklist/plugins": "npm:0.33.0-dev.0"
2596
+ "@licklist/plugins": "npm:0.33.1"
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"
@@ -2739,9 +2713,9 @@ __metadata:
2739
2713
  vite-plugin-svgr: "npm:4.2.0"
2740
2714
  vite-tsconfig-paths: "npm:5.0.1"
2741
2715
  peerDependencies:
2742
- "@licklist/core": 0.30.0-dev.0
2716
+ "@licklist/core": 0.30.1
2743
2717
  "@licklist/eslint-config": 0.5.6
2744
- "@licklist/plugins": 0.33.0-dev.0
2718
+ "@licklist/plugins": 0.33.1
2745
2719
  lodash: 4.17.21
2746
2720
  luxon: 3.5.0
2747
2721
  react: 17.0.2
@@ -2771,11 +2745,11 @@ __metadata:
2771
2745
  languageName: node
2772
2746
  linkType: hard
2773
2747
 
2774
- "@licklist/plugins@npm:0.33.0-dev.0":
2775
- version: 0.33.0-dev.0
2776
- resolution: "@licklist/plugins@npm:0.33.0-dev.0"
2748
+ "@licklist/plugins@npm:0.33.1":
2749
+ version: 0.33.1
2750
+ resolution: "@licklist/plugins@npm:0.33.1"
2777
2751
  dependencies:
2778
- "@licklist/core": "npm:0.29.1-dev.2"
2752
+ "@licklist/core": "npm:0.30.1"
2779
2753
  "@ungap/url-search-params": "npm:0.2.2"
2780
2754
  axios: "npm:0.26.0"
2781
2755
  history: "npm:4.10.1"
@@ -2796,7 +2770,7 @@ __metadata:
2796
2770
  rrule: "npm:2.6.8"
2797
2771
  use-debounce: "npm:7.0.1"
2798
2772
  peerDependencies:
2799
- "@licklist/core": 0.29.1-dev.2
2773
+ "@licklist/core": 0.30.1
2800
2774
  "@licklist/eslint-config": 0.5.6
2801
2775
  axios: 0.26.0
2802
2776
  lodash: 4.17.21
@@ -2808,7 +2782,7 @@ __metadata:
2808
2782
  react-loader: 2.4.7
2809
2783
  react-query: 3.34.12
2810
2784
  react-router-dom: 5.2.0
2811
- checksum: 10c0/cdf57c38578b30926a323f0caf80a93c43fadc032dcd79d749de92ca6d7c3b47a8ac6bdf56547a56e0581094434ecd30880e5298161cb0fa97705e369ba799f1
2785
+ checksum: 10c0/9f9cba3fcf3b2543c1b781233c0cfa2d6638ff47edde93ed3500ea4dfe12f7940380e9d79b6051b6cc8eb5cb26cdbb97fcd412b83bfd3dce7cd1c34835f975a7
2812
2786
  languageName: node
2813
2787
  linkType: hard
2814
2788
 
@@ -5577,11 +5551,11 @@ __metadata:
5577
5551
  linkType: hard
5578
5552
 
5579
5553
  "@types/node@npm:*":
5580
- version: 22.7.5
5581
- resolution: "@types/node@npm:22.7.5"
5554
+ version: 22.7.4
5555
+ resolution: "@types/node@npm:22.7.4"
5582
5556
  dependencies:
5583
5557
  undici-types: "npm:~6.19.2"
5584
- checksum: 10c0/cf11f74f1a26053ec58066616e3a8685b6bcd7259bc569738b8f752009f9f0f7f85a1b2d24908e5b0f752482d1e8b6babdf1fbb25758711ec7bb9500bfcd6e60
5558
+ checksum: 10c0/c22bf54515c78ff3170142c1e718b90e2a0003419dc2d55f79c9c9362edd590a6ab1450deb09ff6e1b32d1b4698da407930b16285e8be3a009ea6cd2695cac01
5585
5559
  languageName: node
5586
5560
  linkType: hard
5587
5561
 
@@ -8051,8 +8025,8 @@ __metadata:
8051
8025
  linkType: hard
8052
8026
 
8053
8027
  "chromatic@npm:^11.4.0":
8054
- version: 11.12.0
8055
- resolution: "chromatic@npm:11.12.0"
8028
+ version: 11.11.0
8029
+ resolution: "chromatic@npm:11.11.0"
8056
8030
  peerDependencies:
8057
8031
  "@chromatic-com/cypress": ^0.*.* || ^1.0.0
8058
8032
  "@chromatic-com/playwright": ^0.*.* || ^1.0.0
@@ -8065,7 +8039,7 @@ __metadata:
8065
8039
  chroma: dist/bin.js
8066
8040
  chromatic: dist/bin.js
8067
8041
  chromatic-cli: dist/bin.js
8068
- checksum: 10c0/78c2985d260617701ccf1dc7a91959621c9e26636adf4a21dcef3380fd35b7fc8b5442620326d20d8e7f008e228e59b48b2cc8f9205af38287979ea5a0007caa
8042
+ checksum: 10c0/fb69a07ba721624baac20122d94d449d8ae56cbcffa45931d6a1679aafa00a899e3e66e8b68b8dc24e44c7cf1356e7979a7be8088647bc76ae3a14e2fad8eeea
8069
8043
  languageName: node
8070
8044
  linkType: hard
8071
8045
 
@@ -8427,7 +8401,7 @@ __metadata:
8427
8401
  languageName: node
8428
8402
  linkType: hard
8429
8403
 
8430
- "confbox@npm:^0.1.8":
8404
+ "confbox@npm:^0.1.7":
8431
8405
  version: 0.1.8
8432
8406
  resolution: "confbox@npm:0.1.8"
8433
8407
  checksum: 10c0/fc2c68d97cb54d885b10b63e45bd8da83a8a71459d3ecf1825143dd4c7f9f1b696b3283e07d9d12a144c1301c2ebc7842380bdf0014e55acc4ae1c9550102418
@@ -9567,9 +9541,9 @@ __metadata:
9567
9541
  linkType: hard
9568
9542
 
9569
9543
  "electron-to-chromium@npm:^1.3.564, electron-to-chromium@npm:^1.5.28":
9570
- version: 1.5.33
9571
- resolution: "electron-to-chromium@npm:1.5.33"
9572
- checksum: 10c0/46b914e85ce9ff5d57b78782f750ca6585c5aa713c0e6f70225bc6cf0f7637ce40567ccfd0d9a95d84120164fef01c8ff42c7cd206afdb1bace481e187a3919f
9544
+ version: 1.5.32
9545
+ resolution: "electron-to-chromium@npm:1.5.32"
9546
+ checksum: 10c0/d0c0c418fae6f7714fb6cfeb8f6a74a9504cf41ed6a4119d5388d94442ee224238c331bacc5917f2c89e3ffebd1b9f870ea5c0951c473ca7e58debef0f3e9137
9573
9547
  languageName: node
9574
9548
  linkType: hard
9575
9549
 
@@ -13024,15 +12998,15 @@ __metadata:
13024
12998
  linkType: hard
13025
12999
 
13026
13000
  "iterator.prototype@npm:^1.1.2":
13027
- version: 1.1.3
13028
- resolution: "iterator.prototype@npm:1.1.3"
13001
+ version: 1.1.2
13002
+ resolution: "iterator.prototype@npm:1.1.2"
13029
13003
  dependencies:
13030
13004
  define-properties: "npm:^1.2.1"
13031
13005
  get-intrinsic: "npm:^1.2.1"
13032
13006
  has-symbols: "npm:^1.0.3"
13033
13007
  reflect.getprototypeof: "npm:^1.0.4"
13034
13008
  set-function-name: "npm:^2.0.1"
13035
- checksum: 10c0/68b0320c14291fbb3d8ed5a17e255d3127e7971bec19108076667e79c9ff4c7d69f99de4b0b3075c789c3f318366d7a0a35bb086eae0f2cf832dd58465b2f9e6
13009
+ checksum: 10c0/a32151326095e916f306990d909f6bbf23e3221999a18ba686419535dcd1749b10ded505e89334b77dc4c7a58a8508978f0eb16c2c8573e6d412eb7eb894ea79
13036
13010
  languageName: node
13037
13011
  linkType: hard
13038
13012
 
@@ -14411,7 +14385,7 @@ __metadata:
14411
14385
  languageName: node
14412
14386
  linkType: hard
14413
14387
 
14414
- "mlly@npm:^1.4.2, mlly@npm:^1.7.2":
14388
+ "mlly@npm:^1.4.2, mlly@npm:^1.7.1":
14415
14389
  version: 1.7.2
14416
14390
  resolution: "mlly@npm:1.7.2"
14417
14391
  dependencies:
@@ -15518,13 +15492,13 @@ __metadata:
15518
15492
  linkType: hard
15519
15493
 
15520
15494
  "pkg-types@npm:^1.0.3, pkg-types@npm:^1.2.0":
15521
- version: 1.2.1
15522
- resolution: "pkg-types@npm:1.2.1"
15495
+ version: 1.2.0
15496
+ resolution: "pkg-types@npm:1.2.0"
15523
15497
  dependencies:
15524
- confbox: "npm:^0.1.8"
15525
- mlly: "npm:^1.7.2"
15498
+ confbox: "npm:^0.1.7"
15499
+ mlly: "npm:^1.7.1"
15526
15500
  pathe: "npm:^1.1.2"
15527
- checksum: 10c0/4aef765c039e3ec3ca55171bb8ad776cf060d894c45ddf92b9d680b3fdb1817c8d1c428f74ea6aae144493fa1d6a97df6b8caec6dc31e418f1ce1f728d38014e
15501
+ checksum: 10c0/111cf6ad4235438821ea195a0d70570b1bd36a71d094d258349027c9c304dea8b4f9669c9f7ce813f9a48a02942fb0d7fe9809127dbe7bb4b18a8de71583a081
15528
15502
  languageName: node
15529
15503
  linkType: hard
15530
15504
 
@@ -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,CAAA;IACb,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,4CAeA,CAAA"}
@@ -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,2 +0,0 @@
1
- export declare const EMOJI_URL = "https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/assets/svg/";
2
- //# sourceMappingURL=constants.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/tiptap-editor/TipTapMenu/extensions/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,sEAAsE,CAAC"}
@@ -1,3 +0,0 @@
1
- var EMOJI_URL = "https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/assets/svg/";
2
-
3
- export { EMOJI_URL };
@@ -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
- }
@@ -1 +0,0 @@
1
- export const EMOJI_URL = "https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/assets/svg/";