@stokelp/ui 4.0.3 → 4.1.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/dist/components/alert/Alert.cjs +1 -1
- package/dist/components/alert/Alert.cjs.map +1 -1
- package/dist/components/alert/Alert.js +57 -53
- package/dist/components/alert/Alert.js.map +1 -1
- package/dist/components/combobox/Combobox.cjs +2 -2
- package/dist/components/combobox/Combobox.cjs.map +1 -1
- package/dist/components/combobox/Combobox.js +17 -17
- package/dist/components/date-picker/DatePicker.cjs +1 -1
- package/dist/components/date-picker/DatePicker.cjs.map +1 -1
- package/dist/components/date-picker/DatePicker.js +68 -53
- package/dist/components/date-picker/DatePicker.js.map +1 -1
- package/dist/components/dialog/styled.cjs +1 -1
- package/dist/components/dialog/styled.cjs.map +1 -1
- package/dist/components/dialog/styled.js +58 -54
- package/dist/components/dialog/styled.js.map +1 -1
- package/dist/components/drawer/Drawer.cjs +1 -1
- package/dist/components/drawer/Drawer.cjs.map +1 -1
- package/dist/components/drawer/Drawer.js +46 -42
- package/dist/components/drawer/Drawer.js.map +1 -1
- package/dist/components/pagination/Pagination.cjs +1 -1
- package/dist/components/pagination/Pagination.cjs.map +1 -1
- package/dist/components/pagination/Pagination.js +37 -36
- package/dist/components/pagination/Pagination.js.map +1 -1
- package/dist/components/select/Select.cjs +1 -1
- package/dist/components/select/Select.cjs.map +1 -1
- package/dist/components/select/Select.js +15 -15
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.cjs +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.cjs.map +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBadge.js +4 -4
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.cjs +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.cjs.map +1 -1
- package/dist/components/supplier-rating-badge/SupplierRatingBreakdown.js +33 -33
- package/dist/components/ui-labels/UiLabelsProvider.cjs +1 -1
- package/dist/components/ui-labels/UiLabelsProvider.cjs.map +1 -1
- package/dist/components/ui-labels/UiLabelsProvider.d.ts +34 -2
- package/dist/components/ui-labels/UiLabelsProvider.js +32 -7
- package/dist/components/ui-labels/UiLabelsProvider.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +69 -69
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { DEFAULT_SUPPLIER_RATING_LABELS as e, mergeSupplierRatingLabels as t } from "./labels.js";
|
|
3
|
+
import { useUiLabels as n } from "../ui-labels/UiLabelsProvider.js";
|
|
4
|
+
import { Text as r } from "../text/Text.js";
|
|
5
5
|
import { Icon as i } from "../icon/Icon.js";
|
|
6
6
|
import a from "../../node_modules/@heroicons/react/24/outline/esm/CheckCircleIcon.js";
|
|
7
7
|
import o from "../../node_modules/@heroicons/react/24/outline/esm/XCircleIcon.js";
|
|
@@ -36,8 +36,8 @@ function _(e) {
|
|
|
36
36
|
function v(e) {
|
|
37
37
|
return e >= 70 ? "#639922" : e >= 40 ? "#BA7517" : "#E24B4A";
|
|
38
38
|
}
|
|
39
|
-
var y = ({ rating:
|
|
40
|
-
let b =
|
|
39
|
+
var y = ({ rating: e, responseRate: p, labels: y }) => {
|
|
40
|
+
let b = n(), x = t(b.supplierRating, y), S = p != null, C = e.responseDelayMinutes != null, w = e.responseDelayScore == null ? null : Math.round(e.responseDelayScore * 100), T = Math.round(e.completionScore * 100), E = [
|
|
41
41
|
{
|
|
42
42
|
key: "responseRate",
|
|
43
43
|
value: S ? `${Math.round(p)} %` : x.notAvailable,
|
|
@@ -46,7 +46,7 @@ var y = ({ rating: t, responseRate: p, labels: y }) => {
|
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
key: "responseDelay",
|
|
49
|
-
value: C ? g(
|
|
49
|
+
value: C ? g(e.responseDelayMinutes, x.units, b.locale) : x.notAvailable,
|
|
50
50
|
barPercent: w,
|
|
51
51
|
color: w == null ? void 0 : v(w)
|
|
52
52
|
},
|
|
@@ -69,24 +69,24 @@ var y = ({ rating: t, responseRate: p, labels: y }) => {
|
|
|
69
69
|
justify: "space-between",
|
|
70
70
|
alignItems: "baseline",
|
|
71
71
|
mb: "space-8",
|
|
72
|
-
children: [/* @__PURE__ */ d(
|
|
72
|
+
children: [/* @__PURE__ */ d(r, {
|
|
73
73
|
as: "span",
|
|
74
74
|
fontSize: "body.md",
|
|
75
75
|
fontWeight: "bold",
|
|
76
76
|
children: x.title
|
|
77
|
-
}),
|
|
77
|
+
}), e.insufficientData || e.overall == null ? /* @__PURE__ */ d(r, {
|
|
78
78
|
as: "span",
|
|
79
79
|
fontSize: "body.sm",
|
|
80
80
|
fontWeight: "medium",
|
|
81
81
|
color: "grey.400",
|
|
82
82
|
children: x.insufficientData
|
|
83
|
-
}) : /* @__PURE__ */ f(
|
|
83
|
+
}) : /* @__PURE__ */ f(r, {
|
|
84
84
|
as: "span",
|
|
85
85
|
fontSize: "body.lg",
|
|
86
86
|
fontWeight: "medium",
|
|
87
|
-
style: { color: _(
|
|
87
|
+
style: { color: _(e.overall) },
|
|
88
88
|
children: [
|
|
89
|
-
h(
|
|
89
|
+
h(e.overall, b.locale),
|
|
90
90
|
" / ",
|
|
91
91
|
5,
|
|
92
92
|
" ★"
|
|
@@ -102,32 +102,32 @@ var y = ({ rating: t, responseRate: p, labels: y }) => {
|
|
|
102
102
|
alignItems: "stretch",
|
|
103
103
|
gap: "space-8",
|
|
104
104
|
mb: "space-8",
|
|
105
|
-
children: [/* @__PURE__ */ d(
|
|
105
|
+
children: [/* @__PURE__ */ d(r, {
|
|
106
106
|
as: "span",
|
|
107
107
|
fontSize: "body.sm",
|
|
108
108
|
fontWeight: "bold",
|
|
109
109
|
color: "grey.400",
|
|
110
110
|
children: x.componentsTitle
|
|
111
|
-
}), E.map((
|
|
111
|
+
}), E.map((e) => /* @__PURE__ */ f(l, {
|
|
112
112
|
alignItems: "stretch",
|
|
113
113
|
gap: "space-2",
|
|
114
114
|
children: [/* @__PURE__ */ f(c, {
|
|
115
115
|
justify: "space-between",
|
|
116
116
|
alignItems: "baseline",
|
|
117
117
|
gap: "space-8",
|
|
118
|
-
children: [/* @__PURE__ */ d(
|
|
118
|
+
children: [/* @__PURE__ */ d(r, {
|
|
119
119
|
as: "span",
|
|
120
120
|
fontSize: "body.sm",
|
|
121
121
|
color: "grey.500",
|
|
122
|
-
children: x.components[
|
|
123
|
-
}), /* @__PURE__ */ d(
|
|
122
|
+
children: x.components[e.key]
|
|
123
|
+
}), /* @__PURE__ */ d(r, {
|
|
124
124
|
as: "span",
|
|
125
125
|
fontSize: "body.sm",
|
|
126
126
|
fontWeight: "medium",
|
|
127
127
|
whiteSpace: "nowrap",
|
|
128
|
-
style: { color:
|
|
129
|
-
color:
|
|
130
|
-
children:
|
|
128
|
+
style: { color: e.color },
|
|
129
|
+
color: e.color ? void 0 : "grey.300",
|
|
130
|
+
children: e.value
|
|
131
131
|
})]
|
|
132
132
|
}), /* @__PURE__ */ d(s, {
|
|
133
133
|
h: "3px",
|
|
@@ -138,12 +138,12 @@ var y = ({ rating: t, responseRate: p, labels: y }) => {
|
|
|
138
138
|
h: "100%",
|
|
139
139
|
borderRadius: "full",
|
|
140
140
|
style: {
|
|
141
|
-
width:
|
|
142
|
-
background:
|
|
141
|
+
width: e.barPercent == null ? "0%" : `${e.barPercent}%`,
|
|
142
|
+
background: e.color ?? "transparent"
|
|
143
143
|
}
|
|
144
144
|
})
|
|
145
145
|
})]
|
|
146
|
-
},
|
|
146
|
+
}, e.key))]
|
|
147
147
|
}),
|
|
148
148
|
/* @__PURE__ */ d(s, {
|
|
149
149
|
h: "1px",
|
|
@@ -153,29 +153,29 @@ var y = ({ rating: t, responseRate: p, labels: y }) => {
|
|
|
153
153
|
/* @__PURE__ */ f(l, {
|
|
154
154
|
alignItems: "stretch",
|
|
155
155
|
gap: "space-4",
|
|
156
|
-
children: [/* @__PURE__ */ d(
|
|
156
|
+
children: [/* @__PURE__ */ d(r, {
|
|
157
157
|
as: "span",
|
|
158
158
|
fontSize: "body.sm",
|
|
159
159
|
fontWeight: "bold",
|
|
160
160
|
color: "grey.400",
|
|
161
161
|
children: x.completionTitle
|
|
162
|
-
}), m.map((
|
|
163
|
-
let
|
|
162
|
+
}), m.map((t) => {
|
|
163
|
+
let n = e.completion[t];
|
|
164
164
|
return /* @__PURE__ */ f(c, {
|
|
165
165
|
alignItems: "center",
|
|
166
166
|
gap: "space-8",
|
|
167
167
|
children: [/* @__PURE__ */ d(i, {
|
|
168
168
|
size: "sm",
|
|
169
|
-
color:
|
|
169
|
+
color: n ? "success.500" : "grey.300",
|
|
170
170
|
flexShrink: "0",
|
|
171
|
-
children: d(
|
|
172
|
-
}), /* @__PURE__ */ d(
|
|
171
|
+
children: d(n ? a : o, {})
|
|
172
|
+
}), /* @__PURE__ */ d(r, {
|
|
173
173
|
as: "span",
|
|
174
174
|
fontSize: "body.sm",
|
|
175
|
-
color:
|
|
176
|
-
children: x.completion[
|
|
175
|
+
color: n ? "grey.500" : "grey.400",
|
|
176
|
+
children: x.completion[t]
|
|
177
177
|
})]
|
|
178
|
-
},
|
|
178
|
+
}, t);
|
|
179
179
|
})]
|
|
180
180
|
}),
|
|
181
181
|
x.footer && /* @__PURE__ */ f(u, { children: [/* @__PURE__ */ d(s, {
|
|
@@ -183,7 +183,7 @@ var y = ({ rating: t, responseRate: p, labels: y }) => {
|
|
|
183
183
|
bg: "grey.100",
|
|
184
184
|
mt: "space-8",
|
|
185
185
|
mb: "space-8"
|
|
186
|
-
}), /* @__PURE__ */ d(
|
|
186
|
+
}), /* @__PURE__ */ d(r, {
|
|
187
187
|
as: "span",
|
|
188
188
|
fontSize: "9px",
|
|
189
189
|
color: "grey.300",
|
|
@@ -193,6 +193,6 @@ var y = ({ rating: t, responseRate: p, labels: y }) => {
|
|
|
193
193
|
]
|
|
194
194
|
});
|
|
195
195
|
};
|
|
196
|
-
export {
|
|
196
|
+
export { e as DEFAULT_SUPPLIER_RATING_LABELS, p as SUPPLIER_RATING_MAX, y as SupplierRatingBreakdown, h as formatOverall, g as formatResponseDelay, _ as getHeadlineColor, t as mergeSupplierRatingLabels };
|
|
197
197
|
|
|
198
198
|
//# sourceMappingURL=SupplierRatingBreakdown.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require("../supplier-rating-badge/labels.cjs");let t=require("react"),n=require("react/jsx-runtime");var r={locale:`fr-FR`,noResults:`Aucun résultat`,loading:`Chargement...`,supplierRating:e.DEFAULT_SUPPLIER_RATING_LABELS},
|
|
1
|
+
"use client";const e=require("../supplier-rating-badge/labels.cjs");let t=require("react"),n=require("react/jsx-runtime");var r={openCalendar:`Ouvrir le calendrier`,closeCalendar:`Fermer le calendrier`,calendar:`Calendrier`,previousMonth:`Mois précédent`,nextMonth:`Mois suivant`,previousYear:`Année précédente`,nextYear:`Année suivante`,previousDecade:`Décennie précédente`,nextDecade:`Décennie suivante`,selectMonth:`Choisir le mois`,selectYear:`Choisir l'année`,clear:`Effacer la date`,chooseDate:e=>`Choisir le ${e}`,selectedDate:e=>`Date sélectionnée : ${e}`,unavailableDate:e=>`Indisponible : ${e}`},i={locale:`fr-FR`,noResults:`Aucun résultat`,loading:`Chargement...`,close:`Fermer`,dismiss:`Masquer`,previousPage:`Page précédente`,nextPage:`Page suivante`,datePicker:r,supplierRating:e.DEFAULT_SUPPLIER_RATING_LABELS},a=(0,t.createContext)(i),o=({labels:r,children:o})=>{let s=(0,t.useMemo)(()=>({...i,...r,datePicker:{...i.datePicker,...r.datePicker},supplierRating:e.mergeSupplierRatingLabels(i.supplierRating,r.supplierRating)}),[r]);return(0,n.jsx)(a.Provider,{value:s,children:o})};function s(){return(0,t.useContext)(a)}exports.DEFAULT_DATE_PICKER_LABELS=r,exports.DEFAULT_UI_LABELS=i,exports.UiLabelsProvider=o,exports.useUiLabels=s;
|
|
2
2
|
//# sourceMappingURL=UiLabelsProvider.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiLabelsProvider.cjs","names":["DEFAULT_SUPPLIER_RATING_LABELS","createContext","useMemo","mergeSupplierRatingLabels","useContext","require_labels","react","react_jsx_runtime","DEFAULT_UI_LABELS","UiLabelsContext","UiLabelsProvider","value","labels","useUiLabels"],"sources":["../../../src/components/ui-labels/UiLabelsProvider.tsx"],"sourcesContent":["import { createContext, type FC, type ReactNode, useContext, useMemo } from 'react'\n\nimport {\n DEFAULT_SUPPLIER_RATING_LABELS,\n mergeSupplierRatingLabels,\n type SupplierRatingLabels,\n} from '../supplier-rating-badge/labels'\n\n/**\n * The words and number format the kit renders on its own (empty lists, loading states, the\n * supplier rating). The kit carries no translations: an app wraps its tree once in\n * UiLabelsProvider with its own, in the reader's locale. Without a provider the kit reads French,\n * as it always has.\n */\nexport type UiLabels = {\n /** BCP 47 tag the kit formats numbers with (the supplier rating's note). */\n locale: string\n /** Shown by Select and Combobox when there is nothing to pick. */\n noResults: string\n /** Shown by Combobox while its items load. */\n loading: string\n supplierRating: SupplierRatingLabels\n}\n\nexport type UiLabelsInput = Partial<Omit<UiLabels, 'supplierRating'>> & {\n supplierRating?: Partial<SupplierRatingLabels>\n}\n\nexport const DEFAULT_UI_LABELS: UiLabels = {\n locale: 'fr-FR',\n noResults: 'Aucun résultat',\n loading: 'Chargement...',\n supplierRating: DEFAULT_SUPPLIER_RATING_LABELS,\n}\n\nconst UiLabelsContext = createContext<UiLabels>(DEFAULT_UI_LABELS)\n\nexport const UiLabelsProvider: FC<{ labels: UiLabelsInput; children: ReactNode }> = ({ labels, children }) => {\n const value = useMemo<UiLabels>(\n () => ({\n ...DEFAULT_UI_LABELS,\n ...labels,\n supplierRating: mergeSupplierRatingLabels(DEFAULT_UI_LABELS.supplierRating, labels.supplierRating),\n }),\n [labels],\n )\n return <UiLabelsContext.Provider value={value}>{children}</UiLabelsContext.Provider>\n}\n\n/** The labels of the nearest UiLabelsProvider, or the French defaults. */\nexport function useUiLabels(): UiLabels {\n return useContext(UiLabelsContext)\n}\n"],"mappings":"A,
|
|
1
|
+
{"version":3,"file":"UiLabelsProvider.cjs","names":["DEFAULT_SUPPLIER_RATING_LABELS","createContext","useMemo","mergeSupplierRatingLabels","useContext","require_labels","react","react_jsx_runtime","DEFAULT_DATE_PICKER_LABELS","date","DEFAULT_UI_LABELS","UiLabelsContext","UiLabelsProvider","value","labels","useUiLabels"],"sources":["../../../src/components/ui-labels/UiLabelsProvider.tsx"],"sourcesContent":["import { createContext, type FC, type ReactNode, useContext, useMemo } from 'react'\n\nimport {\n DEFAULT_SUPPLIER_RATING_LABELS,\n mergeSupplierRatingLabels,\n type SupplierRatingLabels,\n} from '../supplier-rating-badge/labels'\n\n/**\n * The words and number format the kit renders on its own (empty lists, loading states, the\n * supplier rating, the accessible names of its icon buttons and of the date picker). The kit carries no translations: an app wraps its tree once in\n * UiLabelsProvider with its own, in the reader's locale. Without a provider the kit reads French,\n * as it always has.\n */\nexport type UiLabels = {\n /** BCP 47 tag the kit formats numbers with (the supplier rating's note). */\n locale: string\n /** Shown by Select and Combobox when there is nothing to pick. */\n noResults: string\n /** Shown by Combobox while its items load. */\n loading: string\n /** Accessible name of the close button of DrawerHeader and DialogHeader. */\n close: string\n /** Accessible name of the dismiss button of Alert. */\n dismiss: string\n /** Accessible names of Pagination's arrows. */\n previousPage: string\n nextPage: string\n datePicker: DatePickerLabels\n supplierRating: SupplierRatingLabels\n}\n\n/**\n * What a screen reader hears on DatePicker. The date in the templated ones is already written in\n * `locale` by the picker.\n */\nexport type DatePickerLabels = {\n openCalendar: string\n closeCalendar: string\n calendar: string\n previousMonth: string\n nextMonth: string\n previousYear: string\n nextYear: string\n previousDecade: string\n nextDecade: string\n selectMonth: string\n selectYear: string\n clear: string\n chooseDate: (date: string) => string\n selectedDate: (date: string) => string\n /** A day that cannot be picked: unavailable, or out of min and max. */\n unavailableDate: (date: string) => string\n}\n\nexport type UiLabelsInput = Partial<Omit<UiLabels, 'supplierRating' | 'datePicker'>> & {\n datePicker?: Partial<DatePickerLabels>\n supplierRating?: Partial<SupplierRatingLabels>\n}\n\nexport const DEFAULT_DATE_PICKER_LABELS: DatePickerLabels = {\n openCalendar: 'Ouvrir le calendrier',\n closeCalendar: 'Fermer le calendrier',\n calendar: 'Calendrier',\n previousMonth: 'Mois précédent',\n nextMonth: 'Mois suivant',\n previousYear: 'Année précédente',\n nextYear: 'Année suivante',\n previousDecade: 'Décennie précédente',\n nextDecade: 'Décennie suivante',\n selectMonth: 'Choisir le mois',\n selectYear: \"Choisir l'année\",\n clear: 'Effacer la date',\n chooseDate: date => `Choisir le ${date}`,\n selectedDate: date => `Date sélectionnée : ${date}`,\n unavailableDate: date => `Indisponible : ${date}`,\n}\n\nexport const DEFAULT_UI_LABELS: UiLabels = {\n locale: 'fr-FR',\n noResults: 'Aucun résultat',\n loading: 'Chargement...',\n close: 'Fermer',\n dismiss: 'Masquer',\n previousPage: 'Page précédente',\n nextPage: 'Page suivante',\n datePicker: DEFAULT_DATE_PICKER_LABELS,\n supplierRating: DEFAULT_SUPPLIER_RATING_LABELS,\n}\n\nconst UiLabelsContext = createContext<UiLabels>(DEFAULT_UI_LABELS)\n\nexport const UiLabelsProvider: FC<{ labels: UiLabelsInput; children: ReactNode }> = ({ labels, children }) => {\n const value = useMemo<UiLabels>(\n () => ({\n ...DEFAULT_UI_LABELS,\n ...labels,\n datePicker: { ...DEFAULT_UI_LABELS.datePicker, ...labels.datePicker },\n supplierRating: mergeSupplierRatingLabels(DEFAULT_UI_LABELS.supplierRating, labels.supplierRating),\n }),\n [labels],\n )\n return <UiLabelsContext.Provider value={value}>{children}</UiLabelsContext.Provider>\n}\n\n/** The labels of the nearest UiLabelsProvider, or the French defaults. */\nexport function useUiLabels(): UiLabels {\n return useContext(UiLabelsContext)\n}\n"],"mappings":"A,0HA4DA,IAAaQ,EAA+C,CAC1D,aAAc,uBACd,cAAe,uBACf,SAAU,aACV,cAAe,iBACf,UAAW,eACX,aAAc,mBACd,SAAU,iBACV,eAAgB,sBAChB,WAAY,oBACZ,YAAa,kBACb,WAAY,kBACZ,MAAO,kBACP,WAAY,GAAQ,cAAcC,IAClC,aAAc,GAAQ,uBAAuBA,IAC7C,gBAAiB,GAAQ,kBAAkBA,GAC7C,EAEaC,EAA8B,CACzC,OAAQ,QACR,UAAW,iBACX,QAAS,gBACT,MAAO,SACP,QAAS,UACT,aAAc,kBACd,SAAU,gBACV,WAAYF,EACZ,eAAgBR,EAAAA,8BAClB,EAEMW,GAAA,EAAkBV,EAAAA,cAAAA,CAAwBS,CAAiB,EAEpDE,GAAwE,CAAE,SAAQ,cAAe,CAC5G,IAAMC,GAAA,EAAQX,EAAAA,QAAAA,MACL,CACL,GAAGQ,EACH,GAAGI,EACH,WAAY,CAAE,GAAGJ,EAAkB,WAAY,GAAGI,EAAO,UAAW,EACpE,eAAgBX,EAAAA,0BAA0BO,EAAkB,eAAgBI,EAAO,cAAc,CACnG,GACA,CAACA,CAAM,CACT,EACA,OAAO,EAAAP,EAAA,IAAA,CAACI,EAAgB,SAAjB,CAAiC,QAAQ,UAAmC,CAAA,CACrF,EAGA,SAAgBI,GAAwB,CACtC,OAAA,EAAOX,EAAAA,WAAAA,CAAWO,CAAe,CACnC,C"}
|
|
@@ -2,7 +2,7 @@ import { FC, ReactNode } from 'react';
|
|
|
2
2
|
import { SupplierRatingLabels } from '../supplier-rating-badge/labels';
|
|
3
3
|
/**
|
|
4
4
|
* The words and number format the kit renders on its own (empty lists, loading states, the
|
|
5
|
-
* supplier rating). The kit carries no translations: an app wraps its tree once in
|
|
5
|
+
* supplier rating, the accessible names of its icon buttons and of the date picker). The kit carries no translations: an app wraps its tree once in
|
|
6
6
|
* UiLabelsProvider with its own, in the reader's locale. Without a provider the kit reads French,
|
|
7
7
|
* as it always has.
|
|
8
8
|
*/
|
|
@@ -13,11 +13,43 @@ export type UiLabels = {
|
|
|
13
13
|
noResults: string;
|
|
14
14
|
/** Shown by Combobox while its items load. */
|
|
15
15
|
loading: string;
|
|
16
|
+
/** Accessible name of the close button of DrawerHeader and DialogHeader. */
|
|
17
|
+
close: string;
|
|
18
|
+
/** Accessible name of the dismiss button of Alert. */
|
|
19
|
+
dismiss: string;
|
|
20
|
+
/** Accessible names of Pagination's arrows. */
|
|
21
|
+
previousPage: string;
|
|
22
|
+
nextPage: string;
|
|
23
|
+
datePicker: DatePickerLabels;
|
|
16
24
|
supplierRating: SupplierRatingLabels;
|
|
17
25
|
};
|
|
18
|
-
|
|
26
|
+
/**
|
|
27
|
+
* What a screen reader hears on DatePicker. The date in the templated ones is already written in
|
|
28
|
+
* `locale` by the picker.
|
|
29
|
+
*/
|
|
30
|
+
export type DatePickerLabels = {
|
|
31
|
+
openCalendar: string;
|
|
32
|
+
closeCalendar: string;
|
|
33
|
+
calendar: string;
|
|
34
|
+
previousMonth: string;
|
|
35
|
+
nextMonth: string;
|
|
36
|
+
previousYear: string;
|
|
37
|
+
nextYear: string;
|
|
38
|
+
previousDecade: string;
|
|
39
|
+
nextDecade: string;
|
|
40
|
+
selectMonth: string;
|
|
41
|
+
selectYear: string;
|
|
42
|
+
clear: string;
|
|
43
|
+
chooseDate: (date: string) => string;
|
|
44
|
+
selectedDate: (date: string) => string;
|
|
45
|
+
/** A day that cannot be picked: unavailable, or out of min and max. */
|
|
46
|
+
unavailableDate: (date: string) => string;
|
|
47
|
+
};
|
|
48
|
+
export type UiLabelsInput = Partial<Omit<UiLabels, 'supplierRating' | 'datePicker'>> & {
|
|
49
|
+
datePicker?: Partial<DatePickerLabels>;
|
|
19
50
|
supplierRating?: Partial<SupplierRatingLabels>;
|
|
20
51
|
};
|
|
52
|
+
export declare const DEFAULT_DATE_PICKER_LABELS: DatePickerLabels;
|
|
21
53
|
export declare const DEFAULT_UI_LABELS: UiLabels;
|
|
22
54
|
export declare const UiLabelsProvider: FC<{
|
|
23
55
|
labels: UiLabelsInput;
|
|
@@ -4,24 +4,49 @@ import { createContext as n, useContext as r, useMemo as i } from "react";
|
|
|
4
4
|
import { jsx as a } from "react/jsx-runtime";
|
|
5
5
|
// src/components/ui-labels/UiLabelsProvider.tsx
|
|
6
6
|
var o = {
|
|
7
|
+
openCalendar: "Ouvrir le calendrier",
|
|
8
|
+
closeCalendar: "Fermer le calendrier",
|
|
9
|
+
calendar: "Calendrier",
|
|
10
|
+
previousMonth: "Mois précédent",
|
|
11
|
+
nextMonth: "Mois suivant",
|
|
12
|
+
previousYear: "Année précédente",
|
|
13
|
+
nextYear: "Année suivante",
|
|
14
|
+
previousDecade: "Décennie précédente",
|
|
15
|
+
nextDecade: "Décennie suivante",
|
|
16
|
+
selectMonth: "Choisir le mois",
|
|
17
|
+
selectYear: "Choisir l'année",
|
|
18
|
+
clear: "Effacer la date",
|
|
19
|
+
chooseDate: (e) => `Choisir le ${e}`,
|
|
20
|
+
selectedDate: (e) => `Date sélectionnée : ${e}`,
|
|
21
|
+
unavailableDate: (e) => `Indisponible : ${e}`
|
|
22
|
+
}, s = {
|
|
7
23
|
locale: "fr-FR",
|
|
8
24
|
noResults: "Aucun résultat",
|
|
9
25
|
loading: "Chargement...",
|
|
26
|
+
close: "Fermer",
|
|
27
|
+
dismiss: "Masquer",
|
|
28
|
+
previousPage: "Page précédente",
|
|
29
|
+
nextPage: "Page suivante",
|
|
30
|
+
datePicker: o,
|
|
10
31
|
supplierRating: e
|
|
11
|
-
},
|
|
32
|
+
}, c = n(s), l = ({ labels: e, children: n }) => {
|
|
12
33
|
let r = i(() => ({
|
|
13
|
-
...
|
|
34
|
+
...s,
|
|
14
35
|
...e,
|
|
15
|
-
|
|
36
|
+
datePicker: {
|
|
37
|
+
...s.datePicker,
|
|
38
|
+
...e.datePicker
|
|
39
|
+
},
|
|
40
|
+
supplierRating: t(s.supplierRating, e.supplierRating)
|
|
16
41
|
}), [e]);
|
|
17
|
-
return /* @__PURE__ */ a(
|
|
42
|
+
return /* @__PURE__ */ a(c.Provider, {
|
|
18
43
|
value: r,
|
|
19
44
|
children: n
|
|
20
45
|
});
|
|
21
46
|
};
|
|
22
|
-
function
|
|
23
|
-
return r(
|
|
47
|
+
function u() {
|
|
48
|
+
return r(c);
|
|
24
49
|
}
|
|
25
|
-
export { o as DEFAULT_UI_LABELS,
|
|
50
|
+
export { o as DEFAULT_DATE_PICKER_LABELS, s as DEFAULT_UI_LABELS, l as UiLabelsProvider, u as useUiLabels };
|
|
26
51
|
|
|
27
52
|
//# sourceMappingURL=UiLabelsProvider.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiLabelsProvider.js","names":["DEFAULT_UI_LABELS","DEFAULT_SUPPLIER_RATING_LABELS","UiLabelsContext","createContext","UiLabelsProvider","value","useMemo","labels","mergeSupplierRatingLabels","useUiLabels","useContext"],"sources":["../../../src/components/ui-labels/UiLabelsProvider.tsx"],"sourcesContent":["import { createContext, type FC, type ReactNode, useContext, useMemo } from 'react'\n\nimport {\n DEFAULT_SUPPLIER_RATING_LABELS,\n mergeSupplierRatingLabels,\n type SupplierRatingLabels,\n} from '../supplier-rating-badge/labels'\n\n/**\n * The words and number format the kit renders on its own (empty lists, loading states, the\n * supplier rating). The kit carries no translations: an app wraps its tree once in\n * UiLabelsProvider with its own, in the reader's locale. Without a provider the kit reads French,\n * as it always has.\n */\nexport type UiLabels = {\n /** BCP 47 tag the kit formats numbers with (the supplier rating's note). */\n locale: string\n /** Shown by Select and Combobox when there is nothing to pick. */\n noResults: string\n /** Shown by Combobox while its items load. */\n loading: string\n supplierRating: SupplierRatingLabels\n}\n\nexport type UiLabelsInput = Partial<Omit<UiLabels, 'supplierRating'>> & {\n supplierRating?: Partial<SupplierRatingLabels>\n}\n\nexport const DEFAULT_UI_LABELS: UiLabels = {\n locale: 'fr-FR',\n noResults: 'Aucun résultat',\n loading: 'Chargement...',\n supplierRating: DEFAULT_SUPPLIER_RATING_LABELS,\n}\n\nconst UiLabelsContext = createContext<UiLabels>(DEFAULT_UI_LABELS)\n\nexport const UiLabelsProvider: FC<{ labels: UiLabelsInput; children: ReactNode }> = ({ labels, children }) => {\n const value = useMemo<UiLabels>(\n () => ({\n ...DEFAULT_UI_LABELS,\n ...labels,\n supplierRating: mergeSupplierRatingLabels(DEFAULT_UI_LABELS.supplierRating, labels.supplierRating),\n }),\n [labels],\n )\n return <UiLabelsContext.Provider value={value}>{children}</UiLabelsContext.Provider>\n}\n\n/** The labels of the nearest UiLabelsProvider, or the French defaults. */\nexport function useUiLabels(): UiLabels {\n return useContext(UiLabelsContext)\n}\n"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"UiLabelsProvider.js","names":["DEFAULT_DATE_PICKER_LABELS","date","DEFAULT_UI_LABELS","DEFAULT_SUPPLIER_RATING_LABELS","UiLabelsContext","createContext","UiLabelsProvider","value","useMemo","labels","mergeSupplierRatingLabels","useUiLabels","useContext"],"sources":["../../../src/components/ui-labels/UiLabelsProvider.tsx"],"sourcesContent":["import { createContext, type FC, type ReactNode, useContext, useMemo } from 'react'\n\nimport {\n DEFAULT_SUPPLIER_RATING_LABELS,\n mergeSupplierRatingLabels,\n type SupplierRatingLabels,\n} from '../supplier-rating-badge/labels'\n\n/**\n * The words and number format the kit renders on its own (empty lists, loading states, the\n * supplier rating, the accessible names of its icon buttons and of the date picker). The kit carries no translations: an app wraps its tree once in\n * UiLabelsProvider with its own, in the reader's locale. Without a provider the kit reads French,\n * as it always has.\n */\nexport type UiLabels = {\n /** BCP 47 tag the kit formats numbers with (the supplier rating's note). */\n locale: string\n /** Shown by Select and Combobox when there is nothing to pick. */\n noResults: string\n /** Shown by Combobox while its items load. */\n loading: string\n /** Accessible name of the close button of DrawerHeader and DialogHeader. */\n close: string\n /** Accessible name of the dismiss button of Alert. */\n dismiss: string\n /** Accessible names of Pagination's arrows. */\n previousPage: string\n nextPage: string\n datePicker: DatePickerLabels\n supplierRating: SupplierRatingLabels\n}\n\n/**\n * What a screen reader hears on DatePicker. The date in the templated ones is already written in\n * `locale` by the picker.\n */\nexport type DatePickerLabels = {\n openCalendar: string\n closeCalendar: string\n calendar: string\n previousMonth: string\n nextMonth: string\n previousYear: string\n nextYear: string\n previousDecade: string\n nextDecade: string\n selectMonth: string\n selectYear: string\n clear: string\n chooseDate: (date: string) => string\n selectedDate: (date: string) => string\n /** A day that cannot be picked: unavailable, or out of min and max. */\n unavailableDate: (date: string) => string\n}\n\nexport type UiLabelsInput = Partial<Omit<UiLabels, 'supplierRating' | 'datePicker'>> & {\n datePicker?: Partial<DatePickerLabels>\n supplierRating?: Partial<SupplierRatingLabels>\n}\n\nexport const DEFAULT_DATE_PICKER_LABELS: DatePickerLabels = {\n openCalendar: 'Ouvrir le calendrier',\n closeCalendar: 'Fermer le calendrier',\n calendar: 'Calendrier',\n previousMonth: 'Mois précédent',\n nextMonth: 'Mois suivant',\n previousYear: 'Année précédente',\n nextYear: 'Année suivante',\n previousDecade: 'Décennie précédente',\n nextDecade: 'Décennie suivante',\n selectMonth: 'Choisir le mois',\n selectYear: \"Choisir l'année\",\n clear: 'Effacer la date',\n chooseDate: date => `Choisir le ${date}`,\n selectedDate: date => `Date sélectionnée : ${date}`,\n unavailableDate: date => `Indisponible : ${date}`,\n}\n\nexport const DEFAULT_UI_LABELS: UiLabels = {\n locale: 'fr-FR',\n noResults: 'Aucun résultat',\n loading: 'Chargement...',\n close: 'Fermer',\n dismiss: 'Masquer',\n previousPage: 'Page précédente',\n nextPage: 'Page suivante',\n datePicker: DEFAULT_DATE_PICKER_LABELS,\n supplierRating: DEFAULT_SUPPLIER_RATING_LABELS,\n}\n\nconst UiLabelsContext = createContext<UiLabels>(DEFAULT_UI_LABELS)\n\nexport const UiLabelsProvider: FC<{ labels: UiLabelsInput; children: ReactNode }> = ({ labels, children }) => {\n const value = useMemo<UiLabels>(\n () => ({\n ...DEFAULT_UI_LABELS,\n ...labels,\n datePicker: { ...DEFAULT_UI_LABELS.datePicker, ...labels.datePicker },\n supplierRating: mergeSupplierRatingLabels(DEFAULT_UI_LABELS.supplierRating, labels.supplierRating),\n }),\n [labels],\n )\n return <UiLabelsContext.Provider value={value}>{children}</UiLabelsContext.Provider>\n}\n\n/** The labels of the nearest UiLabelsProvider, or the French defaults. */\nexport function useUiLabels(): UiLabels {\n return useContext(UiLabelsContext)\n}\n"],"mappings":";;;;;AA4DA,IAAaA,IAA+C;CAC1D,cAAc;CACd,eAAe;CACf,UAAU;CACV,eAAe;CACf,WAAW;CACX,cAAc;CACd,UAAU;CACV,gBAAgB;CAChB,YAAY;CACZ,aAAa;CACb,YAAY;CACZ,OAAO;CACP,aAAY,MAAQ,cAAcC;CAClC,eAAc,MAAQ,uBAAuBA;CAC7C,kBAAiB,MAAQ,kBAAkBA;AAC7C,GAEaC,IAA8B;CACzC,QAAQ;CACR,WAAW;CACX,SAAS;CACT,OAAO;CACP,SAAS;CACT,cAAc;CACd,UAAU;CACV,YAAYF;CACZ,gBAAgBG;AAClB,GAEMC,IAAkBC,EAAwBH,CAAiB,GAEpDI,KAAwE,EAAE,WAAQ,kBAAe;CAC5G,IAAMC,IAAQC,SACL;EACL,GAAGN;EACH,GAAGO;EACH,YAAY;GAAE,GAAGP,EAAkB;GAAY,GAAGO,EAAO;EAAW;EACpE,gBAAgBC,EAA0BR,EAAkB,gBAAgBO,EAAO,cAAc;CACnG,IACA,CAACA,CAAM,CACT;CACA,OAAO,kBAACL,EAAgB,UAAjB;EAAiC;EAAQ;CAAmC,CAAA;AACrF;AAGA,SAAgBO,IAAwB;CACtC,OAAOC,EAAWR,CAAe;AACnC"}
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});/* empty css */const e=require("./components/accordion/Accordion.cjs"),t=require("./components/button/Button.cjs"),n=require("./components/checkbox/Checkbox.cjs"),r=require("./components/icon-button/IconButton.cjs"),i=require("./components/drawer/Drawer.cjs"),a=require("./components/form/FormControl.cjs"),o=require("./components/tooltip/Tooltip.cjs"),s=require("./components/form/FormLabel.cjs"),ee=require("./components/form/FormHelperText.cjs"),c=require("./components/heading/Heading.cjs"),l=require("./components/switch/Switch.cjs"),u=require("./components/text/Text.cjs"),d=require("./components/textarea/Textarea.cjs"),f=require("./components/tabs/Tabs.cjs"),p=require("./components/steps/Steps.cjs"),m=require("./components/supplier-rating-badge/labels.cjs"),h=require("./components/ui-labels/UiLabelsProvider.cjs"),te=require("./components/select/Select.cjs"),ne=require("./components/select-language/SelectLanguage.cjs"),re=require("./components/input/Input.cjs"),g=require("./components/input/HighlightedInput.cjs"),ie=require("./components/input/InputAddon.cjs"),ae=require("./components/input/InputGroup.cjs"),_=require("./components/input/PhoneNumberInput.cjs"),v=require("./components/box/Box.cjs"),y=require("./components/date-picker/DatePicker.cjs"),b=require("./components/tag/Tag.cjs"),x=require("./components/radio-button-group/RadioButtonGroup.cjs"),S=require("./components/radio-group/RadioGroup.cjs"),C=require("./components/chip/Chip.cjs"),w=require("./components/action-card/ActionCard.cjs"),T=require("./components/icon/Icon.cjs"),E=require("./components/alert/Alert.cjs"),D=require("./components/table/Table.cjs"),O=require("./components/breadcrumb/Breadcrumb.cjs"),k=require("./components/popover/Popover.cjs"),A=require("./components/pagination/Pagination.cjs"),j=require("./components/illustration/Illustration.cjs"),M=require("./components/button-filter/ButtonFilter.cjs"),N=require("./components/status-tag-select/StatusTagSelect.cjs"),P=require("./components/switch-card/namespace.cjs"),F=require("./components/radio-card-group/namespace.cjs"),I=require("./components/checkbox-card/namespace.cjs"),L=require("./components/combobox/Combobox.cjs"),R=require("./components/collapsible/styled.cjs"),z=require("./components/dialog/styled.cjs"),oe=require("./components/avatar/styled.cjs"),B=require("./components/menu/Menu.cjs"),V=require("./components/flag/styled.cjs"),H=require("./components/origin-select/OriginSelect.cjs"),U=require("./components/chat/ChatMessage.cjs"),W=require("./components/chat/ChatDocumentMessage.cjs"),G=require("./components/chat/ChatProfileAvatar.cjs"),K=require("./components/chat/Chat.cjs"),q=require("./components/chat/ChatScoreBreakdown.cjs"),se=require("./components/chat/ChatTextInput.cjs"),J=require("./components/supplier-rating-badge/SupplierRatingBreakdown.cjs"),ce=require("./components/supplier-rating-badge/SupplierRatingBadge.cjs"),le=require("./components/app/price-tag/PriceTag.cjs"),ue=require("./components/app/product-card-catalog/styled.cjs"),de=require("./components/app/navigation/AppNavigation.cjs"),Y=require("./components/app/navigation/language-select/AppNavigationLanguageSelect.cjs"),fe=require("./components/app/mobile-navigation/MobileNavigation.cjs"),X=require("./components/app/mobile-card/MobileCardShell.cjs"),pe=require("./components/app/mobile-card/MobileCardHeader.cjs"),me=require("./components/app/mobile-card/MobileCardNotificationBadge.cjs"),he=require("./components/app/mobile-card/MobileCardEntityRow.cjs"),Z=require("./components/app/mobile-card/MobileCardSkeleton.cjs"),ge=require("./preset.cjs");let Q=require("@ark-ui/react"),$=require("react-phone-number-input");exports.Accordion=e.Accordion,exports.AccordionItem=e.AccordionItem,exports.AccordionItemContent=e.AccordionItemContent,exports.AccordionItemIndicator=e.AccordionItemIndicator,exports.AccordionItemTrigger=e.AccordionItemTrigger,exports.ActionCard=w.ActionCard,exports.ActionCardDescription=w.ActionCardDescription,exports.ActionCardTitle=w.ActionCardTitle,exports.Alert=E.Alert,Object.defineProperty(exports,"AppNavigation",{enumerable:!0,get:function(){return de.AppNavigation_exports}}),exports.AppNavigationLanguageSelect=Y.AppNavigationLanguageSelect,Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return oe.styled_exports}}),exports.Box=v.Box,exports.Breadcrumb=O.Breadcrumb,exports.BreadcrumbItem=O.BreadcrumbItem,exports.BreadcrumbLink=O.BreadcrumbLink,exports.Button=t.Button,exports.ButtonFilter=M.ButtonFilter,Object.defineProperty(exports,"Chat",{enumerable:!0,get:function(){return K.Chat_exports}}),exports.ChatDocumentMessage=W.ChatDocumentMessage,exports.ChatMessage=U.ChatMessage,exports.ChatProfileAvatar=G.ChatProfileAvatar,exports.ChatScoreBreakdown=q.ChatScoreBreakdown,exports.ChatTextInput=se.ChatTextInput,exports.Checkbox=n.Checkbox,Object.defineProperty(exports,"CheckboxCard",{enumerable:!0,get:function(){return I.namespace_exports}}),exports.CheckboxGroup=n.CheckboxGroup,exports.Chip=C.Chip,exports.ChipAvatar=C.ChipAvatar,exports.ChipClearTrigger=C.ChipClearTrigger,exports.ChipLabel=C.ChipLabel,Object.defineProperty(exports,"Collapsible",{enumerable:!0,get:function(){return R.styled_exports}}),exports.Combobox=L.Combobox,exports.DEFAULT_APP_NAVIGATION_LANGUAGES=Y.DEFAULT_APP_NAVIGATION_LANGUAGES,exports.DEFAULT_SUPPLIER_RATING_LABELS=m.DEFAULT_SUPPLIER_RATING_LABELS,exports.DEFAULT_UI_LABELS=h.DEFAULT_UI_LABELS,exports.DatePicker=y.DatePicker,Object.defineProperty(exports,"Dialog",{enumerable:!0,get:function(){return z.styled_exports}}),exports.Drawer=i.Drawer,exports.DrawerBody=i.DrawerBody,exports.DrawerCloseTrigger=i.DrawerCloseTrigger,exports.DrawerContent=i.DrawerContent,exports.DrawerContext=i.DrawerContext,exports.DrawerFooter=i.DrawerFooter,exports.DrawerHeader=i.DrawerHeader,exports.DrawerTitle=i.DrawerTitle,exports.DrawerTrigger=i.DrawerTrigger,exports.Flag=V.Flag,exports.FlagCountryCodes=V.FlagCountryCodes,exports.FormControl=a.FormControl,exports.FormHelperText=ee.FormHelperText,exports.FormLabel=s.FormLabel,exports.Heading=c.Heading,exports.Highlight=g.Highlight,exports.HighlightedInput=g.HighlightedInput,exports.Icon=T.Icon,exports.IconButton=r.IconButton,exports.Illustration=j.Illustration,exports.Input=re.Input,exports.InputAddon=ie.InputAddon,exports.InputGroup=ae.InputGroup,exports.InputSlot=g.InputSlot,Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return B.Menu_exports}}),exports.MobileCardEntityRow=he.MobileCardEntityRow,exports.MobileCardHeader=pe.MobileCardHeader,exports.MobileCardNotificationBadge=me.MobileCardNotificationBadge,exports.MobileCardShell=X.MobileCardShell,exports.MobileCardSkeleton=Z.MobileCardSkeleton,exports.MobileCardSkeletonList=Z.MobileCardSkeletonList,Object.defineProperty(exports,"MobileNavigation",{enumerable:!0,get:function(){return fe.MobileNavigation_exports}}),exports.OriginSelect=H.OriginSelect,exports.Pagination=A.Pagination,exports.PhoneNumberInput=_.PhoneNumberInput,exports.Popover=k.Popover,exports.PopoverAnchor=k.PopoverAnchor,exports.PopoverCloseTrigger=k.PopoverCloseTrigger,exports.PopoverContent=k.PopoverContent,exports.PopoverContext=k.PopoverContext,exports.PopoverTrigger=k.PopoverTrigger,exports.PriceTag=le.PriceTag,Object.defineProperty(exports,"ProductCardCatalog",{enumerable:!0,get:function(){return ue.styled_exports}}),exports.RadioButtonGroup=x.RadioButtonGroup,exports.RadioButtonGroupItem=x.RadioButtonGroupItem,exports.RadioButtonGroupLabel=x.RadioButtonGroupLabel,Object.defineProperty(exports,"RadioCardGroup",{enumerable:!0,get:function(){return F.namespace_exports}}),exports.RadioGroup=S.RadioGroup,exports.RadioGroupItem=S.RadioGroupItem,exports.RadioGroupLabel=S.RadioGroupLabel,exports.Renderer=g.Renderer,exports.Root=g.Root,exports.SUPPLIER_RATING_MAX=J.SUPPLIER_RATING_MAX,exports.Select=te.Select,exports.SelectLanguage=ne.SelectLanguage,exports.SkeletonBlock=Z.SkeletonBlock,exports.StatusTagSelect=N.StatusTagSelect,exports.Steps=p.Steps,exports.StepsContent=p.StepsContent,exports.StepsIndicator=p.StepsIndicator,exports.StepsItem=p.StepsItem,exports.StepsList=p.StepsList,exports.StepsSeparator=p.StepsSeparator,exports.StepsTrigger=p.StepsTrigger,exports.SupplierRatingBadge=ce.SupplierRatingBadge,exports.SupplierRatingBreakdown=J.SupplierRatingBreakdown,exports.Switch=l.Switch,Object.defineProperty(exports,"SwitchCard",{enumerable:!0,get:function(){return P.namespace_exports}}),exports.Table=D.Table,exports.TableContainer=D.TableContainer,exports.TableEmptyRow=D.TableEmptyRow,exports.TableGroupTitle=D.TableGroupTitle,exports.Tabs=f.Tabs,exports.TabsChip=f.TabsChip,exports.TabsContent=f.TabsContent,exports.TabsList=f.TabsList,exports.TabsTrigger=f.TabsTrigger,exports.Tag=b.Tag,exports.Tbody=D.Tbody,exports.Td=D.Td,exports.Text=u.Text,exports.Textarea=d.Textarea,exports.Th=D.Th,exports.Thead=D.Thead,exports.Tooltip=o.Tooltip,exports.Tr=D.Tr,exports.UiLabelsProvider=h.UiLabelsProvider,Object.defineProperty(exports,"createListCollection",{enumerable:!0,get:function(){return Q.createListCollection}}),Object.defineProperty(exports,"createToaster",{enumerable:!0,get:function(){return Q.createToaster}}),exports.formatOverall=J.formatOverall,Object.defineProperty(exports,"formatPhoneNumber",{enumerable:!0,get:function(){return $.formatPhoneNumber}}),Object.defineProperty(exports,"formatPhoneNumberIntl",{enumerable:!0,get:function(){return $.formatPhoneNumberIntl}}),exports.formatResponseDelay=J.formatResponseDelay,Object.defineProperty(exports,"getCountries",{enumerable:!0,get:function(){return $.getCountries}}),Object.defineProperty(exports,"getCountryCallingCode",{enumerable:!0,get:function(){return $.getCountryCallingCode}}),exports.getHeadlineColor=J.getHeadlineColor,Object.defineProperty(exports,"isPossiblePhoneNumber",{enumerable:!0,get:function(){return $.isPossiblePhoneNumber}}),Object.defineProperty(exports,"isSupportedCountry",{enumerable:!0,get:function(){return $.isSupportedCountry}}),Object.defineProperty(exports,"isValidPhoneNumber",{enumerable:!0,get:function(){return $.isValidPhoneNumber}}),exports.mergeSupplierRatingLabels=m.mergeSupplierRatingLabels,Object.defineProperty(exports,"parseColor",{enumerable:!0,get:function(){return Q.parseColor}}),Object.defineProperty(exports,"parseDate",{enumerable:!0,get:function(){return Q.parseDate}}),Object.defineProperty(exports,"parsePhoneNumber",{enumerable:!0,get:function(){return $.parsePhoneNumber}}),exports.preset=ge.preset,Object.defineProperty(exports,"useAccordion",{enumerable:!0,get:function(){return Q.useAccordion}}),exports.useUiLabels=h.useUiLabels;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});/* empty css */const e=require("./components/accordion/Accordion.cjs"),t=require("./components/button/Button.cjs"),n=require("./components/checkbox/Checkbox.cjs"),r=require("./components/supplier-rating-badge/labels.cjs"),i=require("./components/ui-labels/UiLabelsProvider.cjs"),a=require("./components/icon-button/IconButton.cjs"),o=require("./components/drawer/Drawer.cjs"),s=require("./components/form/FormControl.cjs"),ee=require("./components/tooltip/Tooltip.cjs"),c=require("./components/form/FormLabel.cjs"),l=require("./components/form/FormHelperText.cjs"),u=require("./components/heading/Heading.cjs"),d=require("./components/switch/Switch.cjs"),f=require("./components/text/Text.cjs"),p=require("./components/textarea/Textarea.cjs"),m=require("./components/tabs/Tabs.cjs"),h=require("./components/steps/Steps.cjs"),te=require("./components/select/Select.cjs"),ne=require("./components/select-language/SelectLanguage.cjs"),re=require("./components/input/Input.cjs"),g=require("./components/input/HighlightedInput.cjs"),ie=require("./components/input/InputAddon.cjs"),ae=require("./components/input/InputGroup.cjs"),_=require("./components/input/PhoneNumberInput.cjs"),v=require("./components/box/Box.cjs"),y=require("./components/date-picker/DatePicker.cjs"),b=require("./components/tag/Tag.cjs"),x=require("./components/radio-button-group/RadioButtonGroup.cjs"),S=require("./components/radio-group/RadioGroup.cjs"),C=require("./components/chip/Chip.cjs"),w=require("./components/action-card/ActionCard.cjs"),T=require("./components/icon/Icon.cjs"),E=require("./components/alert/Alert.cjs"),D=require("./components/table/Table.cjs"),O=require("./components/breadcrumb/Breadcrumb.cjs"),k=require("./components/popover/Popover.cjs"),A=require("./components/pagination/Pagination.cjs"),j=require("./components/illustration/Illustration.cjs"),M=require("./components/button-filter/ButtonFilter.cjs"),N=require("./components/status-tag-select/StatusTagSelect.cjs"),P=require("./components/switch-card/namespace.cjs"),F=require("./components/radio-card-group/namespace.cjs"),I=require("./components/checkbox-card/namespace.cjs"),L=require("./components/combobox/Combobox.cjs"),R=require("./components/collapsible/styled.cjs"),z=require("./components/dialog/styled.cjs"),oe=require("./components/avatar/styled.cjs"),B=require("./components/menu/Menu.cjs"),V=require("./components/flag/styled.cjs"),H=require("./components/origin-select/OriginSelect.cjs"),U=require("./components/chat/ChatMessage.cjs"),W=require("./components/chat/ChatDocumentMessage.cjs"),G=require("./components/chat/ChatProfileAvatar.cjs"),K=require("./components/chat/Chat.cjs"),q=require("./components/chat/ChatScoreBreakdown.cjs"),se=require("./components/chat/ChatTextInput.cjs"),J=require("./components/supplier-rating-badge/SupplierRatingBreakdown.cjs"),ce=require("./components/supplier-rating-badge/SupplierRatingBadge.cjs"),le=require("./components/app/price-tag/PriceTag.cjs"),ue=require("./components/app/product-card-catalog/styled.cjs"),de=require("./components/app/navigation/AppNavigation.cjs"),Y=require("./components/app/navigation/language-select/AppNavigationLanguageSelect.cjs"),fe=require("./components/app/mobile-navigation/MobileNavigation.cjs"),X=require("./components/app/mobile-card/MobileCardShell.cjs"),pe=require("./components/app/mobile-card/MobileCardHeader.cjs"),me=require("./components/app/mobile-card/MobileCardNotificationBadge.cjs"),he=require("./components/app/mobile-card/MobileCardEntityRow.cjs"),Z=require("./components/app/mobile-card/MobileCardSkeleton.cjs"),ge=require("./preset.cjs");let Q=require("@ark-ui/react"),$=require("react-phone-number-input");exports.Accordion=e.Accordion,exports.AccordionItem=e.AccordionItem,exports.AccordionItemContent=e.AccordionItemContent,exports.AccordionItemIndicator=e.AccordionItemIndicator,exports.AccordionItemTrigger=e.AccordionItemTrigger,exports.ActionCard=w.ActionCard,exports.ActionCardDescription=w.ActionCardDescription,exports.ActionCardTitle=w.ActionCardTitle,exports.Alert=E.Alert,Object.defineProperty(exports,"AppNavigation",{enumerable:!0,get:function(){return de.AppNavigation_exports}}),exports.AppNavigationLanguageSelect=Y.AppNavigationLanguageSelect,Object.defineProperty(exports,"Avatar",{enumerable:!0,get:function(){return oe.styled_exports}}),exports.Box=v.Box,exports.Breadcrumb=O.Breadcrumb,exports.BreadcrumbItem=O.BreadcrumbItem,exports.BreadcrumbLink=O.BreadcrumbLink,exports.Button=t.Button,exports.ButtonFilter=M.ButtonFilter,Object.defineProperty(exports,"Chat",{enumerable:!0,get:function(){return K.Chat_exports}}),exports.ChatDocumentMessage=W.ChatDocumentMessage,exports.ChatMessage=U.ChatMessage,exports.ChatProfileAvatar=G.ChatProfileAvatar,exports.ChatScoreBreakdown=q.ChatScoreBreakdown,exports.ChatTextInput=se.ChatTextInput,exports.Checkbox=n.Checkbox,Object.defineProperty(exports,"CheckboxCard",{enumerable:!0,get:function(){return I.namespace_exports}}),exports.CheckboxGroup=n.CheckboxGroup,exports.Chip=C.Chip,exports.ChipAvatar=C.ChipAvatar,exports.ChipClearTrigger=C.ChipClearTrigger,exports.ChipLabel=C.ChipLabel,Object.defineProperty(exports,"Collapsible",{enumerable:!0,get:function(){return R.styled_exports}}),exports.Combobox=L.Combobox,exports.DEFAULT_APP_NAVIGATION_LANGUAGES=Y.DEFAULT_APP_NAVIGATION_LANGUAGES,exports.DEFAULT_DATE_PICKER_LABELS=i.DEFAULT_DATE_PICKER_LABELS,exports.DEFAULT_SUPPLIER_RATING_LABELS=r.DEFAULT_SUPPLIER_RATING_LABELS,exports.DEFAULT_UI_LABELS=i.DEFAULT_UI_LABELS,exports.DatePicker=y.DatePicker,Object.defineProperty(exports,"Dialog",{enumerable:!0,get:function(){return z.styled_exports}}),exports.Drawer=o.Drawer,exports.DrawerBody=o.DrawerBody,exports.DrawerCloseTrigger=o.DrawerCloseTrigger,exports.DrawerContent=o.DrawerContent,exports.DrawerContext=o.DrawerContext,exports.DrawerFooter=o.DrawerFooter,exports.DrawerHeader=o.DrawerHeader,exports.DrawerTitle=o.DrawerTitle,exports.DrawerTrigger=o.DrawerTrigger,exports.Flag=V.Flag,exports.FlagCountryCodes=V.FlagCountryCodes,exports.FormControl=s.FormControl,exports.FormHelperText=l.FormHelperText,exports.FormLabel=c.FormLabel,exports.Heading=u.Heading,exports.Highlight=g.Highlight,exports.HighlightedInput=g.HighlightedInput,exports.Icon=T.Icon,exports.IconButton=a.IconButton,exports.Illustration=j.Illustration,exports.Input=re.Input,exports.InputAddon=ie.InputAddon,exports.InputGroup=ae.InputGroup,exports.InputSlot=g.InputSlot,Object.defineProperty(exports,"Menu",{enumerable:!0,get:function(){return B.Menu_exports}}),exports.MobileCardEntityRow=he.MobileCardEntityRow,exports.MobileCardHeader=pe.MobileCardHeader,exports.MobileCardNotificationBadge=me.MobileCardNotificationBadge,exports.MobileCardShell=X.MobileCardShell,exports.MobileCardSkeleton=Z.MobileCardSkeleton,exports.MobileCardSkeletonList=Z.MobileCardSkeletonList,Object.defineProperty(exports,"MobileNavigation",{enumerable:!0,get:function(){return fe.MobileNavigation_exports}}),exports.OriginSelect=H.OriginSelect,exports.Pagination=A.Pagination,exports.PhoneNumberInput=_.PhoneNumberInput,exports.Popover=k.Popover,exports.PopoverAnchor=k.PopoverAnchor,exports.PopoverCloseTrigger=k.PopoverCloseTrigger,exports.PopoverContent=k.PopoverContent,exports.PopoverContext=k.PopoverContext,exports.PopoverTrigger=k.PopoverTrigger,exports.PriceTag=le.PriceTag,Object.defineProperty(exports,"ProductCardCatalog",{enumerable:!0,get:function(){return ue.styled_exports}}),exports.RadioButtonGroup=x.RadioButtonGroup,exports.RadioButtonGroupItem=x.RadioButtonGroupItem,exports.RadioButtonGroupLabel=x.RadioButtonGroupLabel,Object.defineProperty(exports,"RadioCardGroup",{enumerable:!0,get:function(){return F.namespace_exports}}),exports.RadioGroup=S.RadioGroup,exports.RadioGroupItem=S.RadioGroupItem,exports.RadioGroupLabel=S.RadioGroupLabel,exports.Renderer=g.Renderer,exports.Root=g.Root,exports.SUPPLIER_RATING_MAX=J.SUPPLIER_RATING_MAX,exports.Select=te.Select,exports.SelectLanguage=ne.SelectLanguage,exports.SkeletonBlock=Z.SkeletonBlock,exports.StatusTagSelect=N.StatusTagSelect,exports.Steps=h.Steps,exports.StepsContent=h.StepsContent,exports.StepsIndicator=h.StepsIndicator,exports.StepsItem=h.StepsItem,exports.StepsList=h.StepsList,exports.StepsSeparator=h.StepsSeparator,exports.StepsTrigger=h.StepsTrigger,exports.SupplierRatingBadge=ce.SupplierRatingBadge,exports.SupplierRatingBreakdown=J.SupplierRatingBreakdown,exports.Switch=d.Switch,Object.defineProperty(exports,"SwitchCard",{enumerable:!0,get:function(){return P.namespace_exports}}),exports.Table=D.Table,exports.TableContainer=D.TableContainer,exports.TableEmptyRow=D.TableEmptyRow,exports.TableGroupTitle=D.TableGroupTitle,exports.Tabs=m.Tabs,exports.TabsChip=m.TabsChip,exports.TabsContent=m.TabsContent,exports.TabsList=m.TabsList,exports.TabsTrigger=m.TabsTrigger,exports.Tag=b.Tag,exports.Tbody=D.Tbody,exports.Td=D.Td,exports.Text=f.Text,exports.Textarea=p.Textarea,exports.Th=D.Th,exports.Thead=D.Thead,exports.Tooltip=ee.Tooltip,exports.Tr=D.Tr,exports.UiLabelsProvider=i.UiLabelsProvider,Object.defineProperty(exports,"createListCollection",{enumerable:!0,get:function(){return Q.createListCollection}}),Object.defineProperty(exports,"createToaster",{enumerable:!0,get:function(){return Q.createToaster}}),exports.formatOverall=J.formatOverall,Object.defineProperty(exports,"formatPhoneNumber",{enumerable:!0,get:function(){return $.formatPhoneNumber}}),Object.defineProperty(exports,"formatPhoneNumberIntl",{enumerable:!0,get:function(){return $.formatPhoneNumberIntl}}),exports.formatResponseDelay=J.formatResponseDelay,Object.defineProperty(exports,"getCountries",{enumerable:!0,get:function(){return $.getCountries}}),Object.defineProperty(exports,"getCountryCallingCode",{enumerable:!0,get:function(){return $.getCountryCallingCode}}),exports.getHeadlineColor=J.getHeadlineColor,Object.defineProperty(exports,"isPossiblePhoneNumber",{enumerable:!0,get:function(){return $.isPossiblePhoneNumber}}),Object.defineProperty(exports,"isSupportedCountry",{enumerable:!0,get:function(){return $.isSupportedCountry}}),Object.defineProperty(exports,"isValidPhoneNumber",{enumerable:!0,get:function(){return $.isValidPhoneNumber}}),exports.mergeSupplierRatingLabels=r.mergeSupplierRatingLabels,Object.defineProperty(exports,"parseColor",{enumerable:!0,get:function(){return Q.parseColor}}),Object.defineProperty(exports,"parseDate",{enumerable:!0,get:function(){return Q.parseDate}}),Object.defineProperty(exports,"parsePhoneNumber",{enumerable:!0,get:function(){return $.parsePhoneNumber}}),exports.preset=ge.preset,Object.defineProperty(exports,"useAccordion",{enumerable:!0,get:function(){return Q.useAccordion}}),exports.useUiLabels=i.useUiLabels;
|
package/dist/index.js
CHANGED
|
@@ -2,72 +2,72 @@
|
|
|
2
2
|
import { Accordion as e, AccordionItem as t, AccordionItemContent as n, AccordionItemIndicator as r, AccordionItemTrigger as i, useAccordion as a } from "./components/accordion/Accordion.js";
|
|
3
3
|
import { Button as o } from "./components/button/Button.js";
|
|
4
4
|
import { Checkbox as s, CheckboxGroup as c } from "./components/checkbox/Checkbox.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { Select as
|
|
20
|
-
import { SelectLanguage as
|
|
21
|
-
import { Input as
|
|
22
|
-
import { Highlight as
|
|
23
|
-
import { InputAddon as
|
|
24
|
-
import { InputGroup as
|
|
25
|
-
import { PhoneNumberInput as
|
|
26
|
-
import { Box as
|
|
27
|
-
import { DatePicker as
|
|
28
|
-
import { Tag as
|
|
29
|
-
import { RadioButtonGroup as
|
|
30
|
-
import { RadioGroup as
|
|
31
|
-
import { Chip as
|
|
32
|
-
import { ActionCard as
|
|
33
|
-
import { Icon as
|
|
34
|
-
import { Alert as
|
|
35
|
-
import { Table as
|
|
36
|
-
import { Breadcrumb as
|
|
37
|
-
import { Popover as
|
|
38
|
-
import { Pagination as
|
|
39
|
-
import { Illustration as
|
|
40
|
-
import { ButtonFilter as
|
|
41
|
-
import { StatusTagSelect as
|
|
42
|
-
import { namespace_exports as
|
|
43
|
-
import { namespace_exports as
|
|
44
|
-
import { namespace_exports as
|
|
45
|
-
import { Combobox as
|
|
46
|
-
import { styled_exports as
|
|
47
|
-
import { styled_exports as
|
|
48
|
-
import { styled_exports as
|
|
49
|
-
import { Menu_exports as
|
|
50
|
-
import { Flag as
|
|
51
|
-
import { OriginSelect as
|
|
52
|
-
import { ChatMessage as
|
|
53
|
-
import { ChatDocumentMessage as
|
|
54
|
-
import { ChatProfileAvatar as
|
|
55
|
-
import { Chat_exports as
|
|
56
|
-
import { ChatScoreBreakdown as
|
|
57
|
-
import { ChatTextInput as
|
|
58
|
-
import { SUPPLIER_RATING_MAX as
|
|
59
|
-
import { SupplierRatingBadge as
|
|
60
|
-
import { PriceTag as
|
|
61
|
-
import { styled_exports as
|
|
62
|
-
import { AppNavigation_exports as
|
|
63
|
-
import { AppNavigationLanguageSelect as
|
|
64
|
-
import { MobileNavigation_exports as
|
|
65
|
-
import { MobileCardShell as
|
|
66
|
-
import { MobileCardHeader as
|
|
67
|
-
import { MobileCardNotificationBadge as
|
|
68
|
-
import { MobileCardEntityRow as
|
|
69
|
-
import { MobileCardSkeleton as
|
|
70
|
-
import { preset as
|
|
71
|
-
import { createListCollection as
|
|
72
|
-
import { formatPhoneNumber as
|
|
73
|
-
export { e as Accordion, t as AccordionItem, n as AccordionItemContent, r as AccordionItemIndicator, i as AccordionItemTrigger,
|
|
5
|
+
import { DEFAULT_SUPPLIER_RATING_LABELS as l, mergeSupplierRatingLabels as u } from "./components/supplier-rating-badge/labels.js";
|
|
6
|
+
import { DEFAULT_DATE_PICKER_LABELS as d, DEFAULT_UI_LABELS as f, UiLabelsProvider as p, useUiLabels as m } from "./components/ui-labels/UiLabelsProvider.js";
|
|
7
|
+
import { IconButton as h } from "./components/icon-button/IconButton.js";
|
|
8
|
+
import { Drawer as g, DrawerBody as _, DrawerCloseTrigger as v, DrawerContent as y, DrawerContext as b, DrawerFooter as x, DrawerHeader as S, DrawerTitle as C, DrawerTrigger as w } from "./components/drawer/Drawer.js";
|
|
9
|
+
import { FormControl as T } from "./components/form/FormControl.js";
|
|
10
|
+
import { Tooltip as E } from "./components/tooltip/Tooltip.js";
|
|
11
|
+
import { FormLabel as D } from "./components/form/FormLabel.js";
|
|
12
|
+
import { FormHelperText as O } from "./components/form/FormHelperText.js";
|
|
13
|
+
import { Heading as k } from "./components/heading/Heading.js";
|
|
14
|
+
import { Switch as A } from "./components/switch/Switch.js";
|
|
15
|
+
import { Text as j } from "./components/text/Text.js";
|
|
16
|
+
import { Textarea as M } from "./components/textarea/Textarea.js";
|
|
17
|
+
import { Tabs as N, TabsChip as P, TabsContent as F, TabsList as I, TabsTrigger as L } from "./components/tabs/Tabs.js";
|
|
18
|
+
import { Steps as R, StepsContent as z, StepsIndicator as B, StepsItem as V, StepsList as H, StepsSeparator as U, StepsTrigger as W } from "./components/steps/Steps.js";
|
|
19
|
+
import { Select as G } from "./components/select/Select.js";
|
|
20
|
+
import { SelectLanguage as K } from "./components/select-language/SelectLanguage.js";
|
|
21
|
+
import { Input as q } from "./components/input/Input.js";
|
|
22
|
+
import { Highlight as J, HighlightedInput as Y, InputSlot as X, Renderer as Z, Root as Q } from "./components/input/HighlightedInput.js";
|
|
23
|
+
import { InputAddon as $ } from "./components/input/InputAddon.js";
|
|
24
|
+
import { InputGroup as ee } from "./components/input/InputGroup.js";
|
|
25
|
+
import { PhoneNumberInput as te } from "./components/input/PhoneNumberInput.js";
|
|
26
|
+
import { Box as ne } from "./components/box/Box.js";
|
|
27
|
+
import { DatePicker as re } from "./components/date-picker/DatePicker.js";
|
|
28
|
+
import { Tag as ie } from "./components/tag/Tag.js";
|
|
29
|
+
import { RadioButtonGroup as ae, RadioButtonGroupItem as oe, RadioButtonGroupLabel as se } from "./components/radio-button-group/RadioButtonGroup.js";
|
|
30
|
+
import { RadioGroup as ce, RadioGroupItem as le, RadioGroupLabel as ue } from "./components/radio-group/RadioGroup.js";
|
|
31
|
+
import { Chip as de, ChipAvatar as fe, ChipClearTrigger as pe, ChipLabel as me } from "./components/chip/Chip.js";
|
|
32
|
+
import { ActionCard as he, ActionCardDescription as ge, ActionCardTitle as _e } from "./components/action-card/ActionCard.js";
|
|
33
|
+
import { Icon as ve } from "./components/icon/Icon.js";
|
|
34
|
+
import { Alert as ye } from "./components/alert/Alert.js";
|
|
35
|
+
import { Table as be, TableContainer as xe, TableEmptyRow as Se, TableGroupTitle as Ce, Tbody as we, Td as Te, Th as Ee, Thead as De, Tr as Oe } from "./components/table/Table.js";
|
|
36
|
+
import { Breadcrumb as ke, BreadcrumbItem as Ae, BreadcrumbLink as je } from "./components/breadcrumb/Breadcrumb.js";
|
|
37
|
+
import { Popover as Me, PopoverAnchor as Ne, PopoverCloseTrigger as Pe, PopoverContent as Fe, PopoverContext as Ie, PopoverTrigger as Le } from "./components/popover/Popover.js";
|
|
38
|
+
import { Pagination as Re } from "./components/pagination/Pagination.js";
|
|
39
|
+
import { Illustration as ze } from "./components/illustration/Illustration.js";
|
|
40
|
+
import { ButtonFilter as Be } from "./components/button-filter/ButtonFilter.js";
|
|
41
|
+
import { StatusTagSelect as Ve } from "./components/status-tag-select/StatusTagSelect.js";
|
|
42
|
+
import { namespace_exports as He } from "./components/switch-card/namespace.js";
|
|
43
|
+
import { namespace_exports as Ue } from "./components/radio-card-group/namespace.js";
|
|
44
|
+
import { namespace_exports as We } from "./components/checkbox-card/namespace.js";
|
|
45
|
+
import { Combobox as Ge } from "./components/combobox/Combobox.js";
|
|
46
|
+
import { styled_exports as Ke } from "./components/collapsible/styled.js";
|
|
47
|
+
import { styled_exports as qe } from "./components/dialog/styled.js";
|
|
48
|
+
import { styled_exports as Je } from "./components/avatar/styled.js";
|
|
49
|
+
import { Menu_exports as Ye } from "./components/menu/Menu.js";
|
|
50
|
+
import { Flag as Xe, FlagCountryCodes as Ze } from "./components/flag/styled.js";
|
|
51
|
+
import { OriginSelect as Qe } from "./components/origin-select/OriginSelect.js";
|
|
52
|
+
import { ChatMessage as $e } from "./components/chat/ChatMessage.js";
|
|
53
|
+
import { ChatDocumentMessage as et } from "./components/chat/ChatDocumentMessage.js";
|
|
54
|
+
import { ChatProfileAvatar as tt } from "./components/chat/ChatProfileAvatar.js";
|
|
55
|
+
import { Chat_exports as nt } from "./components/chat/Chat.js";
|
|
56
|
+
import { ChatScoreBreakdown as rt } from "./components/chat/ChatScoreBreakdown.js";
|
|
57
|
+
import { ChatTextInput as it } from "./components/chat/ChatTextInput.js";
|
|
58
|
+
import { SUPPLIER_RATING_MAX as at, SupplierRatingBreakdown as ot, formatOverall as st, formatResponseDelay as ct, getHeadlineColor as lt } from "./components/supplier-rating-badge/SupplierRatingBreakdown.js";
|
|
59
|
+
import { SupplierRatingBadge as ut } from "./components/supplier-rating-badge/SupplierRatingBadge.js";
|
|
60
|
+
import { PriceTag as dt } from "./components/app/price-tag/PriceTag.js";
|
|
61
|
+
import { styled_exports as ft } from "./components/app/product-card-catalog/styled.js";
|
|
62
|
+
import { AppNavigation_exports as pt } from "./components/app/navigation/AppNavigation.js";
|
|
63
|
+
import { AppNavigationLanguageSelect as mt, DEFAULT_APP_NAVIGATION_LANGUAGES as ht } from "./components/app/navigation/language-select/AppNavigationLanguageSelect.js";
|
|
64
|
+
import { MobileNavigation_exports as gt } from "./components/app/mobile-navigation/MobileNavigation.js";
|
|
65
|
+
import { MobileCardShell as _t } from "./components/app/mobile-card/MobileCardShell.js";
|
|
66
|
+
import { MobileCardHeader as vt } from "./components/app/mobile-card/MobileCardHeader.js";
|
|
67
|
+
import { MobileCardNotificationBadge as yt } from "./components/app/mobile-card/MobileCardNotificationBadge.js";
|
|
68
|
+
import { MobileCardEntityRow as bt } from "./components/app/mobile-card/MobileCardEntityRow.js";
|
|
69
|
+
import { MobileCardSkeleton as xt, MobileCardSkeletonList as St, SkeletonBlock as Ct } from "./components/app/mobile-card/MobileCardSkeleton.js";
|
|
70
|
+
import { preset as wt } from "./preset.js";
|
|
71
|
+
import { createListCollection as Tt, createToaster as Et, parseColor as Dt, parseDate as Ot } from "@ark-ui/react";
|
|
72
|
+
import { formatPhoneNumber as kt, formatPhoneNumberIntl as At, getCountries as jt, getCountryCallingCode as Mt, isPossiblePhoneNumber as Nt, isSupportedCountry as Pt, isValidPhoneNumber as Ft, parsePhoneNumber as It } from "react-phone-number-input";
|
|
73
|
+
export { e as Accordion, t as AccordionItem, n as AccordionItemContent, r as AccordionItemIndicator, i as AccordionItemTrigger, he as ActionCard, ge as ActionCardDescription, _e as ActionCardTitle, ye as Alert, pt as AppNavigation, mt as AppNavigationLanguageSelect, Je as Avatar, ne as Box, ke as Breadcrumb, Ae as BreadcrumbItem, je as BreadcrumbLink, o as Button, Be as ButtonFilter, nt as Chat, et as ChatDocumentMessage, $e as ChatMessage, tt as ChatProfileAvatar, rt as ChatScoreBreakdown, it as ChatTextInput, s as Checkbox, We as CheckboxCard, c as CheckboxGroup, de as Chip, fe as ChipAvatar, pe as ChipClearTrigger, me as ChipLabel, Ke as Collapsible, Ge as Combobox, ht as DEFAULT_APP_NAVIGATION_LANGUAGES, d as DEFAULT_DATE_PICKER_LABELS, l as DEFAULT_SUPPLIER_RATING_LABELS, f as DEFAULT_UI_LABELS, re as DatePicker, qe as Dialog, g as Drawer, _ as DrawerBody, v as DrawerCloseTrigger, y as DrawerContent, b as DrawerContext, x as DrawerFooter, S as DrawerHeader, C as DrawerTitle, w as DrawerTrigger, Xe as Flag, Ze as FlagCountryCodes, T as FormControl, O as FormHelperText, D as FormLabel, k as Heading, J as Highlight, Y as HighlightedInput, ve as Icon, h as IconButton, ze as Illustration, q as Input, $ as InputAddon, ee as InputGroup, X as InputSlot, Ye as Menu, bt as MobileCardEntityRow, vt as MobileCardHeader, yt as MobileCardNotificationBadge, _t as MobileCardShell, xt as MobileCardSkeleton, St as MobileCardSkeletonList, gt as MobileNavigation, Qe as OriginSelect, Re as Pagination, te as PhoneNumberInput, Me as Popover, Ne as PopoverAnchor, Pe as PopoverCloseTrigger, Fe as PopoverContent, Ie as PopoverContext, Le as PopoverTrigger, dt as PriceTag, ft as ProductCardCatalog, ae as RadioButtonGroup, oe as RadioButtonGroupItem, se as RadioButtonGroupLabel, Ue as RadioCardGroup, ce as RadioGroup, le as RadioGroupItem, ue as RadioGroupLabel, Z as Renderer, Q as Root, at as SUPPLIER_RATING_MAX, G as Select, K as SelectLanguage, Ct as SkeletonBlock, Ve as StatusTagSelect, R as Steps, z as StepsContent, B as StepsIndicator, V as StepsItem, H as StepsList, U as StepsSeparator, W as StepsTrigger, ut as SupplierRatingBadge, ot as SupplierRatingBreakdown, A as Switch, He as SwitchCard, be as Table, xe as TableContainer, Se as TableEmptyRow, Ce as TableGroupTitle, N as Tabs, P as TabsChip, F as TabsContent, I as TabsList, L as TabsTrigger, ie as Tag, we as Tbody, Te as Td, j as Text, M as Textarea, Ee as Th, De as Thead, E as Tooltip, Oe as Tr, p as UiLabelsProvider, Tt as createListCollection, Et as createToaster, st as formatOverall, kt as formatPhoneNumber, At as formatPhoneNumberIntl, ct as formatResponseDelay, jt as getCountries, Mt as getCountryCallingCode, lt as getHeadlineColor, Nt as isPossiblePhoneNumber, Pt as isSupportedCountry, Ft as isValidPhoneNumber, u as mergeSupplierRatingLabels, Dt as parseColor, Ot as parseDate, It as parsePhoneNumber, wt as preset, a as useAccordion, m as useUiLabels };
|