@phillips/seldon 1.143.2 → 1.145.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 (136) hide show
  1. package/dist/_virtual/build.js +4 -0
  2. package/dist/_virtual/defaults.js +4 -0
  3. package/dist/_virtual/encode-new-lines.js +4 -0
  4. package/dist/_virtual/encode-param-value.js +4 -0
  5. package/dist/_virtual/fold-line.js +4 -0
  6. package/dist/_virtual/format-date.js +4 -0
  7. package/dist/_virtual/format-duration.js +4 -0
  8. package/dist/_virtual/format-text.js +4 -0
  9. package/dist/_virtual/format.js +4 -0
  10. package/dist/_virtual/index.browser.js +6 -0
  11. package/dist/_virtual/index.cjs.production.min.js +4 -0
  12. package/dist/_virtual/index.esm.js +6 -0
  13. package/dist/_virtual/index10.js +4 -0
  14. package/dist/_virtual/index11.js +4 -0
  15. package/dist/_virtual/index12.js +4 -0
  16. package/dist/_virtual/index7.js +4 -0
  17. package/dist/_virtual/index8.js +4 -0
  18. package/dist/_virtual/index9.js +4 -0
  19. package/dist/_virtual/set-alarm.js +4 -0
  20. package/dist/_virtual/set-contact.js +4 -0
  21. package/dist/_virtual/set-description.js +4 -0
  22. package/dist/_virtual/set-geolocation.js +4 -0
  23. package/dist/_virtual/set-location.js +4 -0
  24. package/dist/_virtual/set-organizer.js +4 -0
  25. package/dist/_virtual/set-summary.js +4 -0
  26. package/dist/_virtual/validate.js +4 -0
  27. package/dist/components/AddToCalendar/AddToCalendar.d.ts +10 -0
  28. package/dist/components/AddToCalendar/AddToCalendar.js +62 -0
  29. package/dist/components/AddToCalendar/AddToCalendar.stories.d.ts +25 -0
  30. package/dist/components/AddToCalendar/AddToCalendar.test.d.ts +1 -0
  31. package/dist/components/AddToCalendar/calendarLinks.d.ts +6 -0
  32. package/dist/components/AddToCalendar/calendarLinks.js +89 -0
  33. package/dist/components/AddToCalendar/calendarLinks.test.d.ts +1 -0
  34. package/dist/components/AddToCalendar/index.d.ts +1 -0
  35. package/dist/components/AddToCalendar/types.d.ts +8 -0
  36. package/dist/components/ComboBox/ComboBox.d.ts +69 -0
  37. package/dist/components/ComboBox/ComboBox.js +221 -0
  38. package/dist/components/ComboBox/ComboBox.stories.d.ts +18 -0
  39. package/dist/components/ComboBox/ComboBox.test.d.ts +1 -0
  40. package/dist/components/ComboBox/index.d.ts +1 -0
  41. package/dist/components/PhoneNumberPicker/PhoneNumberPicker.d.ts +38 -0
  42. package/dist/components/PhoneNumberPicker/PhoneNumberPicker.stories.d.ts +14 -0
  43. package/dist/components/PhoneNumberPicker/PhoneNumberPicker.test.d.ts +1 -0
  44. package/dist/index.d.ts +10 -1
  45. package/dist/index.js +116 -112
  46. package/dist/node_modules/@radix-ui/react-dropdown-menu/dist/index.js +208 -0
  47. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-primitive/dist/index.js +32 -0
  48. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
  49. package/dist/node_modules/@radix-ui/react-dropdown-menu/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
  50. package/dist/node_modules/@radix-ui/react-menu/dist/index.js +608 -0
  51. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
  52. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-collection/dist/index.js +48 -0
  53. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
  54. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-focus-scope/dist/index.js +136 -0
  55. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-popper/dist/index.js +218 -0
  56. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
  57. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
  58. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
  59. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-roving-focus/dist/index.js +183 -0
  60. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
  61. package/dist/node_modules/@radix-ui/react-menu/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
  62. package/dist/node_modules/@radix-ui/react-popover/dist/index.js +18 -17
  63. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-arrow/dist/index.js +24 -0
  64. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-dismissable-layer/dist/index.js +127 -0
  65. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-focus-scope/dist/index.js +136 -0
  66. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-popper/dist/index.js +218 -0
  67. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-portal/dist/index.js +15 -0
  68. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-presence/dist/index.js +70 -0
  69. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-primitive/dist/index.js +36 -0
  70. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-slot/dist/index.js +49 -0
  71. package/dist/node_modules/@radix-ui/react-popover/node_modules/@radix-ui/react-use-controllable-state/dist/index.js +52 -0
  72. package/dist/node_modules/cmdk/dist/chunk-NZJY6EH4.js +17 -0
  73. package/dist/node_modules/cmdk/dist/index.js +312 -0
  74. package/dist/node_modules/date-fns/_lib/addLeadingZeros.js +7 -0
  75. package/dist/node_modules/date-fns/_lib/format/formatters.js +517 -0
  76. package/dist/node_modules/date-fns/_lib/format/lightFormatters.js +59 -0
  77. package/dist/node_modules/date-fns/_lib/format/longFormatters.js +52 -0
  78. package/dist/node_modules/date-fns/_lib/protectedTokens.js +20 -0
  79. package/dist/node_modules/date-fns/addHours.js +9 -0
  80. package/dist/node_modules/date-fns/addMilliseconds.js +9 -0
  81. package/dist/node_modules/date-fns/constants.js +6 -5
  82. package/dist/node_modules/date-fns/format.js +58 -0
  83. package/dist/node_modules/date-fns/getDayOfYear.js +11 -0
  84. package/dist/node_modules/date-fns/getISOWeek.js +12 -0
  85. package/dist/node_modules/date-fns/getISOWeekYear.js +15 -0
  86. package/dist/node_modules/date-fns/getWeek.js +12 -0
  87. package/dist/node_modules/date-fns/getWeekYear.js +16 -0
  88. package/dist/node_modules/date-fns/isDate.js +7 -0
  89. package/dist/node_modules/date-fns/isValid.js +9 -0
  90. package/dist/node_modules/date-fns/startOfISOWeek.js +8 -0
  91. package/dist/node_modules/date-fns/startOfISOWeekYear.js +11 -0
  92. package/dist/node_modules/date-fns/startOfWeekYear.js +12 -0
  93. package/dist/node_modules/date-fns/startOfYear.js +9 -0
  94. package/dist/node_modules/date-fns-tz/dist/esm/_lib/getTimezoneOffsetInMilliseconds/index.js +7 -0
  95. package/dist/node_modules/date-fns-tz/dist/esm/_lib/newDateUTC/index.js +7 -0
  96. package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzParseTimezone/index.js +63 -0
  97. package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzPattern/index.js +4 -0
  98. package/dist/node_modules/date-fns-tz/dist/esm/_lib/tzTokenizeDate/index.js +71 -0
  99. package/dist/node_modules/date-fns-tz/dist/esm/toDate/index.js +180 -0
  100. package/dist/node_modules/date-fns-tz/dist/esm/toZonedTime/index.js +10 -0
  101. package/dist/node_modules/ics/dist/defaults.js +23 -0
  102. package/dist/node_modules/ics/dist/index.js +115 -0
  103. package/dist/node_modules/ics/dist/pipeline/build.js +50 -0
  104. package/dist/node_modules/ics/dist/pipeline/format.js +70 -0
  105. package/dist/node_modules/ics/dist/pipeline/index.js +53 -0
  106. package/dist/node_modules/ics/dist/pipeline/validate.js +17 -0
  107. package/dist/node_modules/ics/dist/schema/index.js +211 -0
  108. package/dist/node_modules/ics/dist/utils/encode-new-lines.js +9 -0
  109. package/dist/node_modules/ics/dist/utils/encode-param-value.js +9 -0
  110. package/dist/node_modules/ics/dist/utils/fold-line.js +14 -0
  111. package/dist/node_modules/ics/dist/utils/format-date.js +68 -0
  112. package/dist/node_modules/ics/dist/utils/format-duration.js +10 -0
  113. package/dist/node_modules/ics/dist/utils/format-text.js +9 -0
  114. package/dist/node_modules/ics/dist/utils/index.js +87 -0
  115. package/dist/node_modules/ics/dist/utils/set-alarm.js +49 -0
  116. package/dist/node_modules/ics/dist/utils/set-contact.js +18 -0
  117. package/dist/node_modules/ics/dist/utils/set-description.js +15 -0
  118. package/dist/node_modules/ics/dist/utils/set-geolocation.js +10 -0
  119. package/dist/node_modules/ics/dist/utils/set-location.js +15 -0
  120. package/dist/node_modules/ics/dist/utils/set-organizer.js +16 -0
  121. package/dist/node_modules/ics/dist/utils/set-summary.js +15 -0
  122. package/dist/node_modules/nanoid/index.browser.js +19 -0
  123. package/dist/node_modules/nanoid/url-alphabet/index.js +4 -0
  124. package/dist/node_modules/property-expr/index.js +77 -0
  125. package/dist/node_modules/runes2/dist/index.cjs.development.js +139 -0
  126. package/dist/node_modules/runes2/dist/index.cjs.production.min.js +86 -0
  127. package/dist/node_modules/runes2/dist/index.js +8 -0
  128. package/dist/node_modules/tiny-case/index.js +17 -0
  129. package/dist/node_modules/toposort/index.js +65 -0
  130. package/dist/node_modules/yup/index.esm.js +1899 -0
  131. package/dist/scss/_vars.scss +3 -0
  132. package/dist/scss/_vars.scss.js +3 -0
  133. package/dist/scss/componentStyles.scss +2 -0
  134. package/dist/scss/components/AddToCalendar/_addToCalendar.scss +64 -0
  135. package/dist/scss/components/ComboBox/_combobox.scss +149 -0
  136. package/package.json +8 -2
