UNPKG

@buildo/bento-design-system

Version:
1 lines 1.71 kB
{"version":3,"sources":["../src/defaultMessages/en.ts"],"sourcesContent":["import { ComponentProps } from \"react\";\nimport { BentoProvider } from \"..\";\n\nexport const defaultMessages: ComponentProps<typeof BentoProvider>[\"defaultMessages\"] = {\n Chip: {\n dismissButtonLabel: \"Remove\",\n },\n Banner: {\n dismissButtonLabel: \"Close\",\n },\n Modal: {\n closeButtonLabel: \"Close\",\n },\n SelectField: {\n noOptionsMessage: \"No options\",\n multiOptionsSelected: (n) => {\n const options = n > 1 ? \"options\" : \"option\";\n return `${n} ${options} selected`;\n },\n selectAllButtonLabel: \"Select all\",\n clearAllButtonLabel: \"Clear all\",\n },\n SearchBar: {\n clearButtonLabel: \"Clear\",\n },\n Table: {\n noResultsTitle: \"No results found\",\n noResultsDescription: \"Try adjusting your search filters to find what you're looking for.\",\n missingValue: \"-\",\n },\n Loader: {\n loadingMessage: \"Loading...\",\n },\n DateField: {\n previousMonthLabel: \"Prev month\",\n nextMonthLabel: \"Next month\",\n },\n TextField: {\n showPasswordLabel: \"Show password\",\n hidePasswordLabel: \"Hide password\",\n },\n};\n"],"mappings":"AAGO,IAAMA,EAA2E,CACtF,KAAM,CACJ,mBAAoB,QACtB,EACA,OAAQ,CACN,mBAAoB,OACtB,EACA,MAAO,CACL,iBAAkB,OACpB,EACA,YAAa,CACX,iBAAkB,aAClB,qBAAuBC,GAAM,CAC3B,IAAMC,EAAUD,EAAI,EAAI,UAAY,SACpC,MAAO,GAAGA,CAAC,IAAIC,CAAO,WACxB,EACA,qBAAsB,aACtB,oBAAqB,WACvB,EACA,UAAW,CACT,iBAAkB,OACpB,EACA,MAAO,CACL,eAAgB,mBAChB,qBAAsB,qEACtB,aAAc,GAChB,EACA,OAAQ,CACN,eAAgB,YAClB,EACA,UAAW,CACT,mBAAoB,aACpB,eAAgB,YAClB,EACA,UAAW,CACT,kBAAmB,gBACnB,kBAAmB,eACrB,CACF","names":["defaultMessages","n","options"]}