carbon-react 158.13.0 → 158.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/components/button/button.component.js +1 -1
- package/esm/components/dismissible-box/dismissible-box.component.d.ts +1 -1
- package/esm/components/loader/__next__/internal/ring-loader.component.d.ts +1 -5
- package/esm/components/loader/__next__/internal/ring-loader.component.js +1 -1
- package/esm/components/loader/__next__/loader.component.js +1 -1
- package/esm/components/loader/__next__/loader.style.d.ts +0 -8
- package/esm/components/loader/__next__/loader.style.js +1 -1
- package/esm/components/pod/pod.component.d.ts +1 -1
- package/esm/components/tabs/tabs.component.d.ts +1 -1
- package/esm/locales/de-de.js +1 -1
- package/esm/locales/en-gb.js +1 -1
- package/esm/locales/fr-ca.js +1 -1
- package/esm/locales/fr-fr.js +1 -1
- package/lib/components/button/button.component.js +1 -1
- package/lib/components/dismissible-box/dismissible-box.component.d.ts +1 -1
- package/lib/components/loader/__next__/internal/ring-loader.component.d.ts +1 -5
- package/lib/components/loader/__next__/internal/ring-loader.component.js +1 -1
- package/lib/components/loader/__next__/loader.component.js +1 -1
- package/lib/components/loader/__next__/loader.style.d.ts +0 -8
- package/lib/components/loader/__next__/loader.style.js +1 -1
- package/lib/components/pod/pod.component.d.ts +1 -1
- package/lib/components/tabs/tabs.component.d.ts +1 -1
- package/lib/locales/de-de.js +1 -1
- package/lib/locales/en-gb.js +1 -1
- package/lib/locales/fr-ca.js +1 -1
- package/lib/locales/fr-fr.js +1 -1
- package/package.json +2 -2
- package/esm/components/button/__internal__/button.context.d.ts +0 -8
- package/esm/components/button/__internal__/button.context.js +0 -1
- package/lib/components/button/__internal__/button.context.d.ts +0 -8
- package/lib/components/button/__internal__/button.context.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as e,jsxs as t,Fragment as o}from"react/jsx-runtime";import i,{useContext as n,useState as r,useCallback as l}from"react";import a from"invariant";import c from"../icon/icon.component.js";import s,{StyledButtonMainText as p,StyledButtonSubtext as b}from"./button.style.js";import u from"../../__internal__/utils/helpers/tags/tags.js";import{TooltipProvider as d}from"../../__internal__/tooltip-provider/index.js";import f from"../button-bar/__internal__/button-bar.context.js";import y from"../split-button/__internal__/split-button.context.js";import m from"../batch-selection/__internal__/batch-selection.context.js";function h(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function g(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},i=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})))),i.forEach((function(t){h(e,t,o[t])}))}return e}function O(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))})),e}function j({iconType:i,iconPosition:n,size:r,subtext:l,children:a,disabled:s,buttonType:u,iconTooltipMessage:f,iconTooltipPosition:y,tooltipTarget:m}){const h={"aria-hidden":!0,disabled:s,color:"primary"===u?"--colorsActionMajorYang100":u.includes("gradient")?"--colorsActionMinorYin090":"--colorsActionMajor500",bg:"transparent"},j=void 0!==a&&!1!==a;return t(o,{children:[i&&"before"===n&&j&&e(c,g({type:i},h)),j&&t("span",{children:[e(p,{"data-element":"main-text",children:a}),"large"===r&&e(b,{"data-element":"subtext","data-role":"subtext",children:l})]}),i&&!j&&e(d,{disabled:s,focusable:!1,target:m,children:e(c,O(g({type:i},h),{tooltipMessage:f,tooltipPosition:y}))}),i&&"after"===n&&a&&e(c,g({type:i},h))]})}const v=i.forwardRef(((t,o)=>{var{"aria-describedby":i,"aria-label":c,"aria-labelledby":p,buttonType:b="secondary",children:d,destructive:h=!1,disabled:v=!1,isWhite:P=!1,fullWidth:T=!1,href:_,iconPosition:x="before",iconTooltipMessage:w,iconTooltipPosition:k,iconType:W,m:S=0,noWrap:M,onClick:D,px:z,rel:C,size:E="medium",subtext:A="",target:B}=t,Y=function(e,t){if(null==e)return{};var o,i,n=function(e,t){if(null==e)return{};var o,i,n={},r=Object.keys(e);for(i=0;i<r.length;i++)o=r[i],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)o=r[i],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}(t,["aria-describedby","aria-label","aria-labelledby","buttonType","children","destructive","disabled","isWhite","fullWidth","href","iconPosition","iconTooltipMessage","iconTooltipPosition","iconType","m","noWrap","onClick","px","rel","size","subtext","target"]);const{buttonType:I,size:K,iconPosition:N,fullWidth:R}=n(f),{batchSelectionDisabled:q}=n(m),F=I||b,G=K||E,H=N||x,J=R||T,L=v||q;a(void 0!==d||!!W,"Either prop `iconType` must be defined or this node must have children."),A&&a("large"===G,"subtext prop has no effect unless the button is large.");const[Q,U]=r(null),{inSplitButton:V,onChildButtonClick:X}=n(y);let Z;switch(G){case"small":Z=2;break;case"large":Z=4;break;default:Z=3}const $=l((e=>{U(e),o&&("object"==typeof o&&(o.current=e),"function"==typeof o&&o(e))}),[o]),ee=void 0!==d&&!1!==d;return e(s,O(g({"aria-label":!ee&&W?c||W:c,"aria-labelledby":p,"aria-describedby":i,as:!L&&_?"a":"button",onKeyDown:_?e=>{" "===e.key&&(e.preventDefault(),null==Q||Q.click())}:void 0,onClick:e=>{var t;null==Q||Q.focus({preventScroll:!0}),V?null==X||null===(t=X(D))||void 0===t||t(e):D&&D(e)},draggable:!1,buttonType:F,disabled:L,destructive:h,isWhite:P,type:_?void 0:"button",iconType:W,size:G,px:null!=z?z:Z,m:S,noWrap:M,iconOnly:!ee&&!!W,iconPosition:H,target:B,rel:C,fullWidth:J},u("button",Y),Y,_&&{href:_}),{ref:$,children:j({iconType:W,iconPosition:H,size:G,subtext:A,children:d,disabled:L,buttonType:F,iconTooltipMessage:w,iconTooltipPosition:k,tooltipTarget:Q})}))}));v.displayName="Button";export{v as default};
|
|
@@ -4,7 +4,7 @@ import { StyledDismissibleBoxProps } from "./dismissible-box.style";
|
|
|
4
4
|
import { BoxProps } from "../box";
|
|
5
5
|
import { TagProps } from "../../__internal__/utils/helpers/tags";
|
|
6
6
|
/**
|
|
7
|
-
* @deprecated `
|
|
7
|
+
* @deprecated `DismissibleBox` has been deprecated. See the Carbon documentation for migration details.
|
|
8
8
|
*/
|
|
9
9
|
export interface DismissibleBoxProps extends SpaceProps, StyledDismissibleBoxProps, Omit<BoxProps, "display" | "justifyContent" | "bg" | "backgroundColor">, TagProps {
|
|
10
10
|
/** The content to render in the component */
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { LoaderProps } from "../loader.component";
|
|
3
|
-
declare const RingLoader: ({ inverse, size, variant, hasMotion, isTracked, animationTime, loaderLabel, showLabel, isSuccess, isError,
|
|
4
|
-
isInsideTypicalButton?: boolean;
|
|
5
|
-
isInsideDestructiveButton?: boolean;
|
|
6
|
-
isInsidePrimaryButton?: boolean;
|
|
7
|
-
}) => React.JSX.Element;
|
|
3
|
+
declare const RingLoader: ({ inverse, size, variant, hasMotion, isTracked, animationTime, loaderLabel, showLabel, isSuccess, isError, }: LoaderProps) => React.JSX.Element;
|
|
8
4
|
export default RingLoader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsxs as e,jsx as
|
|
1
|
+
import{jsxs as e,jsx as r}from"react/jsx-runtime";import"react";import{StyledRingLoaderWrapper as a,StyledRingCircleSvg as i,StyledLoaderLabel as o}from"../loader.style.js";import l from"../../../../hooks/__internal__/useLocale/useLocale.js";const n=e=>e||.8,s=({inverse:s,size:t,variant:c,hasMotion:d,isTracked:m,animationTime:u,loaderLabel:p,showLabel:v,isSuccess:h,isError:k})=>{const T=l(),f=c&&["stacked","inline"].includes(c)?c:"stacked",g=t&&["extra-small","small","large"].includes(t)?t:"medium";return e(a,{loaderVariant:c,"data-role":"ring-loader-container",children:[e(i,{inverse:s,role:"presentation",size:g,variant:f,hasMotion:d,isTracked:m,animationTime:n(u),viewBox:"0 0 24 24",isSuccess:h,isError:k,children:[r("circle",{"data-role":"outer-arc"}),r("circle",{"data-role":"inner-arc"})]}),v&&r(o,{inverse:s,"data-role":"loader-label",variant:"span",loaderVariant:f,loaderType:"ring",size:g,children:p||(null==T?void 0:T.loader.loading())})]})};export{s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import"react";import r from"../../../__internal__/utils/helpers/tags/tags.js";import t from"../../../hooks/__internal__/useLocale/useLocale.js";import o from"../../../hooks/useMediaQuery/useMediaQuery.js";import"../../../style/utils/filter-styled-system-padding-props.js";import n from"../../../style/utils/filter-styled-system-margin-props.js";import{StyledLoader as a,StyledLabel as i}from"./loader.style.js";import s from"./internal/standalone-loader.component.js";import l from"./internal/ring-loader.component.js";import c from"./internal/stars-loader.component.js";function p(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const u=u=>{var{animationTime:m,hasMotion:f=!0,isTracked:b=!1,loaderLabel:d,showLabel:y=!0,loaderType:O="standalone",size:j,variant:g,inverse:h=!1,isSuccess:v=!1,isError:w=!1}=u,P=function(e,r){if(null==e)return{};var t,o,n=function(e,r){if(null==e)return{};var t,o,n={},a=Object.keys(e);for(o=0;o<a.length;o++)t=a[o],r.indexOf(t)>=0||(n[t]=e[t]);return n}(e,r);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(o=0;o<a.length;o++)t=a[o],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}(u,["animationTime","hasMotion","isTracked","loaderLabel","showLabel","loaderType","size","variant","inverse","isSuccess","isError"]);const L=t(),S=o("screen and (prefers-reduced-motion: no-preference)"),T=(()=>{switch(O){case"star":return c({loaderLabel:d,showLabel:y});case"ring":return l({inverse:h,size:j,variant:g,hasMotion:f,isTracked:b,animationTime:m,loaderLabel:d,showLabel:y,isSuccess:v,isError:w});default:return s({size:j,variant:g,inverse:h,loaderLabel:d,showLabel:y,animationTime:m,hasMotion:f})}})();return e(a,(k=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),o.forEach((function(r){p(e,r,t[r])}))}return e}({role:"status"},r("loader",P),n(P),!y&&{"aria-label":d||L.loader.loading()}),_=null!=(_={children:S?T:e(i,{inverse:h,children:d||L.loader.loading()})})?_:{},Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(_)):function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r}(Object(_)).forEach((function(e){Object.defineProperty(k,e,Object.getOwnPropertyDescriptor(_,e))})),k));var k,_};export{u as Loader,u as default};
|
|
@@ -22,11 +22,8 @@ interface RingSvgProps {
|
|
|
22
22
|
isTracked?: boolean;
|
|
23
23
|
isGradientVariant?: boolean;
|
|
24
24
|
animationTime?: number;
|
|
25
|
-
isInsideTypicalButton?: boolean;
|
|
26
|
-
isInsideDestructiveButton?: boolean;
|
|
27
25
|
isSuccess?: boolean;
|
|
28
26
|
isError?: boolean;
|
|
29
|
-
isInsidePrimaryButton?: boolean;
|
|
30
27
|
}
|
|
31
28
|
export declare const StyledRingCircleSvg: import("styled-components").StyledComponent<"svg", any, RingSvgProps, never>;
|
|
32
29
|
export declare const StyledStars: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -35,10 +32,6 @@ type LabelProps = {
|
|
|
35
32
|
loaderVariant?: string;
|
|
36
33
|
inverse?: boolean;
|
|
37
34
|
loaderType: string;
|
|
38
|
-
isInsideTypicalButton?: boolean;
|
|
39
|
-
isInsideDestructiveButton?: boolean;
|
|
40
|
-
isInsidePrimaryButton?: boolean;
|
|
41
|
-
hasMotion?: boolean;
|
|
42
35
|
};
|
|
43
36
|
export declare const StyledStarLoaderWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
44
37
|
export declare const StyledLoaderLabel: import("styled-components").StyledComponent<{
|
|
@@ -51,7 +44,6 @@ type RingLoaderWrapperProps = {
|
|
|
51
44
|
export declare const StyledRingLoaderWrapper: import("styled-components").StyledComponent<"div", any, RingLoaderWrapperProps, never>;
|
|
52
45
|
type StyledLabelProps = {
|
|
53
46
|
inverse?: boolean;
|
|
54
|
-
isInsideButton?: boolean;
|
|
55
47
|
};
|
|
56
48
|
export declare const StyledLabel: import("styled-components").StyledComponent<"span", any, StyledLabelProps, never>;
|
|
57
49
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e,{css as
|
|
1
|
+
import e,{css as a}from"styled-components";import{margin as t}from"styled-system";import i from"../../../style/themes/apply-base-theme.js";import{Typography as r}from"../../typography/typography.component.js";import"react/jsx-runtime";import"react";import n from"../../button/button.style.js";const o={"extra-small":20,small:32,medium:64,large:80},s={"extra-small":2.7,small:2.7,medium:2.7,large:2.7},l={small:"4px",medium:"8px",large:"16px"},d={"extra-small":"8px",small:"8px",medium:"12px",large:"16px"},m=(e,a)=>{const t=a?"rgba(255, 255, 255, 0.08)":"rgba(0, 0, 0, 0.08)";return"ai"===e?{outerBarBackground:t,innerBarBackground:a?"linear-gradient(90deg, var(--mode-color-ai-alt-stop-1, #00D639) 0%, var(--mode-color-ai-alt-stop-2, #00D6DE) 40%, var(--mode-color-ai-alt-stop-3, #9D60FF) 90%)":"linear-gradient(90deg, var(--mode-color-ai-stop-1, #13A038) 0%, var(--mode-color-ai-stop-2, #149197) 40%, var(--mode-color-ai-stop-3, #A87CFB) 90%)"}:{outerBarBackground:t,innerBarBackground:a?"#FFFFFF":"#000000"}},c=a(["display:flex;justify-content:center;text-align:center;"]),p=e.div.withConfig({displayName:"loader.style__StyledLoaderPlaceholder",componentId:"sc-aaaf19f2-0"})(["display:inline-block;min-width:var(--sizing800);"]),f=e.div.attrs(i).withConfig({displayName:"loader.style__StyledLoader",componentId:"sc-aaaf19f2-1"})([""," text-align:center;white-space:nowrap;"],t),g=e.div.withConfig({displayName:"loader.style__OuterBar",componentId:"sc-aaaf19f2-2"})(["",""],(({size:e,variant:t,inverse:i})=>a(["border-radius:var(--borderRadius400);height:",";width:100%;background:",";overflow:hidden;position:relative;"],l[e],m(t,i).outerBarBackground))),h=e.div.withConfig({displayName:"loader.style__InnerBar",componentId:"sc-aaaf19f2-3"})(["",""],(({size:e,variant:t,inverse:i,animationTime:r,hasMotion:n})=>a(["@keyframes innerBarAnimationOne{0%{left:0%;animation-timing-function:linear;}30%{left:10px;animation-timing-function:cubic-bezier(0.5,0.6,0.4,1);}100%{left:calc(100% - 15px);}}@keyframes innerBarAnimationTwo{0%{width:15px;animation-timing-function:cubic-bezier(0.7,0,0.8,1);}50%{width:35%;}100%{width:15px;}}position:absolute;background:",";width:15px;height:",";border-radius:var(--borderRadius400);animation-name:innerBarAnimationOne,innerBarAnimationTwo;"," animation-iteration-count:",";"],m(t,i).innerBarBackground,l[e],n&&`animation-duration: ${r}s, ${r}s;`,n?"infinite, infinite":"none, none"))),u=e.svg.withConfig({displayName:"loader.style__StyledRingCircleSvg",componentId:"sc-aaaf19f2-4"})([""," ",' & circle[data-role="inner-arc"]{stroke:currentColor;}'],(({inverse:e,size:t,hasMotion:i,isTracked:r,isError:n,isSuccess:l,animationTime:d})=>{const m=`${o[t]}px`,c=s[t];return a(["height:",";min-height:",';circle[data-role="outer-arc"]{fill:transparent;stroke-width:',"px;stroke:",';cx:12px;cy:12px;r:10px;}circle[data-role="inner-arc"]{fill:transparent;stroke-width:',"px;stroke:",";stroke-linecap:round;stroke-dasharray:100px;stroke-dashoffset:95px;transform-origin:12px 12px 0px;cx:12px;cy:12px;r:10px;transform:rotate(-90deg);@keyframes trackedAnimation{from{stroke-dasharray:100;stroke-dashoffset:100;}to{stroke-dasharray:100;stroke-dashoffset:20;}}@keyframes untrackedAnimation{0%{transform:rotate(-90deg);stroke-dashoffset:95;}50%{transform:rotate(90deg);stroke-dashoffset:80;}100%{transform:rotate(270deg);stroke-dashoffset:95;}}animation-name:",";"," animation-timing-function:cubic-bezier(0,0,1,1);animation-iteration-count:",";}"],m,m,c,e?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.08)",c,(({inverse:e,isSuccess:a,isError:t})=>t?"#DB004E;":a?"#00811F;":e?"#FFF;":"#000000")({inverse:e,isSuccess:l,isError:n}),r?"trackedAnimation":"untrackedAnimation",i&&`animation-duration: ${d}s;`,i?"infinite":"none")}),n),x="40px",y=e.div.withConfig({displayName:"loader.style__StyledStars",componentId:"sc-aaaf19f2-5"})(["position:relative;width:",";height:",";"],x,x),k={standalone:{small:"4px",medium:"8px",large:"12px"},ring:{"extra-small":"4px",small:"8px",medium:"8px",large:"12px"}},w=e.div.withConfig({displayName:"loader.style__StyledStarLoaderWrapper",componentId:"sc-aaaf19f2-6"})(["position:relative;display:flex;align-items:center;justify-content:center;"]),v=e(r).withConfig({displayName:"loader.style__StyledLoaderLabel",componentId:"sc-aaaf19f2-7"})([""," line-height:150%;color:",";"," &{color:currentColor;}",""],c,(({inverse:e})=>e?"rgba(255, 255, 255, 0.55)":"rgba(0, 0, 0, 0.65)"),n,(({size:e="medium",loaderType:t,loaderVariant:i})=>"star"===t?a(["font-size:16px;font-weight:400;margin-left:12px;width:min-content;"]):"standalone"===t?a(["font-size:",";font-weight:500;width:100%;margin-top:",";"],"large"===e?"16px":"14px",k[t][e]):a(["font-size:",";font-weight:500;width:",";",";"],"large"===e?"16px":"extra-small"===e?"13px":"14px","inline"===i?"auto":"100%","inline"===i?`margin-left: ${d[e]}`:`margin-top: ${k[t][e]}`))),b=e.div.withConfig({displayName:"loader.style__StyledRingLoaderWrapper",componentId:"sc-aaaf19f2-8"})(["",""],(({loaderVariant:e})=>a(["display:flex;flex-direction:",";align-items:center;justify-content:center;width:",";"],"inline"===e?"row":"column","inline"===e?"auto":"100%"))),B=e.span.withConfig({displayName:"loader.style__StyledLabel",componentId:"sc-aaaf19f2-9"})(["",";"],(({inverse:e})=>a(["color:",";"," &{color:currentColor;}"],e?"rgba(255, 255, 255, 0.90)":"rgba(0, 0, 0, 0.90)",n)));export{h as InnerBar,g as OuterBar,B as StyledLabel,f as StyledLoader,v as StyledLoaderLabel,p as StyledLoaderPlaceholder,u as StyledRingCircleSvg,b as StyledRingLoaderWrapper,w as StyledStarLoaderWrapper,y as StyledStars};
|
|
@@ -28,7 +28,7 @@ export interface PodProps extends MarginProps, TagProps {
|
|
|
28
28
|
onDelete?: (ev: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>) => void;
|
|
29
29
|
/** Supplies an undo action to the pod in soft delete state. */
|
|
30
30
|
onUndo?: (ev: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>) => void;
|
|
31
|
-
/** Sets
|
|
31
|
+
/** Sets soft boolean delete state */
|
|
32
32
|
softDelete?: boolean;
|
|
33
33
|
/** Determines if the editable pod content should be full width */
|
|
34
34
|
editContentFullWidth?: boolean;
|
|
@@ -59,7 +59,7 @@ export interface TabsProps extends MarginProps, TagProps {
|
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* When this prop is set any string validation failures in the children of each Tab
|
|
62
|
-
* will be
|
|
62
|
+
* will be summarised in the Tooltip next to the Tab title
|
|
63
63
|
* @deprecated This prop will be deprecated in a future release
|
|
64
64
|
*/
|
|
65
65
|
showValidationsSummary?: boolean;
|
package/esm/locales/de-de.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{de as e}from"date-fns/locale/de";const n=e=>1===("string"==typeof e?parseInt(e):e),a={locale:()=>"de-DE",actions:{edit:()=>"Bearbeiten",delete:()=>"Löschen"},actionPopover:{ariaLabel:()=>"Aktionen"},advancedColorPicker:{ariaLabel:()=>"Farbe ändern",currentColorDescriptionTerm:()=>"Aktuell zugewiesene Farbe:",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} ausgewählt`},breadcrumbs:{ariaLabel:()=>"Breadcrumbs"},confirm:{no:()=>"Nein",yes:()=>"Ja"},characterCount:{tooManyCharacters:e=>`${e} Zeichen zu viel`,charactersLeft:e=>`${e} Zeichen übrig`,visuallyHiddenHint:e=>`Sie können bis zu ${e} Zeichen eingeben.`},date:{dateFnsLocale:()=>e,ariaLabels:{previousMonthButton:()=>"Vorheriger Monat",nextMonthButton:()=>"Nächster Monat"}},dialog:{ariaLabels:{close:()=>"Schließen"}},dismissibleBox:{ariaLabels:{close:()=>"Schließen"}},errors:{messages:{formSummary:(e,a,i)=>{const r=n(a)?"Warnung":"Warnungen";return e&&a&&"warning"===i?["und",`${a} ${r}`]:e?["Es gibt",`${e} Fehler`]:a?["Es gibt",`${a} ${r}`]:null}}},fileInput:{dragAndDrop:()=>"oder per Drag & Drop ablegen",selectFile:()=>"Datei auswählen",fileUploadStatus:()=>"Status",actions:{cancel:()=>"Upload abbrechen",clear:()=>"Löschen",delete:()=>"Datei löschen"}},heading:{backLinkAriaLabel:()=>"Zurück"},link:{skipLinkLabel:()=>"Zum Hauptinhalt springen"},loader:{loading:()=>"Laden"},loaderSpinner:{loading:()=>"Laden..."},loaderStar:{loading:()=>"Laden..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Schließen"}},message:{closeButtonAriaLabel:()=>"Schließen",error:()=>"Fehler",info:()=>"Informationen",success:()=>"Erfolg",warning:()=>"Warnung",neutral:()=>"Informationen",ai:()=>"Von KI generierte Informationen"},numeralDate:{validation:{day:(e,n)=>e&&n?`Tag in ${e} muss eine Zahl von 1- ${n} sein`:"Der Tag muss eine Zahl zwischen 1 und 31 sein.",month:()=>"Der Monat muss eine Zahl zwischen 1 und 12 sein.",year:()=>"Das Jahr muss eine Zahl zwischen 1000 und 2200 sein."},labels:{day:()=>"Tag",month:()=>"Monat",year:()=>"Jahr"}},pager:{show:()=>"Anzeigen",records:(e,a=!0)=>{const i=n(e)?"Element":"Elemente";return a?`${e} ${i}`:i},first:()=>"Erste",last:()=>"Letzte",next:()=>"Weiter",previous:()=>"Vorherige",pageX:()=>"Seite",ofY:e=>`von ${e}`},password:{buttonLabelHide:()=>"Ausblenden",buttonLabelShow:()=>"Anzeigen",ariaLabelHide:()=>"Passwort ausblenden",ariaLabelShow:()=>"Passwort anzeigen",ariaLiveShownMessage:()=>"Ihr Passwort wurde angezeigt. Bewegen Sie den Cursor über das Passwort, um es sich vorlesen zu lassen, wenn dies sicher ist.",ariaLiveHiddenMessage:()=>"Ihr Passwort ist derzeit ausgeblendet."},progressTracker:{of:()=>"von"},pod:{undo:()=>"Rückgängig"},textEditor:{boldAria:()=>"Fett",cancelButton:()=>"Abbrechen",cancelButtonAria:()=>"Abbrechen",characterCounter:e=>`Noch ${"number"==typeof e?e.toString():e} Zeichen`,characterLimit:e=>`Sie sind ${e} Zeichen über dem Zeichenlimit`,contentEditorAria:()=>"Editor für Rich-Text-Inhalte",italicAria:()=>"Kursiv",orderedListAria:()=>"Sortierte Liste",saveButton:()=>"Speichern",saveButtonAria:()=>"Speichern",toolbarAriaLabel:()=>"Formatierung",unorderedListAria:()=>"Unsortierte Liste",underlineAria:()=>"Underline",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Suchen"},select:{actionButtonText:()=>"Neues Element hinzufügen",placeholder:()=>"Bitte auswählen...",noResultsForTerm:e=>`Es wurden keine Ergebnisse für ${e} gefunden.`},sidebar:{ariaLabels:{close:()=>"Schließen"}},sort:{accessibleName:(e,n)=>`Alle ${e||"inhalte"}${n?` in der Reihenfolge ${"ascending"===n?"aufsteigend":"absteigend"} sortieren.`:" in der Reihenfolge aufsteigend oder absteigend sortieren."}`},splitButton:{ariaLabel:()=>"Mehr anzeigen"},stepFlow:{stepLabel:(e,n)=>`Schritt ${e} von ${n}`,screenReaderOnlyTitle:(e,n,a,i)=>`${i?`${i}.`:""} ${e}. Schritt ${n} von ${a}.`,closeIconAriaLabel:()=>"Schließen"},switch:{on:()=>"EIN",off:()=>"AUS"},tileSelect:{deselect:()=>"Auswahl aufheben"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"h",minutesLabelText:()=>"min",hoursAriaLabelText:()=>"Stunden",minutesAriaLabelText:()=>"Minuten"},toast:{ariaLabels:{close:()=>"Schließen"},error:()=>"",info:()=>"",success:()=>"",warning:()=>"",neutral:()=>"",notification:()=>""},verticalMenuFullScreen:{ariaLabels:{close:()=>"Schließen"}}};export{a as default};
|
|
1
|
+
import{de as e}from"date-fns/locale/de";const n=e=>1===("string"==typeof e?parseInt(e):e),a={locale:()=>"de-DE",actions:{edit:()=>"Bearbeiten",delete:()=>"Löschen"},actionPopover:{ariaLabel:()=>"Aktionen"},advancedColorPicker:{ariaLabel:()=>"Farbe ändern",currentColorDescriptionTerm:()=>"Aktuell zugewiesene Farbe:",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} ausgewählt`},breadcrumbs:{ariaLabel:()=>"Breadcrumbs"},confirm:{no:()=>"Nein",yes:()=>"Ja"},characterCount:{tooManyCharacters:e=>`${e} Zeichen zu viel`,charactersLeft:e=>`${e} Zeichen übrig`,visuallyHiddenHint:e=>`Sie können bis zu ${e} Zeichen eingeben.`},date:{dateFnsLocale:()=>e,ariaLabels:{previousMonthButton:()=>"Vorheriger Monat",nextMonthButton:()=>"Nächster Monat"}},dialog:{ariaLabels:{close:()=>"Schließen"}},dismissibleBox:{ariaLabels:{close:()=>"Schließen"}},errors:{messages:{formSummary:(e,a,i)=>{const r=n(a)?"Warnung":"Warnungen";return e&&a&&"warning"===i?["und",`${a} ${r}`]:e?["Es gibt",`${e} Fehler`]:a?["Es gibt",`${a} ${r}`]:null}}},fileInput:{dragAndDrop:()=>"oder per Drag & Drop ablegen",selectFile:()=>"Datei auswählen",fileUploadStatus:()=>"Status",actions:{cancel:()=>"Upload abbrechen",clear:()=>"Löschen",delete:()=>"Datei löschen"}},heading:{backLinkAriaLabel:()=>"Zurück"},link:{skipLinkLabel:()=>"Zum Hauptinhalt springen"},loader:{loading:()=>"Laden..."},loaderSpinner:{loading:()=>"Laden..."},loaderStar:{loading:()=>"Laden..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Schließen"}},message:{closeButtonAriaLabel:()=>"Schließen",error:()=>"Fehler",info:()=>"Informationen",success:()=>"Erfolg",warning:()=>"Warnung",neutral:()=>"Informationen",ai:()=>"Von KI generierte Informationen"},numeralDate:{validation:{day:(e,n)=>e&&n?`Tag in ${e} muss eine Zahl von 1- ${n} sein`:"Der Tag muss eine Zahl zwischen 1 und 31 sein.",month:()=>"Der Monat muss eine Zahl zwischen 1 und 12 sein.",year:()=>"Das Jahr muss eine Zahl zwischen 1000 und 2200 sein."},labels:{day:()=>"Tag",month:()=>"Monat",year:()=>"Jahr"}},pager:{show:()=>"Anzeigen",records:(e,a=!0)=>{const i=n(e)?"Element":"Elemente";return a?`${e} ${i}`:i},first:()=>"Erste",last:()=>"Letzte",next:()=>"Weiter",previous:()=>"Vorherige",pageX:()=>"Seite",ofY:e=>`von ${e}`},password:{buttonLabelHide:()=>"Ausblenden",buttonLabelShow:()=>"Anzeigen",ariaLabelHide:()=>"Passwort ausblenden",ariaLabelShow:()=>"Passwort anzeigen",ariaLiveShownMessage:()=>"Ihr Passwort wurde angezeigt. Bewegen Sie den Cursor über das Passwort, um es sich vorlesen zu lassen, wenn dies sicher ist.",ariaLiveHiddenMessage:()=>"Ihr Passwort ist derzeit ausgeblendet."},progressTracker:{of:()=>"von"},pod:{undo:()=>"Rückgängig"},textEditor:{boldAria:()=>"Fett",cancelButton:()=>"Abbrechen",cancelButtonAria:()=>"Abbrechen",characterCounter:e=>`Noch ${"number"==typeof e?e.toString():e} Zeichen`,characterLimit:e=>`Sie sind ${e} Zeichen über dem Zeichenlimit`,contentEditorAria:()=>"Editor für Rich-Text-Inhalte",italicAria:()=>"Kursiv",orderedListAria:()=>"Sortierte Liste",saveButton:()=>"Speichern",saveButtonAria:()=>"Speichern",toolbarAriaLabel:()=>"Formatierung",unorderedListAria:()=>"Unsortierte Liste",underlineAria:()=>"Underline",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Suchen"},select:{actionButtonText:()=>"Neues Element hinzufügen",placeholder:()=>"Bitte auswählen...",noResultsForTerm:e=>`Es wurden keine Ergebnisse für ${e} gefunden.`},sidebar:{ariaLabels:{close:()=>"Schließen"}},sort:{accessibleName:(e,n)=>`Alle ${e||"inhalte"}${n?` in der Reihenfolge ${"ascending"===n?"aufsteigend":"absteigend"} sortieren.`:" in der Reihenfolge aufsteigend oder absteigend sortieren."}`},splitButton:{ariaLabel:()=>"Mehr anzeigen"},stepFlow:{stepLabel:(e,n)=>`Schritt ${e} von ${n}`,screenReaderOnlyTitle:(e,n,a,i)=>`${i?`${i}.`:""} ${e}. Schritt ${n} von ${a}.`,closeIconAriaLabel:()=>"Schließen"},switch:{on:()=>"EIN",off:()=>"AUS"},tileSelect:{deselect:()=>"Auswahl aufheben"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"h",minutesLabelText:()=>"min",hoursAriaLabelText:()=>"Stunden",minutesAriaLabelText:()=>"Minuten"},toast:{ariaLabels:{close:()=>"Schließen"},error:()=>"",info:()=>"",success:()=>"",warning:()=>"",neutral:()=>"",notification:()=>""},verticalMenuFullScreen:{ariaLabels:{close:()=>"Schließen"}}};export{a as default};
|
package/esm/locales/en-gb.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{enGB as e}from"date-fns/locale/en-GB";const a=e=>1===("string"==typeof e?parseInt(e):e),r={locale:()=>"en-GB",actions:{edit:()=>"Edit",delete:()=>"Delete"},actionPopover:{ariaLabel:()=>"actions"},advancedColorPicker:{ariaLabel:()=>"Change colour",currentColorDescriptionTerm:()=>"Current colour assigned: ",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} selected`},breadcrumbs:{ariaLabel:()=>"breadcrumbs"},confirm:{no:()=>"No",yes:()=>"Yes"},characterCount:{tooManyCharacters:(e,a)=>1===e?`${a} character too many`:`${a} characters too many`,charactersLeft:(e,a)=>1===e?`${a} character left`:`${a} characters left`,visuallyHiddenHint:e=>`You can enter up to ${e} characters`},date:{dateFnsLocale:()=>e,ariaLabels:{previousMonthButton:()=>"Previous month",nextMonthButton:()=>"Next month"},dateFormatOverride:void 0},dialog:{ariaLabels:{close:()=>"Close"}},dismissibleBox:{ariaLabels:{close:()=>"Close"}},errors:{messages:{formSummary:(e,r,t)=>{const o=a(e)?"error":"errors",n=a(r)?"warning":"warnings",i=a(e)?"is":"are",s=a(r)?"is":"are";return e&&r&&"warning"===t?["and",`${r} ${n}`]:e?[`There ${i}`,`${e} ${o}`]:r?[`There ${s}`,`${r} ${n}`]:null}}},fileInput:{dragAndDrop:()=>"or drag and drop your file",selectFile:()=>"Select file",fileUploadStatus:()=>"File upload status",actions:{cancel:()=>"Cancel upload",clear:()=>"Clear",delete:()=>"Delete file"}},heading:{backLinkAriaLabel:()=>"Back"},link:{skipLinkLabel:()=>"Skip to main content"},loader:{loading:()=>"Loading"},loaderSpinner:{loading:()=>"Loading..."},loaderStar:{loading:()=>"Loading..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Close"}},message:{closeButtonAriaLabel:()=>"Close",error:()=>"Error",info:()=>"Information",success:()=>"Success",warning:()=>"Warning",neutral:()=>"Information",ai:()=>"AI Information",callout:()=>"Callout"},numeralDate:{validation:{day:(e,a)=>e&&a?`Day in ${e} should be a number within 1-${a}.`:"Day should be a number within a 1-31 range.",month:()=>"Month should be a number within a 1-12 range.",year:()=>"Year should be a number within a 1800-2200 range."},labels:{day:()=>"Day",month:()=>"Month",year:()=>"Year"}},pager:{show:()=>"Show",records:(e,r=!0)=>{const t=a(e)?"item":"items";return r?`${e} ${t}`:t},first:()=>"First",last:()=>"Last",next:()=>"Next",previous:()=>"Previous",pageX:()=>"Page",ofY:e=>`of ${e}`},password:{buttonLabelHide:()=>"Hide",buttonLabelShow:()=>"Show",ariaLabelHide:()=>"Hide password",ariaLabelShow:()=>"Show password",ariaLiveShownMessage:()=>"Your password has been shown. Focus on the password input to have it read to you, if it is safe to do so.",ariaLiveHiddenMessage:()=>"Your password is currently hidden."},pill:{remove:e=>`Remove ${e} pill`},progressTracker:{of:()=>"of"},pod:{undo:()=>"Undo"},textEditor:{boldAria:()=>"Bold",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",characterCounter:e=>`${"number"==typeof e?e.toString():e} characters remaining`,characterLimit:e=>`You are ${e} character(s) over the character limit`,contentEditorAria:()=>"Rich text content editor",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},italicAria:()=>"Italic",orderedListAria:()=>"Ordered list",saveButton:()=>"Save",saveButtonAria:()=>"Save",toolbarAriaLabel:()=>"Formatting",underlineAria:()=>"Underline",unorderedListAria:()=>"Unordered list",mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Search"},select:{actionButtonText:()=>"Add New Item",placeholder:()=>"Please Select...",noResultsForTerm:e=>`No results for "${e}"`},sidebar:{ariaLabels:{close:()=>"Close"}},sort:{accessibleName:(e,a)=>`Sort all ${e||"contents"}${a?` in an ${a} order.`:" in an ascending or descending order."}`},splitButton:{ariaLabel:()=>"Show more"},stepFlow:{stepLabel:(e,a)=>`Step ${e} of ${a}`,screenReaderOnlyTitle:(e,a,r,t)=>`${t?`${t}.`:""} ${e}. Step ${a} of ${r}.`,closeIconAriaLabel:()=>"Close"},switch:{on:()=>"ON",off:()=>"OFF"},tileSelect:{deselect:()=>"Deselect"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"Hrs.",minutesLabelText:()=>"Mins.",hoursAriaLabelText:()=>"Hours",minutesAriaLabelText:()=>"Minutes"},toast:{ariaLabels:{close:()=>"Close"},error:()=>"Error",info:()=>"Information",success:()=>"Success",warning:()=>"Warning",neutral:()=>"Information",notification:()=>"Notification"},verticalMenu:{ariaLabels:{responsiveMenuLauncher:()=>"Product menu launcher",responsiveMenuCloseButton:()=>"Close product menu",responsiveMenuAria:()=>"Product menu"}},verticalMenuFullScreen:{ariaLabels:{close:()=>"Close"}}};export{r as default};
|
|
1
|
+
import{enGB as e}from"date-fns/locale/en-GB";const a=e=>1===("string"==typeof e?parseInt(e):e),r={locale:()=>"en-GB",actions:{edit:()=>"Edit",delete:()=>"Delete"},actionPopover:{ariaLabel:()=>"actions"},advancedColorPicker:{ariaLabel:()=>"Change colour",currentColorDescriptionTerm:()=>"Current colour assigned: ",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} selected`},breadcrumbs:{ariaLabel:()=>"breadcrumbs"},confirm:{no:()=>"No",yes:()=>"Yes"},characterCount:{tooManyCharacters:(e,a)=>1===e?`${a} character too many`:`${a} characters too many`,charactersLeft:(e,a)=>1===e?`${a} character left`:`${a} characters left`,visuallyHiddenHint:e=>`You can enter up to ${e} characters`},date:{dateFnsLocale:()=>e,ariaLabels:{previousMonthButton:()=>"Previous month",nextMonthButton:()=>"Next month"},dateFormatOverride:void 0},dialog:{ariaLabels:{close:()=>"Close"}},dismissibleBox:{ariaLabels:{close:()=>"Close"}},errors:{messages:{formSummary:(e,r,t)=>{const o=a(e)?"error":"errors",n=a(r)?"warning":"warnings",i=a(e)?"is":"are",s=a(r)?"is":"are";return e&&r&&"warning"===t?["and",`${r} ${n}`]:e?[`There ${i}`,`${e} ${o}`]:r?[`There ${s}`,`${r} ${n}`]:null}}},fileInput:{dragAndDrop:()=>"or drag and drop your file",selectFile:()=>"Select file",fileUploadStatus:()=>"File upload status",actions:{cancel:()=>"Cancel upload",clear:()=>"Clear",delete:()=>"Delete file"}},heading:{backLinkAriaLabel:()=>"Back"},link:{skipLinkLabel:()=>"Skip to main content"},loader:{loading:()=>"Loading..."},loaderSpinner:{loading:()=>"Loading..."},loaderStar:{loading:()=>"Loading..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Close"}},message:{closeButtonAriaLabel:()=>"Close",error:()=>"Error",info:()=>"Information",success:()=>"Success",warning:()=>"Warning",neutral:()=>"Information",ai:()=>"AI Information",callout:()=>"Callout"},numeralDate:{validation:{day:(e,a)=>e&&a?`Day in ${e} should be a number within 1-${a}.`:"Day should be a number within a 1-31 range.",month:()=>"Month should be a number within a 1-12 range.",year:()=>"Year should be a number within a 1800-2200 range."},labels:{day:()=>"Day",month:()=>"Month",year:()=>"Year"}},pager:{show:()=>"Show",records:(e,r=!0)=>{const t=a(e)?"item":"items";return r?`${e} ${t}`:t},first:()=>"First",last:()=>"Last",next:()=>"Next",previous:()=>"Previous",pageX:()=>"Page",ofY:e=>`of ${e}`},password:{buttonLabelHide:()=>"Hide",buttonLabelShow:()=>"Show",ariaLabelHide:()=>"Hide password",ariaLabelShow:()=>"Show password",ariaLiveShownMessage:()=>"Your password has been shown. Focus on the password input to have it read to you, if it is safe to do so.",ariaLiveHiddenMessage:()=>"Your password is currently hidden."},pill:{remove:e=>`Remove ${e} pill`},progressTracker:{of:()=>"of"},pod:{undo:()=>"Undo"},textEditor:{boldAria:()=>"Bold",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",characterCounter:e=>`${"number"==typeof e?e.toString():e} characters remaining`,characterLimit:e=>`You are ${e} character(s) over the character limit`,contentEditorAria:()=>"Rich text content editor",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},italicAria:()=>"Italic",orderedListAria:()=>"Ordered list",saveButton:()=>"Save",saveButtonAria:()=>"Save",toolbarAriaLabel:()=>"Formatting",underlineAria:()=>"Underline",unorderedListAria:()=>"Unordered list",mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Search"},select:{actionButtonText:()=>"Add New Item",placeholder:()=>"Please Select...",noResultsForTerm:e=>`No results for "${e}"`},sidebar:{ariaLabels:{close:()=>"Close"}},sort:{accessibleName:(e,a)=>`Sort all ${e||"contents"}${a?` in an ${a} order.`:" in an ascending or descending order."}`},splitButton:{ariaLabel:()=>"Show more"},stepFlow:{stepLabel:(e,a)=>`Step ${e} of ${a}`,screenReaderOnlyTitle:(e,a,r,t)=>`${t?`${t}.`:""} ${e}. Step ${a} of ${r}.`,closeIconAriaLabel:()=>"Close"},switch:{on:()=>"ON",off:()=>"OFF"},tileSelect:{deselect:()=>"Deselect"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"Hrs.",minutesLabelText:()=>"Mins.",hoursAriaLabelText:()=>"Hours",minutesAriaLabelText:()=>"Minutes"},toast:{ariaLabels:{close:()=>"Close"},error:()=>"Error",info:()=>"Information",success:()=>"Success",warning:()=>"Warning",neutral:()=>"Information",notification:()=>"Notification"},verticalMenu:{ariaLabels:{responsiveMenuLauncher:()=>"Product menu launcher",responsiveMenuCloseButton:()=>"Close product menu",responsiveMenuAria:()=>"Product menu"}},verticalMenuFullScreen:{ariaLabels:{close:()=>"Close"}}};export{r as default};
|
package/esm/locales/fr-ca.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{frCA as e}from"date-fns/locale/fr-CA";const r=e=>1===("string"==typeof e?parseInt(e):e),a={locale:()=>"fr-CA",actions:{edit:()=>"Modifier",delete:()=>"Supprimer"},actionPopover:{ariaLabel:()=>"actions"},advancedColorPicker:{ariaLabel:()=>"Changer de couleur",currentColorDescriptionTerm:()=>"Couleur actuellement attribuée :",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} sélectionné(s)`},breadcrumbs:{ariaLabel:()=>"chemins de navigation"},confirm:{no:()=>"Non",yes:()=>"Oui"},characterCount:{tooManyCharacters:(e,r)=>1===e?`${r} caractère de trop`:`${r} caractères de trop`,charactersLeft:(e,r)=>1===e?`${r} caractère restant`:`${r} caractères restants`,visuallyHiddenHint:e=>`vous pouvez saisir jusqu'à ${e} caractères.`},date:{dateFnsLocale:()=>e,ariaLabels:{previousMonthButton:()=>"Mois précédent",nextMonthButton:()=>"Mois suivant"}},dialog:{ariaLabels:{close:()=>"Fermer"}},dismissibleBox:{ariaLabels:{close:()=>"Fermer"}},errors:{messages:{formSummary:(e,a,t)=>{const n=r(e)?"erreur":"erreurs",i=r(a)?"avertissement":"avertissements";return e&&a&&"warning"===t?["et",`${a} ${i}`]:e?["Il y a",`${e} ${n}`]:a?["Il y a",`${a} ${i}`]:null}}},fileInput:{dragAndDrop:()=>"ou glissez et déposez-le ici.",selectFile:()=>"Sélectionnez le fichier",fileUploadStatus:()=>"État du téléversement des fichiers",actions:{cancel:()=>"Annuler le téléversement",clear:()=>"Effacer",delete:()=>"Supprimer le fichier"}},heading:{backLinkAriaLabel:()=>"Retour"},link:{skipLinkLabel:()=>"Passer au contenu principal"},loader:{loading:()=>"Chargement"},loaderSpinner:{loading:()=>"Chargement..."},loaderStar:{loading:()=>"Chargement..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Fermer"}},message:{closeButtonAriaLabel:()=>"Fermer",error:()=>"Erreur",info:()=>"Information",success:()=>"Opération réussie",warning:()=>"Avertissement",neutral:()=>"Information",ai:()=>"Information générée par l'IA"},numeralDate:{validation:{day:(e,r)=>e&&r?`Le jour du ${e} doit être un nombre compris entre 1- ${r}`:"Le jour doit être un nombre compris entre 1 et 31 jours.",month:()=>"Le mois doit être un nombre compris entre 1 et 12.",year:()=>"L'année doit être un nombre compris entre 1800 et 2200."},labels:{day:()=>"Jour",month:()=>"Mois",year:()=>"Année"}},pager:{show:()=>"Afficher",records:(e,a=!0)=>{const t=r(e)?"élément":"éléments";return a?`${e} ${t}`:t},first:()=>"Première",last:()=>"Dernière",next:()=>"Suivante",previous:()=>"Précédente",pageX:()=>"Page",ofY:e=>`de ${e}`},password:{buttonLabelHide:()=>"Masquer",buttonLabelShow:()=>"Afficher",ariaLabelHide:()=>"Masquer le mot de passe",ariaLabelShow:()=>"Afficher le mot de passe",ariaLiveShownMessage:()=>"Votre mot de passe a été affiché. Si vous pouvez le faire en toute sécurité, focalisez sur la zone de saisie du mot de passe pour qu’il vous soit lu.",ariaLiveHiddenMessage:()=>"Votre mot de passe est actuellement masqué."},progressTracker:{of:()=>"de"},pod:{undo:()=>"Annuler"},textEditor:{boldAria:()=>"Gras",cancelButton:()=>"Annuler",cancelButtonAria:()=>"Annuler",characterCounter:e=>`${"number"==typeof e?e.toString():e} caractères restants`,characterLimit:e=>`Vous avez dépassé de ${e} caractères la limite autorisée`,contentEditorAria:()=>"Éditeur de texte enrichi",italicAria:()=>"Italique",orderedListAria:()=>"Liste ordonnée",saveButton:()=>"Enregistrer",saveButtonAria:()=>"Enregistrer",toolbarAriaLabel:()=>"Mise en forme",unorderedListAria:()=>"Liste non ordonnée",underlineAria:()=>"Underline",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Chercher"},select:{actionButtonText:()=>"Ajouter un nouvel élément",placeholder:()=>"Sélectionner...",noResultsForTerm:e=>`Aucun résultat pour ${e}`},sidebar:{ariaLabels:{close:()=>"Fermer"}},sort:{accessibleName:(e,r)=>`Trier tous les contenus ${e&&`de type ${e}`}${r?` par ordre ${"ascending"===r?"croissant":"décroissant"}.`:" par ordre croissant ou décroissant."}`},splitButton:{ariaLabel:()=>"Afficher plus"},stepFlow:{stepLabel:(e,r)=>`Étape ${e} de ${r}`,screenReaderOnlyTitle:(e,r,a,t)=>`${t?`${t}.`:""} ${e}. Étape ${r} de ${a}.`,closeIconAriaLabel:()=>"Fermer"},switch:{on:()=>"OUI",off:()=>"NON"},tileSelect:{deselect:()=>"Désélectionner"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"Hres",minutesLabelText:()=>"Mins.",hoursAriaLabelText:()=>"Heures",minutesAriaLabelText:()=>"Minutes"},toast:{ariaLabels:{close:()=>"Fermer"},error:()=>"",info:()=>"",success:()=>"",warning:()=>"",neutral:()=>"",notification:()=>""},verticalMenuFullScreen:{ariaLabels:{close:()=>"Fermer"}}};export{a as default};
|
|
1
|
+
import{frCA as e}from"date-fns/locale/fr-CA";const r=e=>1===("string"==typeof e?parseInt(e):e),a={locale:()=>"fr-CA",actions:{edit:()=>"Modifier",delete:()=>"Supprimer"},actionPopover:{ariaLabel:()=>"actions"},advancedColorPicker:{ariaLabel:()=>"Changer de couleur",currentColorDescriptionTerm:()=>"Couleur actuellement attribuée :",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} sélectionné(s)`},breadcrumbs:{ariaLabel:()=>"chemins de navigation"},confirm:{no:()=>"Non",yes:()=>"Oui"},characterCount:{tooManyCharacters:(e,r)=>1===e?`${r} caractère de trop`:`${r} caractères de trop`,charactersLeft:(e,r)=>1===e?`${r} caractère restant`:`${r} caractères restants`,visuallyHiddenHint:e=>`vous pouvez saisir jusqu'à ${e} caractères.`},date:{dateFnsLocale:()=>e,ariaLabels:{previousMonthButton:()=>"Mois précédent",nextMonthButton:()=>"Mois suivant"}},dialog:{ariaLabels:{close:()=>"Fermer"}},dismissibleBox:{ariaLabels:{close:()=>"Fermer"}},errors:{messages:{formSummary:(e,a,t)=>{const n=r(e)?"erreur":"erreurs",i=r(a)?"avertissement":"avertissements";return e&&a&&"warning"===t?["et",`${a} ${i}`]:e?["Il y a",`${e} ${n}`]:a?["Il y a",`${a} ${i}`]:null}}},fileInput:{dragAndDrop:()=>"ou glissez et déposez-le ici.",selectFile:()=>"Sélectionnez le fichier",fileUploadStatus:()=>"État du téléversement des fichiers",actions:{cancel:()=>"Annuler le téléversement",clear:()=>"Effacer",delete:()=>"Supprimer le fichier"}},heading:{backLinkAriaLabel:()=>"Retour"},link:{skipLinkLabel:()=>"Passer au contenu principal"},loader:{loading:()=>"Chargement..."},loaderSpinner:{loading:()=>"Chargement..."},loaderStar:{loading:()=>"Chargement..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Fermer"}},message:{closeButtonAriaLabel:()=>"Fermer",error:()=>"Erreur",info:()=>"Information",success:()=>"Opération réussie",warning:()=>"Avertissement",neutral:()=>"Information",ai:()=>"Information générée par l'IA"},numeralDate:{validation:{day:(e,r)=>e&&r?`Le jour du ${e} doit être un nombre compris entre 1- ${r}`:"Le jour doit être un nombre compris entre 1 et 31 jours.",month:()=>"Le mois doit être un nombre compris entre 1 et 12.",year:()=>"L'année doit être un nombre compris entre 1800 et 2200."},labels:{day:()=>"Jour",month:()=>"Mois",year:()=>"Année"}},pager:{show:()=>"Afficher",records:(e,a=!0)=>{const t=r(e)?"élément":"éléments";return a?`${e} ${t}`:t},first:()=>"Première",last:()=>"Dernière",next:()=>"Suivante",previous:()=>"Précédente",pageX:()=>"Page",ofY:e=>`de ${e}`},password:{buttonLabelHide:()=>"Masquer",buttonLabelShow:()=>"Afficher",ariaLabelHide:()=>"Masquer le mot de passe",ariaLabelShow:()=>"Afficher le mot de passe",ariaLiveShownMessage:()=>"Votre mot de passe a été affiché. Si vous pouvez le faire en toute sécurité, focalisez sur la zone de saisie du mot de passe pour qu’il vous soit lu.",ariaLiveHiddenMessage:()=>"Votre mot de passe est actuellement masqué."},progressTracker:{of:()=>"de"},pod:{undo:()=>"Annuler"},textEditor:{boldAria:()=>"Gras",cancelButton:()=>"Annuler",cancelButtonAria:()=>"Annuler",characterCounter:e=>`${"number"==typeof e?e.toString():e} caractères restants`,characterLimit:e=>`Vous avez dépassé de ${e} caractères la limite autorisée`,contentEditorAria:()=>"Éditeur de texte enrichi",italicAria:()=>"Italique",orderedListAria:()=>"Liste ordonnée",saveButton:()=>"Enregistrer",saveButtonAria:()=>"Enregistrer",toolbarAriaLabel:()=>"Mise en forme",unorderedListAria:()=>"Liste non ordonnée",underlineAria:()=>"Underline",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Chercher"},select:{actionButtonText:()=>"Ajouter un nouvel élément",placeholder:()=>"Sélectionner...",noResultsForTerm:e=>`Aucun résultat pour ${e}`},sidebar:{ariaLabels:{close:()=>"Fermer"}},sort:{accessibleName:(e,r)=>`Trier tous les contenus ${e&&`de type ${e}`}${r?` par ordre ${"ascending"===r?"croissant":"décroissant"}.`:" par ordre croissant ou décroissant."}`},splitButton:{ariaLabel:()=>"Afficher plus"},stepFlow:{stepLabel:(e,r)=>`Étape ${e} de ${r}`,screenReaderOnlyTitle:(e,r,a,t)=>`${t?`${t}.`:""} ${e}. Étape ${r} de ${a}.`,closeIconAriaLabel:()=>"Fermer"},switch:{on:()=>"OUI",off:()=>"NON"},tileSelect:{deselect:()=>"Désélectionner"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"Hres",minutesLabelText:()=>"Mins.",hoursAriaLabelText:()=>"Heures",minutesAriaLabelText:()=>"Minutes"},toast:{ariaLabels:{close:()=>"Fermer"},error:()=>"",info:()=>"",success:()=>"",warning:()=>"",neutral:()=>"",notification:()=>""},verticalMenuFullScreen:{ariaLabels:{close:()=>"Fermer"}}};export{a as default};
|
package/esm/locales/fr-fr.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{fr as e}from"date-fns/locale/fr";const r=e=>1===("string"==typeof e?parseInt(e):e),t={locale:()=>"fr-FR",actions:{edit:()=>"Modifier",delete:()=>"Supprimer"},actionPopover:{ariaLabel:()=>"actions"},advancedColorPicker:{ariaLabel:()=>"Changer de couleur",currentColorDescriptionTerm:()=>"Couleur actuelle attribuée :",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} sélectionné(s)`},breadcrumbs:{ariaLabel:()=>"Chemin de navigation"},confirm:{no:()=>"Non",yes:()=>"Oui"},characterCount:{tooManyCharacters:(e,r)=>1===e?`il y a ${r} caractère de trop`:`${r} caractères de trop`,charactersLeft:(e,r)=>1===e?`${r} caractère restant`:`${r} caractères restants`,visuallyHiddenHint:e=>`vous pouvez saisir jusqu'à ${e} caractères.`},date:{dateFnsLocale:()=>e,ariaLabels:{previousMonthButton:()=>"Mois précédent",nextMonthButton:()=>"Mois suivant"}},dialog:{ariaLabels:{close:()=>"Fermer"}},dismissibleBox:{ariaLabels:{close:()=>"Fermer"}},errors:{messages:{formSummary:(e,t,a)=>{const n=r(e)?"erreur":"erreurs",i=r(t)?"avertissement":"avertissements";return e&&t&&"warning"===a?["et",`${t} ${i}`]:e?["Il y a",`${e} ${n}`]:t?["Il y a",`${t} ${i}`]:null}}},fileInput:{dragAndDrop:()=>"ou glisser et déposer votre fichier",selectFile:()=>"Sélectionnez le fichier",fileUploadStatus:()=>"Statut du téléchargement de fichiers",actions:{cancel:()=>"Annuler le téléchargement",clear:()=>"Effacer",delete:()=>"Supprimer le fichier"}},heading:{backLinkAriaLabel:()=>"Retour"},link:{skipLinkLabel:()=>"Passer au contenu principal"},loader:{loading:()=>"Chargement en cours"},loaderSpinner:{loading:()=>"Chargement en cours..."},loaderStar:{loading:()=>"Chargement en cours..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Fermer"}},message:{closeButtonAriaLabel:()=>"Fermer",error:()=>"Erreur",info:()=>"Information",success:()=>"Action réussie",warning:()=>"Avertissement",neutral:()=>"Information",ai:()=>"Information générée par IA"},numeralDate:{validation:{day:(e,r)=>e&&r?`Le jour du ${e} doit être un nombre compris entre 1- ${r}`:"Le jour doit être un nombre compris entre 1 et 31 jours.",month:()=>"Le mois doit être un nombre compris entre 1 et 12.",year:()=>"L'année doit être un nombre compris entre 1800 et 2200."},labels:{day:()=>"Jour",month:()=>"Mois",year:()=>"Année"}},pager:{show:()=>"Afficher",records:(e,t=!0)=>{const a=r(e)?"élément":"éléments";return t?`${e} ${a}`:a},first:()=>"Première",last:()=>"Dernière",next:()=>"Suivante",previous:()=>"Précédente",pageX:()=>"Page",ofY:e=>`de ${e}`},password:{buttonLabelHide:()=>"Masquer",buttonLabelShow:()=>"Afficher",ariaLabelHide:()=>"Masquer le mot de passe",ariaLabelShow:()=>"Afficher le mot de passe",ariaLiveShownMessage:()=>"Votre mot de passe s'affiche. Assurez-vous d'être dans un environnement sûr puis survolez la zone avec votre souris et vous pourrez écouter le mot de passe.",ariaLiveHiddenMessage:()=>"Votre mot de passe est actuellement caché."},progressTracker:{of:()=>"de"},pod:{undo:()=>"Annuler"},textEditor:{boldAria:()=>"Gras",cancelButton:()=>"Annuler",cancelButtonAria:()=>"Annuler",characterCounter:e=>`${"number"==typeof e?e.toString():e} caractères restants`,characterLimit:e=>`Vous avez dépassé de ${e} caractères la limite autorisée`,contentEditorAria:()=>"Éditeur de texte enrichi",italicAria:()=>"Italique",orderedListAria:()=>"Liste ordonnée",saveButton:()=>"Enregistrer",saveButtonAria:()=>"Enregistrer",toolbarAriaLabel:()=>"Mise en forme",unorderedListAria:()=>"Liste non ordonnée",underlineAria:()=>"Underline",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Rechercher"},select:{actionButtonText:()=>"Ajouter un nouvel élément",placeholder:()=>"Sélectionner...",noResultsForTerm:e=>`Aucun résultat pour ${e}`},sidebar:{ariaLabels:{close:()=>"Fermer"}},sort:{accessibleName:(e,r)=>`Trier tous les contenus ${e&&`de type ${e}`}${r?` par ordre ${"ascending"===r?"croissant":"décroissant"}.`:" par ordre croissant ou décroissant."}`},splitButton:{ariaLabel:()=>"Afficher plus"},stepFlow:{stepLabel:(e,r)=>`Étape ${e} de ${r}`,screenReaderOnlyTitle:(e,r,t,a)=>`${a?`${a}.`:""} ${e}. Étape ${r} de ${t}.`,closeIconAriaLabel:()=>"Fermer"},switch:{on:()=>"Oui",off:()=>"Non"},tileSelect:{deselect:()=>"Désélectionner"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"h",minutesLabelText:()=>"min",hoursAriaLabelText:()=>"Heures",minutesAriaLabelText:()=>"Minutes"},toast:{ariaLabels:{close:()=>"Fermer"},error:()=>"",info:()=>"",success:()=>"",warning:()=>"",neutral:()=>"",notification:()=>""},verticalMenuFullScreen:{ariaLabels:{close:()=>"Fermer"}}};export{t as default};
|
|
1
|
+
import{fr as e}from"date-fns/locale/fr";const r=e=>1===("string"==typeof e?parseInt(e):e),t={locale:()=>"fr-FR",actions:{edit:()=>"Modifier",delete:()=>"Supprimer"},actionPopover:{ariaLabel:()=>"actions"},advancedColorPicker:{ariaLabel:()=>"Changer de couleur",currentColorDescriptionTerm:()=>"Couleur actuelle attribuée :",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} sélectionné(s)`},breadcrumbs:{ariaLabel:()=>"Chemin de navigation"},confirm:{no:()=>"Non",yes:()=>"Oui"},characterCount:{tooManyCharacters:(e,r)=>1===e?`il y a ${r} caractère de trop`:`${r} caractères de trop`,charactersLeft:(e,r)=>1===e?`${r} caractère restant`:`${r} caractères restants`,visuallyHiddenHint:e=>`vous pouvez saisir jusqu'à ${e} caractères.`},date:{dateFnsLocale:()=>e,ariaLabels:{previousMonthButton:()=>"Mois précédent",nextMonthButton:()=>"Mois suivant"}},dialog:{ariaLabels:{close:()=>"Fermer"}},dismissibleBox:{ariaLabels:{close:()=>"Fermer"}},errors:{messages:{formSummary:(e,t,a)=>{const n=r(e)?"erreur":"erreurs",i=r(t)?"avertissement":"avertissements";return e&&t&&"warning"===a?["et",`${t} ${i}`]:e?["Il y a",`${e} ${n}`]:t?["Il y a",`${t} ${i}`]:null}}},fileInput:{dragAndDrop:()=>"ou glisser et déposer votre fichier",selectFile:()=>"Sélectionnez le fichier",fileUploadStatus:()=>"Statut du téléchargement de fichiers",actions:{cancel:()=>"Annuler le téléchargement",clear:()=>"Effacer",delete:()=>"Supprimer le fichier"}},heading:{backLinkAriaLabel:()=>"Retour"},link:{skipLinkLabel:()=>"Passer au contenu principal"},loader:{loading:()=>"Chargement en cours..."},loaderSpinner:{loading:()=>"Chargement en cours..."},loaderStar:{loading:()=>"Chargement en cours..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Fermer"}},message:{closeButtonAriaLabel:()=>"Fermer",error:()=>"Erreur",info:()=>"Information",success:()=>"Action réussie",warning:()=>"Avertissement",neutral:()=>"Information",ai:()=>"Information générée par IA"},numeralDate:{validation:{day:(e,r)=>e&&r?`Le jour du ${e} doit être un nombre compris entre 1- ${r}`:"Le jour doit être un nombre compris entre 1 et 31 jours.",month:()=>"Le mois doit être un nombre compris entre 1 et 12.",year:()=>"L'année doit être un nombre compris entre 1800 et 2200."},labels:{day:()=>"Jour",month:()=>"Mois",year:()=>"Année"}},pager:{show:()=>"Afficher",records:(e,t=!0)=>{const a=r(e)?"élément":"éléments";return t?`${e} ${a}`:a},first:()=>"Première",last:()=>"Dernière",next:()=>"Suivante",previous:()=>"Précédente",pageX:()=>"Page",ofY:e=>`de ${e}`},password:{buttonLabelHide:()=>"Masquer",buttonLabelShow:()=>"Afficher",ariaLabelHide:()=>"Masquer le mot de passe",ariaLabelShow:()=>"Afficher le mot de passe",ariaLiveShownMessage:()=>"Votre mot de passe s'affiche. Assurez-vous d'être dans un environnement sûr puis survolez la zone avec votre souris et vous pourrez écouter le mot de passe.",ariaLiveHiddenMessage:()=>"Votre mot de passe est actuellement caché."},progressTracker:{of:()=>"de"},pod:{undo:()=>"Annuler"},textEditor:{boldAria:()=>"Gras",cancelButton:()=>"Annuler",cancelButtonAria:()=>"Annuler",characterCounter:e=>`${"number"==typeof e?e.toString():e} caractères restants`,characterLimit:e=>`Vous avez dépassé de ${e} caractères la limite autorisée`,contentEditorAria:()=>"Éditeur de texte enrichi",italicAria:()=>"Italique",orderedListAria:()=>"Liste ordonnée",saveButton:()=>"Enregistrer",saveButtonAria:()=>"Enregistrer",toolbarAriaLabel:()=>"Mise en forme",unorderedListAria:()=>"Liste non ordonnée",underlineAria:()=>"Underline",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Rechercher"},select:{actionButtonText:()=>"Ajouter un nouvel élément",placeholder:()=>"Sélectionner...",noResultsForTerm:e=>`Aucun résultat pour ${e}`},sidebar:{ariaLabels:{close:()=>"Fermer"}},sort:{accessibleName:(e,r)=>`Trier tous les contenus ${e&&`de type ${e}`}${r?` par ordre ${"ascending"===r?"croissant":"décroissant"}.`:" par ordre croissant ou décroissant."}`},splitButton:{ariaLabel:()=>"Afficher plus"},stepFlow:{stepLabel:(e,r)=>`Étape ${e} de ${r}`,screenReaderOnlyTitle:(e,r,t,a)=>`${a?`${a}.`:""} ${e}. Étape ${r} de ${t}.`,closeIconAriaLabel:()=>"Fermer"},switch:{on:()=>"Oui",off:()=>"Non"},tileSelect:{deselect:()=>"Désélectionner"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"h",minutesLabelText:()=>"min",hoursAriaLabelText:()=>"Heures",minutesAriaLabelText:()=>"Minutes"},toast:{ariaLabels:{close:()=>"Fermer"},error:()=>"",info:()=>"",success:()=>"",warning:()=>"",neutral:()=>"",notification:()=>""},verticalMenuFullScreen:{ariaLabels:{close:()=>"Fermer"}}};export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),o=require("invariant"),n=require("../icon/icon.component.js"),r=require("./button.style.js"),i=require("../../__internal__/utils/helpers/tags/tags.js"),l=require("../../__internal__/tooltip-provider/index.js"),a=require("../button-bar/__internal__/button-bar.context.js"),s=require("../split-button/__internal__/split-button.context.js"),c=require("../batch-selection/__internal__/batch-selection.context.js");function u(e){return e&&e.__esModule?e:{default:e}}var b=u(t),d=u(o);function p(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{},n=Object.keys(o);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(o).filter((function(e){return Object.getOwnPropertyDescriptor(o,e).enumerable})))),n.forEach((function(t){p(e,t,o[t])}))}return e}function y(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t.push.apply(t,o)}return t}(Object(t)).forEach((function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(t,o))})),e}function h({iconType:t,iconPosition:o,size:i,subtext:a,children:s,disabled:c,buttonType:u,iconTooltipMessage:b,iconTooltipPosition:d,tooltipTarget:p}){const h={"aria-hidden":!0,disabled:c,color:"primary"===u?"--colorsActionMajorYang100":u.includes("gradient")?"--colorsActionMinorYin090":"--colorsActionMajor500",bg:"transparent"},j=void 0!==s&&!1!==s;return e.jsxs(e.Fragment,{children:[t&&"before"===o&&j&&e.jsx(n.default,f({type:t},h)),j&&e.jsxs("span",{children:[e.jsx(r.StyledButtonMainText,{"data-element":"main-text",children:s}),"large"===i&&e.jsx(r.StyledButtonSubtext,{"data-element":"subtext","data-role":"subtext",children:a})]}),t&&!j&&e.jsx(l.TooltipProvider,{disabled:c,focusable:!1,target:p,children:e.jsx(n.default,y(f({type:t},h),{tooltipMessage:b,tooltipPosition:d}))}),t&&"after"===o&&s&&e.jsx(n.default,f({type:t},h))]})}const j=b.default.forwardRef(((o,n)=>{var{"aria-describedby":l,"aria-label":u,"aria-labelledby":b,buttonType:p="secondary",children:j,destructive:g=!1,disabled:x=!1,isWhite:O=!1,fullWidth:v=!1,href:P,iconPosition:m="before",iconTooltipMessage:T,iconTooltipPosition:_,iconType:w,m:S=0,noWrap:k,onClick:M,px:q,rel:W,size:C="medium",subtext:D="",target:z}=o,B=function(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)o=i[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}(o,["aria-describedby","aria-label","aria-labelledby","buttonType","children","destructive","disabled","isWhite","fullWidth","href","iconPosition","iconTooltipMessage","iconTooltipPosition","iconType","m","noWrap","onClick","px","rel","size","subtext","target"]);const{buttonType:E,size:A,iconPosition:Y,fullWidth:F}=t.useContext(a.default),{batchSelectionDisabled:I}=t.useContext(c.default),K=E||p,N=A||C,R=Y||m,G=F||v,H=x||I;d.default(void 0!==j||!!w,"Either prop `iconType` must be defined or this node must have children."),D&&d.default("large"===N,"subtext prop has no effect unless the button is large.");const[J,L]=t.useState(null),{inSplitButton:Q,onChildButtonClick:U}=t.useContext(s.default);let V;switch(N){case"small":V=2;break;case"large":V=4;break;default:V=3}const X=t.useCallback((e=>{L(e),n&&("object"==typeof n&&(n.current=e),"function"==typeof n&&n(e))}),[n]),Z=void 0!==j&&!1!==j;return e.jsx(r.default,y(f({"aria-label":!Z&&w?u||w:u,"aria-labelledby":b,"aria-describedby":l,as:!H&&P?"a":"button",onKeyDown:P?e=>{" "===e.key&&(e.preventDefault(),null==J||J.click())}:void 0,onClick:e=>{var t;null==J||J.focus({preventScroll:!0}),Q?null==U||null===(t=U(M))||void 0===t||t(e):M&&M(e)},draggable:!1,buttonType:K,disabled:H,destructive:g,isWhite:O,type:P?void 0:"button",iconType:w,size:N,px:null!=q?q:V,m:S,noWrap:k,iconOnly:!Z&&!!w,iconPosition:R,target:z,rel:W,fullWidth:G},i.default("button",B),B,P&&{href:P}),{ref:X,children:h({iconType:w,iconPosition:R,size:N,subtext:D,children:j,disabled:H,buttonType:K,iconTooltipMessage:T,iconTooltipPosition:_,tooltipTarget:J})}))}));j.displayName="Button",exports.default=j;
|
|
@@ -4,7 +4,7 @@ import { StyledDismissibleBoxProps } from "./dismissible-box.style";
|
|
|
4
4
|
import { BoxProps } from "../box";
|
|
5
5
|
import { TagProps } from "../../__internal__/utils/helpers/tags";
|
|
6
6
|
/**
|
|
7
|
-
* @deprecated `
|
|
7
|
+
* @deprecated `DismissibleBox` has been deprecated. See the Carbon documentation for migration details.
|
|
8
8
|
*/
|
|
9
9
|
export interface DismissibleBoxProps extends SpaceProps, StyledDismissibleBoxProps, Omit<BoxProps, "display" | "justifyContent" | "bg" | "backgroundColor">, TagProps {
|
|
10
10
|
/** The content to render in the component */
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { LoaderProps } from "../loader.component";
|
|
3
|
-
declare const RingLoader: ({ inverse, size, variant, hasMotion, isTracked, animationTime, loaderLabel, showLabel, isSuccess, isError,
|
|
4
|
-
isInsideTypicalButton?: boolean;
|
|
5
|
-
isInsideDestructiveButton?: boolean;
|
|
6
|
-
isInsidePrimaryButton?: boolean;
|
|
7
|
-
}) => React.JSX.Element;
|
|
3
|
+
declare const RingLoader: ({ inverse, size, variant, hasMotion, isTracked, animationTime, loaderLabel, showLabel, isSuccess, isError, }: LoaderProps) => React.JSX.Element;
|
|
8
4
|
export default RingLoader;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("react");var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("react");var r=require("../loader.style.js"),a=require("../../../../hooks/__internal__/useLocale/useLocale.js");const i=e=>e||.8;exports.default=({inverse:s,size:l,variant:n,hasMotion:o,isTracked:t,animationTime:d,loaderLabel:c,showLabel:u,isSuccess:v,isError:x})=>{const j=a.default(),m=n&&["stacked","inline"].includes(n)?n:"stacked",p=l&&["extra-small","small","large"].includes(l)?l:"medium";return e.jsxs(r.StyledRingLoaderWrapper,{loaderVariant:n,"data-role":"ring-loader-container",children:[e.jsxs(r.StyledRingCircleSvg,{inverse:s,role:"presentation",size:p,variant:m,hasMotion:o,isTracked:t,animationTime:i(d),viewBox:"0 0 24 24",isSuccess:v,isError:x,children:[e.jsx("circle",{"data-role":"outer-arc"}),e.jsx("circle",{"data-role":"inner-arc"})]}),u&&e.jsx(r.StyledLoaderLabel,{inverse:s,"data-role":"loader-label",variant:"span",loaderVariant:m,loaderType:"ring",size:p,children:c||(null==j?void 0:j.loader.loading())})]})};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime")
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("react");var r=require("../../../__internal__/utils/helpers/tags/tags.js"),t=require("../../../hooks/__internal__/useLocale/useLocale.js"),n=require("../../../hooks/useMediaQuery/useMediaQuery.js");require("../../../style/utils/filter-styled-system-padding-props.js");var a=require("../../../style/utils/filter-styled-system-margin-props.js"),o=require("./loader.style.js"),s=require("./internal/standalone-loader.component.js"),i=require("./internal/ring-loader.component.js"),l=require("./internal/stars-loader.component.js");function u(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const c=c=>{var{animationTime:d,hasMotion:b=!0,isTracked:p=!1,loaderLabel:f,showLabel:y=!0,loaderType:j="standalone",size:O,variant:m,inverse:v=!1,isSuccess:g=!1,isError:h=!1}=c,w=function(e,r){if(null==e)return{};var t,n,a=function(e,r){if(null==e)return{};var t,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||(a[t]=e[t]);return a}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}(c,["animationTime","hasMotion","isTracked","loaderLabel","showLabel","loaderType","size","variant","inverse","isSuccess","isError"]);const L=t.default(),P=n.default("screen and (prefers-reduced-motion: no-preference)"),q=(()=>{switch(j){case"star":return l.default({loaderLabel:f,showLabel:y});case"ring":return i.default({inverse:v,size:O,variant:m,hasMotion:b,isTracked:p,animationTime:d,loaderLabel:f,showLabel:y,isSuccess:g,isError:h});default:return s.default({size:O,variant:m,inverse:v,loaderLabel:f,showLabel:y,animationTime:d,hasMotion:b})}})();return e.jsx(o.StyledLoader,(S=function(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),n.forEach((function(r){u(e,r,t[r])}))}return e}({role:"status"},r.default("loader",w),a.default(w),!y&&{"aria-label":f||L.loader.loading()}),_=null!=(_={children:P?q:e.jsx(o.StyledLabel,{inverse:v,children:f||L.loader.loading()})})?_:{},Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(_)):function(e){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);r.push.apply(r,t)}return r}(Object(_)).forEach((function(e){Object.defineProperty(S,e,Object.getOwnPropertyDescriptor(_,e))})),S));var S,_};exports.Loader=c,exports.default=c;
|
|
@@ -22,11 +22,8 @@ interface RingSvgProps {
|
|
|
22
22
|
isTracked?: boolean;
|
|
23
23
|
isGradientVariant?: boolean;
|
|
24
24
|
animationTime?: number;
|
|
25
|
-
isInsideTypicalButton?: boolean;
|
|
26
|
-
isInsideDestructiveButton?: boolean;
|
|
27
25
|
isSuccess?: boolean;
|
|
28
26
|
isError?: boolean;
|
|
29
|
-
isInsidePrimaryButton?: boolean;
|
|
30
27
|
}
|
|
31
28
|
export declare const StyledRingCircleSvg: import("styled-components").StyledComponent<"svg", any, RingSvgProps, never>;
|
|
32
29
|
export declare const StyledStars: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -35,10 +32,6 @@ type LabelProps = {
|
|
|
35
32
|
loaderVariant?: string;
|
|
36
33
|
inverse?: boolean;
|
|
37
34
|
loaderType: string;
|
|
38
|
-
isInsideTypicalButton?: boolean;
|
|
39
|
-
isInsideDestructiveButton?: boolean;
|
|
40
|
-
isInsidePrimaryButton?: boolean;
|
|
41
|
-
hasMotion?: boolean;
|
|
42
35
|
};
|
|
43
36
|
export declare const StyledStarLoaderWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
44
37
|
export declare const StyledLoaderLabel: import("styled-components").StyledComponent<{
|
|
@@ -51,7 +44,6 @@ type RingLoaderWrapperProps = {
|
|
|
51
44
|
export declare const StyledRingLoaderWrapper: import("styled-components").StyledComponent<"div", any, RingLoaderWrapperProps, never>;
|
|
52
45
|
type StyledLabelProps = {
|
|
53
46
|
inverse?: boolean;
|
|
54
|
-
isInsideButton?: boolean;
|
|
55
47
|
};
|
|
56
48
|
export declare const StyledLabel: import("styled-components").StyledComponent<"span", any, StyledLabelProps, never>;
|
|
57
49
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("styled-components"),
|
|
1
|
+
"use strict";var e=require("styled-components"),a=require("styled-system"),t=require("../../../style/themes/apply-base-theme.js"),r=require("../../typography/typography.component.js");require("react/jsx-runtime"),require("react");var i=require("../../button/button.style.js");function n(e){return e&&e.__esModule?e:{default:e}}var o=n(e);const s={"extra-small":20,small:32,medium:64,large:80},l={"extra-small":2.7,small:2.7,medium:2.7,large:2.7},d={small:"4px",medium:"8px",large:"16px"},c={"extra-small":"8px",small:"8px",medium:"12px",large:"16px"},p=(e,a)=>{const t=a?"rgba(255, 255, 255, 0.08)":"rgba(0, 0, 0, 0.08)";return"ai"===e?{outerBarBackground:t,innerBarBackground:a?"linear-gradient(90deg, var(--mode-color-ai-alt-stop-1, #00D639) 0%, var(--mode-color-ai-alt-stop-2, #00D6DE) 40%, var(--mode-color-ai-alt-stop-3, #9D60FF) 90%)":"linear-gradient(90deg, var(--mode-color-ai-stop-1, #13A038) 0%, var(--mode-color-ai-stop-2, #149197) 40%, var(--mode-color-ai-stop-3, #A87CFB) 90%)"}:{outerBarBackground:t,innerBarBackground:a?"#FFFFFF":"#000000"}},m=e.css(["display:flex;justify-content:center;text-align:center;"]),f=o.default.div.withConfig({displayName:"loader.style__StyledLoaderPlaceholder",componentId:"sc-aaaf19f2-0"})(["display:inline-block;min-width:var(--sizing800);"]),u=o.default.div.attrs(t.default).withConfig({displayName:"loader.style__StyledLoader",componentId:"sc-aaaf19f2-1"})([""," text-align:center;white-space:nowrap;"],a.margin),g=o.default.div.withConfig({displayName:"loader.style__OuterBar",componentId:"sc-aaaf19f2-2"})(["",""],(({size:a,variant:t,inverse:r})=>e.css(["border-radius:var(--borderRadius400);height:",";width:100%;background:",";overflow:hidden;position:relative;"],d[a],p(t,r).outerBarBackground))),x=o.default.div.withConfig({displayName:"loader.style__InnerBar",componentId:"sc-aaaf19f2-3"})(["",""],(({size:a,variant:t,inverse:r,animationTime:i,hasMotion:n})=>e.css(["@keyframes innerBarAnimationOne{0%{left:0%;animation-timing-function:linear;}30%{left:10px;animation-timing-function:cubic-bezier(0.5,0.6,0.4,1);}100%{left:calc(100% - 15px);}}@keyframes innerBarAnimationTwo{0%{width:15px;animation-timing-function:cubic-bezier(0.7,0,0.8,1);}50%{width:35%;}100%{width:15px;}}position:absolute;background:",";width:15px;height:",";border-radius:var(--borderRadius400);animation-name:innerBarAnimationOne,innerBarAnimationTwo;"," animation-iteration-count:",";"],p(t,r).innerBarBackground,d[a],n&&`animation-duration: ${i}s, ${i}s;`,n?"infinite, infinite":"none, none"))),y=o.default.svg.withConfig({displayName:"loader.style__StyledRingCircleSvg",componentId:"sc-aaaf19f2-4"})([""," ",' & circle[data-role="inner-arc"]{stroke:currentColor;}'],(({inverse:a,size:t,hasMotion:r,isTracked:i,isError:n,isSuccess:o,animationTime:d})=>{const c=`${s[t]}px`,p=l[t];return e.css(["height:",";min-height:",';circle[data-role="outer-arc"]{fill:transparent;stroke-width:',"px;stroke:",';cx:12px;cy:12px;r:10px;}circle[data-role="inner-arc"]{fill:transparent;stroke-width:',"px;stroke:",";stroke-linecap:round;stroke-dasharray:100px;stroke-dashoffset:95px;transform-origin:12px 12px 0px;cx:12px;cy:12px;r:10px;transform:rotate(-90deg);@keyframes trackedAnimation{from{stroke-dasharray:100;stroke-dashoffset:100;}to{stroke-dasharray:100;stroke-dashoffset:20;}}@keyframes untrackedAnimation{0%{transform:rotate(-90deg);stroke-dashoffset:95;}50%{transform:rotate(90deg);stroke-dashoffset:80;}100%{transform:rotate(270deg);stroke-dashoffset:95;}}animation-name:",";"," animation-timing-function:cubic-bezier(0,0,1,1);animation-iteration-count:",";}"],c,c,p,a?"rgba(255,255,255,0.08)":"rgba(0,0,0,0.08)",p,(({inverse:e,isSuccess:a,isError:t})=>t?"#DB004E;":a?"#00811F;":e?"#FFF;":"#000000")({inverse:a,isSuccess:o,isError:n}),i?"trackedAnimation":"untrackedAnimation",r&&`animation-duration: ${d}s;`,r?"infinite":"none")}),i.default),h="40px",v=o.default.div.withConfig({displayName:"loader.style__StyledStars",componentId:"sc-aaaf19f2-5"})(["position:relative;width:",";height:",";"],h,h),k={standalone:{small:"4px",medium:"8px",large:"12px"},ring:{"extra-small":"4px",small:"8px",medium:"8px",large:"12px"}},w=o.default.div.withConfig({displayName:"loader.style__StyledStarLoaderWrapper",componentId:"sc-aaaf19f2-6"})(["position:relative;display:flex;align-items:center;justify-content:center;"]),b=o.default(r.Typography).withConfig({displayName:"loader.style__StyledLoaderLabel",componentId:"sc-aaaf19f2-7"})([""," line-height:150%;color:",";"," &{color:currentColor;}",""],m,(({inverse:e})=>e?"rgba(255, 255, 255, 0.55)":"rgba(0, 0, 0, 0.65)"),i.default,(({size:a="medium",loaderType:t,loaderVariant:r})=>"star"===t?e.css(["font-size:16px;font-weight:400;margin-left:12px;width:min-content;"]):"standalone"===t?e.css(["font-size:",";font-weight:500;width:100%;margin-top:",";"],"large"===a?"16px":"14px",k[t][a]):e.css(["font-size:",";font-weight:500;width:",";",";"],"large"===a?"16px":"extra-small"===a?"13px":"14px","inline"===r?"auto":"100%","inline"===r?`margin-left: ${c[a]}`:`margin-top: ${k[t][a]}`))),S=o.default.div.withConfig({displayName:"loader.style__StyledRingLoaderWrapper",componentId:"sc-aaaf19f2-8"})(["",""],(({loaderVariant:a})=>e.css(["display:flex;flex-direction:",";align-items:center;justify-content:center;width:",";"],"inline"===a?"row":"column","inline"===a?"auto":"100%"))),B=o.default.span.withConfig({displayName:"loader.style__StyledLabel",componentId:"sc-aaaf19f2-9"})(["",";"],(({inverse:a})=>e.css(["color:",";"," &{color:currentColor;}"],a?"rgba(255, 255, 255, 0.90)":"rgba(0, 0, 0, 0.90)",i.default)));exports.InnerBar=x,exports.OuterBar=g,exports.StyledLabel=B,exports.StyledLoader=u,exports.StyledLoaderLabel=b,exports.StyledLoaderPlaceholder=f,exports.StyledRingCircleSvg=y,exports.StyledRingLoaderWrapper=S,exports.StyledStarLoaderWrapper=w,exports.StyledStars=v;
|
|
@@ -28,7 +28,7 @@ export interface PodProps extends MarginProps, TagProps {
|
|
|
28
28
|
onDelete?: (ev: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>) => void;
|
|
29
29
|
/** Supplies an undo action to the pod in soft delete state. */
|
|
30
30
|
onUndo?: (ev: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>) => void;
|
|
31
|
-
/** Sets
|
|
31
|
+
/** Sets soft boolean delete state */
|
|
32
32
|
softDelete?: boolean;
|
|
33
33
|
/** Determines if the editable pod content should be full width */
|
|
34
34
|
editContentFullWidth?: boolean;
|
|
@@ -59,7 +59,7 @@ export interface TabsProps extends MarginProps, TagProps {
|
|
|
59
59
|
};
|
|
60
60
|
/**
|
|
61
61
|
* When this prop is set any string validation failures in the children of each Tab
|
|
62
|
-
* will be
|
|
62
|
+
* will be summarised in the Tooltip next to the Tab title
|
|
63
63
|
* @deprecated This prop will be deprecated in a future release
|
|
64
64
|
*/
|
|
65
65
|
showValidationsSummary?: boolean;
|
package/lib/locales/de-de.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("date-fns/locale/de");const n=e=>1===("string"==typeof e?parseInt(e):e),a={locale:()=>"de-DE",actions:{edit:()=>"Bearbeiten",delete:()=>"Löschen"},actionPopover:{ariaLabel:()=>"Aktionen"},advancedColorPicker:{ariaLabel:()=>"Farbe ändern",currentColorDescriptionTerm:()=>"Aktuell zugewiesene Farbe:",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} ausgewählt`},breadcrumbs:{ariaLabel:()=>"Breadcrumbs"},confirm:{no:()=>"Nein",yes:()=>"Ja"},characterCount:{tooManyCharacters:e=>`${e} Zeichen zu viel`,charactersLeft:e=>`${e} Zeichen übrig`,visuallyHiddenHint:e=>`Sie können bis zu ${e} Zeichen eingeben.`},date:{dateFnsLocale:()=>e.de,ariaLabels:{previousMonthButton:()=>"Vorheriger Monat",nextMonthButton:()=>"Nächster Monat"}},dialog:{ariaLabels:{close:()=>"Schließen"}},dismissibleBox:{ariaLabels:{close:()=>"Schließen"}},errors:{messages:{formSummary:(e,a,i)=>{const r=n(a)?"Warnung":"Warnungen";return e&&a&&"warning"===i?["und",`${a} ${r}`]:e?["Es gibt",`${e} Fehler`]:a?["Es gibt",`${a} ${r}`]:null}}},fileInput:{dragAndDrop:()=>"oder per Drag & Drop ablegen",selectFile:()=>"Datei auswählen",fileUploadStatus:()=>"Status",actions:{cancel:()=>"Upload abbrechen",clear:()=>"Löschen",delete:()=>"Datei löschen"}},heading:{backLinkAriaLabel:()=>"Zurück"},link:{skipLinkLabel:()=>"Zum Hauptinhalt springen"},loader:{loading:()=>"Laden"},loaderSpinner:{loading:()=>"Laden..."},loaderStar:{loading:()=>"Laden..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Schließen"}},message:{closeButtonAriaLabel:()=>"Schließen",error:()=>"Fehler",info:()=>"Informationen",success:()=>"Erfolg",warning:()=>"Warnung",neutral:()=>"Informationen",ai:()=>"Von KI generierte Informationen"},numeralDate:{validation:{day:(e,n)=>e&&n?`Tag in ${e} muss eine Zahl von 1- ${n} sein`:"Der Tag muss eine Zahl zwischen 1 und 31 sein.",month:()=>"Der Monat muss eine Zahl zwischen 1 und 12 sein.",year:()=>"Das Jahr muss eine Zahl zwischen 1000 und 2200 sein."},labels:{day:()=>"Tag",month:()=>"Monat",year:()=>"Jahr"}},pager:{show:()=>"Anzeigen",records:(e,a=!0)=>{const i=n(e)?"Element":"Elemente";return a?`${e} ${i}`:i},first:()=>"Erste",last:()=>"Letzte",next:()=>"Weiter",previous:()=>"Vorherige",pageX:()=>"Seite",ofY:e=>`von ${e}`},password:{buttonLabelHide:()=>"Ausblenden",buttonLabelShow:()=>"Anzeigen",ariaLabelHide:()=>"Passwort ausblenden",ariaLabelShow:()=>"Passwort anzeigen",ariaLiveShownMessage:()=>"Ihr Passwort wurde angezeigt. Bewegen Sie den Cursor über das Passwort, um es sich vorlesen zu lassen, wenn dies sicher ist.",ariaLiveHiddenMessage:()=>"Ihr Passwort ist derzeit ausgeblendet."},progressTracker:{of:()=>"von"},pod:{undo:()=>"Rückgängig"},textEditor:{boldAria:()=>"Fett",cancelButton:()=>"Abbrechen",cancelButtonAria:()=>"Abbrechen",characterCounter:e=>`Noch ${"number"==typeof e?e.toString():e} Zeichen`,characterLimit:e=>`Sie sind ${e} Zeichen über dem Zeichenlimit`,contentEditorAria:()=>"Editor für Rich-Text-Inhalte",italicAria:()=>"Kursiv",orderedListAria:()=>"Sortierte Liste",saveButton:()=>"Speichern",saveButtonAria:()=>"Speichern",toolbarAriaLabel:()=>"Formatierung",unorderedListAria:()=>"Unsortierte Liste",underlineAria:()=>"Underline",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Suchen"},select:{actionButtonText:()=>"Neues Element hinzufügen",placeholder:()=>"Bitte auswählen...",noResultsForTerm:e=>`Es wurden keine Ergebnisse für ${e} gefunden.`},sidebar:{ariaLabels:{close:()=>"Schließen"}},sort:{accessibleName:(e,n)=>`Alle ${e||"inhalte"}${n?` in der Reihenfolge ${"ascending"===n?"aufsteigend":"absteigend"} sortieren.`:" in der Reihenfolge aufsteigend oder absteigend sortieren."}`},splitButton:{ariaLabel:()=>"Mehr anzeigen"},stepFlow:{stepLabel:(e,n)=>`Schritt ${e} von ${n}`,screenReaderOnlyTitle:(e,n,a,i)=>`${i?`${i}.`:""} ${e}. Schritt ${n} von ${a}.`,closeIconAriaLabel:()=>"Schließen"},switch:{on:()=>"EIN",off:()=>"AUS"},tileSelect:{deselect:()=>"Auswahl aufheben"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"h",minutesLabelText:()=>"min",hoursAriaLabelText:()=>"Stunden",minutesAriaLabelText:()=>"Minuten"},toast:{ariaLabels:{close:()=>"Schließen"},error:()=>"",info:()=>"",success:()=>"",warning:()=>"",neutral:()=>"",notification:()=>""},verticalMenuFullScreen:{ariaLabels:{close:()=>"Schließen"}}};exports.default=a;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("date-fns/locale/de");const n=e=>1===("string"==typeof e?parseInt(e):e),a={locale:()=>"de-DE",actions:{edit:()=>"Bearbeiten",delete:()=>"Löschen"},actionPopover:{ariaLabel:()=>"Aktionen"},advancedColorPicker:{ariaLabel:()=>"Farbe ändern",currentColorDescriptionTerm:()=>"Aktuell zugewiesene Farbe:",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} ausgewählt`},breadcrumbs:{ariaLabel:()=>"Breadcrumbs"},confirm:{no:()=>"Nein",yes:()=>"Ja"},characterCount:{tooManyCharacters:e=>`${e} Zeichen zu viel`,charactersLeft:e=>`${e} Zeichen übrig`,visuallyHiddenHint:e=>`Sie können bis zu ${e} Zeichen eingeben.`},date:{dateFnsLocale:()=>e.de,ariaLabels:{previousMonthButton:()=>"Vorheriger Monat",nextMonthButton:()=>"Nächster Monat"}},dialog:{ariaLabels:{close:()=>"Schließen"}},dismissibleBox:{ariaLabels:{close:()=>"Schließen"}},errors:{messages:{formSummary:(e,a,i)=>{const r=n(a)?"Warnung":"Warnungen";return e&&a&&"warning"===i?["und",`${a} ${r}`]:e?["Es gibt",`${e} Fehler`]:a?["Es gibt",`${a} ${r}`]:null}}},fileInput:{dragAndDrop:()=>"oder per Drag & Drop ablegen",selectFile:()=>"Datei auswählen",fileUploadStatus:()=>"Status",actions:{cancel:()=>"Upload abbrechen",clear:()=>"Löschen",delete:()=>"Datei löschen"}},heading:{backLinkAriaLabel:()=>"Zurück"},link:{skipLinkLabel:()=>"Zum Hauptinhalt springen"},loader:{loading:()=>"Laden..."},loaderSpinner:{loading:()=>"Laden..."},loaderStar:{loading:()=>"Laden..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Schließen"}},message:{closeButtonAriaLabel:()=>"Schließen",error:()=>"Fehler",info:()=>"Informationen",success:()=>"Erfolg",warning:()=>"Warnung",neutral:()=>"Informationen",ai:()=>"Von KI generierte Informationen"},numeralDate:{validation:{day:(e,n)=>e&&n?`Tag in ${e} muss eine Zahl von 1- ${n} sein`:"Der Tag muss eine Zahl zwischen 1 und 31 sein.",month:()=>"Der Monat muss eine Zahl zwischen 1 und 12 sein.",year:()=>"Das Jahr muss eine Zahl zwischen 1000 und 2200 sein."},labels:{day:()=>"Tag",month:()=>"Monat",year:()=>"Jahr"}},pager:{show:()=>"Anzeigen",records:(e,a=!0)=>{const i=n(e)?"Element":"Elemente";return a?`${e} ${i}`:i},first:()=>"Erste",last:()=>"Letzte",next:()=>"Weiter",previous:()=>"Vorherige",pageX:()=>"Seite",ofY:e=>`von ${e}`},password:{buttonLabelHide:()=>"Ausblenden",buttonLabelShow:()=>"Anzeigen",ariaLabelHide:()=>"Passwort ausblenden",ariaLabelShow:()=>"Passwort anzeigen",ariaLiveShownMessage:()=>"Ihr Passwort wurde angezeigt. Bewegen Sie den Cursor über das Passwort, um es sich vorlesen zu lassen, wenn dies sicher ist.",ariaLiveHiddenMessage:()=>"Ihr Passwort ist derzeit ausgeblendet."},progressTracker:{of:()=>"von"},pod:{undo:()=>"Rückgängig"},textEditor:{boldAria:()=>"Fett",cancelButton:()=>"Abbrechen",cancelButtonAria:()=>"Abbrechen",characterCounter:e=>`Noch ${"number"==typeof e?e.toString():e} Zeichen`,characterLimit:e=>`Sie sind ${e} Zeichen über dem Zeichenlimit`,contentEditorAria:()=>"Editor für Rich-Text-Inhalte",italicAria:()=>"Kursiv",orderedListAria:()=>"Sortierte Liste",saveButton:()=>"Speichern",saveButtonAria:()=>"Speichern",toolbarAriaLabel:()=>"Formatierung",unorderedListAria:()=>"Unsortierte Liste",underlineAria:()=>"Underline",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Suchen"},select:{actionButtonText:()=>"Neues Element hinzufügen",placeholder:()=>"Bitte auswählen...",noResultsForTerm:e=>`Es wurden keine Ergebnisse für ${e} gefunden.`},sidebar:{ariaLabels:{close:()=>"Schließen"}},sort:{accessibleName:(e,n)=>`Alle ${e||"inhalte"}${n?` in der Reihenfolge ${"ascending"===n?"aufsteigend":"absteigend"} sortieren.`:" in der Reihenfolge aufsteigend oder absteigend sortieren."}`},splitButton:{ariaLabel:()=>"Mehr anzeigen"},stepFlow:{stepLabel:(e,n)=>`Schritt ${e} von ${n}`,screenReaderOnlyTitle:(e,n,a,i)=>`${i?`${i}.`:""} ${e}. Schritt ${n} von ${a}.`,closeIconAriaLabel:()=>"Schließen"},switch:{on:()=>"EIN",off:()=>"AUS"},tileSelect:{deselect:()=>"Auswahl aufheben"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"h",minutesLabelText:()=>"min",hoursAriaLabelText:()=>"Stunden",minutesAriaLabelText:()=>"Minuten"},toast:{ariaLabels:{close:()=>"Schließen"},error:()=>"",info:()=>"",success:()=>"",warning:()=>"",neutral:()=>"",notification:()=>""},verticalMenuFullScreen:{ariaLabels:{close:()=>"Schließen"}}};exports.default=a;
|
package/lib/locales/en-gb.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("date-fns/locale/en-GB");const a=e=>1===("string"==typeof e?parseInt(e):e),r={locale:()=>"en-GB",actions:{edit:()=>"Edit",delete:()=>"Delete"},actionPopover:{ariaLabel:()=>"actions"},advancedColorPicker:{ariaLabel:()=>"Change colour",currentColorDescriptionTerm:()=>"Current colour assigned: ",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} selected`},breadcrumbs:{ariaLabel:()=>"breadcrumbs"},confirm:{no:()=>"No",yes:()=>"Yes"},characterCount:{tooManyCharacters:(e,a)=>1===e?`${a} character too many`:`${a} characters too many`,charactersLeft:(e,a)=>1===e?`${a} character left`:`${a} characters left`,visuallyHiddenHint:e=>`You can enter up to ${e} characters`},date:{dateFnsLocale:()=>e.enGB,ariaLabels:{previousMonthButton:()=>"Previous month",nextMonthButton:()=>"Next month"},dateFormatOverride:void 0},dialog:{ariaLabels:{close:()=>"Close"}},dismissibleBox:{ariaLabels:{close:()=>"Close"}},errors:{messages:{formSummary:(e,r,t)=>{const o=a(e)?"error":"errors",n=a(r)?"warning":"warnings",i=a(e)?"is":"are",s=a(r)?"is":"are";return e&&r&&"warning"===t?["and",`${r} ${n}`]:e?[`There ${i}`,`${e} ${o}`]:r?[`There ${s}`,`${r} ${n}`]:null}}},fileInput:{dragAndDrop:()=>"or drag and drop your file",selectFile:()=>"Select file",fileUploadStatus:()=>"File upload status",actions:{cancel:()=>"Cancel upload",clear:()=>"Clear",delete:()=>"Delete file"}},heading:{backLinkAriaLabel:()=>"Back"},link:{skipLinkLabel:()=>"Skip to main content"},loader:{loading:()=>"Loading"},loaderSpinner:{loading:()=>"Loading..."},loaderStar:{loading:()=>"Loading..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Close"}},message:{closeButtonAriaLabel:()=>"Close",error:()=>"Error",info:()=>"Information",success:()=>"Success",warning:()=>"Warning",neutral:()=>"Information",ai:()=>"AI Information",callout:()=>"Callout"},numeralDate:{validation:{day:(e,a)=>e&&a?`Day in ${e} should be a number within 1-${a}.`:"Day should be a number within a 1-31 range.",month:()=>"Month should be a number within a 1-12 range.",year:()=>"Year should be a number within a 1800-2200 range."},labels:{day:()=>"Day",month:()=>"Month",year:()=>"Year"}},pager:{show:()=>"Show",records:(e,r=!0)=>{const t=a(e)?"item":"items";return r?`${e} ${t}`:t},first:()=>"First",last:()=>"Last",next:()=>"Next",previous:()=>"Previous",pageX:()=>"Page",ofY:e=>`of ${e}`},password:{buttonLabelHide:()=>"Hide",buttonLabelShow:()=>"Show",ariaLabelHide:()=>"Hide password",ariaLabelShow:()=>"Show password",ariaLiveShownMessage:()=>"Your password has been shown. Focus on the password input to have it read to you, if it is safe to do so.",ariaLiveHiddenMessage:()=>"Your password is currently hidden."},pill:{remove:e=>`Remove ${e} pill`},progressTracker:{of:()=>"of"},pod:{undo:()=>"Undo"},textEditor:{boldAria:()=>"Bold",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",characterCounter:e=>`${"number"==typeof e?e.toString():e} characters remaining`,characterLimit:e=>`You are ${e} character(s) over the character limit`,contentEditorAria:()=>"Rich text content editor",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},italicAria:()=>"Italic",orderedListAria:()=>"Ordered list",saveButton:()=>"Save",saveButtonAria:()=>"Save",toolbarAriaLabel:()=>"Formatting",underlineAria:()=>"Underline",unorderedListAria:()=>"Unordered list",mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Search"},select:{actionButtonText:()=>"Add New Item",placeholder:()=>"Please Select...",noResultsForTerm:e=>`No results for "${e}"`},sidebar:{ariaLabels:{close:()=>"Close"}},sort:{accessibleName:(e,a)=>`Sort all ${e||"contents"}${a?` in an ${a} order.`:" in an ascending or descending order."}`},splitButton:{ariaLabel:()=>"Show more"},stepFlow:{stepLabel:(e,a)=>`Step ${e} of ${a}`,screenReaderOnlyTitle:(e,a,r,t)=>`${t?`${t}.`:""} ${e}. Step ${a} of ${r}.`,closeIconAriaLabel:()=>"Close"},switch:{on:()=>"ON",off:()=>"OFF"},tileSelect:{deselect:()=>"Deselect"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"Hrs.",minutesLabelText:()=>"Mins.",hoursAriaLabelText:()=>"Hours",minutesAriaLabelText:()=>"Minutes"},toast:{ariaLabels:{close:()=>"Close"},error:()=>"Error",info:()=>"Information",success:()=>"Success",warning:()=>"Warning",neutral:()=>"Information",notification:()=>"Notification"},verticalMenu:{ariaLabels:{responsiveMenuLauncher:()=>"Product menu launcher",responsiveMenuCloseButton:()=>"Close product menu",responsiveMenuAria:()=>"Product menu"}},verticalMenuFullScreen:{ariaLabels:{close:()=>"Close"}}};exports.default=r;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("date-fns/locale/en-GB");const a=e=>1===("string"==typeof e?parseInt(e):e),r={locale:()=>"en-GB",actions:{edit:()=>"Edit",delete:()=>"Delete"},actionPopover:{ariaLabel:()=>"actions"},advancedColorPicker:{ariaLabel:()=>"Change colour",currentColorDescriptionTerm:()=>"Current colour assigned: ",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} selected`},breadcrumbs:{ariaLabel:()=>"breadcrumbs"},confirm:{no:()=>"No",yes:()=>"Yes"},characterCount:{tooManyCharacters:(e,a)=>1===e?`${a} character too many`:`${a} characters too many`,charactersLeft:(e,a)=>1===e?`${a} character left`:`${a} characters left`,visuallyHiddenHint:e=>`You can enter up to ${e} characters`},date:{dateFnsLocale:()=>e.enGB,ariaLabels:{previousMonthButton:()=>"Previous month",nextMonthButton:()=>"Next month"},dateFormatOverride:void 0},dialog:{ariaLabels:{close:()=>"Close"}},dismissibleBox:{ariaLabels:{close:()=>"Close"}},errors:{messages:{formSummary:(e,r,t)=>{const o=a(e)?"error":"errors",n=a(r)?"warning":"warnings",i=a(e)?"is":"are",s=a(r)?"is":"are";return e&&r&&"warning"===t?["and",`${r} ${n}`]:e?[`There ${i}`,`${e} ${o}`]:r?[`There ${s}`,`${r} ${n}`]:null}}},fileInput:{dragAndDrop:()=>"or drag and drop your file",selectFile:()=>"Select file",fileUploadStatus:()=>"File upload status",actions:{cancel:()=>"Cancel upload",clear:()=>"Clear",delete:()=>"Delete file"}},heading:{backLinkAriaLabel:()=>"Back"},link:{skipLinkLabel:()=>"Skip to main content"},loader:{loading:()=>"Loading..."},loaderSpinner:{loading:()=>"Loading..."},loaderStar:{loading:()=>"Loading..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Close"}},message:{closeButtonAriaLabel:()=>"Close",error:()=>"Error",info:()=>"Information",success:()=>"Success",warning:()=>"Warning",neutral:()=>"Information",ai:()=>"AI Information",callout:()=>"Callout"},numeralDate:{validation:{day:(e,a)=>e&&a?`Day in ${e} should be a number within 1-${a}.`:"Day should be a number within a 1-31 range.",month:()=>"Month should be a number within a 1-12 range.",year:()=>"Year should be a number within a 1800-2200 range."},labels:{day:()=>"Day",month:()=>"Month",year:()=>"Year"}},pager:{show:()=>"Show",records:(e,r=!0)=>{const t=a(e)?"item":"items";return r?`${e} ${t}`:t},first:()=>"First",last:()=>"Last",next:()=>"Next",previous:()=>"Previous",pageX:()=>"Page",ofY:e=>`of ${e}`},password:{buttonLabelHide:()=>"Hide",buttonLabelShow:()=>"Show",ariaLabelHide:()=>"Hide password",ariaLabelShow:()=>"Show password",ariaLiveShownMessage:()=>"Your password has been shown. Focus on the password input to have it read to you, if it is safe to do so.",ariaLiveHiddenMessage:()=>"Your password is currently hidden."},pill:{remove:e=>`Remove ${e} pill`},progressTracker:{of:()=>"of"},pod:{undo:()=>"Undo"},textEditor:{boldAria:()=>"Bold",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",characterCounter:e=>`${"number"==typeof e?e.toString():e} characters remaining`,characterLimit:e=>`You are ${e} character(s) over the character limit`,contentEditorAria:()=>"Rich text content editor",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},italicAria:()=>"Italic",orderedListAria:()=>"Ordered list",saveButton:()=>"Save",saveButtonAria:()=>"Save",toolbarAriaLabel:()=>"Formatting",underlineAria:()=>"Underline",unorderedListAria:()=>"Unordered list",mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Search"},select:{actionButtonText:()=>"Add New Item",placeholder:()=>"Please Select...",noResultsForTerm:e=>`No results for "${e}"`},sidebar:{ariaLabels:{close:()=>"Close"}},sort:{accessibleName:(e,a)=>`Sort all ${e||"contents"}${a?` in an ${a} order.`:" in an ascending or descending order."}`},splitButton:{ariaLabel:()=>"Show more"},stepFlow:{stepLabel:(e,a)=>`Step ${e} of ${a}`,screenReaderOnlyTitle:(e,a,r,t)=>`${t?`${t}.`:""} ${e}. Step ${a} of ${r}.`,closeIconAriaLabel:()=>"Close"},switch:{on:()=>"ON",off:()=>"OFF"},tileSelect:{deselect:()=>"Deselect"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"Hrs.",minutesLabelText:()=>"Mins.",hoursAriaLabelText:()=>"Hours",minutesAriaLabelText:()=>"Minutes"},toast:{ariaLabels:{close:()=>"Close"},error:()=>"Error",info:()=>"Information",success:()=>"Success",warning:()=>"Warning",neutral:()=>"Information",notification:()=>"Notification"},verticalMenu:{ariaLabels:{responsiveMenuLauncher:()=>"Product menu launcher",responsiveMenuCloseButton:()=>"Close product menu",responsiveMenuAria:()=>"Product menu"}},verticalMenuFullScreen:{ariaLabels:{close:()=>"Close"}}};exports.default=r;
|
package/lib/locales/fr-ca.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("date-fns/locale/fr-CA");const r=e=>1===("string"==typeof e?parseInt(e):e),t={locale:()=>"fr-CA",actions:{edit:()=>"Modifier",delete:()=>"Supprimer"},actionPopover:{ariaLabel:()=>"actions"},advancedColorPicker:{ariaLabel:()=>"Changer de couleur",currentColorDescriptionTerm:()=>"Couleur actuellement attribuée :",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} sélectionné(s)`},breadcrumbs:{ariaLabel:()=>"chemins de navigation"},confirm:{no:()=>"Non",yes:()=>"Oui"},characterCount:{tooManyCharacters:(e,r)=>1===e?`${r} caractère de trop`:`${r} caractères de trop`,charactersLeft:(e,r)=>1===e?`${r} caractère restant`:`${r} caractères restants`,visuallyHiddenHint:e=>`vous pouvez saisir jusqu'à ${e} caractères.`},date:{dateFnsLocale:()=>e.frCA,ariaLabels:{previousMonthButton:()=>"Mois précédent",nextMonthButton:()=>"Mois suivant"}},dialog:{ariaLabels:{close:()=>"Fermer"}},dismissibleBox:{ariaLabels:{close:()=>"Fermer"}},errors:{messages:{formSummary:(e,t,a)=>{const n=r(e)?"erreur":"erreurs",i=r(t)?"avertissement":"avertissements";return e&&t&&"warning"===a?["et",`${t} ${i}`]:e?["Il y a",`${e} ${n}`]:t?["Il y a",`${t} ${i}`]:null}}},fileInput:{dragAndDrop:()=>"ou glissez et déposez-le ici.",selectFile:()=>"Sélectionnez le fichier",fileUploadStatus:()=>"État du téléversement des fichiers",actions:{cancel:()=>"Annuler le téléversement",clear:()=>"Effacer",delete:()=>"Supprimer le fichier"}},heading:{backLinkAriaLabel:()=>"Retour"},link:{skipLinkLabel:()=>"Passer au contenu principal"},loader:{loading:()=>"Chargement"},loaderSpinner:{loading:()=>"Chargement..."},loaderStar:{loading:()=>"Chargement..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Fermer"}},message:{closeButtonAriaLabel:()=>"Fermer",error:()=>"Erreur",info:()=>"Information",success:()=>"Opération réussie",warning:()=>"Avertissement",neutral:()=>"Information",ai:()=>"Information générée par l'IA"},numeralDate:{validation:{day:(e,r)=>e&&r?`Le jour du ${e} doit être un nombre compris entre 1- ${r}`:"Le jour doit être un nombre compris entre 1 et 31 jours.",month:()=>"Le mois doit être un nombre compris entre 1 et 12.",year:()=>"L'année doit être un nombre compris entre 1800 et 2200."},labels:{day:()=>"Jour",month:()=>"Mois",year:()=>"Année"}},pager:{show:()=>"Afficher",records:(e,t=!0)=>{const a=r(e)?"élément":"éléments";return t?`${e} ${a}`:a},first:()=>"Première",last:()=>"Dernière",next:()=>"Suivante",previous:()=>"Précédente",pageX:()=>"Page",ofY:e=>`de ${e}`},password:{buttonLabelHide:()=>"Masquer",buttonLabelShow:()=>"Afficher",ariaLabelHide:()=>"Masquer le mot de passe",ariaLabelShow:()=>"Afficher le mot de passe",ariaLiveShownMessage:()=>"Votre mot de passe a été affiché. Si vous pouvez le faire en toute sécurité, focalisez sur la zone de saisie du mot de passe pour qu’il vous soit lu.",ariaLiveHiddenMessage:()=>"Votre mot de passe est actuellement masqué."},progressTracker:{of:()=>"de"},pod:{undo:()=>"Annuler"},textEditor:{boldAria:()=>"Gras",cancelButton:()=>"Annuler",cancelButtonAria:()=>"Annuler",characterCounter:e=>`${"number"==typeof e?e.toString():e} caractères restants`,characterLimit:e=>`Vous avez dépassé de ${e} caractères la limite autorisée`,contentEditorAria:()=>"Éditeur de texte enrichi",italicAria:()=>"Italique",orderedListAria:()=>"Liste ordonnée",saveButton:()=>"Enregistrer",saveButtonAria:()=>"Enregistrer",toolbarAriaLabel:()=>"Mise en forme",unorderedListAria:()=>"Liste non ordonnée",underlineAria:()=>"Underline",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Chercher"},select:{actionButtonText:()=>"Ajouter un nouvel élément",placeholder:()=>"Sélectionner...",noResultsForTerm:e=>`Aucun résultat pour ${e}`},sidebar:{ariaLabels:{close:()=>"Fermer"}},sort:{accessibleName:(e,r)=>`Trier tous les contenus ${e&&`de type ${e}`}${r?` par ordre ${"ascending"===r?"croissant":"décroissant"}.`:" par ordre croissant ou décroissant."}`},splitButton:{ariaLabel:()=>"Afficher plus"},stepFlow:{stepLabel:(e,r)=>`Étape ${e} de ${r}`,screenReaderOnlyTitle:(e,r,t,a)=>`${a?`${a}.`:""} ${e}. Étape ${r} de ${t}.`,closeIconAriaLabel:()=>"Fermer"},switch:{on:()=>"OUI",off:()=>"NON"},tileSelect:{deselect:()=>"Désélectionner"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"Hres",minutesLabelText:()=>"Mins.",hoursAriaLabelText:()=>"Heures",minutesAriaLabelText:()=>"Minutes"},toast:{ariaLabels:{close:()=>"Fermer"},error:()=>"",info:()=>"",success:()=>"",warning:()=>"",neutral:()=>"",notification:()=>""},verticalMenuFullScreen:{ariaLabels:{close:()=>"Fermer"}}};exports.default=t;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("date-fns/locale/fr-CA");const r=e=>1===("string"==typeof e?parseInt(e):e),t={locale:()=>"fr-CA",actions:{edit:()=>"Modifier",delete:()=>"Supprimer"},actionPopover:{ariaLabel:()=>"actions"},advancedColorPicker:{ariaLabel:()=>"Changer de couleur",currentColorDescriptionTerm:()=>"Couleur actuellement attribuée :",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} sélectionné(s)`},breadcrumbs:{ariaLabel:()=>"chemins de navigation"},confirm:{no:()=>"Non",yes:()=>"Oui"},characterCount:{tooManyCharacters:(e,r)=>1===e?`${r} caractère de trop`:`${r} caractères de trop`,charactersLeft:(e,r)=>1===e?`${r} caractère restant`:`${r} caractères restants`,visuallyHiddenHint:e=>`vous pouvez saisir jusqu'à ${e} caractères.`},date:{dateFnsLocale:()=>e.frCA,ariaLabels:{previousMonthButton:()=>"Mois précédent",nextMonthButton:()=>"Mois suivant"}},dialog:{ariaLabels:{close:()=>"Fermer"}},dismissibleBox:{ariaLabels:{close:()=>"Fermer"}},errors:{messages:{formSummary:(e,t,a)=>{const n=r(e)?"erreur":"erreurs",i=r(t)?"avertissement":"avertissements";return e&&t&&"warning"===a?["et",`${t} ${i}`]:e?["Il y a",`${e} ${n}`]:t?["Il y a",`${t} ${i}`]:null}}},fileInput:{dragAndDrop:()=>"ou glissez et déposez-le ici.",selectFile:()=>"Sélectionnez le fichier",fileUploadStatus:()=>"État du téléversement des fichiers",actions:{cancel:()=>"Annuler le téléversement",clear:()=>"Effacer",delete:()=>"Supprimer le fichier"}},heading:{backLinkAriaLabel:()=>"Retour"},link:{skipLinkLabel:()=>"Passer au contenu principal"},loader:{loading:()=>"Chargement..."},loaderSpinner:{loading:()=>"Chargement..."},loaderStar:{loading:()=>"Chargement..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Fermer"}},message:{closeButtonAriaLabel:()=>"Fermer",error:()=>"Erreur",info:()=>"Information",success:()=>"Opération réussie",warning:()=>"Avertissement",neutral:()=>"Information",ai:()=>"Information générée par l'IA"},numeralDate:{validation:{day:(e,r)=>e&&r?`Le jour du ${e} doit être un nombre compris entre 1- ${r}`:"Le jour doit être un nombre compris entre 1 et 31 jours.",month:()=>"Le mois doit être un nombre compris entre 1 et 12.",year:()=>"L'année doit être un nombre compris entre 1800 et 2200."},labels:{day:()=>"Jour",month:()=>"Mois",year:()=>"Année"}},pager:{show:()=>"Afficher",records:(e,t=!0)=>{const a=r(e)?"élément":"éléments";return t?`${e} ${a}`:a},first:()=>"Première",last:()=>"Dernière",next:()=>"Suivante",previous:()=>"Précédente",pageX:()=>"Page",ofY:e=>`de ${e}`},password:{buttonLabelHide:()=>"Masquer",buttonLabelShow:()=>"Afficher",ariaLabelHide:()=>"Masquer le mot de passe",ariaLabelShow:()=>"Afficher le mot de passe",ariaLiveShownMessage:()=>"Votre mot de passe a été affiché. Si vous pouvez le faire en toute sécurité, focalisez sur la zone de saisie du mot de passe pour qu’il vous soit lu.",ariaLiveHiddenMessage:()=>"Votre mot de passe est actuellement masqué."},progressTracker:{of:()=>"de"},pod:{undo:()=>"Annuler"},textEditor:{boldAria:()=>"Gras",cancelButton:()=>"Annuler",cancelButtonAria:()=>"Annuler",characterCounter:e=>`${"number"==typeof e?e.toString():e} caractères restants`,characterLimit:e=>`Vous avez dépassé de ${e} caractères la limite autorisée`,contentEditorAria:()=>"Éditeur de texte enrichi",italicAria:()=>"Italique",orderedListAria:()=>"Liste ordonnée",saveButton:()=>"Enregistrer",saveButtonAria:()=>"Enregistrer",toolbarAriaLabel:()=>"Mise en forme",unorderedListAria:()=>"Liste non ordonnée",underlineAria:()=>"Underline",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Chercher"},select:{actionButtonText:()=>"Ajouter un nouvel élément",placeholder:()=>"Sélectionner...",noResultsForTerm:e=>`Aucun résultat pour ${e}`},sidebar:{ariaLabels:{close:()=>"Fermer"}},sort:{accessibleName:(e,r)=>`Trier tous les contenus ${e&&`de type ${e}`}${r?` par ordre ${"ascending"===r?"croissant":"décroissant"}.`:" par ordre croissant ou décroissant."}`},splitButton:{ariaLabel:()=>"Afficher plus"},stepFlow:{stepLabel:(e,r)=>`Étape ${e} de ${r}`,screenReaderOnlyTitle:(e,r,t,a)=>`${a?`${a}.`:""} ${e}. Étape ${r} de ${t}.`,closeIconAriaLabel:()=>"Fermer"},switch:{on:()=>"OUI",off:()=>"NON"},tileSelect:{deselect:()=>"Désélectionner"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"Hres",minutesLabelText:()=>"Mins.",hoursAriaLabelText:()=>"Heures",minutesAriaLabelText:()=>"Minutes"},toast:{ariaLabels:{close:()=>"Fermer"},error:()=>"",info:()=>"",success:()=>"",warning:()=>"",neutral:()=>"",notification:()=>""},verticalMenuFullScreen:{ariaLabels:{close:()=>"Fermer"}}};exports.default=t;
|
package/lib/locales/fr-fr.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("date-fns/locale/fr");const r=e=>1===("string"==typeof e?parseInt(e):e),t={locale:()=>"fr-FR",actions:{edit:()=>"Modifier",delete:()=>"Supprimer"},actionPopover:{ariaLabel:()=>"actions"},advancedColorPicker:{ariaLabel:()=>"Changer de couleur",currentColorDescriptionTerm:()=>"Couleur actuelle attribuée :",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} sélectionné(s)`},breadcrumbs:{ariaLabel:()=>"Chemin de navigation"},confirm:{no:()=>"Non",yes:()=>"Oui"},characterCount:{tooManyCharacters:(e,r)=>1===e?`il y a ${r} caractère de trop`:`${r} caractères de trop`,charactersLeft:(e,r)=>1===e?`${r} caractère restant`:`${r} caractères restants`,visuallyHiddenHint:e=>`vous pouvez saisir jusqu'à ${e} caractères.`},date:{dateFnsLocale:()=>e.fr,ariaLabels:{previousMonthButton:()=>"Mois précédent",nextMonthButton:()=>"Mois suivant"}},dialog:{ariaLabels:{close:()=>"Fermer"}},dismissibleBox:{ariaLabels:{close:()=>"Fermer"}},errors:{messages:{formSummary:(e,t,a)=>{const n=r(e)?"erreur":"erreurs",i=r(t)?"avertissement":"avertissements";return e&&t&&"warning"===a?["et",`${t} ${i}`]:e?["Il y a",`${e} ${n}`]:t?["Il y a",`${t} ${i}`]:null}}},fileInput:{dragAndDrop:()=>"ou glisser et déposer votre fichier",selectFile:()=>"Sélectionnez le fichier",fileUploadStatus:()=>"Statut du téléchargement de fichiers",actions:{cancel:()=>"Annuler le téléchargement",clear:()=>"Effacer",delete:()=>"Supprimer le fichier"}},heading:{backLinkAriaLabel:()=>"Retour"},link:{skipLinkLabel:()=>"Passer au contenu principal"},loader:{loading:()=>"Chargement en cours"},loaderSpinner:{loading:()=>"Chargement en cours..."},loaderStar:{loading:()=>"Chargement en cours..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Fermer"}},message:{closeButtonAriaLabel:()=>"Fermer",error:()=>"Erreur",info:()=>"Information",success:()=>"Action réussie",warning:()=>"Avertissement",neutral:()=>"Information",ai:()=>"Information générée par IA"},numeralDate:{validation:{day:(e,r)=>e&&r?`Le jour du ${e} doit être un nombre compris entre 1- ${r}`:"Le jour doit être un nombre compris entre 1 et 31 jours.",month:()=>"Le mois doit être un nombre compris entre 1 et 12.",year:()=>"L'année doit être un nombre compris entre 1800 et 2200."},labels:{day:()=>"Jour",month:()=>"Mois",year:()=>"Année"}},pager:{show:()=>"Afficher",records:(e,t=!0)=>{const a=r(e)?"élément":"éléments";return t?`${e} ${a}`:a},first:()=>"Première",last:()=>"Dernière",next:()=>"Suivante",previous:()=>"Précédente",pageX:()=>"Page",ofY:e=>`de ${e}`},password:{buttonLabelHide:()=>"Masquer",buttonLabelShow:()=>"Afficher",ariaLabelHide:()=>"Masquer le mot de passe",ariaLabelShow:()=>"Afficher le mot de passe",ariaLiveShownMessage:()=>"Votre mot de passe s'affiche. Assurez-vous d'être dans un environnement sûr puis survolez la zone avec votre souris et vous pourrez écouter le mot de passe.",ariaLiveHiddenMessage:()=>"Votre mot de passe est actuellement caché."},progressTracker:{of:()=>"de"},pod:{undo:()=>"Annuler"},textEditor:{boldAria:()=>"Gras",cancelButton:()=>"Annuler",cancelButtonAria:()=>"Annuler",characterCounter:e=>`${"number"==typeof e?e.toString():e} caractères restants`,characterLimit:e=>`Vous avez dépassé de ${e} caractères la limite autorisée`,contentEditorAria:()=>"Éditeur de texte enrichi",italicAria:()=>"Italique",orderedListAria:()=>"Liste ordonnée",saveButton:()=>"Enregistrer",saveButtonAria:()=>"Enregistrer",toolbarAriaLabel:()=>"Mise en forme",unorderedListAria:()=>"Liste non ordonnée",underlineAria:()=>"Underline",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Rechercher"},select:{actionButtonText:()=>"Ajouter un nouvel élément",placeholder:()=>"Sélectionner...",noResultsForTerm:e=>`Aucun résultat pour ${e}`},sidebar:{ariaLabels:{close:()=>"Fermer"}},sort:{accessibleName:(e,r)=>`Trier tous les contenus ${e&&`de type ${e}`}${r?` par ordre ${"ascending"===r?"croissant":"décroissant"}.`:" par ordre croissant ou décroissant."}`},splitButton:{ariaLabel:()=>"Afficher plus"},stepFlow:{stepLabel:(e,r)=>`Étape ${e} de ${r}`,screenReaderOnlyTitle:(e,r,t,a)=>`${a?`${a}.`:""} ${e}. Étape ${r} de ${t}.`,closeIconAriaLabel:()=>"Fermer"},switch:{on:()=>"Oui",off:()=>"Non"},tileSelect:{deselect:()=>"Désélectionner"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"h",minutesLabelText:()=>"min",hoursAriaLabelText:()=>"Heures",minutesAriaLabelText:()=>"Minutes"},toast:{ariaLabels:{close:()=>"Fermer"},error:()=>"",info:()=>"",success:()=>"",warning:()=>"",neutral:()=>"",notification:()=>""},verticalMenuFullScreen:{ariaLabels:{close:()=>"Fermer"}}};exports.default=t;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("date-fns/locale/fr");const r=e=>1===("string"==typeof e?parseInt(e):e),t={locale:()=>"fr-FR",actions:{edit:()=>"Modifier",delete:()=>"Supprimer"},actionPopover:{ariaLabel:()=>"actions"},advancedColorPicker:{ariaLabel:()=>"Changer de couleur",currentColorDescriptionTerm:()=>"Couleur actuelle attribuée :",currentColorAssigned:e=>e},batchSelection:{selected:e=>`${e} sélectionné(s)`},breadcrumbs:{ariaLabel:()=>"Chemin de navigation"},confirm:{no:()=>"Non",yes:()=>"Oui"},characterCount:{tooManyCharacters:(e,r)=>1===e?`il y a ${r} caractère de trop`:`${r} caractères de trop`,charactersLeft:(e,r)=>1===e?`${r} caractère restant`:`${r} caractères restants`,visuallyHiddenHint:e=>`vous pouvez saisir jusqu'à ${e} caractères.`},date:{dateFnsLocale:()=>e.fr,ariaLabels:{previousMonthButton:()=>"Mois précédent",nextMonthButton:()=>"Mois suivant"}},dialog:{ariaLabels:{close:()=>"Fermer"}},dismissibleBox:{ariaLabels:{close:()=>"Fermer"}},errors:{messages:{formSummary:(e,t,a)=>{const n=r(e)?"erreur":"erreurs",i=r(t)?"avertissement":"avertissements";return e&&t&&"warning"===a?["et",`${t} ${i}`]:e?["Il y a",`${e} ${n}`]:t?["Il y a",`${t} ${i}`]:null}}},fileInput:{dragAndDrop:()=>"ou glisser et déposer votre fichier",selectFile:()=>"Sélectionnez le fichier",fileUploadStatus:()=>"Statut du téléchargement de fichiers",actions:{cancel:()=>"Annuler le téléchargement",clear:()=>"Effacer",delete:()=>"Supprimer le fichier"}},heading:{backLinkAriaLabel:()=>"Retour"},link:{skipLinkLabel:()=>"Passer au contenu principal"},loader:{loading:()=>"Chargement en cours..."},loaderSpinner:{loading:()=>"Chargement en cours..."},loaderStar:{loading:()=>"Chargement en cours..."},menuFullscreen:{ariaLabels:{closeButton:()=>"Fermer"}},message:{closeButtonAriaLabel:()=>"Fermer",error:()=>"Erreur",info:()=>"Information",success:()=>"Action réussie",warning:()=>"Avertissement",neutral:()=>"Information",ai:()=>"Information générée par IA"},numeralDate:{validation:{day:(e,r)=>e&&r?`Le jour du ${e} doit être un nombre compris entre 1- ${r}`:"Le jour doit être un nombre compris entre 1 et 31 jours.",month:()=>"Le mois doit être un nombre compris entre 1 et 12.",year:()=>"L'année doit être un nombre compris entre 1800 et 2200."},labels:{day:()=>"Jour",month:()=>"Mois",year:()=>"Année"}},pager:{show:()=>"Afficher",records:(e,t=!0)=>{const a=r(e)?"élément":"éléments";return t?`${e} ${a}`:a},first:()=>"Première",last:()=>"Dernière",next:()=>"Suivante",previous:()=>"Précédente",pageX:()=>"Page",ofY:e=>`de ${e}`},password:{buttonLabelHide:()=>"Masquer",buttonLabelShow:()=>"Afficher",ariaLabelHide:()=>"Masquer le mot de passe",ariaLabelShow:()=>"Afficher le mot de passe",ariaLiveShownMessage:()=>"Votre mot de passe s'affiche. Assurez-vous d'être dans un environnement sûr puis survolez la zone avec votre souris et vous pourrez écouter le mot de passe.",ariaLiveHiddenMessage:()=>"Votre mot de passe est actuellement caché."},progressTracker:{of:()=>"de"},pod:{undo:()=>"Annuler"},textEditor:{boldAria:()=>"Gras",cancelButton:()=>"Annuler",cancelButtonAria:()=>"Annuler",characterCounter:e=>`${"number"==typeof e?e.toString():e} caractères restants`,characterLimit:e=>`Vous avez dépassé de ${e} caractères la limite autorisée`,contentEditorAria:()=>"Éditeur de texte enrichi",italicAria:()=>"Italique",orderedListAria:()=>"Liste ordonnée",saveButton:()=>"Enregistrer",saveButtonAria:()=>"Enregistrer",toolbarAriaLabel:()=>"Mise en forme",unorderedListAria:()=>"Liste non ordonnée",underlineAria:()=>"Underline",hyperlink:{buttonAria:()=>"Hyperlink",cancelButton:()=>"Cancel",cancelButtonAria:()=>"Cancel",dialogTitle:()=>"Add link",linkFieldLabel:()=>"Link",saveButton:()=>"Save",saveButtonAria:()=>"Save",textFieldLabel:()=>"Text"},typography:{selectAria:()=>"Heading type",paragraph:()=>"Paragraph",title:()=>"Title",subtitle:()=>"Subtitle",sectionHeader:()=>"Section header",sectionSubheader:()=>"Section subheader"},mentions:{listAriaLabel:()=>"List of mentionable people"}},search:{searchButtonText:()=>"Rechercher"},select:{actionButtonText:()=>"Ajouter un nouvel élément",placeholder:()=>"Sélectionner...",noResultsForTerm:e=>`Aucun résultat pour ${e}`},sidebar:{ariaLabels:{close:()=>"Fermer"}},sort:{accessibleName:(e,r)=>`Trier tous les contenus ${e&&`de type ${e}`}${r?` par ordre ${"ascending"===r?"croissant":"décroissant"}.`:" par ordre croissant ou décroissant."}`},splitButton:{ariaLabel:()=>"Afficher plus"},stepFlow:{stepLabel:(e,r)=>`Étape ${e} de ${r}`,screenReaderOnlyTitle:(e,r,t,a)=>`${a?`${a}.`:""} ${e}. Étape ${r} de ${t}.`,closeIconAriaLabel:()=>"Fermer"},switch:{on:()=>"Oui",off:()=>"Non"},tileSelect:{deselect:()=>"Désélectionner"},time:{amText:()=>"AM",pmText:()=>"PM",hoursLabelText:()=>"h",minutesLabelText:()=>"min",hoursAriaLabelText:()=>"Heures",minutesAriaLabelText:()=>"Minutes"},toast:{ariaLabels:{close:()=>"Fermer"},error:()=>"",info:()=>"",success:()=>"",warning:()=>"",neutral:()=>"",notification:()=>""},verticalMenuFullScreen:{ariaLabels:{close:()=>"Fermer"}}};exports.default=t;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carbon-react",
|
|
3
|
-
"version": "158.13.
|
|
3
|
+
"version": "158.13.2",
|
|
4
4
|
"description": "A library of reusable React components for easily building user interfaces.",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib",
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
"rollup-plugin-postcss": "^4.0.2",
|
|
181
181
|
"rollup-plugin-swc3": "^0.12.1",
|
|
182
182
|
"rollup-plugin-visualizer": "^5.14.0",
|
|
183
|
-
"semantic-release": "^
|
|
183
|
+
"semantic-release": "^25.0.2",
|
|
184
184
|
"semver": "^7.5.4",
|
|
185
185
|
"storybook": "~8.6.12",
|
|
186
186
|
"storybook-addon-pseudo-states": "~4.0.2",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface ButtonContextProps {
|
|
3
|
-
isInsideTypicalButton?: boolean;
|
|
4
|
-
isInsideDestructiveButton?: boolean;
|
|
5
|
-
isInsidePrimaryButton?: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: React.Context<ButtonContextProps>;
|
|
8
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import t from"react";var e=t.createContext({});export{e as default};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface ButtonContextProps {
|
|
3
|
-
isInsideTypicalButton?: boolean;
|
|
4
|
-
isInsideDestructiveButton?: boolean;
|
|
5
|
-
isInsidePrimaryButton?: boolean;
|
|
6
|
-
}
|
|
7
|
-
declare const _default: React.Context<ButtonContextProps>;
|
|
8
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react")).default.createContext({});exports.default=t;
|