@@ -0,0 +1,221 @@
1
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
2
+ import { Root as D, Trigger as E, Portal as T, Content as j } from "../../node_modules/@radix-ui/react-popover/dist/index.js";
3
+ import p from "../../node_modules/classnames/index.js";
4
+ import { Command as w, CommandInput as F, CommandList as K, CommandGroup as G, CommandItem as X } from "../../node_modules/cmdk/dist/index.js";
5
+ import l from "react";
6
+ import { useOnClickOutside as q } from "../../node_modules/usehooks-ts/dist/index.js";
7
+ import "../../assets/formatted/AccountActive.js";
8
+ import "../../assets/formatted/Account.js";
9
+ import "../../assets/formatted/Add.js";
10
+ import "../../assets/formatted/AppleAppStoreBadge.js";
11
+ import "../../assets/formatted/ArrowDown.js";
12
+ import "../../assets/formatted/ArrowLeft.js";
13
+ import "../../assets/formatted/ArrowRight.js";
14
+ import "../../assets/formatted/ArrowUp.js";
15
+ import "../../assets/formatted/Bag.js";
16
+ import "../../assets/formatted/Calendar.js";
17
+ import z from "../../assets/formatted/ChevronDown.js";
18
+ import "../../assets/formatted/ChevronLeft.js";
19
+ import "../../assets/formatted/ChevronRight.js";
20
+ import "../../assets/formatted/ChevronUp.js";
21
+ import A from "../../assets/formatted/CloseX.js";
22
+ import "../../assets/formatted/ConditionReport.js";
23
+ import "../../assets/formatted/Delete.js";
24
+ import "../../assets/formatted/Download.js";
25
+ import "../../assets/formatted/Edit.js";
26
+ import "../../assets/formatted/Email.js";
27
+ import "../../assets/formatted/Error.js";
28
+ import "../../assets/formatted/ExternalLink.js";
29
+ import "../../assets/formatted/Facebook.js";
30
+ import "../../assets/formatted/FavoriteActive.js";
31
+ import "../../assets/formatted/Favorite.js";
32
+ import "../../assets/formatted/Filters.js";
33
+ import "../../assets/formatted/Fullscreen.js";
34
+ import "../../assets/formatted/FullscreenExit.js";
35
+ import "../../assets/formatted/GavelActive.js";
36
+ import "../../assets/formatted/Gavel.js";
37
+ import "../../assets/formatted/Grid.js";
38
+ import "../../assets/formatted/Hide.js";
39
+ import "../../assets/formatted/HomeActive.js";
40
+ import "../../assets/formatted/Home.js";
41
+ import "../../assets/formatted/IconGreenCircle.js";
42
+ import "../../assets/formatted/IconRedCircle.js";
43
+ import "../../assets/formatted/Icon.js";
44
+ import "../../assets/formatted/Instagram.js";
45
+ import "../../assets/formatted/LinkedIn.js";
46
+ import "../../assets/formatted/List.js";
47
+ import "../../assets/formatted/Lock.js";
48
+ import "../../assets/formatted/MagnificentSeven.js";
49
+ import "../../assets/formatted/Menu.js";
50
+ import "../../assets/formatted/Mute.js";
51
+ import "../../assets/formatted/Pause.js";
52
+ import "../../assets/formatted/PhillipsAppIcon.js";
53
+ import "../../assets/formatted/PhillipsLogo.js";
54
+ import "../../assets/formatted/Play.js";
55
+ import "../../assets/formatted/Red.js";
56
+ import "../../assets/formatted/Refresh.js";
57
+ import "../../assets/formatted/Search.js";
58
+ import "../../assets/formatted/SellActive.js";
59
+ import "../../assets/formatted/Sell.js";
60
+ import "../../assets/formatted/Share.js";
61
+ import "../../assets/formatted/Subtract.js";
62
+ import "../../assets/formatted/Success.js";
63
+ import "../../assets/formatted/Tooltip.js";
64
+ import "../../assets/formatted/TwitterX.js";
65
+ import "../../assets/formatted/Upload.js";
66
+ import "../../assets/formatted/View.js";
67
+ import "../../assets/formatted/VolumeMaximum.js";
68
+ import "../../assets/formatted/VolumeMid.js";
69
+ import "../../assets/formatted/VolumeMinimum.js";
70
+ import "../../assets/formatted/WeChat.js";
71
+ import { getCommonProps as H } from "../../utils/index.js";
72
+ import { getScssVar as v } from "../../utils/scssUtils.js";
73
+ const J = l.forwardRef(function({
74
+ options: N = [],
75
+ className: g,
76
+ id: r,
77
+ labelText: L,
78
+ placeholder: x,
79
+ inputValue: m = "",
80
+ setInputValue: i,
81
+ ariaLabelDropdown: d,
82
+ ariaLabelInput: f,
83
+ ariaLabelClear: u,
84
+ ariaLabelContent: _,
85
+ hideLabel: R = !1,
86
+ autoClearInput: O = !0,
87
+ ...k
88
+ }, y) {
89
+ const { className: e, ...I } = H({ id: r }, "ComboBox"), [C, s] = l.useState(!1), $ = l.useRef(null), S = z, B = A, b = l.useRef(null), P = l.useRef({}), c = N.filter(
90
+ (o) => o.value.toLowerCase().includes(m.toLowerCase()) || o.label && o.label.toLowerCase().includes(m.toLowerCase())
91
+ );
92
+ return q(b, (o) => {
93
+ if (o.target.closest(`.${e}__item`) || o.target.closest(`.${e}__content`))
94
+ return;
95
+ !c.some(
96
+ (a) => a.value.toLowerCase() === m.toLowerCase()
97
+ ) && O && i(""), s(!1), o.stopPropagation();
98
+ }), /* @__PURE__ */ t("div", { ref: y, className: p(e, g), id: r, ...I, ...k, children: /* @__PURE__ */ n("div", { ref: b, children: [
99
+ /* @__PURE__ */ t(
100
+ "label",
101
+ {
102
+ htmlFor: `${r}-input`,
103
+ className: p(`${e}__label`, {
104
+ [`${e}__label--hidden`]: R
105
+ }),
106
+ "data-testid": `${r}-label`,
107
+ children: L
108
+ }
109
+ ),
110
+ /* @__PURE__ */ t(
111
+ w,
112
+ {
113
+ loop: !0,
114
+ onKeyDown: (o) => {
115
+ setTimeout(() => {
116
+ o.key === "Escape" && s(!1);
117
+ }, 0);
118
+ },
119
+ children: /* @__PURE__ */ n(D, { open: !0, children: [
120
+ /* @__PURE__ */ n("div", { className: `${e}__input-wrapper`, children: [
121
+ /* @__PURE__ */ t(E, { asChild: !0, children: /* @__PURE__ */ t(
122
+ F,
123
+ {
124
+ ref: $,
125
+ placeholder: x,
126
+ value: m,
127
+ onValueChange: (o) => {
128
+ i(o), s(!0);
129
+ },
130
+ onKeyDown: (o) => {
131
+ o.key === "Tab" && s(!1);
132
+ },
133
+ onFocus: () => {
134
+ s((o) => !o), i(m);
135
+ },
136
+ className: `${e}__input`,
137
+ tabIndex: 0,
138
+ "aria-label": f || `${r}-input`,
139
+ "data-testid": `${r}-input`
140
+ }
141
+ ) }),
142
+ m.length > 0 && /* @__PURE__ */ t(
143
+ "button",
144
+ {
145
+ className: `${e}__close-button`,
146
+ "data-testid": `${r}-item-close-button`,
147
+ onClick: () => i(""),
148
+ "aria-label": u || `${r}-clear`,
149
+ tabIndex: -1,
150
+ children: /* @__PURE__ */ t("div", { className: `${e}__icon`, children: /* @__PURE__ */ t(
151
+ B,
152
+ {
153
+ color: v("", "$primary-black"),
154
+ height: 18,
155
+ width: 18,
156
+ className: `${e}__icon-button`
157
+ }
158
+ ) })
159
+ }
160
+ ),
161
+ /* @__PURE__ */ t(
162
+ "button",
163
+ {
164
+ "aria-label": d || `${r}-dropdown`,
165
+ className: `${e}__dropdown-button`,
166
+ onClick: () => $.current?.focus(),
167
+ "data-testid": `${r}-dropdown`,
168
+ tabIndex: -1,
169
+ children: /* @__PURE__ */ t(
170
+ "div",
171
+ {
172
+ className: p(`${e}__icon`, {
173
+ [`${e}__icon--flipped`]: C
174
+ }),
175
+ children: /* @__PURE__ */ t(
176
+ S,
177
+ {
178
+ color: v("", "$pure-black"),
179
+ height: 18,
180
+ width: 18,
181
+ className: `${e}__icon-button`
182
+ }
183
+ )
184
+ }
185
+ )
186
+ }
187
+ )
188
+ ] }),
189
+ /* @__PURE__ */ t(T, { children: /* @__PURE__ */ t(
190
+ j,
191
+ {
192
+ className: `${e}__content`,
193
+ "aria-label": _ || `${r}-content`,
194
+ children: C && /* @__PURE__ */ t(K, { className: `${e}__list`, children: c.some(
195
+ (o) => o.value.toLowerCase().includes(m.toLowerCase()) || o.label && o.label.toLowerCase().includes(m.toLowerCase())
196
+ ) ? /* @__PURE__ */ t(G, { children: c.map(
197
+ (o, h) => (o.value.toLowerCase().includes(m.toLowerCase()) || o.label && o.label.toLowerCase().includes(m.toLowerCase())) && /* @__PURE__ */ t(
198
+ X,
199
+ {
200
+ className: `${e}__item`,
201
+ value: o.label ? `${o.label} ${o.value}` : o.value,
202
+ ref: (a) => P.current[o.value] = a,
203
+ onSelect: (a) => {
204
+ i(a), s(!1);
205
+ },
206
+ children: o.label ? `${o.label} ${o.value}` : o.value
207
+ },
208
+ `${o.value}-${h}`
209
+ )
210
+ ) }) : /* @__PURE__ */ t(w.Empty, { children: "No Options." }) })
211
+ }
212
+ ) })
213
+ ] })
214
+ }
215
+ )
216
+ ] }) });
217
+ });
218
+ J.displayName = "ComboBox";
219
+ export {
220
+ J as default
221
+ };
@@ -0,0 +1,18 @@
1
+ import { default as React } from 'react';
2
+ import { ComboBoxProps } from './ComboBox';
3
+ declare const meta: {
4
+ title: string;
5
+ component: React.ForwardRefExoticComponent<ComboBoxProps & React.RefAttributes<HTMLDivElement>>;
6
+ };
7
+ export default meta;
8
+ export declare const Playground: {
9
+ (props: ComboBoxProps): import("react/jsx-runtime").JSX.Element;
10
+ args: {
11
+ options: {
12
+ value: string;
13
+ }[];
14
+ id: string;
15
+ labelText: string;
16
+ };
17
+ argTypes: {};
18
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export { default as ComboBox, type ComboBoxProps } from './ComboBox';
@@ -0,0 +1,38 @@
1
+ import { default as React } from 'react';
2
+ export interface PhoneNumberPickerProps {
3
+ /**
4
+ * Unique id for the ComboBox.
5
+ */
6
+ id: string;
7
+ /**
8
+ * Optional className for custom styling.
9
+ */
10
+ className?: string;
11
+ /**
12
+ * Label for the ComboBox.
13
+ */
14
+ labelText: string;
15
+ /**
16
+ * Optional placeholder text for the input.
17
+ */
18
+ placeholder?: string;
19
+ /**
20
+ * Input value for the ComboBox.
21
+ */
22
+ inputValue: string;
23
+ /**
24
+ * Passed in function to handle input value changes.
25
+ */
26
+ setInputValue: (value: string) => void;
27
+ }
28
+ /**
29
+ * ## Overview
30
+ *
31
+ * Overview of PhoneNumberPicker component
32
+ *
33
+ * [Figma Link] https://www.figma.com/design/rIefa3bRPyZbZmtyV9PSQv/My-Account?node-id=1-3&p=f&m=dev
34
+ *
35
+ * [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-PhoneNumberPicker--overview)
36
+ */
37
+ declare const PhoneNumberPicker: React.ForwardRefExoticComponent<PhoneNumberPickerProps & React.RefAttributes<HTMLDivElement>>;
38
+ export default PhoneNumberPicker;
@@ -0,0 +1,14 @@
1
+ import { default as React } from 'react';
2
+ import { PhoneNumberPickerProps } from './PhoneNumberPicker';
3
+ declare const meta: {
4
+ title: string;
5
+ component: React.ForwardRefExoticComponent<PhoneNumberPickerProps & React.RefAttributes<HTMLDivElement>>;
6
+ };
7
+ export default meta;
8
+ export declare const Playground: {
9
+ ({ ...props }: PhoneNumberPickerProps): import("react/jsx-runtime").JSX.Element;
10
+ args: {
11
+ labelText: string;
12
+ id: string;
13
+ };
14
+ };
package/dist/index.d.ts CHANGED
@@ -28,7 +28,6 @@ export { default as Navigation, type NavigationProps } from './components/Naviga
28
28
  export { default as NavigationItem, type NavigationItemProps, } from './components/Navigation/NavigationItem/NavigationItem';
29
29
  export { default as NavigationItemTrigger, type NavigationItemTriggerProps, } from './components/Navigation/NavigationItemTrigger/NavigationItemTrigger';
30
30
  export { default as NavigationList, type NavigationListProps, } from './components/Navigation/NavigationList/NavigationList';
31
- export { default as PageContentWrapper } from './components/PageContentWrapper/PageContentWrapper';
32
31
  export { default as Pagination, type PaginationOption, type PaginationOptionValue, type PaginationProps, } from './components/Pagination/Pagination';
33
32
  export * from './components/PinchZoom';
34
33
  export { default as Row, type RowProps } from './components/Row/Row';
@@ -55,6 +54,15 @@ export { default as UserManagement, type UserManagementProps } from './patterns/
55
54
  export { default as StatefulViewingsList, type StatefulViewingsListProps, } from './patterns/ViewingsList/StatefulViewingsList';
56
55
  export { default as ViewingsList, type ViewingsListProps } from './patterns/ViewingsList/ViewingsList';
57
56
  export * from './providers/SeldonProvider/SeldonProvider';
57
+ export * from './components/Carousel';
58
+ export * from './components/ComboBox';
59
+ export * from './components/Detail';
60
+ export { default as PageContentWrapper } from './components/PageContentWrapper/PageContentWrapper';
61
+ export * from './components/PinchZoom';
62
+ export * from './components/SeldonImage';
63
+ export * from './components/Tabs';
64
+ export * from './patterns/DetailList';
65
+ export * from './patterns/SaleHeaderBanner';
58
66
  export { default as Footer, type FooterProps } from './site-furniture/Footer/Footer';
59
67
  export { default as Header, type HeaderProps } from './site-furniture/Header/Header';
60
68
  export * from './types/commonTypes';
@@ -66,6 +74,7 @@ export * from './components/FavoritingTileButton';
66
74
  export * from './components/Filter';
67
75
  export * from './components/Icon';
68
76
  export * from './components/TextArea';
77
+ export * from './components/AddToCalendar';
69
78
  export * from './patterns/AccountPageHeader';
70
79
  export * from './patterns/BidSnapshot';
71
80
  export * from './patterns/FilterMenu';
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { PaddingTokens as a, SpacingTokens as f, defaultYear as s, emailValidation as l, encodeURLSearchParams as d, findChildrenExcludingTypes as m, findChildrenOfType as p, focusElementById as u, generatePaddingClassName as i, getCommonProps as n, noOp as x, px as g, useNormalizedInputProps as c } from "./utils/index.js";
2
2
  import { default as C } from "./pages/Page.js";
3
- import { SSRMediaQuery as B, ssrMediaQueryStyle as L } from "./providers/SeldonProvider/utils.js";
4
- import { usePendingState as A } from "./utils/hooks.js";
5
- import { AuctionStatus as V, LotStatus as b, SupportedLanguages as h } from "./types/commonTypes.js";
3
+ import { SSRMediaQuery as B, ssrMediaQueryStyle as A } from "./providers/SeldonProvider/utils.js";
4
+ import { usePendingState as P } from "./utils/hooks.js";
5
+ import { AuctionStatus as b, LotStatus as V, SupportedLanguages as h } from "./types/commonTypes.js";
6
6
  import { default as w } from "./components/Button/Button.js";
7
7
  import { ButtonVariants as v } from "./components/Button/types.js";
8
8
  import { default as D } from "./components/IconButton/IconButton.js";
@@ -28,9 +28,9 @@ import { default as xe } from "./components/Drawer/Drawer.js";
28
28
  import { default as ce } from "./components/Dropdown/Dropdown.js";
29
29
  import { default as Ce } from "./components/ErrorBoundary/ErrorBoundary.js";
30
30
  import { Grid as Be } from "./components/Grid/Grid.js";
31
- import { default as Pe } from "./components/GridItem/GridItem.js";
31
+ import { default as Le } from "./components/GridItem/GridItem.js";
32
32
  import { GridItemAlign as Ie } from "./components/GridItem/types.js";
33
- import { default as be } from "./components/Input/Input.js";
33
+ import { default as Ve } from "./components/Input/Input.js";
34
34
  import { default as ke } from "./components/Link/Link.js";
35
35
  import { LinkVariants as ye } from "./components/Link/types.js";
36
36
  import { default as He } from "./components/LinkBlock/LinkBlock.js";
@@ -40,68 +40,71 @@ import { default as Ue } from "./components/Navigation/Navigation.js";
40
40
  import { default as Oe } from "./components/Navigation/NavigationItem/NavigationItem.js";
41
41
  import { default as Qe } from "./components/Navigation/NavigationItemTrigger/NavigationItemTrigger.js";
42
42
  import { default as ze } from "./components/Navigation/NavigationList/NavigationList.js";
43
- import { default as Ye } from "./components/PageContentWrapper/PageContentWrapper.js";
44
- import { default as qe } from "./components/Pagination/Pagination.js";
45
- import { default as Ke } from "./components/PinchZoom/PinchZoom.js";
46
- import { default as _e } from "./components/Row/Row.js";
47
- import { default as et } from "./components/Search/Search.js";
48
- import { default as ot } from "./components/SeldonImage/SeldonImage.js";
49
- import { default as at } from "./components/Select/Select.js";
50
- import { SelectVariants as st } from "./components/Select/types.js";
51
- import { default as dt } from "./components/SplitPanel/SplitPanel.js";
52
- import { default as pt } from "./components/Tabs/TabsContainer.js";
53
- import { default as it } from "./components/Tabs/TabsContent.js";
54
- import { Tag as xt, default as gt } from "./components/Tags/Tags.js";
55
- import { TextAlignments as St, TextVariants as Ct } from "./components/Text/types.js";
56
- import { default as Bt } from "./components/Text/Text.js";
57
- import { TextSymbolVariants as Pt } from "./components/TextSymbol/types.js";
58
- import { default as It } from "./components/TextSymbol/TextSymbol.js";
59
- import { default as bt } from "./components/Video/Video.js";
60
- import { default as kt } from "./patterns/DetailList/DetailList.js";
61
- import { DetailListAlignment as yt } from "./patterns/DetailList/types.js";
62
- import { default as Ht } from "./patterns/FavoritesCollectionTile/FavoritesCollectionTile.js";
63
- import { default as Ft } from "./patterns/HeroBanner/HeroBanner.js";
64
- import { default as Nt } from "./patterns/LanguageSelector/LanguageSelector.js";
65
- import { default as Ut } from "./patterns/SaleHeaderBanner/SaleHeaderBanner.js";
66
- import { default as Ot } from "./patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js";
67
- import { default as Qt } from "./patterns/Social/Social.js";
68
- import { default as zt } from "./patterns/Subscribe/Subscribe.js";
69
- import { SubscriptionState as Yt } from "./patterns/Subscribe/types.js";
70
- import { AuthState as qt } from "./patterns/UserManagement/types.js";
71
- import { default as Kt } from "./patterns/UserManagement/UserManagement.js";
72
- import { default as _t } from "./patterns/ViewingsList/StatefulViewingsList.js";
73
- import { default as eo } from "./patterns/ViewingsList/ViewingsList.js";
74
- import { SeldonProvider as oo } from "./providers/SeldonProvider/SeldonProvider.js";
75
- import { default as ao } from "./site-furniture/Footer/Footer.js";
76
- import { default as so } from "./site-furniture/Header/Header.js";
77
- import { default as mo } from "./components/Article/Article.js";
78
- import { default as uo } from "./components/Countdown/Countdown.js";
79
- import { CountdownVariants as no } from "./components/Countdown/types.js";
80
- import { default as go } from "./components/Divider/Divider.js";
81
- import { default as So } from "./components/FavoritingTileButton/FavoritingTileButton.js";
82
- import { default as To } from "./components/Filter/Filter.js";
83
- import { default as Lo } from "./components/Filter/FilterInput.js";
84
- import { default as Ao } from "./components/Filter/FilterHeader.js";
85
- import { default as Vo } from "./components/TextArea/TextArea.js";
86
- import { default as ho } from "./patterns/AccountPageHeader/AccountPageHeader.js";
87
- import { default as wo } from "./patterns/BidSnapshot/BidSnapshot.js";
88
- import { default as vo } from "./patterns/BidSnapshot/BidMessage.js";
89
- import { BidMessageVariants as Do, BidStatusEnum as Fo } from "./patterns/BidSnapshot/types.js";
90
- import { default as No } from "./patterns/FilterMenu/FilterMenu.js";
91
- import { default as Uo } from "./patterns/ObjectTile/ObjectTile.js";
43
+ import { default as Ye } from "./components/Pagination/Pagination.js";
44
+ import { default as qe } from "./components/PinchZoom/PinchZoom.js";
45
+ import { default as Ke } from "./components/Row/Row.js";
46
+ import { default as _e } from "./components/Search/Search.js";
47
+ import { default as et } from "./components/SeldonImage/SeldonImage.js";
48
+ import { default as ot } from "./components/Select/Select.js";
49
+ import { SelectVariants as at } from "./components/Select/types.js";
50
+ import { default as st } from "./components/SplitPanel/SplitPanel.js";
51
+ import { default as dt } from "./components/Tabs/TabsContainer.js";
52
+ import { default as pt } from "./components/Tabs/TabsContent.js";
53
+ import { Tag as it, default as nt } from "./components/Tags/Tags.js";
54
+ import { TextAlignments as gt, TextVariants as ct } from "./components/Text/types.js";
55
+ import { default as Ct } from "./components/Text/Text.js";
56
+ import { TextSymbolVariants as Bt } from "./components/TextSymbol/types.js";
57
+ import { default as Lt } from "./components/TextSymbol/TextSymbol.js";
58
+ import { default as It } from "./components/Video/Video.js";
59
+ import { default as Vt } from "./patterns/DetailList/DetailList.js";
60
+ import { DetailListAlignment as kt } from "./patterns/DetailList/types.js";
61
+ import { default as yt } from "./patterns/FavoritesCollectionTile/FavoritesCollectionTile.js";
62
+ import { default as Ht } from "./patterns/HeroBanner/HeroBanner.js";
63
+ import { default as Ft } from "./patterns/LanguageSelector/LanguageSelector.js";
64
+ import { default as Nt } from "./patterns/SaleHeaderBanner/SaleHeaderBanner.js";
65
+ import { default as Ut } from "./patterns/SaleHeaderBanner/SaleHeaderBrowseAuctions.js";
66
+ import { default as Ot } from "./patterns/Social/Social.js";
67
+ import { default as Qt } from "./patterns/Subscribe/Subscribe.js";
68
+ import { SubscriptionState as zt } from "./patterns/Subscribe/types.js";
69
+ import { AuthState as Yt } from "./patterns/UserManagement/types.js";
70
+ import { default as qt } from "./patterns/UserManagement/UserManagement.js";
71
+ import { default as Kt } from "./patterns/ViewingsList/StatefulViewingsList.js";
72
+ import { default as _t } from "./patterns/ViewingsList/ViewingsList.js";
73
+ import { SeldonProvider as eo } from "./providers/SeldonProvider/SeldonProvider.js";
74
+ import { default as oo } from "./components/ComboBox/ComboBox.js";
75
+ import { default as ao } from "./components/PageContentWrapper/PageContentWrapper.js";
76
+ import { default as so } from "./site-furniture/Footer/Footer.js";
77
+ import { default as mo } from "./site-furniture/Header/Header.js";
78
+ import { default as uo } from "./components/Article/Article.js";
79
+ import { default as no } from "./components/Countdown/Countdown.js";
80
+ import { CountdownVariants as go } from "./components/Countdown/types.js";
81
+ import { default as So } from "./components/Divider/Divider.js";
82
+ import { default as To } from "./components/FavoritingTileButton/FavoritingTileButton.js";
83
+ import { default as Ao } from "./components/Filter/Filter.js";
84
+ import { default as Po } from "./components/Filter/FilterInput.js";
85
+ import { default as bo } from "./components/Filter/FilterHeader.js";
86
+ import { default as ho } from "./components/TextArea/TextArea.js";
87
+ import { default as wo } from "./components/AddToCalendar/AddToCalendar.js";
88
+ import { default as vo } from "./patterns/AccountPageHeader/AccountPageHeader.js";
89
+ import { default as Do } from "./patterns/BidSnapshot/BidSnapshot.js";
90
+ import { default as Mo } from "./patterns/BidSnapshot/BidMessage.js";
91
+ import { BidMessageVariants as Eo, BidStatusEnum as Uo } from "./patterns/BidSnapshot/types.js";
92
+ import { default as Oo } from "./patterns/FilterMenu/FilterMenu.js";
93
+ import { default as Qo } from "./patterns/ObjectTile/ObjectTile.js";
92
94
  export {
93
95
  M as Accordion,
94
96
  E as AccordionItem,
95
97
  G as AccordionItemVariant,
96
98
  O as AccordionVariants,
97
- ho as AccountPageHeader,
98
- mo as Article,
99
- V as AuctionStatus,
100
- qt as AuthState,
101
- vo as BidMessage,
102
- Do as BidMessageVariants,
103
- wo as BidSnapshot,
104
- Fo as BidStatusEnum,
99
+ vo as AccountPageHeader,
100
+ wo as AddToCalendar,
101
+ uo as Article,
102
+ b as AuctionStatus,
103
+ Yt as AuthState,
104
+ Mo as BidMessage,
105
+ Eo as BidMessageVariants,
106
+ Do as BidSnapshot,
107
+ Uo as BidStatusEnum,
105
108
  Q as Breadcrumb,
106
109
  w as Button,
107
110
  v as ButtonVariants,
@@ -113,78 +116,79 @@ export {
113
116
  oe as Collapsible,
114
117
  ae as CollapsibleContent,
115
118
  se as CollapsibleTrigger,
119
+ oo as ComboBox,
116
120
  de as ContentPeek,
117
121
  pe as ContentPeekHeightUnits,
118
- uo as Countdown,
119
- no as CountdownVariants,
122
+ no as Countdown,
123
+ go as CountdownVariants,
120
124
  ie as Detail,
121
- kt as DetailList,
122
- yt as DetailListAlignment,
123
- go as Divider,
125
+ Vt as DetailList,
126
+ kt as DetailListAlignment,
127
+ So as Divider,
124
128
  xe as Drawer,
125
129
  ce as Dropdown,
126
130
  Ce as ErrorBoundary,
127
- Ht as FavoritesCollectionTile,
128
- So as FavoritingTileButton,
129
- To as Filter,
130
- Ao as FilterHeader,
131
- Lo as FilterInput,
132
- No as FilterMenu,
133
- ao as Footer,
131
+ yt as FavoritesCollectionTile,
132
+ To as FavoritingTileButton,
133
+ Ao as Filter,
134
+ bo as FilterHeader,
135
+ Po as FilterInput,
136
+ Oo as FilterMenu,
137
+ so as Footer,
134
138
  Be as Grid,
135
- Pe as GridItem,
139
+ Le as GridItem,
136
140
  Ie as GridItemAlign,
137
- so as Header,
138
- Ft as HeroBanner,
141
+ mo as Header,
142
+ Ht as HeroBanner,
139
143
  z as Icon,
140
144
  D as IconButton,
141
- be as Input,
142
- Nt as LanguageSelector,
145
+ Ve as Input,
146
+ Ft as LanguageSelector,
143
147
  ke as Link,
144
148
  He as LinkBlock,
145
149
  Fe as LinkList,
146
150
  ye as LinkVariants,
147
- b as LotStatus,
151
+ V as LotStatus,
148
152
  Ne as Modal,
149
153
  Ue as Navigation,
150
154
  Oe as NavigationItem,
151
155
  Qe as NavigationItemTrigger,
152
156
  ze as NavigationList,
153
- Uo as ObjectTile,
157
+ Qo as ObjectTile,
154
158
  a as PaddingTokens,
155
159
  C as Page,
156
- Ye as PageContentWrapper,
157
- qe as Pagination,
158
- Ke as PinchZoom,
159
- _e as Row,
160
+ ao as PageContentWrapper,
161
+ Ye as Pagination,
162
+ qe as PinchZoom,
163
+ Ke as Row,
160
164
  B as SSRMediaQuery,
161
- Ut as SaleHeaderBanner,
162
- Ot as SaleHeaderBrowseAuctions,
163
- et as Search,
164
- ot as SeldonImage,
165
- oo as SeldonProvider,
166
- at as Select,
167
- st as SelectVariants,
168
- Qt as Social,
165
+ Nt as SaleHeaderBanner,
166
+ Ut as SaleHeaderBrowseAuctions,
167
+ _e as Search,
168
+ et as SeldonImage,
169
+ eo as SeldonProvider,
170
+ ot as Select,
171
+ at as SelectVariants,
172
+ Ot as Social,
169
173
  f as SpacingTokens,
170
- dt as SplitPanel,
171
- _t as StatefulViewingsList,
172
- zt as Subscribe,
173
- Yt as SubscriptionState,
174
+ st as SplitPanel,
175
+ Kt as StatefulViewingsList,
176
+ Qt as Subscribe,
177
+ zt as SubscriptionState,
174
178
  h as SupportedLanguages,
175
- pt as TabsContainer,
176
- it as TabsContent,
177
- xt as Tag,
178
- gt as TagsList,
179
- Bt as Text,
180
- St as TextAlignments,
181
- Vo as TextArea,
182
- Pt as TextSymbolVariants,
183
- It as TextSymbols,
184
- Ct as TextVariants,
185
- Kt as UserManagement,
186
- bt as Video,
187
- eo as ViewingsList,
179
+ dt as TabsContainer,
180
+ pt as TabsContent,
181
+ it as Tag,
182
+ nt as TagsList,
183
+ Ct as Text,
184
+ gt as TextAlignments,
185
+ ho as TextArea,
186
+ Bt as TextSymbolVariants,
187
+ Lt as TextSymbols,
188
+ ct as TextVariants,
189
+ qt as UserManagement,
190
+ It as Video,
191
+ _t as ViewingsList,
188
192
  s as defaultYear,
189
193
  l as emailValidation,
190
194
  d as encodeURLSearchParams,
@@ -195,7 +199,7 @@ export {
195
199
  n as getCommonProps,
196
200
  x as noOp,
197
201
  g as px,
198
- L as ssrMediaQueryStyle,
202
+ A as ssrMediaQueryStyle,
199
203
  c as useNormalizedInputProps,
200
- A as usePendingState
204
+ P as usePendingState
201
205
  };