@pega/cosmos-react-core 7.0.0-build.6.4 → 7.0.0-build.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"Keyboard.d.ts","sourceRoot":"","sources":["../../../src/components/Badges/Keyboard.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAc,cAAc,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AA0E1F,eAAO,MAAM,cAAc,yGA+B1B,CAAC;AAGF,MAAM,MAAM,aAAa,GAAG,cAAc,CACxC,KAAK,EACL,cAAc,GAAG,UAAU,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAClD,CAAC;;;;AAEF,wBAkBE"}
1
+ {"version":3,"file":"Keyboard.d.ts","sourceRoot":"","sources":["../../../src/components/Badges/Keyboard.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAc,cAAc,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AA2E1F,eAAO,MAAM,cAAc,yGA+B1B,CAAC;AAGF,MAAM,MAAM,aAAa,GAAG,cAAc,CACxC,KAAK,EACL,cAAc,GAAG,UAAU,GAAG;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,CAClD,CAAC;;;;AAEF,wBAkBE"}
@@ -5,31 +5,32 @@ import { defaultThemeProp } from '../../theme';
5
5
  import useOS from '../../hooks/useOS';
6
6
  import { useTestIds } from '../../hooks';
7
7
  import { withTestIds } from '../../utils';
8
+ import VisuallyHiddenText from '../VisuallyHiddenText';
8
9
  import { getKeyboardTestIds } from './Badges.test-ids';
9
10
  const osxKeyMapper = {
10
11
  Command: '⌘',
11
12
  Alt: '⌥',
12
13
  Option: '⌥',
13
14
  Control: '⌃',
14
- Return: (_jsxs(_Fragment, { children: [_jsx("span", { "aria-label": 'Return' }), _jsx("span", { "aria-hidden": 'true', children: "\u21B5" })] })),
15
- Enter: (_jsxs(_Fragment, { children: [_jsx("span", { "aria-label": 'Enter' }), _jsx("span", { "aria-hidden": 'true', children: "\u21B5" })] })),
16
- Delete: (_jsxs(_Fragment, { children: [_jsx("span", { "aria-label": 'Delete' }), _jsx("span", { "aria-hidden": 'true', children: "Del" })] })),
15
+ Return: (_jsxs(_Fragment, { children: [_jsx("span", { "aria-hidden": true, children: "\u21B5" }), _jsx(VisuallyHiddenText, { children: "Return" })] })),
16
+ Enter: (_jsxs(_Fragment, { children: [_jsx("span", { "aria-hidden": true, children: "\u21B5" }), _jsx(VisuallyHiddenText, { children: "Enter" })] })),
17
+ Delete: (_jsxs(_Fragment, { children: [_jsx("span", { "aria-hidden": true, children: "Del" }), _jsx(VisuallyHiddenText, { children: "Delete" })] })),
17
18
  CommandOrControl: '⌘'
18
19
  };
19
20
  const windowsKeyMapper = {
20
21
  Control: 'Ctrl',
21
22
  Alt: 'Alt',
22
23
  Option: 'Alt',
23
- Meta: (_jsxs(_Fragment, { children: [_jsx("span", { "aria-label": 'Windows' }), _jsx("span", { "aria-hidden": 'true', children: "\u229E" })] })),
24
- Command: (_jsxs(_Fragment, { children: [_jsx("span", { "aria-label": 'Windows' }), _jsx("span", { "aria-hidden": 'true', children: "\u229E" })] })),
24
+ Meta: (_jsxs(_Fragment, { children: [_jsx("span", { "aria-hidden": true, children: "\u229E" }), _jsx(VisuallyHiddenText, { children: "Windows" })] })),
25
+ Command: (_jsxs(_Fragment, { children: [_jsx("span", { "aria-hidden": true, children: "\u229E" }), _jsx(VisuallyHiddenText, { children: "Windows" })] })),
25
26
  Backspace: 'Backspace',
26
27
  CommandOrControl: 'Ctrl'
27
28
  };
28
29
  const generalKeyMapper = {
29
- 'Page up': (_jsxs(_Fragment, { children: [_jsx("span", { "aria-label": 'Page up' }), _jsx("span", { "aria-hidden": 'true', children: "Pg up" })] })),
30
- 'Page down': (_jsxs(_Fragment, { children: [_jsx("span", { "aria-label": 'Page down' }), _jsx("span", { "aria-hidden": 'true', children: "Pg dn" })] })),
30
+ 'Page up': (_jsxs(_Fragment, { children: [_jsx("span", { "aria-hidden": true, children: "Pg up" }), _jsx(VisuallyHiddenText, { children: "Page up" })] })),
31
+ 'Page down': (_jsxs(_Fragment, { children: [_jsx("span", { "aria-hidden": true, children: "Pg dn" }), _jsx(VisuallyHiddenText, { children: "Page down" })] })),
31
32
  Ins: 'Insert',
32
- Shift: (_jsxs(_Fragment, { children: [_jsx("span", { "aria-label": 'Shift' }), _jsx("span", { "aria-hidden": 'true', children: "\u21E7" })] }))
33
+ Shift: (_jsxs(_Fragment, { children: [_jsx("span", { "aria-hidden": true, children: "\u21E7" }), _jsx(VisuallyHiddenText, { children: "Shift" })] }))
33
34
  };
34
35
  export const StyledKeyboard = styled.kbd(({ theme: { base, components: { text: { primary }, badges: { keyboard } } } }) => {
35
36
  return css `
@@ -1 +1 @@
1
- {"version":3,"file":"Keyboard.js","sourceRoot":"","sources":["../../../src/components/Badges/Keyboard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD,MAAM,YAAY,GAA4C;IAC5D,OAAO,EAAE,GAAG;IACZ,GAAG,EAAE,GAAG;IACR,MAAM,EAAE,GAAG;IACX,OAAO,EAAE,GAAG;IACZ,MAAM,EAAE,CACN,8BACE,6BAAiB,QAAQ,GAAG,EAC5B,8BAAkB,MAAM,uBAAS,IAChC,CACJ;IACD,KAAK,EAAE,CACL,8BACE,6BAAiB,OAAO,GAAG,EAC3B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C,cAAc,CAAC;4BAC5B,IAAI,CAAC,eAAe,CAAC;;;;;;;;KAQ5C,CAAC;AACJ,CAAC,CACF,CAAC;AACF,cAAc,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAO/C,eAAe,WAAW,CACxB,UAAU,CAA4D,SAAS,QAAQ,CACrF,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,SAAS,EAAE,EACjC,GAAG;IAEH,MAAM,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,CAAC;IACvC,MAAM,OAAO,GAAG,UAAU,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAEvD,OAAO,CACL,KAAC,cAAc,mBAAc,OAAO,CAAC,IAAI,KAAM,SAAS,EAAE,GAAG,EAAE,GAAG,YAC/D,CAAC,SAAS,IAAI,gBAAgB,CAAC,OAAO,CAAC,CAAC;YACvC,YAAY,CAAC,OAAO,CAAC;YACrB,gBAAgB,CAAC,OAAO,CAAC;YACzB,OAAO,GACM,CAClB,CAAC;AACJ,CAAC,CAAC,EACF,kBAAkB,CACnB,CAAC","sourcesContent":["import { forwardRef } from 'react';\nimport type { PropsWithoutRef } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { defaultThemeProp } from '../../theme';\nimport useOS from '../../hooks/useOS';\nimport type { NoChildrenProp, RefElement, WithAttributes, TestIdProp } from '../../types';\nimport { useTestIds } from '../../hooks';\nimport { withTestIds } from '../../utils';\n\nimport { getKeyboardTestIds } from './Badges.test-ids';\n\nconst osxKeyMapper: { [key: string]: string | JSX.Element } = {\n Command: '⌘',\n Alt: '⌥',\n Option: '⌥',\n Control: '⌃',\n Return: (\n <>\n <span aria-label='Return' />\n <span aria-hidden='true'>↵</span>\n </>\n ),\n Enter: (\n <>\n <span aria-label='Enter' />\n <span aria-hidden='true'>↵</span>\n </>\n ),\n Delete: (\n <>\n <span aria-label='Delete' />\n <span aria-hidden='true'>Del</span>\n </>\n ),\n CommandOrControl: '⌘'\n};\n\nconst windowsKeyMapper: { [key: string]: string | JSX.Element } = {\n Control: 'Ctrl',\n Alt: 'Alt',\n Option: 'Alt',\n Meta: (\n <>\n <span aria-label='Windows' />\n <span aria-hidden='true'>⊞</span>\n </>\n ),\n Command: (\n <>\n <span aria-label='Windows' />\n <span aria-hidden='true'>⊞</span>\n </>\n ),\n Backspace: 'Backspace',\n CommandOrControl: 'Ctrl'\n};\n\nconst generalKeyMapper: { [key: string]: string | JSX.Element } = {\n 'Page up': (\n <>\n <span aria-label='Page up' />\n <span aria-hidden='true'>Pg up</span>\n </>\n ),\n 'Page down': (\n <>\n <span aria-label='Page down' />\n <span aria-hidden='true'>Pg dn</span>\n </>\n ),\n Ins: 'Insert',\n Shift: (\n <>\n <span aria-label='Shift' />\n <span aria-hidden='true'>⇧</span>\n </>\n )\n};\n\nexport const StyledKeyboard = styled.kbd(\n ({\n theme: {\n base,\n components: {\n text: { primary },\n badges: { keyboard }\n }\n }\n }) => {\n return css`\n background-color: ${keyboard['background-color']};\n color: ${base.palette['foreground-color']};\n display: inline-block;\n position: relative;\n font-family: ${base['font-family']};\n font-weight: ${primary['font-weight']};\n overflow: hidden;\n white-space: nowrap;\n padding: 0.125rem;\n border: 0.0125rem solid ${keyboard['border-color']};\n border-radius: calc(${base['border-radius']} / 4);\n text-transform: capitalize;\n text-align: center;\n min-width: 1.25rem;\n height: 1.25rem;\n text-overflow: ellipsis;\n line-height: 1rem;\n inset-block-start: calc(1.25rem / 4 - 0.125rem);\n `;\n }\n);\nStyledKeyboard.defaultProps = defaultThemeProp;\n\nexport type KeyboardProps = WithAttributes<\n 'kbd',\n NoChildrenProp & TestIdProp & { keyName: string }\n>;\n\nexport default withTestIds(\n forwardRef<RefElement<KeyboardProps>, PropsWithoutRef<KeyboardProps>>(function Keyboard(\n { testId, keyName, ...restProps },\n ref\n ) {\n const { windows: isWindows } = useOS();\n const testIds = useTestIds(testId, getKeyboardTestIds);\n\n return (\n <StyledKeyboard data-testid={testIds.root} {...restProps} ref={ref}>\n {(isWindows && windowsKeyMapper[keyName]) ||\n osxKeyMapper[keyName] ||\n generalKeyMapper[keyName] ||\n keyName}\n </StyledKeyboard>\n );\n }),\n getKeyboardTestIds\n);\n"]}
1
+ {"version":3,"file":"Keyboard.js","sourceRoot":"","sources":["../../../src/components/Badges/Keyboard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,KAAK,MAAM,mBAAmB,CAAC;AAEtC,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,kBAAkB,MAAM,uBAAuB,CAAC;AAEvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAEvD,MAAM,YAAY,GAA4C;IAC5D,OAAO,EAAE,GAAG;IACZ,GAAG,EAAE,GAAG;IACR,MAAM,EAAE,GAAG;IACX,OAAO,EAAE,GAAG;IACZ,MAAM,EAAE,CACN,8BACE,yDAA0B,EAC1B,KAAC,kBAAkB,yBAA4B,IAC9C,CACJ;IACD,KAAK,EAAE,CACL,8BACE,yDAA0B,EAC1B,KAAC,kBAAkB,wBAA2B,IAC7C,CACJ;IACD,MAAM,EAAE,CACN,8BACE,sDAA4B,EAC5B,KAAC,kBAAkB,yBAA4B,IAC9C,CACJ;IACD,gBAAgB,EAAE,GAAG;CACtB,CAAC;AAEF,MAAM,gBAAgB,GAA4C;IAChE,OAAO,EAAE,MAAM;IACf,GAAG,EAAE,KAAK;IACV,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,CACJ,8BACE,yDAA0B,EAC1B,KAAC,kBAAkB,0BAA6B,IAC/C,CACJ;IACD,OAAO,EAAE,CACP,8BACE,yDAA0B,EAC1B,KAAC,kBA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,KAAM,SAAS,EAAE,GAAG,EAAE,GAAG,YAC/D,CAAC,SAAS,IAAI,gBAAgB,CAAC,OAAO,CAAC,CAAC;YACvC,YAAY,CAAC,OAAO,CAAC;YACrB,gBAAgB,CAAC,OAAO,CAAC;YACzB,OAAO,GACM,CAClB,CAAC;AACJ,CAAC,CAAC,EACF,kBAAkB,CACnB,CAAC","sourcesContent":["import { forwardRef } from 'react';\nimport type { PropsWithoutRef } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { defaultThemeProp } from '../../theme';\nimport useOS from '../../hooks/useOS';\nimport type { NoChildrenProp, RefElement, WithAttributes, TestIdProp } from '../../types';\nimport { useTestIds } from '../../hooks';\nimport { withTestIds } from '../../utils';\nimport VisuallyHiddenText from '../VisuallyHiddenText';\n\nimport { getKeyboardTestIds } from './Badges.test-ids';\n\nconst osxKeyMapper: { [key: string]: string | JSX.Element } = {\n Command: '⌘',\n Alt: '⌥',\n Option: '⌥',\n Control: '⌃',\n Return: (\n <>\n <span aria-hidden>↵</span>\n <VisuallyHiddenText>Return</VisuallyHiddenText>\n </>\n ),\n Enter: (\n <>\n <span aria-hidden>↵</span>\n <VisuallyHiddenText>Enter</VisuallyHiddenText>\n </>\n ),\n Delete: (\n <>\n <span aria-hidden>Del</span>\n <VisuallyHiddenText>Delete</VisuallyHiddenText>\n </>\n ),\n CommandOrControl: '⌘'\n};\n\nconst windowsKeyMapper: { [key: string]: string | JSX.Element } = {\n Control: 'Ctrl',\n Alt: 'Alt',\n Option: 'Alt',\n Meta: (\n <>\n <span aria-hidden>⊞</span>\n <VisuallyHiddenText>Windows</VisuallyHiddenText>\n </>\n ),\n Command: (\n <>\n <span aria-hidden>⊞</span>\n <VisuallyHiddenText>Windows</VisuallyHiddenText>\n </>\n ),\n Backspace: 'Backspace',\n CommandOrControl: 'Ctrl'\n};\n\nconst generalKeyMapper: { [key: string]: string | JSX.Element } = {\n 'Page up': (\n <>\n <span aria-hidden>Pg up</span>\n <VisuallyHiddenText>Page up</VisuallyHiddenText>\n </>\n ),\n 'Page down': (\n <>\n <span aria-hidden>Pg dn</span>\n <VisuallyHiddenText>Page down</VisuallyHiddenText>\n </>\n ),\n Ins: 'Insert',\n Shift: (\n <>\n <span aria-hidden>⇧</span>\n <VisuallyHiddenText>Shift</VisuallyHiddenText>\n </>\n )\n};\n\nexport const StyledKeyboard = styled.kbd(\n ({\n theme: {\n base,\n components: {\n text: { primary },\n badges: { keyboard }\n }\n }\n }) => {\n return css`\n background-color: ${keyboard['background-color']};\n color: ${base.palette['foreground-color']};\n display: inline-block;\n position: relative;\n font-family: ${base['font-family']};\n font-weight: ${primary['font-weight']};\n overflow: hidden;\n white-space: nowrap;\n padding: 0.125rem;\n border: 0.0125rem solid ${keyboard['border-color']};\n border-radius: calc(${base['border-radius']} / 4);\n text-transform: capitalize;\n text-align: center;\n min-width: 1.25rem;\n height: 1.25rem;\n text-overflow: ellipsis;\n line-height: 1rem;\n inset-block-start: calc(1.25rem / 4 - 0.125rem);\n `;\n }\n);\nStyledKeyboard.defaultProps = defaultThemeProp;\n\nexport type KeyboardProps = WithAttributes<\n 'kbd',\n NoChildrenProp & TestIdProp & { keyName: string }\n>;\n\nexport default withTestIds(\n forwardRef<RefElement<KeyboardProps>, PropsWithoutRef<KeyboardProps>>(function Keyboard(\n { testId, keyName, ...restProps },\n ref\n ) {\n const { windows: isWindows } = useOS();\n const testIds = useTestIds(testId, getKeyboardTestIds);\n\n return (\n <StyledKeyboard data-testid={testIds.root} {...restProps} ref={ref}>\n {(isWindows && windowsKeyMapper[keyName]) ||\n osxKeyMapper[keyName] ||\n generalKeyMapper[keyName] ||\n keyName}\n </StyledKeyboard>\n );\n }),\n getKeyboardTestIds\n);\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,iBAAiB,EACjB,SAAS,EAET,GAAG,EAGJ,MAAM,OAAO,CAAC;A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 -4,7 +4,7 @@ import styled, { css } from 'styled-components';
4
4
  import { meetsContrastGuidelines, mix, readableColor } from 'polished';
5
5
  import { defaultThemeProp } from '../../theme';
6
6
  import { tryCatch } from '../../utils';
7
- import { getHoverColors, omitProps, readableHue } from '../../styles';
7
+ import { getActiveColors, getHoverColors, omitProps, readableHue } from '../../styles';
8
8
  import { useElement, useConsolidatedRef } from '../../hooks';
9
9
  import Tooltip from '../Tooltip';
10
10
  import Progress, { StyledProgressRing } from '../Progress';
@@ -16,7 +16,7 @@ const baseStyles = (theme) => {
16
16
  return css `
17
17
  outline: none;
18
18
  text-decoration: none;
19
- transition-property: background-color, color, box-shadow;
19
+ transition-property: background-color, color, border-color, box-shadow, translate;
20
20
  transition-duration: calc(0.5 * ${speed});
21
21
  transition-timing-function: ${ease};
22
22
  cursor: pointer;
@@ -44,7 +44,7 @@ const baseStyles = (theme) => {
44
44
  `;
45
45
  };
46
46
  export const StyledButton = styled.button.withConfig(omitProps('loading'))(({ variant, icon, loading, compact, theme }) => {
47
- const { base: { spacing, 'border-radius': baseBorderRadius, palette: { 'primary-background': backgroundColor }, 'hit-area': { 'mouse-min': hitAreaMouse, 'finger-min': hitAreaFinger, 'compact-min': hitAreaCompact }, animation: { speed } }, components: { button: { color, 'secondary-color': secondaryColor, padding, 'border-radius': borderRadius, 'border-width': borderWidth, touch: { padding: touchPadding } } } } = theme;
47
+ const { base: { spacing, 'border-radius': baseBorderRadius, palette: { 'primary-background': backgroundColor }, 'hit-area': { 'mouse-min': hitAreaMouse, 'finger-min': hitAreaFinger, 'compact-min': hitAreaCompact }, animation: { speed, timing: { ease } } }, components: { button: { color, 'secondary-color': secondaryColor, padding, 'border-radius': borderRadius, 'border-width': borderWidth, touch: { padding: touchPadding } } } } = theme;
48
48
  const contrastColor = tryCatch(() => readableColor(color));
49
49
  // Base
50
50
  const base = baseStyles(theme);
@@ -95,11 +95,26 @@ export const StyledButton = styled.button.withConfig(omitProps('loading'))(({ va
95
95
  padding: ${touchPadding};
96
96
  `}
97
97
  }
98
+
99
+ &:active {
100
+ translate: 0 0.0625rem;
101
+ }
102
+
103
+ &::after {
104
+ content: '';
105
+ position: absolute;
106
+ inset: calc(-1 * ${borderWidth});
107
+ border-radius: calc(${baseBorderRadius} * ${borderRadius});
108
+ transition: translate calc(0.5 * ${speed}) ${ease};
109
+ }
110
+
111
+ &:active::after {
112
+ translate: 0 -0.0625rem;
113
+ }
98
114
  `;
99
115
  // Primary
100
116
  const hoverColors = getHoverColors(color);
101
- const hoverPrimaryColor = hoverColors.background;
102
- const hoverContrastColor = hoverColors.foreground;
117
+ const activeColors = getActiveColors(color);
103
118
  const primary = css `
104
119
  --button-background-color: ${color};
105
120
  color: ${contrastColor};
@@ -107,17 +122,25 @@ export const StyledButton = styled.button.withConfig(omitProps('loading'))(({ va
107
122
 
108
123
  @media (hover: hover) {
109
124
  &:hover {
110
- background-color: ${hoverPrimaryColor};
111
- color: ${hoverContrastColor};
125
+ background-color: ${hoverColors.background};
126
+ color: ${hoverColors.foreground};
112
127
  text-decoration: none;
113
128
  }
114
129
  }
130
+
131
+ &:active {
132
+ background-color: ${activeColors.background};
133
+ color: ${activeColors.foreground};
134
+ text-decoration: none;
135
+ }
115
136
  `;
116
137
  // Secondary
117
138
  const backgroundUsable = meetsContrastGuidelines(color, secondaryColor).AA;
118
139
  const usableColor = backgroundUsable ? color : readableHue(color, secondaryColor);
119
- const secondaryHoverBackgroundColor = tryCatch(() => mix(0.85, secondaryColor, usableColor));
140
+ const secondaryHoverBackgroundColor = tryCatch(() => mix(0.9, secondaryColor, usableColor));
120
141
  const secondaryHoverForegroundColor = readableHue(usableColor, secondaryHoverBackgroundColor ?? 'transparent');
142
+ const secondaryActiveBackgroundColor = tryCatch(() => mix(0.8, secondaryColor, usableColor));
143
+ const secondaryActiveForegroundColor = readableHue(usableColor, secondaryActiveBackgroundColor ?? 'transparent');
121
144
  const secondary = css `
122
145
  --button-background-color: ${secondaryColor};
123
146
  color: ${usableColor};
@@ -132,6 +155,13 @@ export const StyledButton = styled.button.withConfig(omitProps('loading'))(({ va
132
155
  border-color: ${secondaryHoverForegroundColor};
133
156
  }
134
157
  }
158
+
159
+ &:active {
160
+ color: ${secondaryActiveForegroundColor};
161
+ background-color: ${secondaryActiveBackgroundColor};
162
+ border-color: ${secondaryActiveForegroundColor};
163
+ text-decoration: none;
164
+ }
135
165
  `;
136
166
  // Simple
137
167
  const simple = css `
@@ -152,7 +182,7 @@ export const StyledButton = styled.button.withConfig(omitProps('loading'))(({ va
152
182
  right: calc(${borderWidth} * -1);
153
183
  border-radius: inherit;
154
184
  background-color: currentColor;
155
- opacity: 0.15;
185
+ opacity: 0.1;
156
186
  }
157
187
  `}
158
188
 
@@ -164,6 +194,31 @@ export const StyledButton = styled.button.withConfig(omitProps('loading'))(({ va
164
194
  text-decoration: none;
165
195
  `}
166
196
  }
197
+
198
+ &:active {
199
+ ${icon &&
200
+ css `
201
+ ::before {
202
+ content: '';
203
+ position: absolute;
204
+ top: calc(${borderWidth} * -1);
205
+ bottom: calc(${borderWidth} * -1);
206
+ left: calc(${borderWidth} * -1);
207
+ right: calc(${borderWidth} * -1);
208
+ border-radius: inherit;
209
+ background-color: currentColor;
210
+ opacity: 0.2;
211
+ }
212
+ `}
213
+
214
+ ${!icon &&
215
+ css `
216
+ background-color: ${secondaryActiveBackgroundColor};
217
+ color: ${secondaryActiveForegroundColor};
218
+ border-color: ${secondaryActiveForegroundColor};
219
+ text-decoration: none;
220
+ `}
221
+ }
167
222
  }
168
223
  `;
169
224
  return css `
@@ -216,8 +271,13 @@ export const StyledButtonLink = styled.a.withConfig(omitProps('loading'))(({ the
216
271
  vertical-align: bottom;
217
272
  }
218
273
  `;
274
+ const { background: activeColor } = getActiveColors(linkColor);
219
275
  const link = css `
220
276
  color: ${linkColor};
277
+
278
+ &:active {
279
+ color: ${activeColor};
280
+ }
221
281
  `;
222
282
  const text = css `
223
283
  color: ${textColor};
@@ -1 +1 @@
1
- {"version":3,"file":"Button.js","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{ useRef, useEffect, forwardRef } from 'react';\nimport type {\n FunctionComponent,\n ReactNode,\n PropsWithoutRef,\n Ref,\n MouseEvent,\n MouseEventHandler\n} from 'react';\nimport styled, { css } from 'styled-components';\nimport type { DefaultTheme } from 'styled-components';\nimport { meetsContrastGuidelines, mix, readableColor } from 'polished';\n\nimport type { BaseProps, ForwardProps, PropsWithDefaults, AsProp } from '../../types';\nimport { defaultThemeProp } from '../../theme';\nimport { tryCatch } from '../../utils';\nimport { getHoverColors, omitProps, readableHue } from '../../styles';\nimport { useElement, useConsolidatedRef } from '../../hooks';\nimport Tooltip from '../Tooltip';\nimport Progress, { StyledProgressRing } from '../Progress';\nimport { StyledBackdrop } from '../Backdrop';\nimport { StyledIcon } from '../Icon';\nimport { StyledPopover } from '../Popover';\n\nexport interface ButtonProps extends BaseProps, AsProp {\n /** Text or content for the Button. */\n children: ReactNode;\n /**\n * Determines if the Button will be disabled.\n * @default false\n */\n disabled?: boolean;\n /** A location to navigate to. Passing an href will render an anchor styled as a Button. */\n href?: string;\n /**\n * Controls the styling of the Button.\n * @default 'secondary'\n */\n variant?: 'primary' | 'secondary' | 'simple' | 'link' | 'text';\n /**\n * Controls the behavior of a Button within a Form.\n * @default 'button'\n */\n type?: 'button' | 'reset' | 'submit';\n /**\n * Set the Icon prop to `true` if you're using just an Icon in your Button. Make sure to pass an Icon as children if `true`.\n * @default false\n */\n icon?: boolean;\n /**\n * Used for a smaller sized button.\n * @default false\n */\n compact?: boolean;\n /** The label text will be used inside a Tooltip. */\n label?: string;\n /** The aria label text will be inserted as the aria-label on the Button. */\n 'aria-label'?: string;\n /**\n * Optionally renders an indeterminate progress indicator in a button.\n * @default false\n */\n loading?: boolean;\n /** Ref forwarded to the wrapping element. */\n ref?: Ref<HTMLButtonElement>;\n}\n\ntype ButtonPropsWithDefaults = PropsWithDefaults<\n ButtonProps,\n 'variant' | 'type' | 'disabled' | 'icon' | 'loading'\n>;\n\nconst baseStyles = (theme: DefaultTheme) => {\n const {\n base: {\n spacing,\n animation: {\n speed,\n timing: { ease }\n },\n 'disabled-opacity': disabledOpacity\n },\n components: {\n button: { 'focus-shadow': focusShadow }\n }\n } = theme;\n\n return css`\n outline: none;\n text-decoration: none;\n transition-property: background-color, color, box-shadow;\n transition-duration: calc(0.5 * ${speed});\n transition-timing-function: ${ease};\n cursor: pointer;\n\n & + & {\n margin-inline-start: ${spacing};\n }\n\n /* Not able to combine with selector above. Stylis bug? */\n & + ${StyledPopover} + & {\n margin-inline-start: ${spacing};\n }\n\n &:disabled,\n &[disabled] {\n opacity: ${disabledOpacity};\n cursor: not-allowed;\n pointer-events: none;\n }\n\n &:enabled:focus,\n &:not([disabled]):focus {\n box-shadow: ${focusShadow};\n }\n `;\n};\n\nexport const StyledButton = styled.button.withConfig<ButtonPropsWithDefaults>(omitProps('loading'))(\n ({ variant, icon, loading, compact, theme }) => {\n const {\n base: {\n spacing,\n 'border-radius': baseBorderRadius,\n palette: { 'primary-background': backgroundColor },\n 'hit-area': {\n 'mouse-min': hitAreaMouse,\n 'finger-min': hitAreaFinger,\n 'compact-min': hitAreaCompact\n },\n animation: { speed }\n },\n components: {\n button: {\n color,\n 'secondary-color': secondaryColor,\n padding,\n 'border-radius': borderRadius,\n 'border-width': borderWidth,\n touch: { padding: touchPadding }\n }\n }\n } = theme;\n const contrastColor = tryCatch(() => readableColor(color));\n\n // Base\n const base = baseStyles(theme);\n\n // Non-text base\n const nonTextual = css`\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-height: ${hitAreaMouse};\n min-width: ${hitAreaMouse};\n border: ${borderWidth} solid transparent;\n border-radius: calc(${baseBorderRadius} * ${borderRadius});\n -webkit-user-select: none;\n user-select: none;\n\n ${!icon &&\n css`\n padding: ${padding};\n `}\n\n ${icon &&\n css`\n border-radius: calc(${baseBorderRadius} * ${borderRadius});\n\n > svg {\n display: block;\n }\n `}\n\n ${compact &&\n css`\n min-height: ${hitAreaCompact};\n min-width: ${hitAreaCompact};\n `}\n\n @media (pointer: coarse) {\n border-radius: calc(${baseBorderRadius} * ${borderRadius});\n\n ${!compact &&\n css`\n min-height: ${hitAreaFinger};\n min-width: ${hitAreaFinger};\n `}\n\n ${!icon &&\n css`\n padding: ${touchPadding};\n `}\n }\n `;\n\n // Primary\n const hoverColors = getHoverColors(color);\n const hoverPrimaryColor = hoverColors.background;\n const hoverContrastColor = hoverColors.foreground;\n const primary = css`\n --button-background-color: ${color};\n color: ${contrastColor};\n background-color: ${color};\n\n @media (hover: hover) {\n &:hover {\n background-color: ${hoverPrimaryColor};\n color: ${hoverContrastColor};\n text-decoration: none;\n }\n }\n `;\n\n // Secondary\n const backgroundUsable = meetsContrastGuidelines(color, secondaryColor).AA;\n const usableColor = backgroundUsable ? color : readableHue(color, secondaryColor);\n const secondaryHoverBackgroundColor = tryCatch(() => mix(0.85, secondaryColor, usableColor));\n const secondaryHoverForegroundColor = readableHue(\n usableColor,\n secondaryHoverBackgroundColor ?? 'transparent'\n );\n const secondary = css`\n --button-background-color: ${secondaryColor};\n color: ${usableColor};\n background-color: ${secondaryColor};\n border-color: ${usableColor};\n\n @media (hover: hover) {\n &:hover {\n color: ${secondaryHoverForegroundColor};\n background-color: ${secondaryHoverBackgroundColor};\n text-decoration: none;\n border-color: ${secondaryHoverForegroundColor};\n }\n }\n `;\n\n // Simple\n const simple = css`\n --button-background-color: ${icon ? 'transparent' : backgroundColor};\n color: ${icon ? 'currentColor' : usableColor};\n background-color: ${icon ? 'transparent' : backgroundColor};\n\n @media (hover: hover) {\n &:hover {\n ${icon &&\n css`\n ::before {\n content: '';\n position: absolute;\n top: calc(${borderWidth} * -1);\n bottom: calc(${borderWidth} * -1);\n left: calc(${borderWidth} * -1);\n right: calc(${borderWidth} * -1);\n border-radius: inherit;\n background-color: currentColor;\n opacity: 0.15;\n }\n `}\n\n ${!icon &&\n css`\n background-color: ${secondaryHoverBackgroundColor};\n color: ${secondaryHoverForegroundColor};\n border-color: ${secondaryHoverForegroundColor};\n text-decoration: none;\n `}\n }\n }\n `;\n\n return css`\n ${base}\n ${nonTextual}\n ${variant === 'primary' && primary}\n ${variant === 'secondary' && secondary}\n ${variant === 'simple' && simple}\n\n ${loading &&\n css`\n ${StyledBackdrop} {\n background-color: var(--button-background-color);\n border-radius: inherit;\n }\n\n ${StyledProgressRing} {\n width: 1em;\n height: 1em;\n\n ${!icon &&\n css`\n margin-inline-end: calc(${spacing} / 2);\n `}\n\n circle:nth-child(2) {\n animation-duration: calc(${speed} * 2);\n }\n }\n `}\n `;\n }\n);\n\nStyledButton.defaultProps = defaultThemeProp;\n\nexport const StyledButtonLink = styled.a.withConfig<ButtonPropsWithDefaults>(omitProps('loading'))(\n ({ theme, variant }) => {\n const {\n base: {\n palette: { 'foreground-color': textColor }\n },\n components: {\n link: { color: linkColor }\n }\n } = theme;\n\n const base = baseStyles(theme);\n\n const textual = css`\n background-color: transparent;\n display: inline;\n text-align: start;\n border: none;\n\n @media (hover: hover) {\n &:hover {\n text-decoration: underline;\n }\n }\n\n > ${StyledIcon} {\n vertical-align: bottom;\n }\n `;\n\n const link = css`\n color: ${linkColor};\n `;\n\n const text = css`\n color: ${textColor};\n `;\n\n return css`\n ${base}\n ${textual}\n ${variant === 'link' && link}\n ${variant === 'text' && text}\n `;\n }\n);\n\nStyledButtonLink.defaultProps = defaultThemeProp;\n\nconst Button: FunctionComponent<ButtonProps & ForwardProps> = forwardRef(function Button(\n {\n variant = 'secondary',\n type = 'button',\n disabled = false,\n icon = false,\n compact = false,\n href,\n as,\n forwardedAs,\n label,\n 'aria-label': ariaLabel,\n loading = false,\n children,\n ...restProps\n }: PropsWithoutRef<ButtonProps> & ForwardProps,\n ref: Ref<HTMLButtonElement>\n) {\n const [buttonEl, setButtonEl] = useElement();\n const mouseDownEvent = useRef<MouseEvent>();\n const buttonRef = useConsolidatedRef<HTMLButtonElement>(ref, setButtonEl);\n const isTextual = ['link', 'text'].includes(variant);\n const showProgress = loading && !isTextual;\n const StyledComp: React.ElementType = isTextual ? StyledButtonLink : StyledButton;\n\n useEffect(() => {\n return () => {\n mouseDownEvent.current = undefined;\n };\n }, []);\n\n return (\n <>\n <StyledComp\n {...restProps}\n ref={buttonRef}\n as={as || (href ? 'a' : 'button')}\n forwardedAs={forwardedAs || (href ? 'a' : 'button')}\n variant={variant}\n icon={icon}\n compact={compact}\n type={href ? undefined : type}\n href={href}\n disabled={disabled && !href}\n loading={showProgress}\n aria-label={ariaLabel || label}\n onMouseDown={(e: MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => {\n (restProps.onMouseDown as MouseEventHandler | undefined)?.(e);\n e.persist();\n mouseDownEvent.current = e;\n }}\n onMouseUp={(e: MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => {\n const shouldFocus = mouseDownEvent.current && !mouseDownEvent.current.defaultPrevented;\n mouseDownEvent.current = undefined;\n\n if (shouldFocus && buttonRef.current !== document.activeElement) {\n buttonRef.current?.focus();\n }\n\n return (restProps.onMouseUp as MouseEventHandler | undefined)?.(e);\n }}\n >\n {showProgress && <Progress variant='ring' placement='inline' />}\n {!icon || !showProgress ? children : null}\n </StyledComp>\n\n {buttonEl && label && (\n <Tooltip target={buttonEl} showDelay='none' hideDelay='none' describeTarget={false}>\n {label}\n </Tooltip>\n )}\n </>\n );\n});\n\nexport default Button;\n"]}
1
+ {"version":3,"file":"Button.js","sourceRoot":"","sources":["../../../src/components/Button/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAStD,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,uBAAuB,EAAE,GAAG,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAGvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,SA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QAAQ,CAAC,CAAC,CAAC,IAAI,IAC9B,EAEZ,QAAQ,IAAI,KAAK,IAAI,CACpB,KAAC,OAAO,IAAC,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAC,MAAM,EAAC,SAAS,EAAC,MAAM,EAAC,cAAc,EAAE,KAAK,YAC/E,KAAK,GACE,CACX,IACA,CACJ,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,eAAe,MAAM,CAAC","sourcesContent":["import { useRef, useEffect, forwardRef } from 'react';\nimport type {\n FunctionComponent,\n ReactNode,\n PropsWithoutRef,\n Ref,\n MouseEvent,\n MouseEventHandler\n} from 'react';\nimport styled, { css } from 'styled-components';\nimport type { DefaultTheme } from 'styled-components';\nimport { meetsContrastGuidelines, mix, readableColor } from 'polished';\n\nimport type { BaseProps, ForwardProps, PropsWithDefaults, AsProp } from '../../types';\nimport { defaultThemeProp } from '../../theme';\nimport { tryCatch } from '../../utils';\nimport { getActiveColors, getHoverColors, omitProps, readableHue } from '../../styles';\nimport { useElement, useConsolidatedRef } from '../../hooks';\nimport Tooltip from '../Tooltip';\nimport Progress, { StyledProgressRing } from '../Progress';\nimport { StyledBackdrop } from '../Backdrop';\nimport { StyledIcon } from '../Icon';\nimport { StyledPopover } from '../Popover';\n\nexport interface ButtonProps extends BaseProps, AsProp {\n /** Text or content for the Button. */\n children: ReactNode;\n /**\n * Determines if the Button will be disabled.\n * @default false\n */\n disabled?: boolean;\n /** A location to navigate to. Passing an href will render an anchor styled as a Button. */\n href?: string;\n /**\n * Controls the styling of the Button.\n * @default 'secondary'\n */\n variant?: 'primary' | 'secondary' | 'simple' | 'link' | 'text';\n /**\n * Controls the behavior of a Button within a Form.\n * @default 'button'\n */\n type?: 'button' | 'reset' | 'submit';\n /**\n * Set the Icon prop to `true` if you're using just an Icon in your Button. Make sure to pass an Icon as children if `true`.\n * @default false\n */\n icon?: boolean;\n /**\n * Used for a smaller sized button.\n * @default false\n */\n compact?: boolean;\n /** The label text will be used inside a Tooltip. */\n label?: string;\n /** The aria label text will be inserted as the aria-label on the Button. */\n 'aria-label'?: string;\n /**\n * Optionally renders an indeterminate progress indicator in a button.\n * @default false\n */\n loading?: boolean;\n /** Ref forwarded to the wrapping element. */\n ref?: Ref<HTMLButtonElement>;\n}\n\ntype ButtonPropsWithDefaults = PropsWithDefaults<\n ButtonProps,\n 'variant' | 'type' | 'disabled' | 'icon' | 'loading'\n>;\n\nconst baseStyles = (theme: DefaultTheme) => {\n const {\n base: {\n spacing,\n animation: {\n speed,\n timing: { ease }\n },\n 'disabled-opacity': disabledOpacity\n },\n components: {\n button: { 'focus-shadow': focusShadow }\n }\n } = theme;\n\n return css`\n outline: none;\n text-decoration: none;\n transition-property: background-color, color, border-color, box-shadow, translate;\n transition-duration: calc(0.5 * ${speed});\n transition-timing-function: ${ease};\n cursor: pointer;\n\n & + & {\n margin-inline-start: ${spacing};\n }\n\n /* Not able to combine with selector above. Stylis bug? */\n & + ${StyledPopover} + & {\n margin-inline-start: ${spacing};\n }\n\n &:disabled,\n &[disabled] {\n opacity: ${disabledOpacity};\n cursor: not-allowed;\n pointer-events: none;\n }\n\n &:enabled:focus,\n &:not([disabled]):focus {\n box-shadow: ${focusShadow};\n }\n `;\n};\n\nexport const StyledButton = styled.button.withConfig<ButtonPropsWithDefaults>(omitProps('loading'))(\n ({ variant, icon, loading, compact, theme }) => {\n const {\n base: {\n spacing,\n 'border-radius': baseBorderRadius,\n palette: { 'primary-background': backgroundColor },\n 'hit-area': {\n 'mouse-min': hitAreaMouse,\n 'finger-min': hitAreaFinger,\n 'compact-min': hitAreaCompact\n },\n animation: {\n speed,\n timing: { ease }\n }\n },\n components: {\n button: {\n color,\n 'secondary-color': secondaryColor,\n padding,\n 'border-radius': borderRadius,\n 'border-width': borderWidth,\n touch: { padding: touchPadding }\n }\n }\n } = theme;\n const contrastColor = tryCatch(() => readableColor(color));\n\n // Base\n const base = baseStyles(theme);\n\n // Non-text base\n const nonTextual = css`\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n min-height: ${hitAreaMouse};\n min-width: ${hitAreaMouse};\n border: ${borderWidth} solid transparent;\n border-radius: calc(${baseBorderRadius} * ${borderRadius});\n -webkit-user-select: none;\n user-select: none;\n\n ${!icon &&\n css`\n padding: ${padding};\n `}\n\n ${icon &&\n css`\n border-radius: calc(${baseBorderRadius} * ${borderRadius});\n\n > svg {\n display: block;\n }\n `}\n\n ${compact &&\n css`\n min-height: ${hitAreaCompact};\n min-width: ${hitAreaCompact};\n `}\n\n @media (pointer: coarse) {\n border-radius: calc(${baseBorderRadius} * ${borderRadius});\n\n ${!compact &&\n css`\n min-height: ${hitAreaFinger};\n min-width: ${hitAreaFinger};\n `}\n\n ${!icon &&\n css`\n padding: ${touchPadding};\n `}\n }\n\n &:active {\n translate: 0 0.0625rem;\n }\n\n &::after {\n content: '';\n position: absolute;\n inset: calc(-1 * ${borderWidth});\n border-radius: calc(${baseBorderRadius} * ${borderRadius});\n transition: translate calc(0.5 * ${speed}) ${ease};\n }\n\n &:active::after {\n translate: 0 -0.0625rem;\n }\n `;\n\n // Primary\n const hoverColors = getHoverColors(color);\n const activeColors = getActiveColors(color);\n const primary = css`\n --button-background-color: ${color};\n color: ${contrastColor};\n background-color: ${color};\n\n @media (hover: hover) {\n &:hover {\n background-color: ${hoverColors.background};\n color: ${hoverColors.foreground};\n text-decoration: none;\n }\n }\n\n &:active {\n background-color: ${activeColors.background};\n color: ${activeColors.foreground};\n text-decoration: none;\n }\n `;\n\n // Secondary\n const backgroundUsable = meetsContrastGuidelines(color, secondaryColor).AA;\n const usableColor = backgroundUsable ? color : readableHue(color, secondaryColor);\n const secondaryHoverBackgroundColor = tryCatch(() => mix(0.9, secondaryColor, usableColor));\n const secondaryHoverForegroundColor = readableHue(\n usableColor,\n secondaryHoverBackgroundColor ?? 'transparent'\n );\n const secondaryActiveBackgroundColor = tryCatch(() => mix(0.8, secondaryColor, usableColor));\n const secondaryActiveForegroundColor = readableHue(\n usableColor,\n secondaryActiveBackgroundColor ?? 'transparent'\n );\n const secondary = css`\n --button-background-color: ${secondaryColor};\n color: ${usableColor};\n background-color: ${secondaryColor};\n border-color: ${usableColor};\n\n @media (hover: hover) {\n &:hover {\n color: ${secondaryHoverForegroundColor};\n background-color: ${secondaryHoverBackgroundColor};\n text-decoration: none;\n border-color: ${secondaryHoverForegroundColor};\n }\n }\n\n &:active {\n color: ${secondaryActiveForegroundColor};\n background-color: ${secondaryActiveBackgroundColor};\n border-color: ${secondaryActiveForegroundColor};\n text-decoration: none;\n }\n `;\n\n // Simple\n const simple = css`\n --button-background-color: ${icon ? 'transparent' : backgroundColor};\n color: ${icon ? 'currentColor' : usableColor};\n background-color: ${icon ? 'transparent' : backgroundColor};\n\n @media (hover: hover) {\n &:hover {\n ${icon &&\n css`\n ::before {\n content: '';\n position: absolute;\n top: calc(${borderWidth} * -1);\n bottom: calc(${borderWidth} * -1);\n left: calc(${borderWidth} * -1);\n right: calc(${borderWidth} * -1);\n border-radius: inherit;\n background-color: currentColor;\n opacity: 0.1;\n }\n `}\n\n ${!icon &&\n css`\n background-color: ${secondaryHoverBackgroundColor};\n color: ${secondaryHoverForegroundColor};\n border-color: ${secondaryHoverForegroundColor};\n text-decoration: none;\n `}\n }\n\n &:active {\n ${icon &&\n css`\n ::before {\n content: '';\n position: absolute;\n top: calc(${borderWidth} * -1);\n bottom: calc(${borderWidth} * -1);\n left: calc(${borderWidth} * -1);\n right: calc(${borderWidth} * -1);\n border-radius: inherit;\n background-color: currentColor;\n opacity: 0.2;\n }\n `}\n\n ${!icon &&\n css`\n background-color: ${secondaryActiveBackgroundColor};\n color: ${secondaryActiveForegroundColor};\n border-color: ${secondaryActiveForegroundColor};\n text-decoration: none;\n `}\n }\n }\n `;\n\n return css`\n ${base}\n ${nonTextual}\n ${variant === 'primary' && primary}\n ${variant === 'secondary' && secondary}\n ${variant === 'simple' && simple}\n\n ${loading &&\n css`\n ${StyledBackdrop} {\n background-color: var(--button-background-color);\n border-radius: inherit;\n }\n\n ${StyledProgressRing} {\n width: 1em;\n height: 1em;\n\n ${!icon &&\n css`\n margin-inline-end: calc(${spacing} / 2);\n `}\n\n circle:nth-child(2) {\n animation-duration: calc(${speed} * 2);\n }\n }\n `}\n `;\n }\n);\n\nStyledButton.defaultProps = defaultThemeProp;\n\nexport const StyledButtonLink = styled.a.withConfig<ButtonPropsWithDefaults>(omitProps('loading'))(\n ({ theme, variant }) => {\n const {\n base: {\n palette: { 'foreground-color': textColor }\n },\n components: {\n link: { color: linkColor }\n }\n } = theme;\n\n const base = baseStyles(theme);\n\n const textual = css`\n background-color: transparent;\n display: inline;\n text-align: start;\n border: none;\n\n @media (hover: hover) {\n &:hover {\n text-decoration: underline;\n }\n }\n\n > ${StyledIcon} {\n vertical-align: bottom;\n }\n `;\n\n const { background: activeColor } = getActiveColors(linkColor);\n const link = css`\n color: ${linkColor};\n\n &:active {\n color: ${activeColor};\n }\n `;\n\n const text = css`\n color: ${textColor};\n `;\n\n return css`\n ${base}\n ${textual}\n ${variant === 'link' && link}\n ${variant === 'text' && text}\n `;\n }\n);\n\nStyledButtonLink.defaultProps = defaultThemeProp;\n\nconst Button: FunctionComponent<ButtonProps & ForwardProps> = forwardRef(function Button(\n {\n variant = 'secondary',\n type = 'button',\n disabled = false,\n icon = false,\n compact = false,\n href,\n as,\n forwardedAs,\n label,\n 'aria-label': ariaLabel,\n loading = false,\n children,\n ...restProps\n }: PropsWithoutRef<ButtonProps> & ForwardProps,\n ref: Ref<HTMLButtonElement>\n) {\n const [buttonEl, setButtonEl] = useElement();\n const mouseDownEvent = useRef<MouseEvent>();\n const buttonRef = useConsolidatedRef<HTMLButtonElement>(ref, setButtonEl);\n const isTextual = ['link', 'text'].includes(variant);\n const showProgress = loading && !isTextual;\n const StyledComp: React.ElementType = isTextual ? StyledButtonLink : StyledButton;\n\n useEffect(() => {\n return () => {\n mouseDownEvent.current = undefined;\n };\n }, []);\n\n return (\n <>\n <StyledComp\n {...restProps}\n ref={buttonRef}\n as={as || (href ? 'a' : 'button')}\n forwardedAs={forwardedAs || (href ? 'a' : 'button')}\n variant={variant}\n icon={icon}\n compact={compact}\n type={href ? undefined : type}\n href={href}\n disabled={disabled && !href}\n loading={showProgress}\n aria-label={ariaLabel || label}\n onMouseDown={(e: MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => {\n (restProps.onMouseDown as MouseEventHandler | undefined)?.(e);\n e.persist();\n mouseDownEvent.current = e;\n }}\n onMouseUp={(e: MouseEvent<HTMLButtonElement | HTMLAnchorElement>) => {\n const shouldFocus = mouseDownEvent.current && !mouseDownEvent.current.defaultPrevented;\n mouseDownEvent.current = undefined;\n\n if (shouldFocus && buttonRef.current !== document.activeElement) {\n buttonRef.current?.focus();\n }\n\n return (restProps.onMouseUp as MouseEventHandler | undefined)?.(e);\n }}\n >\n {showProgress && <Progress variant='ring' placement='inline' />}\n {!icon || !showProgress ? children : null}\n </StyledComp>\n\n {buttonEl && label && (\n <Tooltip target={buttonEl} showDelay='none' hideDelay='none' describeTarget={false}>\n {label}\n </Tooltip>\n )}\n </>\n );\n});\n\nexport default Button;\n"]}
@@ -9,6 +9,7 @@ export type FieldGroupListItemProps = FieldGroupProps & {
9
9
  };
10
10
  export interface FieldGroupListProps {
11
11
  items: FieldGroupListItemProps[];
12
+ contextualLabel?: string;
12
13
  onAdd?: () => void;
13
14
  onDelete?: (id: string) => void;
14
15
  ref?: Ref<HTMLDivElement>;
@@ -1 +1 @@
1
- {"version":3,"file":"FieldGroupList.d.ts","sourceRoot":"","sources":["../../../src/components/FieldGroup/FieldGroupList.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAmB,GAAG,EAAE,MAAM,OAAO,CAAC;AAGrE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAQhD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,MAAM,MAAM,uBAAuB,GAAG,eAAe,GAAG;IACtD,0CAA0C;IAC1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D,eAAO,MAAM,cAAc,qJAc1B,CAAC;AAaF,QAAA,MAAM,cAAc,EAAE,iBAAiB,CAAC,mBAAmB,GAAG,YAAY,CAuDzE,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -33,7 +33,7 @@ const StyledAddButton = styled(Button)(({ theme }) => css `
33
33
  margin-top: ${theme.base.spacing};
34
34
  `);
35
35
  StyledAddButton.defaultProps = defaultThemeProp;
36
- const FieldGroupList = forwardRef(function FieldGroupList({ items, onAdd, onDelete, ...restProps }, ref) {
36
+ const FieldGroupList = forwardRef(function FieldGroupList({ items, onAdd, onDelete, contextualLabel, ...restProps }, ref) {
37
37
  const t = useI18n();
38
38
  return (_jsxs(StyledFieldGroupList, { ref: ref, ...restProps, children: [items.map(({ id, children, name, headingTag, onDelete: itemOnDelete, ...restItemProps }) => {
39
39
  return (_jsx(StyledListItem, { name: name, headingTag: headingTag, ...restItemProps, actions: onDelete || itemOnDelete
@@ -50,7 +50,7 @@ const FieldGroupList = forwardRef(function FieldGroupList({ items, onAdd, onDele
50
50
  }
51
51
  ]
52
52
  : undefined, children: children }, id));
53
- }), onAdd && (_jsxs(StyledAddButton, { variant: 'link', onClick: onAdd, children: [_jsx(Icon, { name: 'plus' }), " ", t('add')] }))] }));
53
+ }), onAdd && (_jsxs(StyledAddButton, { variant: 'link', onClick: onAdd, children: [_jsx(Icon, { name: 'plus' }), contextualLabel ? t('add_noun', [contextualLabel]) : t('add')] }))] }));
54
54
  });
55
55
  export default FieldGroupList;
56
56
  //# sourceMappingURL=FieldGroupList.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"FieldGroupList.js","sourceRoot":"","sources":["../../../src/components/FieldGroup/FieldGroupList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGhD,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,IAAI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AM,CAAC,GAAG,OAAO,EAAE,CAAC;IAEpB,OAAO,CACL,MAAC,oBAAoB,IAAC,GAAG,EAAE,GAAG,KAAM,SAAS,aAC1C,KAAK,CAAC,GAAG,CACR,CAAC,EACC,EAAE,EACF,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,QAAQ,EAAE,YAAY,EACtB,GAAG,aAAa,EACQ,EAAE,EAAE;gBAC5B,OAAO,CACL,KAAC,cAAc,IAEb,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,KAClB,aAAa,EACjB,OAAO,EACL,QAAQ,IAAI,YAAY;wBACtB,CAAC,CAAC;4BACE;gCACE,EAAE,EAAE,QAAQ;gCACZ,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC;gCACjB,IAAI,EAAE,OAAO;gCACb,QAAQ,EAAE,IAAI;gCACd,OAAO,EAAE,GAAG,EAAE;oCACZ,YAAY,EAAE,CAAC,EAAE,CAAC,CAAC;oCACnB,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC;gCACjB,CAAC;6BACF;yBACF;wBACH,CAAC,CAAC,SAAS,YAGd,QAAQ,IArBJ,EAAE,CAsBQ,CAClB,CAAC;YACJ,CAAC,CACF,EACA,KAAK,IAAI,CACR,MAAC,eAAe,IAAC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAE,KAAK,aAC5C,KAAC,IAAI,IAAC,IAAI,EAAC,MAAM,GAAG,OAAE,CAAC,CAAC,KAAK,CAAC,IACd,CACnB,IACoB,CACxB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["import { forwardRef } from 'react';\nimport type { FunctionComponent, PropsWithoutRef, Ref } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport type { ForwardProps } from '../../types';\nimport Button from '../Button';\nimport Icon, { registerIcon } from '../Icon';\nimport * as plusIcon from '../Icon/icons/plus.icon';\nimport { useI18n } from '../../hooks';\nimport { defaultThemeProp } from '../../theme';\n\nimport FieldGroup, { StyledFieldGroup } from './FieldGroup';\nimport type { FieldGroupProps } from './FieldGroup';\n\nregisterIcon(plusIcon);\n\nexport type FieldGroupListItemProps = FieldGroupProps & {\n /** The ID of the field group list item */\n id: string;\n /** Item level onDelete callback. */\n onDelete?: (id: string) => void;\n};\n\nexport interface FieldGroupListProps {\n items: FieldGroupListItemProps[];\n onAdd?: () => void;\n onDelete?: (id: string) => void;\n ref?: Ref<HTMLDivElement>;\n}\n\nconst StyledFieldGroupList = styled.div(\n ({ theme }) =>\n css`\n margin-block-start: ${theme.base.spacing};\n\n ${StyledFieldGroup} {\n margin-block-start: 0;\n }\n `\n);\n\nStyledFieldGroupList.defaultProps = defaultThemeProp;\n\nexport const StyledListItem = styled(FieldGroup)(\n ({ theme }) =>\n css`\n padding: ${theme.base.spacing} 0 calc(2 * ${theme.base.spacing});\n\n &:not(:last-of-type) {\n border-bottom: 0.0625rem solid ${theme.base.palette['border-line']};\n margin-block-end: calc(2 * ${theme.base.spacing});\n }\n\n legend {\n margin-block-end: 0;\n }\n `\n);\n\nStyledListItem.defaultProps = defaultThemeProp;\n\nconst StyledAddButton = styled(Button)(\n ({ theme }) =>\n css`\n margin-top: ${theme.base.spacing};\n `\n);\n\nStyledAddButton.defaultProps = defaultThemeProp;\n\nconst FieldGroupList: FunctionComponent<FieldGroupListProps & ForwardProps> = forwardRef(\n function FieldGroupList(\n { items, onAdd, onDelete, ...restProps }: PropsWithoutRef<FieldGroupListProps>,\n ref: FieldGroupListProps['ref']\n ) {\n const t = useI18n();\n\n return (\n <StyledFieldGroupList ref={ref} {...restProps}>\n {items.map(\n ({\n id,\n children,\n name,\n headingTag,\n onDelete: itemOnDelete,\n ...restItemProps\n }: FieldGroupListItemProps) => {\n return (\n <StyledListItem\n key={id}\n name={name}\n headingTag={headingTag}\n {...restItemProps}\n actions={\n onDelete || itemOnDelete\n ? [\n {\n id: 'delete',\n text: t('delete'),\n icon: 'trash',\n iconOnly: true,\n onClick: () => {\n itemOnDelete?.(id);\n onDelete?.(id);\n }\n }\n ]\n : undefined\n }\n >\n {children}\n </StyledListItem>\n );\n }\n )}\n {onAdd && (\n <StyledAddButton variant='link' onClick={onAdd}>\n <Icon name='plus' /> {t('add')}\n </StyledAddButton>\n )}\n </StyledFieldGroupList>\n );\n }\n);\n\nexport default FieldGroupList;\n"]}
1
+ {"version":3,"file":"FieldGroupList.js","sourceRoot":"","sources":["../../../src/components/FieldGroup/FieldGroupList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAEnC,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGhD,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,IAAI,EAAE,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAC7C,OAAO,KAAK,QAAQ,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,UAAU,EAAE,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAG5D,YAAY,CAAC,QAAQ,CAAC,CAAC;AAiBvB,MAAM,oBAAoB,GAAG,MAAM,CAAC,GAAG,CACrC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACZ,GAAG,CAAA;4BACqB,KAAK,CAAC,IAAI,CAAC,OAAO;;QAEtC,gBAAgB;;;KAGnB,CACJ,CAAC;AAEF,oBAAoB,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAErD,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,UAAU,CAAC,CAC9C,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CACZ,GAAG,CAAA;iBACU,KAAK,CAAC,IAAI,CAAC,OAAO,eAAe,KAAK,CAAC,IAAI,CAAC,OAAO;;;yCAG3B,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC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AI,CACR,MAAC,eAAe,IAAC,OAAO,EAAC,MAAM,EAAC,OAAO,EAAE,KAAK,aAC5C,KAAC,IAAI,IAAC,IAAI,EAAC,MAAM,GAAG,EACnB,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAC9C,CACnB,IACoB,CACxB,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["import { forwardRef } from 'react';\nimport type { FunctionComponent, PropsWithoutRef, Ref } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport type { ForwardProps } from '../../types';\nimport Button from '../Button';\nimport Icon, { registerIcon } from '../Icon';\nimport * as plusIcon from '../Icon/icons/plus.icon';\nimport { useI18n } from '../../hooks';\nimport { defaultThemeProp } from '../../theme';\n\nimport FieldGroup, { StyledFieldGroup } from './FieldGroup';\nimport type { FieldGroupProps } from './FieldGroup';\n\nregisterIcon(plusIcon);\n\nexport type FieldGroupListItemProps = FieldGroupProps & {\n /** The ID of the field group list item */\n id: string;\n /** Item level onDelete callback. */\n onDelete?: (id: string) => void;\n};\n\nexport interface FieldGroupListProps {\n items: FieldGroupListItemProps[];\n contextualLabel?: string;\n onAdd?: () => void;\n onDelete?: (id: string) => void;\n ref?: Ref<HTMLDivElement>;\n}\n\nconst StyledFieldGroupList = styled.div(\n ({ theme }) =>\n css`\n margin-block-start: ${theme.base.spacing};\n\n ${StyledFieldGroup} {\n margin-block-start: 0;\n }\n `\n);\n\nStyledFieldGroupList.defaultProps = defaultThemeProp;\n\nexport const StyledListItem = styled(FieldGroup)(\n ({ theme }) =>\n css`\n padding: ${theme.base.spacing} 0 calc(2 * ${theme.base.spacing});\n\n &:not(:last-of-type) {\n border-bottom: 0.0625rem solid ${theme.base.palette['border-line']};\n margin-block-end: calc(2 * ${theme.base.spacing});\n }\n\n legend {\n margin-block-end: 0;\n }\n `\n);\n\nStyledListItem.defaultProps = defaultThemeProp;\n\nconst StyledAddButton = styled(Button)(\n ({ theme }) =>\n css`\n margin-top: ${theme.base.spacing};\n `\n);\n\nStyledAddButton.defaultProps = defaultThemeProp;\n\nconst FieldGroupList: FunctionComponent<FieldGroupListProps & ForwardProps> = forwardRef(\n function FieldGroupList(\n { items, onAdd, onDelete, contextualLabel, ...restProps }: PropsWithoutRef<FieldGroupListProps>,\n ref: FieldGroupListProps['ref']\n ) {\n const t = useI18n();\n\n return (\n <StyledFieldGroupList ref={ref} {...restProps}>\n {items.map(\n ({\n id,\n children,\n name,\n headingTag,\n onDelete: itemOnDelete,\n ...restItemProps\n }: FieldGroupListItemProps) => {\n return (\n <StyledListItem\n key={id}\n name={name}\n headingTag={headingTag}\n {...restItemProps}\n actions={\n onDelete || itemOnDelete\n ? [\n {\n id: 'delete',\n text: t('delete'),\n icon: 'trash',\n iconOnly: true,\n onClick: () => {\n itemOnDelete?.(id);\n onDelete?.(id);\n }\n }\n ]\n : undefined\n }\n >\n {children}\n </StyledListItem>\n );\n }\n )}\n {onAdd && (\n <StyledAddButton variant='link' onClick={onAdd}>\n <Icon name='plus' />\n {contextualLabel ? t('add_noun', [contextualLabel]) : t('add')}\n </StyledAddButton>\n )}\n </StyledFieldGroupList>\n );\n }\n);\n\nexport default FieldGroupList;\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Menu.styles.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,eAAO,MAAM,kBAAkB,qMAE9B,CAAC;AAEF,eAAO,MAAM,mBAAmB,0KAAiB,CAAC;AAElD,eAAO,MAAM,cAAc;kBACX,OAAO;WACd,SAAS,CAAC,MAAM,CAAC;;;SAoHzB,CAAC;AAIF,eAAO,MAAM,eAAe,yGAW3B,CAAC;AAEF,eAAO,MAAM,sBAAsB,uGAElC,CAAC;AAEF,eAAO,MAAM,eAAe,wGAM1B,CAAC;AAIH,eAAO,MAAM,mBAAmB,wGAM9B,CAAC;AAIH,eAAO,MAAM,qBAAqB,yGAUhC,CAAC;AAIH,eAAO,MAAM,oBAAoB,4GA6C/B,CAAC;AAIH,eAAO,MAAM,cAAc,wGAiB1B,CAAC;AAIF,eAAO,MAAM,uBAAuB,8GAMlC,CAAC;AAIH,eAAO,MAAM,6BAA6B,8GAEzC,CAAC;AAEF,eAAO,MAAM,iBAAiB,wGAI7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,yGAoBjC,CAAC;AAIF,eAAO,MAAM,UAAU,yGAsDrB,CAAC"}
1
+ {"version":3,"file":"Menu.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Menu/Menu.styles.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,eAAO,MAAM,kBAAkB,qMAE9B,CAAC;AAEF,eAAO,MAAM,mBAAmB,0KAAiB,CAAC;AAElD,eAAO,MAAM,cAAc;kBACX,OAAO;WACd,SAAS,CAAC,MAAM,CAAC;;;SAoHzB,CAAC;AAIF,eAAO,MAAM,eAAe,yGAW3B,CAAC;AAEF,eAAO,MAAM,sBAAsB,uGAElC,CAAC;AAEF,eAAO,MAAM,eAAe,wGAM1B,CAAC;AAIH,eAAO,MAAM,mBAAmB,wGAM9B,CAAC;AAIH,eAAO,MAAM,qBAAqB,yGAUhC,CAAC;AAIH,eAAO,MAAM,oBAAoB,4GA6C/B,CAAC;AAIH,eAAO,MAAM,cAAc,wGAiB1B,CAAC;AAIF,eAAO,MAAM,uBAAuB,8GAMlC,CAAC;AAIH,eAAO,MAAM,6BAA6B,8GAEzC,CAAC;AAEF,eAAO,MAAM,iBAAiB,wGAI7B,CAAC;AAEF,eAAO,MAAM,qBAAqB,yGAoBjC,CAAC;AAIF,eAAO,MAAM,UAAU,yGAmDrB,CAAC"}
@@ -248,7 +248,6 @@ export const StyledMenuListWrapper = styled.div(({ theme }) => css `
248
248
  StyledMenuListWrapper.defaultProps = defaultThemeProp;
249
249
  export const StyledMenu = styled.div(({ theme }) => {
250
250
  const borderStyle = `0.0625rem solid ${theme.base.palette['border-line']}`;
251
- const activeColor = tryCatch(() => mix(0.85, theme.base.palette['primary-background'], theme.base.palette.interactive));
252
251
  return css `
253
252
  display: flex;
254
253
  flex-direction: column;
@@ -274,7 +273,7 @@ export const StyledMenu = styled.div(({ theme }) => {
274
273
  }
275
274
 
276
275
  &[data-active-scope='true'] [data-current='true'] {
277
- background-color: ${activeColor};
276
+ box-shadow: ${theme.base.shadow['focus-inset']};
278
277
  }
279
278
 
280
279
  ${StyledVisuallyHiddenText}:first-child {
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.styles.js","sourceRoot":"","sources":["../../../src/components/Menu/Menu.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAClE,OAAO,MAAM,EAAE,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,IAAI,EAAE,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AACrC,OAAO,EAAE,wBAAwB,EAAE,MAAM,0CAA0C,CAAC;AACpF,OAAO,MAAM,MAAM,WAAW,CAAC;AAI/B,MAAM,CAAC,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,CAAC,CAAA;;CAE/C,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA,EAAE,CA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["import { hideVisually, mix, readableColor, rgba } from 'polished';\nimport styled, { css } from 'styled-components';\n\nimport { defaultThemeProp } from '../../theme';\nimport { StyledEmptyState } from '../EmptyState';\nimport Icon, { StyledIcon } from '../Icon';\nimport { StyledGrid } from '../Grid';\nimport { tryCatch } from '../../utils';\nimport { StyledText } from '../Text';\nimport { StyledVisuallyHiddenText } from '../VisuallyHiddenText/VisuallyHiddenText';\nimport Button from '../Button';\n\nimport type { MenuProps } from './Menu.types';\n\nexport const StyledExpandButton = styled(Button)`\n align-self: center;\n`;\n\nexport const StyledCheckMarkIcon = styled(Icon)``;\n\nexport const StyledMenuItem = styled.li<{\n isParentItem: boolean;\n mode?: MenuProps['mode'];\n isChecked?: boolean;\n selectableParent?: boolean;\n}>(\n ({\n theme: { base, components },\n isParentItem,\n mode = 'action',\n 'aria-selected': isChecked = false,\n selectableParent = false\n }) => {\n const activeColor = tryCatch(() =>\n mix(0.85, base.palette['primary-background'], base.palette.interactive)\n );\n const hoverColor = tryCatch(() =>\n mix(0.95, base.palette['primary-background'], base.palette.interactive)\n );\n const hoverCheckColor = tryCatch(() =>\n rgba(\n components['radio-check'][':checked']['background-color'],\n base.transparency['transparent-5']\n )\n );\n\n const checkedBackground = components['radio-check'][':checked']['background-color'];\n const checkedForeground = tryCatch(() => readableColor(checkedBackground));\n\n return css`\n min-height: ${base['hit-area']['mouse-min']};\n padding: calc(0.5 * ${base.spacing}) ${base.spacing};\n cursor: pointer;\n\n @media (pointer: coarse) {\n min-height: ${base['hit-area']['finger-min']};\n }\n\n &:focus-within {\n background-color: ${activeColor};\n }\n\n &:hover {\n ${StyledCheckMarkIcon} {\n visibility: visible;\n ${mode === 'single-select' &&\n css`\n color: ${isChecked ? checkedBackground : hoverCheckColor};\n `}\n ${mode === 'multi-select' &&\n css`\n ${!isChecked &&\n css`\n border-color: ${components['form-control'][':hover']['border-color']};\n `}\n `}\n }\n }\n\n &:hover:not([aria-disabled='true']) {\n background-color: ${hoverColor};\n }\n\n a:first-of-type {\n display: block;\n width: 100%;\n text-decoration: none;\n color: inherit;\n }\n\n ${isParentItem &&\n !selectableParent &&\n (mode === 'multi-select' || mode === 'single-select') &&\n css`\n padding-inline-start: calc(1.125rem + 2 * ${base.spacing});\n `}\n\n ${StyledGrid} {\n flex-grow: 1;\n }\n\n ${StyledCheckMarkIcon} {\n margin-inline-start: 0;\n ${mode === 'single-select' &&\n css`\n ${isChecked\n ? css`\n color: ${checkedBackground};\n `\n : css`\n visibility: hidden;\n `}\n `}\n ${mode === 'multi-select' &&\n css`\n ${isChecked\n ? css`\n color: ${checkedForeground};\n background-color: ${checkedBackground};\n border: 0.0625rem solid ${components['radio-check'][':checked']['border-color']};\n `\n : css`\n color: transparent;\n border: 0.0625rem solid ${components['radio-check']['border-color']};\n `}\n border-radius: min(\n calc(${base['border-radius']} * ${components.checkbox['border-radius']}),\n 0.25rem\n );\n `}\n }\n\n &[aria-disabled='true'] {\n background-color: ${components['form-control'][':disabled']['background-color']};\n opacity: ${base['disabled-opacity']};\n }\n `;\n }\n);\n\nStyledMenuItem.defaultProps = defaultThemeProp;\n\nexport const StyledAncestors = styled.div`\n ${StyledIcon} {\n width: 1em;\n height: 1em;\n }\n\n & > ${StyledText} {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n`;\n\nexport const StyledVisibilityHidden = styled.p`\n ${hideVisually}\n`;\n\nexport const StyledSeparator = styled.li(({ theme }) => {\n return css`\n height: 0.0625rem;\n background-color: ${theme.base.palette['border-line']};\n margin: ${theme.base.spacing} 0;\n `;\n});\n\nStyledSeparator.defaultProps = defaultThemeProp;\n\nexport const StyledMenuGroupList = styled.ul(({ theme }) => {\n return css`\n ${StyledMenuItem} {\n padding-inline-start: calc(1.5 * ${theme.base.spacing});\n }\n `;\n});\n\nStyledMenuGroupList.defaultProps = defaultThemeProp;\n\nexport const StyledMenuGroupHeader = styled.div(({ theme }) => {\n return css`\n min-height: ${theme.base['hit-area']['mouse-min']};\n font-weight: ${theme.base['font-weight']['semi-bold']};\n background-color: ${theme.base.palette['secondary-background']};\n\n @media (pointer: coarse) {\n min-height: ${theme.base['hit-area']['finger-min']};\n }\n `;\n});\n\nStyledMenuGroupHeader.defaultProps = defaultThemeProp;\n\nexport const StyledMenuListHeader = styled.legend(({ theme: { base } }) => {\n const hoverColor = tryCatch(() =>\n mix(0.95, base.palette['primary-background'], base.palette.interactive)\n );\n const activeColor = tryCatch(() =>\n mix(0.85, base.palette['primary-background'], base.palette.interactive)\n );\n\n return css`\n cursor: pointer;\n width: 100%;\n background-color: ${base.palette['primary-background']};\n\n &:first-child {\n border-top-left-radius: inherit;\n border-top-right-radius: inherit;\n }\n\n &:last-child {\n border-bottom-left-radius: inherit;\n border-bottom-right-radius: inherit;\n }\n\n &:focus-within {\n box-shadow: ${base.shadow['focus-inset']};\n background-color: ${activeColor};\n }\n\n &:hover:not([aria-disabled='true']):not([data-current='true']) {\n background-color: ${hoverColor};\n }\n color: ${base.palette['foreground-color']};\n padding: calc(0.5 * ${base.spacing}) ${base.spacing};\n text-align: start;\n border-radius: inherit;\n\n > ${StyledGrid} {\n grid-column-gap: ${base.spacing};\n }\n\n ${StyledIcon} {\n /* Fixes vertical align issue increasing box size beyond square */\n display: block;\n }\n `;\n});\n\nStyledMenuListHeader.defaultProps = defaultThemeProp;\n\nexport const StyledMenuList = styled.ul(\n ({ theme }) => css`\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n height: 100%;\n border-radius: inherit;\n\n ${StyledEmptyState} {\n padding: ${theme.base.spacing};\n height: auto;\n }\n\n li:not(:first-child):not([role='presentation']) > ${StyledMenuGroupHeader} {\n margin-block-start: ${theme.base.spacing};\n }\n `\n);\n\nStyledMenuList.defaultProps = defaultThemeProp;\n\nexport const StyledMenuListContainer = styled.fieldset(({ theme }) => {\n return css`\n background-color: ${theme.base.palette['primary-background']};\n border: 0;\n border-radius: inherit;\n `;\n});\n\nStyledMenuListContainer.defaultProps = defaultThemeProp;\n\nexport const StyledFlyoutMenuListContainer = styled(StyledMenuListContainer)`\n min-width: 10rem;\n`;\n\nexport const StyledLoadingItem = styled.li`\n display: block;\n position: relative;\n height: 2.8rem;\n`;\n\nexport const StyledMenuListWrapper = styled.div(\n ({ theme }) => css`\n position: relative;\n overflow: hidden;\n transition: height ${theme.base.animation.speed} ${theme.base.animation.timing.ease};\n\n & > fieldset:first-child {\n position: relative;\n }\n\n &:first-child {\n border-top-left-radius: inherit;\n border-top-right-radius: inherit;\n }\n\n &:last-child {\n border-bottom-left-radius: inherit;\n border-bottom-right-radius: inherit;\n }\n `\n);\n\nStyledMenuListWrapper.defaultProps = defaultThemeProp;\n\nexport const StyledMenu = styled.div(({ theme }) => {\n const borderStyle = `0.0625rem solid ${theme.base.palette['border-line']}`;\n const activeColor = tryCatch(() =>\n mix(0.85, theme.base.palette['primary-background'], theme.base.palette.interactive)\n );\n\n return css`\n display: flex;\n flex-direction: column;\n\n &,\n ${StyledMenuListWrapper} {\n max-height: inherit;\n }\n\n &:focus {\n box-shadow: ${theme.base.shadow.focus};\n outline: none;\n }\n\n &:first-child {\n border-top-left-radius: inherit;\n border-top-right-radius: inherit;\n }\n\n &:last-child {\n border-bottom-left-radius: inherit;\n border-bottom-right-radius: inherit;\n }\n\n &[data-active-scope='true'] [data-current='true'] {\n background-color: ${activeColor};\n }\n\n ${StyledVisuallyHiddenText}:first-child {\n + ${StyledMenuListWrapper}, + header {\n border-top-left-radius: inherit;\n border-top-right-radius: inherit;\n }\n }\n\n > header,\n > footer {\n padding: ${theme.base.spacing};\n }\n\n > header {\n border-bottom: ${borderStyle};\n }\n\n > footer {\n border-top: ${borderStyle};\n }\n `;\n});\n\nStyledMenu.defaultProps = defaultThemeProp;\n"]}
1
+ {"version":3,"file":"Menu.styles.js","sourceRoot":"","sources":["../../../src/components/Menu/Menu.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,GAAG,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AACl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ACjD,MAAM,WAAW,GAAG,mBAAmB,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,CAAC;IAE3E,OAAO,GAAG,CAAA;;;;;MAKN,qBAAqB;;;;;oBAKP,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK;;;;;;;;;;;;;;;oBAevB,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC;;;MAG9C,wBAAwB;UACpB,qBAAqB;;;;;;;;iBAQd,KAAK,CAAC,IAAI,CAAC,OAAO;;;;uBAIZ,WAAW;;;;oBAId,WAAW;;GAE5B,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,UAAU,CAAC,YAAY,GAAG,gBAAgB,CAAC","sourcesContent":["import { hideVisually, mix, readableColor, rgba } from 'polished';\nimport styled, { css } from 'styled-components';\n\nimport { defaultThemeProp } from '../../theme';\nimport { StyledEmptyState } from '../EmptyState';\nimport Icon, { StyledIcon } from '../Icon';\nimport { StyledGrid } from '../Grid';\nimport { tryCatch } from '../../utils';\nimport { StyledText } from '../Text';\nimport { StyledVisuallyHiddenText } from '../VisuallyHiddenText/VisuallyHiddenText';\nimport Button from '../Button';\n\nimport type { MenuProps } from './Menu.types';\n\nexport const StyledExpandButton = styled(Button)`\n align-self: center;\n`;\n\nexport const StyledCheckMarkIcon = styled(Icon)``;\n\nexport const StyledMenuItem = styled.li<{\n isParentItem: boolean;\n mode?: MenuProps['mode'];\n isChecked?: boolean;\n selectableParent?: boolean;\n}>(\n ({\n theme: { base, components },\n isParentItem,\n mode = 'action',\n 'aria-selected': isChecked = false,\n selectableParent = false\n }) => {\n const activeColor = tryCatch(() =>\n mix(0.85, base.palette['primary-background'], base.palette.interactive)\n );\n const hoverColor = tryCatch(() =>\n mix(0.95, base.palette['primary-background'], base.palette.interactive)\n );\n const hoverCheckColor = tryCatch(() =>\n rgba(\n components['radio-check'][':checked']['background-color'],\n base.transparency['transparent-5']\n )\n );\n\n const checkedBackground = components['radio-check'][':checked']['background-color'];\n const checkedForeground = tryCatch(() => readableColor(checkedBackground));\n\n return css`\n min-height: ${base['hit-area']['mouse-min']};\n padding: calc(0.5 * ${base.spacing}) ${base.spacing};\n cursor: pointer;\n\n @media (pointer: coarse) {\n min-height: ${base['hit-area']['finger-min']};\n }\n\n &:focus-within {\n background-color: ${activeColor};\n }\n\n &:hover {\n ${StyledCheckMarkIcon} {\n visibility: visible;\n ${mode === 'single-select' &&\n css`\n color: ${isChecked ? checkedBackground : hoverCheckColor};\n `}\n ${mode === 'multi-select' &&\n css`\n ${!isChecked &&\n css`\n border-color: ${components['form-control'][':hover']['border-color']};\n `}\n `}\n }\n }\n\n &:hover:not([aria-disabled='true']) {\n background-color: ${hoverColor};\n }\n\n a:first-of-type {\n display: block;\n width: 100%;\n text-decoration: none;\n color: inherit;\n }\n\n ${isParentItem &&\n !selectableParent &&\n (mode === 'multi-select' || mode === 'single-select') &&\n css`\n padding-inline-start: calc(1.125rem + 2 * ${base.spacing});\n `}\n\n ${StyledGrid} {\n flex-grow: 1;\n }\n\n ${StyledCheckMarkIcon} {\n margin-inline-start: 0;\n ${mode === 'single-select' &&\n css`\n ${isChecked\n ? css`\n color: ${checkedBackground};\n `\n : css`\n visibility: hidden;\n `}\n `}\n ${mode === 'multi-select' &&\n css`\n ${isChecked\n ? css`\n color: ${checkedForeground};\n background-color: ${checkedBackground};\n border: 0.0625rem solid ${components['radio-check'][':checked']['border-color']};\n `\n : css`\n color: transparent;\n border: 0.0625rem solid ${components['radio-check']['border-color']};\n `}\n border-radius: min(\n calc(${base['border-radius']} * ${components.checkbox['border-radius']}),\n 0.25rem\n );\n `}\n }\n\n &[aria-disabled='true'] {\n background-color: ${components['form-control'][':disabled']['background-color']};\n opacity: ${base['disabled-opacity']};\n }\n `;\n }\n);\n\nStyledMenuItem.defaultProps = defaultThemeProp;\n\nexport const StyledAncestors = styled.div`\n ${StyledIcon} {\n width: 1em;\n height: 1em;\n }\n\n & > ${StyledText} {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n }\n`;\n\nexport const StyledVisibilityHidden = styled.p`\n ${hideVisually}\n`;\n\nexport const StyledSeparator = styled.li(({ theme }) => {\n return css`\n height: 0.0625rem;\n background-color: ${theme.base.palette['border-line']};\n margin: ${theme.base.spacing} 0;\n `;\n});\n\nStyledSeparator.defaultProps = defaultThemeProp;\n\nexport const StyledMenuGroupList = styled.ul(({ theme }) => {\n return css`\n ${StyledMenuItem} {\n padding-inline-start: calc(1.5 * ${theme.base.spacing});\n }\n `;\n});\n\nStyledMenuGroupList.defaultProps = defaultThemeProp;\n\nexport const StyledMenuGroupHeader = styled.div(({ theme }) => {\n return css`\n min-height: ${theme.base['hit-area']['mouse-min']};\n font-weight: ${theme.base['font-weight']['semi-bold']};\n background-color: ${theme.base.palette['secondary-background']};\n\n @media (pointer: coarse) {\n min-height: ${theme.base['hit-area']['finger-min']};\n }\n `;\n});\n\nStyledMenuGroupHeader.defaultProps = defaultThemeProp;\n\nexport const StyledMenuListHeader = styled.legend(({ theme: { base } }) => {\n const hoverColor = tryCatch(() =>\n mix(0.95, base.palette['primary-background'], base.palette.interactive)\n );\n const activeColor = tryCatch(() =>\n mix(0.85, base.palette['primary-background'], base.palette.interactive)\n );\n\n return css`\n cursor: pointer;\n width: 100%;\n background-color: ${base.palette['primary-background']};\n\n &:first-child {\n border-top-left-radius: inherit;\n border-top-right-radius: inherit;\n }\n\n &:last-child {\n border-bottom-left-radius: inherit;\n border-bottom-right-radius: inherit;\n }\n\n &:focus-within {\n box-shadow: ${base.shadow['focus-inset']};\n background-color: ${activeColor};\n }\n\n &:hover:not([aria-disabled='true']):not([data-current='true']) {\n background-color: ${hoverColor};\n }\n color: ${base.palette['foreground-color']};\n padding: calc(0.5 * ${base.spacing}) ${base.spacing};\n text-align: start;\n border-radius: inherit;\n\n > ${StyledGrid} {\n grid-column-gap: ${base.spacing};\n }\n\n ${StyledIcon} {\n /* Fixes vertical align issue increasing box size beyond square */\n display: block;\n }\n `;\n});\n\nStyledMenuListHeader.defaultProps = defaultThemeProp;\n\nexport const StyledMenuList = styled.ul(\n ({ theme }) => css`\n overflow-x: hidden;\n overflow-y: auto;\n list-style: none;\n height: 100%;\n border-radius: inherit;\n\n ${StyledEmptyState} {\n padding: ${theme.base.spacing};\n height: auto;\n }\n\n li:not(:first-child):not([role='presentation']) > ${StyledMenuGroupHeader} {\n margin-block-start: ${theme.base.spacing};\n }\n `\n);\n\nStyledMenuList.defaultProps = defaultThemeProp;\n\nexport const StyledMenuListContainer = styled.fieldset(({ theme }) => {\n return css`\n background-color: ${theme.base.palette['primary-background']};\n border: 0;\n border-radius: inherit;\n `;\n});\n\nStyledMenuListContainer.defaultProps = defaultThemeProp;\n\nexport const StyledFlyoutMenuListContainer = styled(StyledMenuListContainer)`\n min-width: 10rem;\n`;\n\nexport const StyledLoadingItem = styled.li`\n display: block;\n position: relative;\n height: 2.8rem;\n`;\n\nexport const StyledMenuListWrapper = styled.div(\n ({ theme }) => css`\n position: relative;\n overflow: hidden;\n transition: height ${theme.base.animation.speed} ${theme.base.animation.timing.ease};\n\n & > fieldset:first-child {\n position: relative;\n }\n\n &:first-child {\n border-top-left-radius: inherit;\n border-top-right-radius: inherit;\n }\n\n &:last-child {\n border-bottom-left-radius: inherit;\n border-bottom-right-radius: inherit;\n }\n `\n);\n\nStyledMenuListWrapper.defaultProps = defaultThemeProp;\n\nexport const StyledMenu = styled.div(({ theme }) => {\n const borderStyle = `0.0625rem solid ${theme.base.palette['border-line']}`;\n\n return css`\n display: flex;\n flex-direction: column;\n\n &,\n ${StyledMenuListWrapper} {\n max-height: inherit;\n }\n\n &:focus {\n box-shadow: ${theme.base.shadow.focus};\n outline: none;\n }\n\n &:first-child {\n border-top-left-radius: inherit;\n border-top-right-radius: inherit;\n }\n\n &:last-child {\n border-bottom-left-radius: inherit;\n border-bottom-right-radius: inherit;\n }\n\n &[data-active-scope='true'] [data-current='true'] {\n box-shadow: ${theme.base.shadow['focus-inset']};\n }\n\n ${StyledVisuallyHiddenText}:first-child {\n + ${StyledMenuListWrapper}, + header {\n border-top-left-radius: inherit;\n border-top-right-radius: inherit;\n }\n }\n\n > header,\n > footer {\n padding: ${theme.base.spacing};\n }\n\n > header {\n border-bottom: ${borderStyle};\n }\n\n > footer {\n border-top: ${borderStyle};\n }\n `;\n});\n\nStyledMenu.defaultProps = defaultThemeProp;\n"]}
@@ -427,7 +427,7 @@ export default {
427
427
  rte_unindent: 'Unindent',
428
428
  rte_table: 'Table',
429
429
  rte_link: 'Link',
430
- rte_image: 'Image',
430
+ rte_image: 'Insert image',
431
431
  rte_invalid_html: 'Invalid HTML',
432
432
  rte_insert_field: 'Insert field',
433
433
  rte_invalid_url: 'Invalid URL',
@@ -1 +1 @@
1
- {"version":3,"file":"default.js","sourceRoot":"","sources":["../../src/i18n/default.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,gFAAgF;IAChF,6BAA6B;IAC7B,gFAAgF;IAEhF,0CAA0C;IAC1C,GAAG,EAAE,KAAK;IACV,EAAE,EAAE,IAAI;IACR,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,QAAQ;IAChB,eAAe,EAAE,iBAAiB;IAClC,0BAA0B,EAAE,SAAS;IACrC,0BAA0B,EAAE,SAAS;IACrC,WAAW,EAAE,aAAa;IAC1B,GAAG,EAAE,KAAK;IACV,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,QAAQ,EAAE,UAAU;IACpB,kBAAkB,EAAE,oBAAoB;IACxC,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,KAAK,EAAE,OAAO;IAEd,WAAW;IACX,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,QAAQ,EAAE,UAA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B;IAClD,YAAY,EAAE,cAAc;IAC5B,UAAU,EAAE,YAAY;IACxB,cAAc,EAAE,gBAAgB;IAChC,cAAc,EAAE,gBAAgB;IAChC,kBAAkB,EAAE,oBAAoB;IACxC,iBAAiB,EAAE,mBAAmB;IACtC,UAAU,EAAE,YAAY;IACxB,gBAAgB,EAAE,kBAAkB;IACpC,cAAc,EAAE,gBAAgB;IAChC,mBAAmB,EAAE,qBAAqB;IAC1C,SAAS,EAAE,kBAAkB;IAC7B,UAAU,EAAE,mBAAmB;IAC/B,QAAQ,EAAE,iBAAiB;IAC3B,YAAY,EAAE,qBAAqB;IACnC,UAAU,EAAE,mBAAmB;IAC/B,WAAW,EAAE,aAAa;IAC1B,cAAc,EAAE,gBAAgB;IAChC,iBAAiB,EAAE,mBAAmB;IACtC,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,iBAAiB;IAClC,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,mBAAmB;IACtC,SAAS,EAAE,WAAW;CACvB,CAAC","sourcesContent":["export default {\n // -----------------------------------------------------------------------------\n // Common translation entries\n // -----------------------------------------------------------------------------\n\n /* Nouns, Types, Terms, Phrases, etc... */\n yes: 'Yes',\n no: 'No',\n filters: 'Filters',\n actions: 'Actions',\n status: 'Status',\n additional_info: 'Additional info',\n search_placeholder_default: 'Search…',\n select_placeholder_default: 'Select…',\n description: 'Description',\n all: 'All',\n default: 'default',\n app_default: 'app default',\n sitewide: 'Sitewide',\n opens_in_a_new_tab: 'Opens in a new tab',\n summary: 'Summary',\n utilities: 'Utilities',\n search: 'Search',\n menu: 'menu',\n new: 'New',\n info: 'info',\n shortcuts: 'Shortcuts',\n label: 'Label',\n\n /* Verbs */\n remove: 'Remove',\n follow: 'Follow',\n unfollow: 'Unfollow',\n add: 'Add',\n cancel: 'Cancel',\n try_again: 'Try again',\n update: 'Update',\n submit: 'Submit',\n apply: 'Apply',\n select: 'Select',\n edit: 'Edit',\n preview: 'Preview',\n decline: 'Decline',\n delete: 'Delete',\n close: 'Close',\n activate: 'Activate',\n expand: 'Expand',\n collapse: 'Collapse',\n accept: 'Accept',\n clear: 'Clear',\n use: 'Use',\n undo: 'Undo',\n redo: 'Redo',\n filter: 'Filter',\n sort: 'Sort',\n group: 'Group',\n go: 'Go',\n configure: 'Configure',\n dismiss: 'Dismiss',\n due: 'Due',\n\n /* Static verb noun */\n view_all: 'View all',\n view_less: 'View less',\n show_more: 'Show more',\n show_less: 'Show less',\n show_all: 'Show all',\n clear_all: 'Clear all',\n link_open_in_tab_text: 'Open in tab',\n edit_details: 'Edit details',\n add_emoji: 'Add emoji',\n create_new: 'Create new',\n submit_and_open: 'Submit and open',\n add_condition: 'Add condition',\n\n /* Dynamic verb {noun} */\n open_noun: 'Open {0}',\n close_noun: 'Close {0}',\n view_all_noun: 'View all {0}',\n view_less_noun: 'View less {0}',\n expand_noun: 'Expand {0}',\n add_noun: 'Add {0}',\n collapse_noun: 'Collapse {0}',\n checked_noun: '{0} checked',\n selected_noun: '{0} selected',\n unselected_noun: '{0} unselected',\n use_input_value: 'Use {0}',\n preview_of_noun: 'Preview of {0}',\n go_to_noun: 'Go to {0}',\n insert_noun: 'Insert {0}',\n delete_noun: 'Delete {0}',\n actions_for: 'Actions for {0}',\n\n /* States */\n edited: 'Edited {0}',\n done: 'Done',\n uploading: 'Uploading',\n loading: 'Loading…',\n loaded: 'Loaded',\n submitting: 'Submitting…',\n no_items: 'No items',\n unknown_error: 'Unknown error',\n image_load_error: 'Error loading image',\n selected: 'Selected',\n selected_count: {\n zero: '{0} selected',\n one: '{0} selected',\n two: '{0} selected',\n few: '{0} selected',\n many: '{0} selected',\n other: '{0} selected'\n },\n completed: 'Completed',\n current: 'Current',\n previous: 'Previous',\n not_started: 'Not started',\n empty_value: 'Empty value',\n no_value: 'no value',\n delivered: 'Delivered',\n sent: 'Sent',\n active: 'Active',\n read_only: 'Read only',\n information: 'Information',\n error: 'Error',\n warning: 'Warning',\n success: 'Success',\n pass: 'Pass',\n fail: 'Fail',\n did_not_ask: 'Did not ask',\n\n /* Date and time */\n day_placeholder: 'DD',\n month_placeholder: 'MM',\n year_placeholder: 'YYYY',\n hour_placeholder: 'hh',\n minute_placeholder: 'mm',\n second_placeholder: 'ss',\n meridiem_value_am: 'AM',\n meridiem_value_pm: 'PM',\n week_placeholder: 'WW',\n seconds_text: 'Seconds',\n minutes_text: 'Minutes',\n hours_text: 'Hours',\n days_text: 'Days',\n time_text: 'Time',\n time_format_info: 'hh:mm:ss',\n date_quarter_q1: 'Q1 {0}',\n date_quarter_q2: 'Q2 {0}',\n date_quarter_q3: 'Q3 {0}',\n date_quarter_q4: 'Q4 {0}',\n time_unit: 'Time Unit',\n\n /* Count based types */\n attachments_count: {\n zero: 'No attachments',\n one: '{0} attachment',\n two: '{0} attachments',\n few: '{0} attachments',\n many: '{0} attachments',\n other: '{0} attachments'\n },\n results_count: {\n zero: 'No results',\n one: '{0} result',\n two: '{0} results',\n few: '{0} results',\n many: '{0} results',\n other: '{0} results'\n },\n recent_results_count: {\n zero: 'No recent results',\n one: '{0} recent result',\n two: '{0} recent results',\n few: '{0} recent results',\n many: '{0} recent results',\n other: '{0} recent results'\n },\n new_emails_count: {\n zero: 'No new emails',\n one: '{0} new email',\n two: '{0} new emails',\n few: '{0} new emails',\n many: '{0} new emails',\n other: '{0} new emails'\n },\n\n /* Pagination */\n pagination_page_of: 'Page {0} of {1}',\n pagination_next: 'Next',\n pagination_prev: 'Previous',\n\n /* Range */\n range_from_datetime: 'Since',\n range_to_datetime: 'Until',\n range_from_numeric: 'From',\n range_to_numeric: 'To',\n\n /* Miscellaneous */\n x_of_y: '{0} of {1}',\n\n // -----------------------------------------------------------------------------\n // {pkg}:{ComponentDir} entries\n // -----------------------------------------------------------------------------\n\n /* core:Link */\n preview_link_instruction: 'Press {0} and p to open this link in a preview.',\n\n /* core:LiveLog */\n polite_announcements: 'Polite Announcements',\n assertive_announcements: 'Assertive Announcements',\n\n /* core:SkipLinks */\n go_to_main_content: 'Go to main content',\n main_content: 'Main content',\n\n /* core:AppShell */\n app_shell_create: 'Create',\n app_shell_open_nav: 'Open navigation menu',\n app_shell_main_navigation_label: 'Main',\n shortcut_NextRegion: 'Next region',\n shortcut_PrevRegion: 'Previous region',\n app_shell_user_account: 'Account',\n\n /* core:ComboBox */\n combobox_open_close: 'Arrow down to open, press escape to close.',\n combobox_search_instructions: 'Start typing to search',\n combobox_open_list_button_a11y: 'Open combobox list',\n combobox_close_list_button_a11y: 'Close combobox list',\n multiselect_instructions: 'Arrow {0} from start to review selected items',\n selected_items: 'Selected items',\n\n /* core:Menu */\n menu_selection_instructions: 'Press enter to select items.',\n menu_item_expand_arrow: '{0}. Arrow right to expand.',\n menu_item_collapse_arrow: 'Arrow left to collapse.',\n menu_item_collapse_shift_space: 'Press shift space to collapse.',\n menu_item_shift_space_expand_collapse: '{0}. Press shift space to expand and collapse.',\n menu_option_list: 'Options list',\n menu_item_count: 'Contains {0} items.',\n menu_collapsed: '{0} collapsed',\n menu_expanded: '{0} expanded.',\n\n /* core:Modal */\n modal_minimize: 'Minimize modal',\n modal_maximize: 'Maximize modal',\n modal_dock: 'Dock modal',\n modal_close: 'Close modal',\n minimize: 'Minimize',\n maximize: 'Maximize',\n dock: 'Dock',\n\n /* core:Datetime */\n selected_date_a11y: 'Selected date:',\n open_calendar_button_a11y: 'Open calendar',\n close_calendar_button_a11y: 'Close calendar',\n open_time_button_a11y: 'Open time picker',\n close_time_button_a11y: 'Close time picker',\n set_current_date_and_time_a11y: 'Set current date and time',\n set_current_date_a11y: 'Set current date',\n clear_current_date_and_time: 'Clear current date and time',\n clear_current_date: 'Clear current date',\n picker_next_month: 'Next month',\n picker_prev_month: 'Previous month',\n picker_jump_to_month_and_year: 'Jump to month and year selection',\n calendar_assist: 'Use cursor keys to navigate dates',\n calendar: 'Calendar',\n choose_date: 'Choose date',\n choose_date_and_time: 'Choose date and time',\n choose_week: 'Choose week',\n\n /* core:Boolean */\n boolean_display_true_label: 'Yes',\n boolean_display_false_label: 'No',\n\n /* core:MultiStepForm */\n step_changed_to_name: 'Step changed to {0}',\n\n /* core:Number */\n measured_in: 'measured in {0}',\n\n /* core:Banner */\n banner_dismiss_button_label_a11y: 'Dismiss banner',\n\n /* core:File */\n file_upload_text_main: 'Drag and drop or {0}',\n file_upload_text_one: 'choose a file',\n file_upload_text_multiple: 'choose files',\n download_file: 'Download {0}',\n preview_file: 'Preview {0}',\n open_file_in_new_tab: 'Open {0} in new tab',\n\n /* core:Location */\n my_current_location_button_a11y: 'Use my current location',\n location_input_placeholder: 'Enter a location',\n location_not_found_text: 'Location not found',\n exact_location: 'Exact location',\n allow_location_permissions_text:\n 'To get current location, allow location permissions for this app',\n\n /* core:SearchInput */\n advanced_search: 'Advanced search',\n select_search_filter: 'Select search filter',\n recent_searches: 'Recent searches',\n clear_search: 'Clear search',\n search_instructions: 'Use arrow keys to move up and down the suggested results.',\n\n /* core:SummaryList */\n action_from_summarylist_heading: '{0} from {1}',\n selected_search_filter: 'Filter search by: {0}',\n\n /* work:CaseView */\n utilities_label: 'Utilities',\n utilities_summary: 'Utilities summary',\n expand_summary: 'Expand summary',\n collapse_summary: 'Collapse summary',\n expand_utilities_panel: 'Expand utilities',\n collapse_utilities_panel: 'Collapse utilities',\n primary_summary_fields: 'Primary summary fields',\n summary_fields: 'Summary fields',\n\n /* core:FormField */\n accept_suggestion_button_a11y: 'Accept AI suggestion',\n reject_suggestion_button_a11y: 'Reject AI suggestion',\n suggestion_info: 'Accept AI suggestion?',\n suggestion_assist:\n 'Either press Enter to accept the AI suggestion or edit the value to reject it',\n\n /* core:Phone Input */\n select_country_code: 'Select country code',\n enter_a_number: 'Enter a number',\n\n /* core:SkipLinks */\n skip_navigation_menu_label: 'Skip navigation menu',\n\n /* core:Tabs */\n tab_error_tooltip: '{0} has errors',\n\n /* core:LightBox */\n non_previewable: \"{0} file can't be previewed in your browser\",\n content_load_error: 'Error loading content',\n\n /* work:Assignments */\n assignments: 'Assignments',\n\n /* work:ArticleList */\n article_list_label_a11y: 'Article list',\n article_list_filter_label_a11y: 'Article lists filter',\n article_list_header_submit_label: 'Submit',\n clear_filters: 'Clear filters',\n suggest_article: 'Suggest article',\n suggested: 'Suggested',\n followed: 'Followed',\n buddy: 'Buddy',\n disclaimer: 'Disclaimer',\n references: 'References',\n result_available: 'Result available',\n ask: 'Ask',\n error_message: 'Unable to retrieve data at the moment. Please try again.',\n add_a_comment: 'Add a comment',\n\n /* work:Article */\n article_label_a11y: 'Article',\n article_related_links: 'Related links',\n article_more_like_this: 'More like this',\n article_was_this_helpful: 'Was this helpful?',\n article_thank_you_for_your_feedback: 'Thank you for your feedback',\n article_attachments: 'Attachments',\n likes: 'Likes',\n dislikes: 'Dislikes',\n like: 'Like',\n dislike: 'Dislike',\n\n /* work:CasePreview */\n close_preview: 'Close preview',\n\n /* work:Confirmation */\n confirmation_whats_next: \"What's next\",\n confirmation_open_tasks: 'Open tasks',\n\n /* work:Stakeholders */\n add_stakeholders: 'Add stakeholder',\n edit_stakeholder: 'Edit stakeholder',\n view_stakeholders: 'Stakeholders',\n stakeholders_role: 'Role',\n stakeholders: {\n zero: '{0} stakeholders',\n one: '{0} stakeholder',\n two: '{0} stakeholders',\n few: '{0} stakeholders',\n many: '{0} stakeholders',\n other: '{0} stakeholders'\n },\n\n /* work:Tags */\n edit_tags: 'Edit tags',\n tags: 'Tags',\n\n /* work:Glimpse */\n view_profile: 'View profile',\n\n /* work:Timeline */\n timeline_toolbar_sort_descending: 'Newest first',\n timeline_toolbar_sort_ascending: 'Oldest first',\n timeline_toolbar_group_date: 'By day',\n timeline_toolbar_group_monthyear: 'By month',\n timeline_toolbar_group_quarteryear: 'By quarter',\n timeline_toolbar_group_year: 'By year',\n timeline_toolbar_group_none: 'Off',\n\n /* work:AppAnnouncement */\n app_announcement_dismiss_button_label_a11y: 'Hide until next update',\n app_announcement_details_list_header: 'Announcements',\n app_announcement_whats_new_button_label: \"See what's new\",\n\n /* work:Stages */\n stages_label: 'Case stages',\n stages_see_full_lifecycle: 'See full lifecycle',\n stages_case_lifecycle: '{0} lifecycle',\n stages_default_case_lifecycle: 'Case lifecycle',\n stages_stage_label: 'Stage {0}, {1}',\n stages_description: 'Use horizontal arrow keys to navigate.',\n\n /* work:Predictions */\n predictions: 'Predictions',\n all_predictions: 'All predictions',\n learn_more: 'Learn more',\n\n /* work:TaskList */\n tasks_added: {\n zero: 'No tasks added',\n one: '{0} task added',\n two: '{0} tasks added',\n few: '{0} tasks added',\n many: '{0} tasks added',\n other: '{0} tasks added'\n },\n tasks_removed: {\n zero: 'No tasks removed',\n one: '{0} task removed',\n two: '{0} tasks removed',\n few: '{0} tasks removed',\n many: '{0} tasks removed',\n other: '{0} tasks removed'\n },\n\n /* work:InteractionNotification */\n interaction_time_expired: 'The time to accept the interaction has expired.',\n interaction_time_remaining: {\n zero: 'The time to accept the interaction has expired.',\n one: '{0} second remaining to accept the interaction.',\n two: '{0} seconds remaining to accept the interaction.',\n few: '{0} seconds remaining to accept the interaction.',\n many: '{0} seconds remaining to accept the interaction.',\n other: '{0} seconds remaining to accept the interaction.'\n },\n interaction_shortcut_goto_info: 'Press {0} to review.',\n interaction_shortcut_dismiss_info: 'Press {0} to dismiss.',\n shortcut_GoToIncomingInteraction: 'Go to incoming interaction popup.',\n shortcut_DismissIncomingInteraction: 'Dismiss incoming interaction popup.',\n\n /* rte:RichTextEditor */\n rte_heading_style: 'Heading style',\n rte_heading_style_normal: 'Normal',\n rte_heading_style_heading_1: 'Heading 1',\n rte_heading_style_heading_2: 'Heading 2',\n rte_heading_style_heading_3: 'Heading 3',\n rte_heading_style_heading_4: 'Heading 4',\n rte_bold: 'Bold',\n rte_italic: 'Italic',\n rte_strike_through: 'Strike-through',\n rte_cut: 'Cut',\n rte_copy: 'Copy',\n rte_paste: 'Paste',\n rte_bulleted_list: 'Bulleted list',\n rte_numbered_list: 'Numbered list',\n rte_indent: 'Indent',\n rte_unindent: 'Unindent',\n rte_table: 'Table',\n rte_link: 'Link',\n rte_image: 'Image',\n rte_invalid_html: 'Invalid HTML',\n rte_insert_field: 'Insert field',\n rte_invalid_url: 'Invalid URL',\n rte_change_text_format: 'Change text format to',\n rte_toggle_unordered_list: 'Toggle unordered list',\n rte_indent_selection: 'Indent selection',\n rte_unindent_selection: 'Unindent selection',\n rte_toolbar_instructions: 'Hit tab to enter the editor toolbar',\n rte_text_formatting_toolbar: 'Text formatting toolbar',\n rte_image_description_info: 'Provides an alternate (ALT) description for the visually impaired',\n rte_image_custom_size: 'Custom size',\n rte_width_in_pixels: 'Width (in pixels)',\n rte_height_in_pixels: 'Height (in pixels)',\n rte_image_settings: 'Image settings',\n rte_image_key_command: 'Press enter to edit the image',\n\n /* social:Email */\n expand_forwarded_message: 'Expand forwarded message',\n collapse_forwarded_message: 'Collapse forwarded message',\n copy_to: 'Copy to',\n subject_label: 'Subject: {0}',\n search_results: 'Search results',\n\n /* social:Feed */\n feed_new_post: 'Start a conversation',\n feed_new_post_submit: 'Post',\n feed_new_comment: 'New comment',\n feed_new_comment_submit: 'Comment',\n feed_attach_files: 'Attach files',\n feed_post_actions_menu: 'More',\n feed_edit_post: 'Edit post',\n feed_edit_comment: 'Edit comment',\n feed_context: 'in {0}',\n feed_liked_by: 'Liked by {0}',\n feed_likes: 'Likes',\n feed_private_post: 'Private post',\n feed_public_post: 'Public post',\n feed_recipients: 'Recipients',\n feed_like_label: 'Like',\n feed_unlike_label: 'Unlike',\n feed_post_likes: {\n zero: 'No likes',\n one: '{0} like',\n two: '{0} likes',\n few: '{0} likes',\n many: '{0} likes',\n other: '{0} likes'\n },\n feed_comment_label: 'Comment',\n feed_post_comments: {\n zero: 'No comments',\n one: '{0} comment',\n two: '{0} comments',\n few: '{0} comments',\n many: '{0} comments',\n other: '{0} comments'\n },\n feed_attachments_added: {\n zero: 'No attachments added',\n one: '{0} attachment added',\n two: '{0} attachments added',\n few: '{0} attachments added',\n many: '{0} attachments added',\n other: '{0} attachments added'\n },\n feed_attachments_removed: {\n zero: 'No attachments removed',\n one: '{0} attachment removed',\n two: '{0} attachments removed',\n few: '{0} attachments removed',\n many: '{0} attachments removed',\n other: '{0} attachments removed'\n },\n feed_post_liked: 'Post has been liked',\n feed_post_deliked: 'Post has been deliked',\n feed_post_removed: 'Post has been removed',\n feed_comment_removed: 'Comment has been removed',\n showing_num_of_num: 'Showing {0} of {1}',\n feed_new_post_added: {\n zero: 'No posts added',\n one: '{0} post added',\n two: '{0} posts added',\n few: '{0} posts added',\n many: '{0} posts added',\n other: '{0} posts added'\n },\n new_item_added: {\n zero: 'No items added',\n one: '{0} new item added',\n two: '{0} new items added',\n few: '{0} new items added',\n many: '{0} new items added',\n other: '{0} new items added'\n },\n loading_post: 'Loading post',\n mention_type: 'Mention a {0}',\n\n /* cs:Chat */\n scroll_to_latest_message: 'Scroll to latest message',\n scroll_to_unread_messages: 'Scroll to unread messages',\n suggested_replies_current_of_total: 'Suggested reply {0} of {1}',\n suggested_replies: 'Suggested replies',\n confidence_percentage: '{0}% confidence',\n next_suggested_reply: 'Next suggested reply',\n prev_suggested_reply: 'Previous suggested reply',\n dismiss_suggested_replies: 'Dismiss suggested replies',\n message_sent: 'Message sent',\n temporarilyUnavailable: 'Temporarily unavailable',\n available: 'Available',\n unavailable: 'Unavailable',\n authenticated: 'Authenticated',\n not_authenticated: 'Not authenticated',\n context: 'Context',\n chat_context: 'Chat context',\n bot: 'Bot',\n is_typing: '{0} is typing {1}',\n chat_message_at_timestamp: '{0} at {1}.',\n sender_replied_message: '{0} replied {1}',\n chat_attachments: '{0} with {1} attachments',\n chat_links: '{0} with {1} links',\n chat_message_status: 'Message {0}',\n opened: 'Opened',\n undeliverable: 'Undeliverable',\n new_message: 'New message',\n attachments: 'attachments',\n attachments_x_of_y: 'attachment {0} of {1}',\n edit_current_template: 'Edit suggested reply {0} of {1}',\n send_current_template: 'Send suggested reply {0} of {1}',\n expand_suggested_replies: 'Expand suggested replies',\n collapse_suggested_replies: 'Collapse suggested replies',\n replies_count: '{0} of {1}',\n no_suggestion: 'No suggestions',\n suggestion: 'Suggestion',\n suggested_reply_copied_to_input_field: 'Suggested reply copied to input field',\n dialogue: 'Dialogue',\n pega_genAI: 'Pega GenAI',\n suggest_reply: 'Suggest reply',\n\n /* cs:Email */\n unique_entities: {\n zero: 'No unique entities',\n one: '{0} unique entity',\n two: '{0} unique entities',\n few: '{0} unique entities',\n many: '{0} unique entities',\n other: '{0} unique entities'\n },\n more_count: '{0} more…',\n other_responses: 'Other responses',\n empty_search: 'Enter a search term',\n new_messages: 'New messages',\n earlier_transcripts: 'Earlier transcripts',\n send: 'Send',\n compose_label: 'Compose',\n save_as_draft: 'Save as draft',\n enter_message: 'Enter message',\n download: 'Download',\n close_chat_utility: 'Close chat utility',\n email_account: 'Email account',\n subject: 'Subject',\n to: 'To',\n from: 'From',\n cc: 'Cc',\n bcc: 'Bcc',\n date: 'Date',\n reply: 'Reply',\n reply_all: 'Reply all',\n response_templates: 'Response templates',\n forward: 'Forward',\n email: 'Email',\n email_message: 'Email message',\n email_filters: 'Email filters',\n unread_email_count: '{0} of {1} unread',\n priority: 'Priority',\n inbox: 'Inbox',\n insert: 'Insert',\n email_add_attachment: 'Add attachment, the maximum number of attachments allowed is {0}.',\n email_disable_attachment:\n 'Adding attachments are disabled, the maximum number of attachments allowed is {0}.',\n email_remove_attachment: 'Remove attachment',\n loading_email: 'Loading email',\n draft: {\n zero: 'No drafts',\n one: '{0} draft',\n two: '{0} drafts',\n few: '{0} drafts',\n many: '{0} drafts',\n other: '{0} drafts'\n },\n undelivered: 'Undelivered',\n drafts: 'drafts',\n unread: 'unread',\n\n /* cs:CallControlPanel */\n call_panel_heading: 'Pega call',\n call_panel_make_new_call: 'Make new call',\n call_panel_agent_status: 'Status',\n call_panel_pause_call_menu_item: 'Pause call',\n call_panel_resume_call_menu_item: 'Resume call',\n call_panel_mute_mic_menu_item: 'Mute microphone',\n call_panel_unmute_mic_menu_item: 'Unmute microphone',\n call_panel_call_on_hold: 'On hold {0}',\n call_panel_consult_call_menu_item: 'Consult',\n call_panel_transfer_call_menu_item: 'Transfer',\n call_panel_menu_item_call_only: 'Call only',\n call_panel_menu_item_call_with_interaction: 'Call and interaction',\n call_panel_send_dtmf_menu_item: 'Send DTMF',\n call_panel_conference_call_menu_item: 'Conference',\n call_panel_hangup_call_menu_item: 'Hang up',\n call_panel_disconnect_participant: 'Disconnect participant',\n call_panel_contacts_add_to_favorites: 'Add to favorites',\n call_panel_contacts_remove_from_favorites: 'Remove from favorites',\n call_panel_contacts_call_button_label: 'Call',\n call_panel_contacts_list_heading: 'Contacts',\n call_panel_contacts_favorites_heading: 'Favorites',\n call_panel_contacts_dial_pad_heading: 'Dial pad',\n call_panel_new_call_heading: 'New call',\n call_panel_interaction_transfer_heading: 'Transfer initiated',\n call_panel_interaction_transfer_complete_button_label: 'Complete transfer',\n call_panel_incoming_call: 'Incoming call…',\n call_panel_answer_call: 'Answer',\n\n call_panel_conference_heading: 'Conference call',\n call_panel_conference_call_and_interactions_heading: 'Conference by call and interaction',\n call_panel_consult_heading: 'Consult by call',\n call_panel_consult_call_and_interactions_heading: 'Consult by call and interaction',\n call_panel_transfer_heading: 'Transfer call',\n call_panel_transfer_call_and_interactions_heading: 'Transfer call and interaction',\n\n call_panel_conference_submit: 'Conference',\n call_panel_transfer_submit: 'Transfer',\n call_panel_consult_submit: 'Consult',\n\n call_panel_handover_reason_label: 'Reason',\n call_panel_handover_to_label: 'To',\n call_panel_handover_comments_label: 'Comments',\n call_panel_handover_call_option_label: 'Call option',\n call_panel_handover_call_only_option: 'Call only',\n call_panel_handover_call_and_interaction_option: 'Call and interaction',\n call_panel_handover_interaction_label: 'Interaction',\n call_panel_merge_call_menu_item: 'Merge',\n call_panel_handoff_call_menu_item: 'Hand off',\n call_panel_send_dtmf_heading: 'Send DTMF',\n call_panel_expand: 'Expand call control panel',\n call_panel_collapse: 'Collapse call control panel',\n call_panel_nav_label: 'Phone panel',\n\n /* cs:DialPad */\n dial_pad_keyboard: 'Dial pad keyboard',\n dial_pad_phone_number_input_label: 'Phone number input',\n dial_pad_call_button_label: 'Call {0}',\n\n /* cs:TaskManager */\n select_multiple: 'Select multiple',\n dismiss_case: 'Dismiss case',\n task_manager_add_case: 'Add case',\n task_manager_wrap_up: 'Wrap up',\n task_manager_cases: 'Cases',\n add_cases: 'Add cases',\n open_cases: 'Open cases',\n resolved_cases: 'Resolved cases',\n no_picker_items: 'No {0}',\n selected_picker_items: 'Selected {0}',\n no_selected_picker_items: 'No selected {0}',\n search_picker_items: 'Search {0}',\n case_picker_close: 'Close case picker',\n case_manager_overflow_menu: 'All cases',\n continue_label: 'Continue',\n continue_label_a11y: 'Continue with {0}',\n review_label: 'Review',\n review_label_a11y: 'Review {0}',\n dismiss_label: 'Dismiss',\n dismiss_label_a11y: 'Dismiss {0}',\n task_manager_picker_add_label: {\n zero: 'No items to add',\n one: 'Add {0} new item',\n two: 'Add {0} new items',\n few: 'Add {0} new items',\n many: 'Add {0} new items',\n other: 'Add {0} new items'\n },\n show_detected_entities: 'Show detected entities',\n nothing_detected_yet: 'Nothing detected yet',\n ai_detected_entities: 'AI detected entities',\n close_conversation: 'Close conversation',\n shortcut_AddTask: 'Open task picker',\n shortcut_WrapUp: 'Wrap up interaction',\n live_transcript: 'Live transcript',\n open_live_transcript: 'Open live transcript',\n close_live_transcript: 'Close live transcript',\n download_live_transcript: 'Download live transcript',\n transcripts: 'Transcripts',\n verbatim: 'Verbatim',\n dialog: 'Dialog',\n download_transcript: 'Download transcript',\n follow_up_tasks: 'Follow-up tasks',\n add_follow_up_task: 'Add follow-up task',\n agents_utterance: \"Agent's commitment in context\",\n detected_entities: 'Detected entities',\n\n /* cs:FollowUpTask */\n due_on: 'Due on {0}',\n\n /* cs:Sentiment */\n sentiment_positive: 'Positive',\n sentiment_negative: 'Negative',\n sentiment_neutral: 'Neutral',\n\n /* cs:IntelligentGuidance */\n no_recommendations: 'No recommendations',\n items_added_to_previous_list: 'Items added to previous list',\n items_added_to_current_list: 'Items added to current list',\n\n /* condition-builder:ConditionBuilder */\n condition_builder_advanced_condition_label: 'Advanced condition',\n condition_builder_advanced_condition_placeholder: 'Advanced condition',\n condition_builder_advanced_mode_button_label: 'Advanced mode',\n condition_builder_basic_mode_button_label: 'Basic mode',\n condition_builder_advanced_mode_button_aria_label: 'Switch to advanced mode',\n condition_builder_basic_mode_button_aria_label: 'Switch to basic mode',\n condition_builder_mode_switch: 'Mode switched',\n condition_builder_advanced_condition_tooltip:\n 'A logical expression representing an advanced condition. Use numbers like 1,2,3,… to represent different condition rows. Use {0} operators and parentheses to construct advanced conditions. Example: {1}',\n condition_builder_condition_select_info_default: 'No selection',\n condition_builder_possible_values_label: 'Values',\n condition_builder_possible_values_error: 'Error retrieving values',\n condition_builder_multi_selection_text_default: 'Select values',\n condition_builder_single_selection_text_default: 'Select value',\n condition_builder_switch_banner_text:\n 'Switching from advanced mode can reset all AND/OR/NOT operators. Do you want to continue?',\n condition_builder_confirm_button_label: 'OK',\n condition_builder_empty_selection_error_text: 'No selection',\n condition_builder_empty_value_text: 'Empty value',\n condition_builder_compare_with: 'Compare with {0}',\n condition_builder_compare_with_another_field: 'Another field',\n condition_builder_compare_with_parameter: 'Parameter',\n condition_builder_compare_with_relative_date: 'Relative date',\n condition_builder_compare_with_text_value: 'Text value',\n condition_builder_compare_with_numeric_value: 'Numeric value',\n condition_builder_compare_with_date_value: 'Date value',\n condition_builder_compare_with_time_value: 'Time value',\n condition_builder_invalid_time_period: 'Invalid time period',\n condition_builder_invalid_relative_date: 'Invalid relative date',\n condition_builder_invalid_value: 'Invalid value',\n condition_builder_invalid_values: 'Invalid values',\n condition_builder_invalid_time: 'Invalid time',\n condition_builder_invalid_date: 'Invalid date',\n condition_builder_invalid_number: 'Invalid number',\n condition_builder_invalid_date_range: 'Invalid date range',\n condition_builder_invalid_time_range: 'Invalid time range',\n condition_builder_invalid_number_range: 'Invalid range',\n condition_builder_select_placeholder: 'Select…',\n condition_builder_hour_number_of_day: '{0} (hour of day)',\n condition_builder_rhs_with_time_only_input: 'Rhs with Time only input',\n condition_builder_rhs_with_date_only_input: 'Rhs with Date only input',\n condition_builder_rhs_with_date_time_input: 'Rhs with Date Time input',\n condition_builder_rhs_with_csv_input: 'Rhs with csv input',\n condition_builder_no_selection: 'No selection',\n condition_builder_enter_csv_placeholder: 'Enter comma separated values',\n condition_builder_day_number_of_month: {\n zero: '{0}th day of the month',\n one: '{0}st day of the month',\n two: '{0}nd day of the month',\n few: '{0}rd day of the month',\n many: '{0}th day of the month',\n other: '{0}th day of the month'\n },\n condition_builder_year: 'Year(s)',\n condition_builder_quarter: 'Quarter(s)',\n condition_builder_month: 'Month(s)',\n condition_builder_week: 'Week(s)',\n condition_builder_day: 'Day(s)',\n condition_builder_hour: 'Hour(s)',\n condition_builder_minute: 'Minute(s)',\n condition_builder_second: 'Second(s)',\n condition_builder_date_function_hour_of_day: 'Hour of day',\n condition_builder_date_function_month_of_year: 'Month of year',\n condition_builder_date_function_day_of_month: 'Day of month',\n condition_builder_date_function_day_of_week: 'Day of week',\n condition_builder_date_part: 'Date part',\n condition_builder_current_second: 'Current second',\n condition_builder_current_minute: 'Current minute',\n condition_builder_current_hour: 'Current hour',\n condition_builder_current_day: 'Current day',\n condition_builder_current_week: 'Current week',\n condition_builder_current_month: 'Current month',\n condition_builder_current_quarter: 'Current quarter',\n condition_builder_current_year: 'Current year',\n condition_builder_last_X_seconds: {\n zero: 'Current second',\n one: 'Last second',\n two: 'Last {0} seconds',\n few: 'Last {0} seconds',\n many: 'Last {0} seconds',\n other: 'Last {0} seconds'\n },\n condition_builder_last_X_minutes: {\n zero: 'Current minute',\n one: 'Last minute',\n two: 'Last {0} minutes',\n few: 'Last {0} minutes',\n many: 'Last {0} minutes',\n other: 'Last {0} minutes'\n },\n condition_builder_last_X_hours: {\n zero: 'Current hour',\n one: 'Last hour',\n two: 'Last {0} hours',\n few: 'Last {0} hours',\n many: 'Last {0} hours',\n other: 'Last {0} hours'\n },\n condition_builder_last_X_days: {\n zero: 'Current day',\n one: 'Last day',\n two: 'Last {0} days',\n few: 'Last {0} days',\n many: 'Last {0} days',\n other: 'Last {0} days'\n },\n condition_builder_last_X_weeks: {\n zero: 'Current week',\n one: 'Last week',\n two: 'Last {0} weeks',\n few: 'Last {0} weeks',\n many: 'Last {0} weeks',\n other: 'Last {0} weeks'\n },\n condition_builder_last_X_months: {\n zero: 'Current month',\n one: 'Last month',\n two: 'Last {0} months',\n few: 'Last {0} months',\n many: 'Last {0} months',\n other: 'Last {0} months'\n },\n condition_builder_last_X_quarters: {\n zero: 'Current quarter',\n one: 'Last quarter',\n two: 'Last {0} quarters',\n few: 'Last {0} quarters',\n many: 'Last {0} quarters',\n other: 'Last {0} quarters'\n },\n condition_builder_last_X_years: {\n zero: 'Current year',\n one: 'Last year',\n two: 'Last {0} years',\n few: 'Last {0} years',\n many: 'Last {0} years',\n other: 'Last {0} years'\n },\n condition_builder_next_X_seconds: {\n zero: 'Current second',\n one: 'Next second',\n two: 'Next {0} seconds',\n few: 'Next {0} seconds',\n many: 'Next {0} seconds',\n other: 'Next {0} seconds'\n },\n condition_builder_next_X_minutes: {\n zero: 'Current minute',\n one: 'Next minute',\n two: 'Next {0} minutes',\n few: 'Next {0} minutes',\n many: 'Next {0} minutes',\n other: 'Next {0} minutes'\n },\n condition_builder_next_X_hours: {\n zero: 'Current hour',\n one: 'Next hour',\n two: 'Next {0} hours',\n few: 'Next {0} hours',\n many: 'Next {0} hours',\n other: 'Next {0} hours'\n },\n condition_builder_next_X_days: {\n zero: 'Current day',\n one: 'Next day',\n two: 'Next {0} days',\n few: 'Next {0} days',\n many: 'Next {0} days',\n other: 'Next {0} days'\n },\n condition_builder_next_X_weeks: {\n zero: 'Current week',\n one: 'Next week',\n two: 'Next {0} weeks',\n few: 'Next {0} weeks',\n many: 'Next {0} weeks',\n other: 'Next {0} weeks'\n },\n condition_builder_next_X_months: {\n zero: 'Current month',\n one: 'Next month',\n two: 'Next {0} months',\n few: 'Next {0} months',\n many: 'Next {0} months',\n other: 'Next {0} months'\n },\n condition_builder_next_X_quarters: {\n zero: 'Current quarter',\n one: 'Next quarter',\n two: 'Next {0} quarters',\n few: 'Next {0} quarters',\n many: 'Next {0} quarters',\n other: 'Next {0} quarters'\n },\n condition_builder_next_X_years: {\n zero: 'Current year',\n one: 'Next year',\n two: 'Next {0} years',\n few: 'Next {0} years',\n many: 'Next {0} years',\n other: 'Next {0} years'\n },\n condition_builder_previous_X_seconds: {\n zero: 'Current second',\n one: 'Previous second',\n two: 'Previous {0} seconds',\n few: 'Previous {0} seconds',\n many: 'Previous {0} seconds',\n other: 'Previous {0} seconds'\n },\n condition_builder_previous_X_minutes: {\n zero: 'Current minute',\n one: 'Previous minute',\n two: 'Previous {0} minutes',\n few: 'Previous {0} minutes',\n many: 'Previous {0} minutes',\n other: 'Previous {0} minutes'\n },\n condition_builder_previous_X_hours: {\n zero: 'Current hour',\n one: 'Previous hour',\n two: 'Previous {0} hours',\n few: 'Previous {0} hours',\n many: 'Previous {0} hours',\n other: 'Previous {0} hours'\n },\n condition_builder_previous_X_days: {\n zero: 'Current day',\n one: 'Previous day',\n two: 'Previous {0} days',\n few: 'Previous {0} days',\n many: 'Previous {0} days',\n other: 'Previous {0} days'\n },\n condition_builder_previous_X_weeks: {\n zero: 'Current week',\n one: 'Previous week',\n two: 'Previous {0} weeks',\n few: 'Previous {0} weeks',\n many: 'Previous {0} weeks',\n other: 'Previous {0} weeks'\n },\n condition_builder_previous_X_months: {\n zero: 'Current month',\n one: 'Previous month',\n two: 'Previous {0} months',\n few: 'Previous {0} months',\n many: 'Previous {0} months',\n other: 'Previous {0} months'\n },\n condition_builder_previous_X_quarters: {\n zero: 'Current quarter',\n one: 'Previous quarter',\n two: 'Previous {0} quarters',\n few: 'Previous {0} quarters',\n many: 'Previous {0} quarters',\n other: 'Previous {0} quarters'\n },\n condition_builder_previous_X_years: {\n zero: 'Current year',\n one: 'Previous year',\n two: 'Previous {0} years',\n few: 'Previous {0} years',\n many: 'Previous {0} years',\n other: 'Previous {0} years'\n },\n condition_builder_time_period_label: 'Time period',\n condition_builder_time_period_last: 'Last',\n condition_builder_time_period_current: 'Current',\n condition_builder_time_period_previous: 'Previous',\n condition_builder_time_period_next: 'Next',\n condition_builder_value_label: 'Value',\n condition_builder_field_label: 'Field',\n condition_builder_comparator_label: 'Conditional operator',\n\n /* condition-builder:PromotedFilters */\n promoted_filters_clear_all_button_label: 'Clear all filters',\n\n /* build:AppShell */\n dev_mode: 'Dev mode',\n expand_navigation: 'Expand navigation',\n collapse_navigation: 'Collapse navigation',\n switch_to: 'Switch to…',\n expand_search: 'Expand search',\n collapse_search: 'Collapse search',\n\n /* build:BranchButton */\n branch_with_no_changes: '{0} with no changes',\n branch_with_no_potential_conflicts: '{0} with no potential conflicts and {1} unmerged changes',\n branch_with_potential_conflicts: '{0} with potential conflicts',\n\n /* build:Lifecycle */\n parallel: 'Parallel',\n stage: 'Stage',\n alternate_stage: 'Alternate stage',\n add_stage: 'Add stage',\n add_process: 'Add process',\n add_alternate_stage: 'Add alternate stage',\n stage_name: '{0} stage',\n process_name: '{0} process',\n step_name: '{0} step',\n item_error: '{0} error',\n step_name_error: '{0} step has configuration error',\n stage_name_error: '{0} stage has configuration error',\n process_name_error: '{0} process has configuration error',\n\n /* build:FlowModeller */\n add_node: 'Add node',\n search_nodes: 'Search nodes',\n delete_step: 'This step has multiple outcomes, are you sure want to delete this step?',\n delete_decision_step:\n 'Select outcome that you want to retain. The remaining highlighted outcomes will be deleted',\n delete_step_title: 'Delete step',\n delete_step_outcome: 'Outcome to keep',\n delete_all_outcomes: 'None (delete all outcomes)',\n delete_step_error: 'This step can\\'t be deleted as the outcome selected has a \"Go to\" step.',\n delete_referenced_step_error:\n 'This step can\\'t be deleted as it is referenced by a \"Go to\" step.',\n delete_connector_error:\n 'Connector cannot be deleted unless Goto step is deleted from all branches',\n\n /* build:Workbench */\n zoom_level: 'Zoom level',\n close_configuration_panel: 'Close configuration panel',\n\n /* build:ObjectSelect */\n clear_object_summary: 'Clear {0} selection',\n create_in_new_tab: 'Create new, opens in new tab',\n\n /* build:ExpressionBuilder */\n expression_editor: 'Expression editor',\n output_parameters: 'Output parameters',\n input_parameters: 'Input parameters',\n\n /* build:MobileBuildSummary */\n no_app_build: 'There is no app build',\n build_app: 'Build app',\n build_in_progress: 'Building…',\n rebuild_app: 'Rebuild app',\n download_app: 'Download app',\n qr_code_not_available: 'No QR code available yet',\n qr_code: 'QR code',\n\n /* wss:AppHeader */\n app_header_notifications_empty: 'No notifications',\n app_header_notifications_loading: 'Loading notifications',\n open_app_header_notifications: 'Open notifications',\n open_app_header_drawer: 'Open navigation menu',\n\n /* tools: PreviewShell */\n preview_frame: 'Preview frame',\n open_in_new_window_text: 'Open in new window',\n more_options: 'More options',\n dev_tools: 'dev tools',\n\n /* tools: DevTools */\n active_session_info: 'Debugging for this session is active in another window',\n continue_debugging: 'Continue debugging',\n\n /* Launchpad: IconTiles */\n action_task: 'Action task',\n task_object: 'Task object',\n view_rule: 'View rule',\n system_rule: 'System rule',\n record_rule: 'Record rule',\n portal_rule: 'Portal rule',\n persona_rule: 'Persona rule',\n permission_rule: 'Permission rule',\n live_data_rule: 'Live data rule',\n integration_system_rule: 'Integration system rule',\n insight_rule: 'Insight rule',\n field_rule: 'Field rule',\n data_page_rule: 'Data page rule',\n connector_rule: 'Connector rule',\n configuration_rule: 'Configuration rule',\n authenticate_rule: 'Authenticate rule',\n when_logic: 'When logic',\n validation_logic: 'Validation logic',\n function_logic: 'Function logic',\n decision_step_logic: 'Decision step logic',\n case_wait: 'Case wait object',\n case_stage: 'Case stage object',\n case_sla: 'Case SLA object',\n case_process: 'Case process object',\n case_go_to: 'Case go-to object',\n case_object: 'Case object',\n set_automation: 'Set automation',\n return_automation: 'Return automation',\n for_each_automation: 'For each automation',\n call_automation: 'Call automation',\n append_automation: 'Append automation',\n automation_object: 'Automation object',\n ai_object: 'AI object'\n};\n"]}
1
+ {"version":3,"file":"default.js","sourceRoot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C,mBAAmB,EAAE,qBAAqB;IAC1C,eAAe,EAAE,iBAAiB;IAClC,iBAAiB,EAAE,mBAAmB;IACtC,iBAAiB,EAAE,mBAAmB;IACtC,SAAS,EAAE,WAAW;CACvB,CAAC","sourcesContent":["export default {\n // -----------------------------------------------------------------------------\n // Common translation entries\n // -----------------------------------------------------------------------------\n\n /* Nouns, Types, Terms, Phrases, etc... */\n yes: 'Yes',\n no: 'No',\n filters: 'Filters',\n actions: 'Actions',\n status: 'Status',\n additional_info: 'Additional info',\n search_placeholder_default: 'Search…',\n select_placeholder_default: 'Select…',\n description: 'Description',\n all: 'All',\n default: 'default',\n app_default: 'app default',\n sitewide: 'Sitewide',\n opens_in_a_new_tab: 'Opens in a new tab',\n summary: 'Summary',\n utilities: 'Utilities',\n search: 'Search',\n menu: 'menu',\n new: 'New',\n info: 'info',\n shortcuts: 'Shortcuts',\n label: 'Label',\n\n /* Verbs */\n remove: 'Remove',\n follow: 'Follow',\n unfollow: 'Unfollow',\n add: 'Add',\n cancel: 'Cancel',\n try_again: 'Try again',\n update: 'Update',\n submit: 'Submit',\n apply: 'Apply',\n select: 'Select',\n edit: 'Edit',\n preview: 'Preview',\n decline: 'Decline',\n delete: 'Delete',\n close: 'Close',\n activate: 'Activate',\n expand: 'Expand',\n collapse: 'Collapse',\n accept: 'Accept',\n clear: 'Clear',\n use: 'Use',\n undo: 'Undo',\n redo: 'Redo',\n filter: 'Filter',\n sort: 'Sort',\n group: 'Group',\n go: 'Go',\n configure: 'Configure',\n dismiss: 'Dismiss',\n due: 'Due',\n\n /* Static verb noun */\n view_all: 'View all',\n view_less: 'View less',\n show_more: 'Show more',\n show_less: 'Show less',\n show_all: 'Show all',\n clear_all: 'Clear all',\n link_open_in_tab_text: 'Open in tab',\n edit_details: 'Edit details',\n add_emoji: 'Add emoji',\n create_new: 'Create new',\n submit_and_open: 'Submit and open',\n add_condition: 'Add condition',\n\n /* Dynamic verb {noun} */\n open_noun: 'Open {0}',\n close_noun: 'Close {0}',\n view_all_noun: 'View all {0}',\n view_less_noun: 'View less {0}',\n expand_noun: 'Expand {0}',\n add_noun: 'Add {0}',\n collapse_noun: 'Collapse {0}',\n checked_noun: '{0} checked',\n selected_noun: '{0} selected',\n unselected_noun: '{0} unselected',\n use_input_value: 'Use {0}',\n preview_of_noun: 'Preview of {0}',\n go_to_noun: 'Go to {0}',\n insert_noun: 'Insert {0}',\n delete_noun: 'Delete {0}',\n actions_for: 'Actions for {0}',\n\n /* States */\n edited: 'Edited {0}',\n done: 'Done',\n uploading: 'Uploading',\n loading: 'Loading…',\n loaded: 'Loaded',\n submitting: 'Submitting…',\n no_items: 'No items',\n unknown_error: 'Unknown error',\n image_load_error: 'Error loading image',\n selected: 'Selected',\n selected_count: {\n zero: '{0} selected',\n one: '{0} selected',\n two: '{0} selected',\n few: '{0} selected',\n many: '{0} selected',\n other: '{0} selected'\n },\n completed: 'Completed',\n current: 'Current',\n previous: 'Previous',\n not_started: 'Not started',\n empty_value: 'Empty value',\n no_value: 'no value',\n delivered: 'Delivered',\n sent: 'Sent',\n active: 'Active',\n read_only: 'Read only',\n information: 'Information',\n error: 'Error',\n warning: 'Warning',\n success: 'Success',\n pass: 'Pass',\n fail: 'Fail',\n did_not_ask: 'Did not ask',\n\n /* Date and time */\n day_placeholder: 'DD',\n month_placeholder: 'MM',\n year_placeholder: 'YYYY',\n hour_placeholder: 'hh',\n minute_placeholder: 'mm',\n second_placeholder: 'ss',\n meridiem_value_am: 'AM',\n meridiem_value_pm: 'PM',\n week_placeholder: 'WW',\n seconds_text: 'Seconds',\n minutes_text: 'Minutes',\n hours_text: 'Hours',\n days_text: 'Days',\n time_text: 'Time',\n time_format_info: 'hh:mm:ss',\n date_quarter_q1: 'Q1 {0}',\n date_quarter_q2: 'Q2 {0}',\n date_quarter_q3: 'Q3 {0}',\n date_quarter_q4: 'Q4 {0}',\n time_unit: 'Time Unit',\n\n /* Count based types */\n attachments_count: {\n zero: 'No attachments',\n one: '{0} attachment',\n two: '{0} attachments',\n few: '{0} attachments',\n many: '{0} attachments',\n other: '{0} attachments'\n },\n results_count: {\n zero: 'No results',\n one: '{0} result',\n two: '{0} results',\n few: '{0} results',\n many: '{0} results',\n other: '{0} results'\n },\n recent_results_count: {\n zero: 'No recent results',\n one: '{0} recent result',\n two: '{0} recent results',\n few: '{0} recent results',\n many: '{0} recent results',\n other: '{0} recent results'\n },\n new_emails_count: {\n zero: 'No new emails',\n one: '{0} new email',\n two: '{0} new emails',\n few: '{0} new emails',\n many: '{0} new emails',\n other: '{0} new emails'\n },\n\n /* Pagination */\n pagination_page_of: 'Page {0} of {1}',\n pagination_next: 'Next',\n pagination_prev: 'Previous',\n\n /* Range */\n range_from_datetime: 'Since',\n range_to_datetime: 'Until',\n range_from_numeric: 'From',\n range_to_numeric: 'To',\n\n /* Miscellaneous */\n x_of_y: '{0} of {1}',\n\n // -----------------------------------------------------------------------------\n // {pkg}:{ComponentDir} entries\n // -----------------------------------------------------------------------------\n\n /* core:Link */\n preview_link_instruction: 'Press {0} and p to open this link in a preview.',\n\n /* core:LiveLog */\n polite_announcements: 'Polite Announcements',\n assertive_announcements: 'Assertive Announcements',\n\n /* core:SkipLinks */\n go_to_main_content: 'Go to main content',\n main_content: 'Main content',\n\n /* core:AppShell */\n app_shell_create: 'Create',\n app_shell_open_nav: 'Open navigation menu',\n app_shell_main_navigation_label: 'Main',\n shortcut_NextRegion: 'Next region',\n shortcut_PrevRegion: 'Previous region',\n app_shell_user_account: 'Account',\n\n /* core:ComboBox */\n combobox_open_close: 'Arrow down to open, press escape to close.',\n combobox_search_instructions: 'Start typing to search',\n combobox_open_list_button_a11y: 'Open combobox list',\n combobox_close_list_button_a11y: 'Close combobox list',\n multiselect_instructions: 'Arrow {0} from start to review selected items',\n selected_items: 'Selected items',\n\n /* core:Menu */\n menu_selection_instructions: 'Press enter to select items.',\n menu_item_expand_arrow: '{0}. Arrow right to expand.',\n menu_item_collapse_arrow: 'Arrow left to collapse.',\n menu_item_collapse_shift_space: 'Press shift space to collapse.',\n menu_item_shift_space_expand_collapse: '{0}. Press shift space to expand and collapse.',\n menu_option_list: 'Options list',\n menu_item_count: 'Contains {0} items.',\n menu_collapsed: '{0} collapsed',\n menu_expanded: '{0} expanded.',\n\n /* core:Modal */\n modal_minimize: 'Minimize modal',\n modal_maximize: 'Maximize modal',\n modal_dock: 'Dock modal',\n modal_close: 'Close modal',\n minimize: 'Minimize',\n maximize: 'Maximize',\n dock: 'Dock',\n\n /* core:Datetime */\n selected_date_a11y: 'Selected date:',\n open_calendar_button_a11y: 'Open calendar',\n close_calendar_button_a11y: 'Close calendar',\n open_time_button_a11y: 'Open time picker',\n close_time_button_a11y: 'Close time picker',\n set_current_date_and_time_a11y: 'Set current date and time',\n set_current_date_a11y: 'Set current date',\n clear_current_date_and_time: 'Clear current date and time',\n clear_current_date: 'Clear current date',\n picker_next_month: 'Next month',\n picker_prev_month: 'Previous month',\n picker_jump_to_month_and_year: 'Jump to month and year selection',\n calendar_assist: 'Use cursor keys to navigate dates',\n calendar: 'Calendar',\n choose_date: 'Choose date',\n choose_date_and_time: 'Choose date and time',\n choose_week: 'Choose week',\n\n /* core:Boolean */\n boolean_display_true_label: 'Yes',\n boolean_display_false_label: 'No',\n\n /* core:MultiStepForm */\n step_changed_to_name: 'Step changed to {0}',\n\n /* core:Number */\n measured_in: 'measured in {0}',\n\n /* core:Banner */\n banner_dismiss_button_label_a11y: 'Dismiss banner',\n\n /* core:File */\n file_upload_text_main: 'Drag and drop or {0}',\n file_upload_text_one: 'choose a file',\n file_upload_text_multiple: 'choose files',\n download_file: 'Download {0}',\n preview_file: 'Preview {0}',\n open_file_in_new_tab: 'Open {0} in new tab',\n\n /* core:Location */\n my_current_location_button_a11y: 'Use my current location',\n location_input_placeholder: 'Enter a location',\n location_not_found_text: 'Location not found',\n exact_location: 'Exact location',\n allow_location_permissions_text:\n 'To get current location, allow location permissions for this app',\n\n /* core:SearchInput */\n advanced_search: 'Advanced search',\n select_search_filter: 'Select search filter',\n recent_searches: 'Recent searches',\n clear_search: 'Clear search',\n search_instructions: 'Use arrow keys to move up and down the suggested results.',\n\n /* core:SummaryList */\n action_from_summarylist_heading: '{0} from {1}',\n selected_search_filter: 'Filter search by: {0}',\n\n /* work:CaseView */\n utilities_label: 'Utilities',\n utilities_summary: 'Utilities summary',\n expand_summary: 'Expand summary',\n collapse_summary: 'Collapse summary',\n expand_utilities_panel: 'Expand utilities',\n collapse_utilities_panel: 'Collapse utilities',\n primary_summary_fields: 'Primary summary fields',\n summary_fields: 'Summary fields',\n\n /* core:FormField */\n accept_suggestion_button_a11y: 'Accept AI suggestion',\n reject_suggestion_button_a11y: 'Reject AI suggestion',\n suggestion_info: 'Accept AI suggestion?',\n suggestion_assist:\n 'Either press Enter to accept the AI suggestion or edit the value to reject it',\n\n /* core:Phone Input */\n select_country_code: 'Select country code',\n enter_a_number: 'Enter a number',\n\n /* core:SkipLinks */\n skip_navigation_menu_label: 'Skip navigation menu',\n\n /* core:Tabs */\n tab_error_tooltip: '{0} has errors',\n\n /* core:LightBox */\n non_previewable: \"{0} file can't be previewed in your browser\",\n content_load_error: 'Error loading content',\n\n /* work:Assignments */\n assignments: 'Assignments',\n\n /* work:ArticleList */\n article_list_label_a11y: 'Article list',\n article_list_filter_label_a11y: 'Article lists filter',\n article_list_header_submit_label: 'Submit',\n clear_filters: 'Clear filters',\n suggest_article: 'Suggest article',\n suggested: 'Suggested',\n followed: 'Followed',\n buddy: 'Buddy',\n disclaimer: 'Disclaimer',\n references: 'References',\n result_available: 'Result available',\n ask: 'Ask',\n error_message: 'Unable to retrieve data at the moment. Please try again.',\n add_a_comment: 'Add a comment',\n\n /* work:Article */\n article_label_a11y: 'Article',\n article_related_links: 'Related links',\n article_more_like_this: 'More like this',\n article_was_this_helpful: 'Was this helpful?',\n article_thank_you_for_your_feedback: 'Thank you for your feedback',\n article_attachments: 'Attachments',\n likes: 'Likes',\n dislikes: 'Dislikes',\n like: 'Like',\n dislike: 'Dislike',\n\n /* work:CasePreview */\n close_preview: 'Close preview',\n\n /* work:Confirmation */\n confirmation_whats_next: \"What's next\",\n confirmation_open_tasks: 'Open tasks',\n\n /* work:Stakeholders */\n add_stakeholders: 'Add stakeholder',\n edit_stakeholder: 'Edit stakeholder',\n view_stakeholders: 'Stakeholders',\n stakeholders_role: 'Role',\n stakeholders: {\n zero: '{0} stakeholders',\n one: '{0} stakeholder',\n two: '{0} stakeholders',\n few: '{0} stakeholders',\n many: '{0} stakeholders',\n other: '{0} stakeholders'\n },\n\n /* work:Tags */\n edit_tags: 'Edit tags',\n tags: 'Tags',\n\n /* work:Glimpse */\n view_profile: 'View profile',\n\n /* work:Timeline */\n timeline_toolbar_sort_descending: 'Newest first',\n timeline_toolbar_sort_ascending: 'Oldest first',\n timeline_toolbar_group_date: 'By day',\n timeline_toolbar_group_monthyear: 'By month',\n timeline_toolbar_group_quarteryear: 'By quarter',\n timeline_toolbar_group_year: 'By year',\n timeline_toolbar_group_none: 'Off',\n\n /* work:AppAnnouncement */\n app_announcement_dismiss_button_label_a11y: 'Hide until next update',\n app_announcement_details_list_header: 'Announcements',\n app_announcement_whats_new_button_label: \"See what's new\",\n\n /* work:Stages */\n stages_label: 'Case stages',\n stages_see_full_lifecycle: 'See full lifecycle',\n stages_case_lifecycle: '{0} lifecycle',\n stages_default_case_lifecycle: 'Case lifecycle',\n stages_stage_label: 'Stage {0}, {1}',\n stages_description: 'Use horizontal arrow keys to navigate.',\n\n /* work:Predictions */\n predictions: 'Predictions',\n all_predictions: 'All predictions',\n learn_more: 'Learn more',\n\n /* work:TaskList */\n tasks_added: {\n zero: 'No tasks added',\n one: '{0} task added',\n two: '{0} tasks added',\n few: '{0} tasks added',\n many: '{0} tasks added',\n other: '{0} tasks added'\n },\n tasks_removed: {\n zero: 'No tasks removed',\n one: '{0} task removed',\n two: '{0} tasks removed',\n few: '{0} tasks removed',\n many: '{0} tasks removed',\n other: '{0} tasks removed'\n },\n\n /* work:InteractionNotification */\n interaction_time_expired: 'The time to accept the interaction has expired.',\n interaction_time_remaining: {\n zero: 'The time to accept the interaction has expired.',\n one: '{0} second remaining to accept the interaction.',\n two: '{0} seconds remaining to accept the interaction.',\n few: '{0} seconds remaining to accept the interaction.',\n many: '{0} seconds remaining to accept the interaction.',\n other: '{0} seconds remaining to accept the interaction.'\n },\n interaction_shortcut_goto_info: 'Press {0} to review.',\n interaction_shortcut_dismiss_info: 'Press {0} to dismiss.',\n shortcut_GoToIncomingInteraction: 'Go to incoming interaction popup.',\n shortcut_DismissIncomingInteraction: 'Dismiss incoming interaction popup.',\n\n /* rte:RichTextEditor */\n rte_heading_style: 'Heading style',\n rte_heading_style_normal: 'Normal',\n rte_heading_style_heading_1: 'Heading 1',\n rte_heading_style_heading_2: 'Heading 2',\n rte_heading_style_heading_3: 'Heading 3',\n rte_heading_style_heading_4: 'Heading 4',\n rte_bold: 'Bold',\n rte_italic: 'Italic',\n rte_strike_through: 'Strike-through',\n rte_cut: 'Cut',\n rte_copy: 'Copy',\n rte_paste: 'Paste',\n rte_bulleted_list: 'Bulleted list',\n rte_numbered_list: 'Numbered list',\n rte_indent: 'Indent',\n rte_unindent: 'Unindent',\n rte_table: 'Table',\n rte_link: 'Link',\n rte_image: 'Insert image',\n rte_invalid_html: 'Invalid HTML',\n rte_insert_field: 'Insert field',\n rte_invalid_url: 'Invalid URL',\n rte_change_text_format: 'Change text format to',\n rte_toggle_unordered_list: 'Toggle unordered list',\n rte_indent_selection: 'Indent selection',\n rte_unindent_selection: 'Unindent selection',\n rte_toolbar_instructions: 'Hit tab to enter the editor toolbar',\n rte_text_formatting_toolbar: 'Text formatting toolbar',\n rte_image_description_info: 'Provides an alternate (ALT) description for the visually impaired',\n rte_image_custom_size: 'Custom size',\n rte_width_in_pixels: 'Width (in pixels)',\n rte_height_in_pixels: 'Height (in pixels)',\n rte_image_settings: 'Image settings',\n rte_image_key_command: 'Press enter to edit the image',\n\n /* social:Email */\n expand_forwarded_message: 'Expand forwarded message',\n collapse_forwarded_message: 'Collapse forwarded message',\n copy_to: 'Copy to',\n subject_label: 'Subject: {0}',\n search_results: 'Search results',\n\n /* social:Feed */\n feed_new_post: 'Start a conversation',\n feed_new_post_submit: 'Post',\n feed_new_comment: 'New comment',\n feed_new_comment_submit: 'Comment',\n feed_attach_files: 'Attach files',\n feed_post_actions_menu: 'More',\n feed_edit_post: 'Edit post',\n feed_edit_comment: 'Edit comment',\n feed_context: 'in {0}',\n feed_liked_by: 'Liked by {0}',\n feed_likes: 'Likes',\n feed_private_post: 'Private post',\n feed_public_post: 'Public post',\n feed_recipients: 'Recipients',\n feed_like_label: 'Like',\n feed_unlike_label: 'Unlike',\n feed_post_likes: {\n zero: 'No likes',\n one: '{0} like',\n two: '{0} likes',\n few: '{0} likes',\n many: '{0} likes',\n other: '{0} likes'\n },\n feed_comment_label: 'Comment',\n feed_post_comments: {\n zero: 'No comments',\n one: '{0} comment',\n two: '{0} comments',\n few: '{0} comments',\n many: '{0} comments',\n other: '{0} comments'\n },\n feed_attachments_added: {\n zero: 'No attachments added',\n one: '{0} attachment added',\n two: '{0} attachments added',\n few: '{0} attachments added',\n many: '{0} attachments added',\n other: '{0} attachments added'\n },\n feed_attachments_removed: {\n zero: 'No attachments removed',\n one: '{0} attachment removed',\n two: '{0} attachments removed',\n few: '{0} attachments removed',\n many: '{0} attachments removed',\n other: '{0} attachments removed'\n },\n feed_post_liked: 'Post has been liked',\n feed_post_deliked: 'Post has been deliked',\n feed_post_removed: 'Post has been removed',\n feed_comment_removed: 'Comment has been removed',\n showing_num_of_num: 'Showing {0} of {1}',\n feed_new_post_added: {\n zero: 'No posts added',\n one: '{0} post added',\n two: '{0} posts added',\n few: '{0} posts added',\n many: '{0} posts added',\n other: '{0} posts added'\n },\n new_item_added: {\n zero: 'No items added',\n one: '{0} new item added',\n two: '{0} new items added',\n few: '{0} new items added',\n many: '{0} new items added',\n other: '{0} new items added'\n },\n loading_post: 'Loading post',\n mention_type: 'Mention a {0}',\n\n /* cs:Chat */\n scroll_to_latest_message: 'Scroll to latest message',\n scroll_to_unread_messages: 'Scroll to unread messages',\n suggested_replies_current_of_total: 'Suggested reply {0} of {1}',\n suggested_replies: 'Suggested replies',\n confidence_percentage: '{0}% confidence',\n next_suggested_reply: 'Next suggested reply',\n prev_suggested_reply: 'Previous suggested reply',\n dismiss_suggested_replies: 'Dismiss suggested replies',\n message_sent: 'Message sent',\n temporarilyUnavailable: 'Temporarily unavailable',\n available: 'Available',\n unavailable: 'Unavailable',\n authenticated: 'Authenticated',\n not_authenticated: 'Not authenticated',\n context: 'Context',\n chat_context: 'Chat context',\n bot: 'Bot',\n is_typing: '{0} is typing {1}',\n chat_message_at_timestamp: '{0} at {1}.',\n sender_replied_message: '{0} replied {1}',\n chat_attachments: '{0} with {1} attachments',\n chat_links: '{0} with {1} links',\n chat_message_status: 'Message {0}',\n opened: 'Opened',\n undeliverable: 'Undeliverable',\n new_message: 'New message',\n attachments: 'attachments',\n attachments_x_of_y: 'attachment {0} of {1}',\n edit_current_template: 'Edit suggested reply {0} of {1}',\n send_current_template: 'Send suggested reply {0} of {1}',\n expand_suggested_replies: 'Expand suggested replies',\n collapse_suggested_replies: 'Collapse suggested replies',\n replies_count: '{0} of {1}',\n no_suggestion: 'No suggestions',\n suggestion: 'Suggestion',\n suggested_reply_copied_to_input_field: 'Suggested reply copied to input field',\n dialogue: 'Dialogue',\n pega_genAI: 'Pega GenAI',\n suggest_reply: 'Suggest reply',\n\n /* cs:Email */\n unique_entities: {\n zero: 'No unique entities',\n one: '{0} unique entity',\n two: '{0} unique entities',\n few: '{0} unique entities',\n many: '{0} unique entities',\n other: '{0} unique entities'\n },\n more_count: '{0} more…',\n other_responses: 'Other responses',\n empty_search: 'Enter a search term',\n new_messages: 'New messages',\n earlier_transcripts: 'Earlier transcripts',\n send: 'Send',\n compose_label: 'Compose',\n save_as_draft: 'Save as draft',\n enter_message: 'Enter message',\n download: 'Download',\n close_chat_utility: 'Close chat utility',\n email_account: 'Email account',\n subject: 'Subject',\n to: 'To',\n from: 'From',\n cc: 'Cc',\n bcc: 'Bcc',\n date: 'Date',\n reply: 'Reply',\n reply_all: 'Reply all',\n response_templates: 'Response templates',\n forward: 'Forward',\n email: 'Email',\n email_message: 'Email message',\n email_filters: 'Email filters',\n unread_email_count: '{0} of {1} unread',\n priority: 'Priority',\n inbox: 'Inbox',\n insert: 'Insert',\n email_add_attachment: 'Add attachment, the maximum number of attachments allowed is {0}.',\n email_disable_attachment:\n 'Adding attachments are disabled, the maximum number of attachments allowed is {0}.',\n email_remove_attachment: 'Remove attachment',\n loading_email: 'Loading email',\n draft: {\n zero: 'No drafts',\n one: '{0} draft',\n two: '{0} drafts',\n few: '{0} drafts',\n many: '{0} drafts',\n other: '{0} drafts'\n },\n undelivered: 'Undelivered',\n drafts: 'drafts',\n unread: 'unread',\n\n /* cs:CallControlPanel */\n call_panel_heading: 'Pega call',\n call_panel_make_new_call: 'Make new call',\n call_panel_agent_status: 'Status',\n call_panel_pause_call_menu_item: 'Pause call',\n call_panel_resume_call_menu_item: 'Resume call',\n call_panel_mute_mic_menu_item: 'Mute microphone',\n call_panel_unmute_mic_menu_item: 'Unmute microphone',\n call_panel_call_on_hold: 'On hold {0}',\n call_panel_consult_call_menu_item: 'Consult',\n call_panel_transfer_call_menu_item: 'Transfer',\n call_panel_menu_item_call_only: 'Call only',\n call_panel_menu_item_call_with_interaction: 'Call and interaction',\n call_panel_send_dtmf_menu_item: 'Send DTMF',\n call_panel_conference_call_menu_item: 'Conference',\n call_panel_hangup_call_menu_item: 'Hang up',\n call_panel_disconnect_participant: 'Disconnect participant',\n call_panel_contacts_add_to_favorites: 'Add to favorites',\n call_panel_contacts_remove_from_favorites: 'Remove from favorites',\n call_panel_contacts_call_button_label: 'Call',\n call_panel_contacts_list_heading: 'Contacts',\n call_panel_contacts_favorites_heading: 'Favorites',\n call_panel_contacts_dial_pad_heading: 'Dial pad',\n call_panel_new_call_heading: 'New call',\n call_panel_interaction_transfer_heading: 'Transfer initiated',\n call_panel_interaction_transfer_complete_button_label: 'Complete transfer',\n call_panel_incoming_call: 'Incoming call…',\n call_panel_answer_call: 'Answer',\n\n call_panel_conference_heading: 'Conference call',\n call_panel_conference_call_and_interactions_heading: 'Conference by call and interaction',\n call_panel_consult_heading: 'Consult by call',\n call_panel_consult_call_and_interactions_heading: 'Consult by call and interaction',\n call_panel_transfer_heading: 'Transfer call',\n call_panel_transfer_call_and_interactions_heading: 'Transfer call and interaction',\n\n call_panel_conference_submit: 'Conference',\n call_panel_transfer_submit: 'Transfer',\n call_panel_consult_submit: 'Consult',\n\n call_panel_handover_reason_label: 'Reason',\n call_panel_handover_to_label: 'To',\n call_panel_handover_comments_label: 'Comments',\n call_panel_handover_call_option_label: 'Call option',\n call_panel_handover_call_only_option: 'Call only',\n call_panel_handover_call_and_interaction_option: 'Call and interaction',\n call_panel_handover_interaction_label: 'Interaction',\n call_panel_merge_call_menu_item: 'Merge',\n call_panel_handoff_call_menu_item: 'Hand off',\n call_panel_send_dtmf_heading: 'Send DTMF',\n call_panel_expand: 'Expand call control panel',\n call_panel_collapse: 'Collapse call control panel',\n call_panel_nav_label: 'Phone panel',\n\n /* cs:DialPad */\n dial_pad_keyboard: 'Dial pad keyboard',\n dial_pad_phone_number_input_label: 'Phone number input',\n dial_pad_call_button_label: 'Call {0}',\n\n /* cs:TaskManager */\n select_multiple: 'Select multiple',\n dismiss_case: 'Dismiss case',\n task_manager_add_case: 'Add case',\n task_manager_wrap_up: 'Wrap up',\n task_manager_cases: 'Cases',\n add_cases: 'Add cases',\n open_cases: 'Open cases',\n resolved_cases: 'Resolved cases',\n no_picker_items: 'No {0}',\n selected_picker_items: 'Selected {0}',\n no_selected_picker_items: 'No selected {0}',\n search_picker_items: 'Search {0}',\n case_picker_close: 'Close case picker',\n case_manager_overflow_menu: 'All cases',\n continue_label: 'Continue',\n continue_label_a11y: 'Continue with {0}',\n review_label: 'Review',\n review_label_a11y: 'Review {0}',\n dismiss_label: 'Dismiss',\n dismiss_label_a11y: 'Dismiss {0}',\n task_manager_picker_add_label: {\n zero: 'No items to add',\n one: 'Add {0} new item',\n two: 'Add {0} new items',\n few: 'Add {0} new items',\n many: 'Add {0} new items',\n other: 'Add {0} new items'\n },\n show_detected_entities: 'Show detected entities',\n nothing_detected_yet: 'Nothing detected yet',\n ai_detected_entities: 'AI detected entities',\n close_conversation: 'Close conversation',\n shortcut_AddTask: 'Open task picker',\n shortcut_WrapUp: 'Wrap up interaction',\n live_transcript: 'Live transcript',\n open_live_transcript: 'Open live transcript',\n close_live_transcript: 'Close live transcript',\n download_live_transcript: 'Download live transcript',\n transcripts: 'Transcripts',\n verbatim: 'Verbatim',\n dialog: 'Dialog',\n download_transcript: 'Download transcript',\n follow_up_tasks: 'Follow-up tasks',\n add_follow_up_task: 'Add follow-up task',\n agents_utterance: \"Agent's commitment in context\",\n detected_entities: 'Detected entities',\n\n /* cs:FollowUpTask */\n due_on: 'Due on {0}',\n\n /* cs:Sentiment */\n sentiment_positive: 'Positive',\n sentiment_negative: 'Negative',\n sentiment_neutral: 'Neutral',\n\n /* cs:IntelligentGuidance */\n no_recommendations: 'No recommendations',\n items_added_to_previous_list: 'Items added to previous list',\n items_added_to_current_list: 'Items added to current list',\n\n /* condition-builder:ConditionBuilder */\n condition_builder_advanced_condition_label: 'Advanced condition',\n condition_builder_advanced_condition_placeholder: 'Advanced condition',\n condition_builder_advanced_mode_button_label: 'Advanced mode',\n condition_builder_basic_mode_button_label: 'Basic mode',\n condition_builder_advanced_mode_button_aria_label: 'Switch to advanced mode',\n condition_builder_basic_mode_button_aria_label: 'Switch to basic mode',\n condition_builder_mode_switch: 'Mode switched',\n condition_builder_advanced_condition_tooltip:\n 'A logical expression representing an advanced condition. Use numbers like 1,2,3,… to represent different condition rows. Use {0} operators and parentheses to construct advanced conditions. Example: {1}',\n condition_builder_condition_select_info_default: 'No selection',\n condition_builder_possible_values_label: 'Values',\n condition_builder_possible_values_error: 'Error retrieving values',\n condition_builder_multi_selection_text_default: 'Select values',\n condition_builder_single_selection_text_default: 'Select value',\n condition_builder_switch_banner_text:\n 'Switching from advanced mode can reset all AND/OR/NOT operators. Do you want to continue?',\n condition_builder_confirm_button_label: 'OK',\n condition_builder_empty_selection_error_text: 'No selection',\n condition_builder_empty_value_text: 'Empty value',\n condition_builder_compare_with: 'Compare with {0}',\n condition_builder_compare_with_another_field: 'Another field',\n condition_builder_compare_with_parameter: 'Parameter',\n condition_builder_compare_with_relative_date: 'Relative date',\n condition_builder_compare_with_text_value: 'Text value',\n condition_builder_compare_with_numeric_value: 'Numeric value',\n condition_builder_compare_with_date_value: 'Date value',\n condition_builder_compare_with_time_value: 'Time value',\n condition_builder_invalid_time_period: 'Invalid time period',\n condition_builder_invalid_relative_date: 'Invalid relative date',\n condition_builder_invalid_value: 'Invalid value',\n condition_builder_invalid_values: 'Invalid values',\n condition_builder_invalid_time: 'Invalid time',\n condition_builder_invalid_date: 'Invalid date',\n condition_builder_invalid_number: 'Invalid number',\n condition_builder_invalid_date_range: 'Invalid date range',\n condition_builder_invalid_time_range: 'Invalid time range',\n condition_builder_invalid_number_range: 'Invalid range',\n condition_builder_select_placeholder: 'Select…',\n condition_builder_hour_number_of_day: '{0} (hour of day)',\n condition_builder_rhs_with_time_only_input: 'Rhs with Time only input',\n condition_builder_rhs_with_date_only_input: 'Rhs with Date only input',\n condition_builder_rhs_with_date_time_input: 'Rhs with Date Time input',\n condition_builder_rhs_with_csv_input: 'Rhs with csv input',\n condition_builder_no_selection: 'No selection',\n condition_builder_enter_csv_placeholder: 'Enter comma separated values',\n condition_builder_day_number_of_month: {\n zero: '{0}th day of the month',\n one: '{0}st day of the month',\n two: '{0}nd day of the month',\n few: '{0}rd day of the month',\n many: '{0}th day of the month',\n other: '{0}th day of the month'\n },\n condition_builder_year: 'Year(s)',\n condition_builder_quarter: 'Quarter(s)',\n condition_builder_month: 'Month(s)',\n condition_builder_week: 'Week(s)',\n condition_builder_day: 'Day(s)',\n condition_builder_hour: 'Hour(s)',\n condition_builder_minute: 'Minute(s)',\n condition_builder_second: 'Second(s)',\n condition_builder_date_function_hour_of_day: 'Hour of day',\n condition_builder_date_function_month_of_year: 'Month of year',\n condition_builder_date_function_day_of_month: 'Day of month',\n condition_builder_date_function_day_of_week: 'Day of week',\n condition_builder_date_part: 'Date part',\n condition_builder_current_second: 'Current second',\n condition_builder_current_minute: 'Current minute',\n condition_builder_current_hour: 'Current hour',\n condition_builder_current_day: 'Current day',\n condition_builder_current_week: 'Current week',\n condition_builder_current_month: 'Current month',\n condition_builder_current_quarter: 'Current quarter',\n condition_builder_current_year: 'Current year',\n condition_builder_last_X_seconds: {\n zero: 'Current second',\n one: 'Last second',\n two: 'Last {0} seconds',\n few: 'Last {0} seconds',\n many: 'Last {0} seconds',\n other: 'Last {0} seconds'\n },\n condition_builder_last_X_minutes: {\n zero: 'Current minute',\n one: 'Last minute',\n two: 'Last {0} minutes',\n few: 'Last {0} minutes',\n many: 'Last {0} minutes',\n other: 'Last {0} minutes'\n },\n condition_builder_last_X_hours: {\n zero: 'Current hour',\n one: 'Last hour',\n two: 'Last {0} hours',\n few: 'Last {0} hours',\n many: 'Last {0} hours',\n other: 'Last {0} hours'\n },\n condition_builder_last_X_days: {\n zero: 'Current day',\n one: 'Last day',\n two: 'Last {0} days',\n few: 'Last {0} days',\n many: 'Last {0} days',\n other: 'Last {0} days'\n },\n condition_builder_last_X_weeks: {\n zero: 'Current week',\n one: 'Last week',\n two: 'Last {0} weeks',\n few: 'Last {0} weeks',\n many: 'Last {0} weeks',\n other: 'Last {0} weeks'\n },\n condition_builder_last_X_months: {\n zero: 'Current month',\n one: 'Last month',\n two: 'Last {0} months',\n few: 'Last {0} months',\n many: 'Last {0} months',\n other: 'Last {0} months'\n },\n condition_builder_last_X_quarters: {\n zero: 'Current quarter',\n one: 'Last quarter',\n two: 'Last {0} quarters',\n few: 'Last {0} quarters',\n many: 'Last {0} quarters',\n other: 'Last {0} quarters'\n },\n condition_builder_last_X_years: {\n zero: 'Current year',\n one: 'Last year',\n two: 'Last {0} years',\n few: 'Last {0} years',\n many: 'Last {0} years',\n other: 'Last {0} years'\n },\n condition_builder_next_X_seconds: {\n zero: 'Current second',\n one: 'Next second',\n two: 'Next {0} seconds',\n few: 'Next {0} seconds',\n many: 'Next {0} seconds',\n other: 'Next {0} seconds'\n },\n condition_builder_next_X_minutes: {\n zero: 'Current minute',\n one: 'Next minute',\n two: 'Next {0} minutes',\n few: 'Next {0} minutes',\n many: 'Next {0} minutes',\n other: 'Next {0} minutes'\n },\n condition_builder_next_X_hours: {\n zero: 'Current hour',\n one: 'Next hour',\n two: 'Next {0} hours',\n few: 'Next {0} hours',\n many: 'Next {0} hours',\n other: 'Next {0} hours'\n },\n condition_builder_next_X_days: {\n zero: 'Current day',\n one: 'Next day',\n two: 'Next {0} days',\n few: 'Next {0} days',\n many: 'Next {0} days',\n other: 'Next {0} days'\n },\n condition_builder_next_X_weeks: {\n zero: 'Current week',\n one: 'Next week',\n two: 'Next {0} weeks',\n few: 'Next {0} weeks',\n many: 'Next {0} weeks',\n other: 'Next {0} weeks'\n },\n condition_builder_next_X_months: {\n zero: 'Current month',\n one: 'Next month',\n two: 'Next {0} months',\n few: 'Next {0} months',\n many: 'Next {0} months',\n other: 'Next {0} months'\n },\n condition_builder_next_X_quarters: {\n zero: 'Current quarter',\n one: 'Next quarter',\n two: 'Next {0} quarters',\n few: 'Next {0} quarters',\n many: 'Next {0} quarters',\n other: 'Next {0} quarters'\n },\n condition_builder_next_X_years: {\n zero: 'Current year',\n one: 'Next year',\n two: 'Next {0} years',\n few: 'Next {0} years',\n many: 'Next {0} years',\n other: 'Next {0} years'\n },\n condition_builder_previous_X_seconds: {\n zero: 'Current second',\n one: 'Previous second',\n two: 'Previous {0} seconds',\n few: 'Previous {0} seconds',\n many: 'Previous {0} seconds',\n other: 'Previous {0} seconds'\n },\n condition_builder_previous_X_minutes: {\n zero: 'Current minute',\n one: 'Previous minute',\n two: 'Previous {0} minutes',\n few: 'Previous {0} minutes',\n many: 'Previous {0} minutes',\n other: 'Previous {0} minutes'\n },\n condition_builder_previous_X_hours: {\n zero: 'Current hour',\n one: 'Previous hour',\n two: 'Previous {0} hours',\n few: 'Previous {0} hours',\n many: 'Previous {0} hours',\n other: 'Previous {0} hours'\n },\n condition_builder_previous_X_days: {\n zero: 'Current day',\n one: 'Previous day',\n two: 'Previous {0} days',\n few: 'Previous {0} days',\n many: 'Previous {0} days',\n other: 'Previous {0} days'\n },\n condition_builder_previous_X_weeks: {\n zero: 'Current week',\n one: 'Previous week',\n two: 'Previous {0} weeks',\n few: 'Previous {0} weeks',\n many: 'Previous {0} weeks',\n other: 'Previous {0} weeks'\n },\n condition_builder_previous_X_months: {\n zero: 'Current month',\n one: 'Previous month',\n two: 'Previous {0} months',\n few: 'Previous {0} months',\n many: 'Previous {0} months',\n other: 'Previous {0} months'\n },\n condition_builder_previous_X_quarters: {\n zero: 'Current quarter',\n one: 'Previous quarter',\n two: 'Previous {0} quarters',\n few: 'Previous {0} quarters',\n many: 'Previous {0} quarters',\n other: 'Previous {0} quarters'\n },\n condition_builder_previous_X_years: {\n zero: 'Current year',\n one: 'Previous year',\n two: 'Previous {0} years',\n few: 'Previous {0} years',\n many: 'Previous {0} years',\n other: 'Previous {0} years'\n },\n condition_builder_time_period_label: 'Time period',\n condition_builder_time_period_last: 'Last',\n condition_builder_time_period_current: 'Current',\n condition_builder_time_period_previous: 'Previous',\n condition_builder_time_period_next: 'Next',\n condition_builder_value_label: 'Value',\n condition_builder_field_label: 'Field',\n condition_builder_comparator_label: 'Conditional operator',\n\n /* condition-builder:PromotedFilters */\n promoted_filters_clear_all_button_label: 'Clear all filters',\n\n /* build:AppShell */\n dev_mode: 'Dev mode',\n expand_navigation: 'Expand navigation',\n collapse_navigation: 'Collapse navigation',\n switch_to: 'Switch to…',\n expand_search: 'Expand search',\n collapse_search: 'Collapse search',\n\n /* build:BranchButton */\n branch_with_no_changes: '{0} with no changes',\n branch_with_no_potential_conflicts: '{0} with no potential conflicts and {1} unmerged changes',\n branch_with_potential_conflicts: '{0} with potential conflicts',\n\n /* build:Lifecycle */\n parallel: 'Parallel',\n stage: 'Stage',\n alternate_stage: 'Alternate stage',\n add_stage: 'Add stage',\n add_process: 'Add process',\n add_alternate_stage: 'Add alternate stage',\n stage_name: '{0} stage',\n process_name: '{0} process',\n step_name: '{0} step',\n item_error: '{0} error',\n step_name_error: '{0} step has configuration error',\n stage_name_error: '{0} stage has configuration error',\n process_name_error: '{0} process has configuration error',\n\n /* build:FlowModeller */\n add_node: 'Add node',\n search_nodes: 'Search nodes',\n delete_step: 'This step has multiple outcomes, are you sure want to delete this step?',\n delete_decision_step:\n 'Select outcome that you want to retain. The remaining highlighted outcomes will be deleted',\n delete_step_title: 'Delete step',\n delete_step_outcome: 'Outcome to keep',\n delete_all_outcomes: 'None (delete all outcomes)',\n delete_step_error: 'This step can\\'t be deleted as the outcome selected has a \"Go to\" step.',\n delete_referenced_step_error:\n 'This step can\\'t be deleted as it is referenced by a \"Go to\" step.',\n delete_connector_error:\n 'Connector cannot be deleted unless Goto step is deleted from all branches',\n\n /* build:Workbench */\n zoom_level: 'Zoom level',\n close_configuration_panel: 'Close configuration panel',\n\n /* build:ObjectSelect */\n clear_object_summary: 'Clear {0} selection',\n create_in_new_tab: 'Create new, opens in new tab',\n\n /* build:ExpressionBuilder */\n expression_editor: 'Expression editor',\n output_parameters: 'Output parameters',\n input_parameters: 'Input parameters',\n\n /* build:MobileBuildSummary */\n no_app_build: 'There is no app build',\n build_app: 'Build app',\n build_in_progress: 'Building…',\n rebuild_app: 'Rebuild app',\n download_app: 'Download app',\n qr_code_not_available: 'No QR code available yet',\n qr_code: 'QR code',\n\n /* wss:AppHeader */\n app_header_notifications_empty: 'No notifications',\n app_header_notifications_loading: 'Loading notifications',\n open_app_header_notifications: 'Open notifications',\n open_app_header_drawer: 'Open navigation menu',\n\n /* tools: PreviewShell */\n preview_frame: 'Preview frame',\n open_in_new_window_text: 'Open in new window',\n more_options: 'More options',\n dev_tools: 'dev tools',\n\n /* tools: DevTools */\n active_session_info: 'Debugging for this session is active in another window',\n continue_debugging: 'Continue debugging',\n\n /* Launchpad: IconTiles */\n action_task: 'Action task',\n task_object: 'Task object',\n view_rule: 'View rule',\n system_rule: 'System rule',\n record_rule: 'Record rule',\n portal_rule: 'Portal rule',\n persona_rule: 'Persona rule',\n permission_rule: 'Permission rule',\n live_data_rule: 'Live data rule',\n integration_system_rule: 'Integration system rule',\n insight_rule: 'Insight rule',\n field_rule: 'Field rule',\n data_page_rule: 'Data page rule',\n connector_rule: 'Connector rule',\n configuration_rule: 'Configuration rule',\n authenticate_rule: 'Authenticate rule',\n when_logic: 'When logic',\n validation_logic: 'Validation logic',\n function_logic: 'Function logic',\n decision_step_logic: 'Decision step logic',\n case_wait: 'Case wait object',\n case_stage: 'Case stage object',\n case_sla: 'Case SLA object',\n case_process: 'Case process object',\n case_go_to: 'Case go-to object',\n case_object: 'Case object',\n set_automation: 'Set automation',\n return_automation: 'Return automation',\n for_each_automation: 'For each automation',\n call_automation: 'Call automation',\n append_automation: 'Append automation',\n automation_object: 'Automation object',\n ai_object: 'AI object'\n};\n"]}
@@ -4,6 +4,10 @@ export declare const getHoverColors: (color: string) => {
4
4
  background: string | undefined;
5
5
  foreground: string | undefined;
6
6
  };
7
+ export declare const getActiveColors: (color: string) => {
8
+ background: string | undefined;
9
+ foreground: string | undefined;
10
+ };
7
11
  declare const wcagContrast: Record<keyof ContrastScores | 'AANonText', number>;
8
12
  export declare const readableHue: (color1: string, color2: string, { mode, level }?: {
9
13
  mode?: "both" | "dark" | "light" | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/styles/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAYtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAK/D,eAAO,MAAM,cAAc,UAAW,MAAM;;;CAa3C,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,EAAE,MAAM,CASpE,CAAC;AAEF,eAAO,MAAM,WAAW,WACd,MAAM,UACN,MAAM;;;MAKb,MAqDF,CAAC;AAEF,eAAO,MAAM,SAAS,4GAIpB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,CAAC;AAWrE,eAAO,MAAM,iBAAiB,iBAAkB,MAAM,iBAAiB,MAAM,GAAG,MAAM,6BAkBrF,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/styles/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAYtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAoB/D,eAAO,MAAM,cAAc,UAAW,MAAM;;;CAE3C,CAAC;AAEF,eAAO,MAAM,eAAe,UAAW,MAAM;;;CAE5C,CAAC;AAEF,QAAA,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,EAAE,MAAM,CASpE,CAAC;AAEF,eAAO,MAAM,WAAW,WACd,MAAM,UACN,MAAM;;;MAKb,MAqDF,CAAC;AAEF,eAAO,MAAM,SAAS,4GAIpB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,CAAC;AAWrE,eAAO,MAAM,iBAAiB,iBAAkB,MAAM,iBAAiB,MAAM,GAAG,MAAM,6BAkBrF,CAAC"}
@@ -1,14 +1,20 @@
1
1
  import { parseToHsl, lighten, readableColor, darken, getContrast, hsl, modularScale, stripUnit, math } from 'polished';
2
2
  import { tryCatch } from '../utils';
3
- export const getHoverColors = (color) => {
3
+ const getBackgroundForegroundColors = (color, delta) => {
4
4
  const backgroundLightness = tryCatch(() => parseToHsl(color).lightness, () => 1);
5
- let hoverColor = tryCatch(() => lighten(0.1, color));
6
- let hoverContrastColor = tryCatch(() => readableColor(lighten(0.1, color)));
5
+ let background = tryCatch(() => lighten(delta, color));
6
+ let foreground = tryCatch(() => readableColor(lighten(delta, color)));
7
7
  if (backgroundLightness > 0.35) {
8
- hoverColor = tryCatch(() => darken(0.1, color));
9
- hoverContrastColor = tryCatch(() => readableColor(darken(0.1, color)));
8
+ background = tryCatch(() => darken(delta, color));
9
+ foreground = tryCatch(() => readableColor(darken(delta, color)));
10
10
  }
11
- return { background: hoverColor, foreground: hoverContrastColor };
11
+ return { background, foreground };
12
+ };
13
+ export const getHoverColors = (color) => {
14
+ return getBackgroundForegroundColors(color, 0.1);
15
+ };
16
+ export const getActiveColors = (color) => {
17
+ return getBackgroundForegroundColors(color, 0.2);
12
18
  };
13
19
  const wcagContrast = {
14
20
  // https://www.w3.org/TR/WCAG21/#contrast-minimum
@@ -1 +1 @@
1
- {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/styles/utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,OAAO,EACP,aAAa,EACb,MAAM,EACN,WAAW,EACX,GAAG,EACH,YAAY,EACZ,SAAS,EACT,IAAI,EACL,MAAM,UAAU,CAAC;AAIlB,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,KAAa,EAAE,EAAE;IAC9C,MAAM,mBAAmB,GAAG,QAAQ,CAClC,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,SAAS,EACjC,GAAG,EAAE,CAAC,CAAC,CACR,CAAC;IACF,IAAI,UAAU,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;IACrD,IAAI,kBAAkB,GAAG,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or,\n darken,\n getContrast,\n hsl,\n modularScale,\n stripUnit,\n math\n} from 'polished';\nimport type { ContrastScores } from 'polished/lib/types/color';\nimport type { ModularScaleRatio } from 'polished/lib/types/modularScaleRatio';\n\nimport { tryCatch } from '../utils';\n\nexport const getHoverColors = (color: string) => {\n const backgroundLightness = tryCatch(\n () => parseToHsl(color).lightness,\n () => 1\n );\n let hoverColor = tryCatch(() => lighten(0.1, color));\n let hoverContrastColor = tryCatch(() => readableColor(lighten(0.1, color)));\n if (backgroundLightness > 0.35) {\n hoverColor = tryCatch(() => darken(0.1, color));\n hoverContrastColor = tryCatch(() => readableColor(darken(0.1, color)));\n }\n\n return { background: hoverColor, foreground: hoverContrastColor };\n};\n\nconst wcagContrast: Record<keyof ContrastScores | 'AANonText', number> = {\n // https://www.w3.org/TR/WCAG21/#contrast-minimum\n AA: 4.5,\n AALarge: 3,\n // https://www.w3.org/TR/WCAG21/#contrast-enhanced\n AAA: 7,\n AAALarge: 4.5,\n // https://www.w3.org/TR/WCAG21/#non-text-contrast\n AANonText: 3\n};\n\nexport const readableHue = (\n color1: string,\n color2: string,\n {\n mode = 'both',\n level = 'AA'\n }: { mode?: 'light' | 'dark' | 'both'; level?: keyof typeof wcagContrast | number } = {}\n): string => {\n const minContrast = typeof level === 'string' ? wcagContrast[level] : level;\n\n if (getContrast(color1, color2) >= minContrast) return color1;\n\n const { lightness, ...hueSaturation } = parseToHsl(color1);\n\n let shouldLighten = true;\n let shouldDarken = true;\n\n let lightEnough = '';\n let darkEnough = '';\n\n for (let i = 0; i <= 1; i += 0.01) {\n if (shouldLighten) {\n const lightented = hsl({\n ...hueSaturation,\n lightness: Math.min(lightness + i, 1)\n });\n\n if (getContrast(lightented, color2) >= minContrast) {\n if (mode !== 'dark') return lightented;\n\n shouldLighten = false;\n lightEnough = lightented;\n }\n\n if (lightness + i >= 1) shouldLighten = false;\n }\n\n if (shouldDarken) {\n const darkened = hsl({\n ...hueSaturation,\n lightness: Math.max(lightness - i, 0)\n });\n\n if (getContrast(darkened, color2) >= minContrast) {\n if (mode !== 'light') return darkened;\n\n shouldDarken = false;\n darkEnough = darkened;\n }\n\n if (lightness - i <= 0) shouldDarken = false;\n }\n\n if (!shouldLighten && !shouldDarken) break;\n }\n\n if (lightEnough) return lightEnough;\n if (darkEnough) return darkEnough;\n\n return readableColor(color2);\n};\n\nexport const omitProps = <O extends object = Record<PropertyKey, unknown>>(\n ...props: [prop: keyof O, ...props: (keyof O)[]]\n): StyledConfig<O> => ({\n shouldForwardProp: (prop, defaultValidatorFn) => !props.includes(prop) && defaultValidatorFn(prop)\n});\n\nexport type FontSize = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';\nconst stepsMap = {\n xxs: -2,\n xs: -1,\n s: 0,\n m: 1,\n l: 2,\n xl: 3,\n xxl: 4\n};\n\nexport const calculateFontSize = (baseFontSize: string, baseFontScale: string | number) => {\n return Object.fromEntries(\n Object.entries(stepsMap).map(([size, steps]) => {\n const calculation = tryCatch(\n () =>\n baseFontScale === 'linear'\n ? math(`${baseFontSize} + (${steps} * 0.0625rem)`)\n : modularScale(steps, baseFontSize, baseFontScale as ModularScaleRatio),\n () => baseFontSize\n );\n\n if (size === 'xs' && Number.parseFloat(`${stripUnit(calculation)}`) < 0.75) {\n return [size, `max(calc((${baseFontSize} + 12px) / 2), 12px)`];\n }\n\n return [size, `max(${calculation}, 12px)`];\n })\n ) as Record<FontSize, string>;\n};\n"]}
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/styles/utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,OAAO,EACP,aAAa,EACb,MAAM,EACN,WAAW,EACX,GAAG,EACH,YAAY,EACZ,SAAS,EACT,IAAI,EACL,MAAM,UAAU,CAAC;AAIlB,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,MAAM,6BAA6B,GAAG,CAAC,KAAa,EAAE,KAAa,EAAE,EAAE;IACrE,MAAM,mBAA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AK,eAAe,CAAC;YAClD,CAAC,CAAC,YAAY,CAAC,KAAK,EAAE,YAAY,EAAE,aAAkC,CAAC,EAC3E,GAAG,EAAE,CAAC,YAAY,CACnB,CAAC;QAEF,IAAI,IAAI,KAAK,IAAI,IAAI,MAAM,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,WAAW,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE;YAC1E,OAAO,CAAC,IAAI,EAAE,aAAa,YAAY,sBAAsB,CAAC,CAAC;SAChE;QAED,OAAO,CAAC,IAAI,EAAE,OAAO,WAAW,SAAS,CAAC,CAAC;IAC7C,CAAC,CAAC,CACyB,CAAC;AAChC,CAAC,CAAC","sourcesContent":["import type { StyledConfig } from 'styled-components';\nimport {\n parseToHsl,\n lighten,\n readableColor,\n darken,\n getContrast,\n hsl,\n modularScale,\n stripUnit,\n math\n} from 'polished';\nimport type { ContrastScores } from 'polished/lib/types/color';\nimport type { ModularScaleRatio } from 'polished/lib/types/modularScaleRatio';\n\nimport { tryCatch } from '../utils';\n\nconst getBackgroundForegroundColors = (color: string, delta: number) => {\n const backgroundLightness = tryCatch(\n () => parseToHsl(color).lightness,\n () => 1\n );\n let background = tryCatch(() => lighten(delta, color));\n let foreground = tryCatch(() => readableColor(lighten(delta, color)));\n if (backgroundLightness > 0.35) {\n background = tryCatch(() => darken(delta, color));\n foreground = tryCatch(() => readableColor(darken(delta, color)));\n }\n\n return { background, foreground };\n};\n\nexport const getHoverColors = (color: string) => {\n return getBackgroundForegroundColors(color, 0.1);\n};\n\nexport const getActiveColors = (color: string) => {\n return getBackgroundForegroundColors(color, 0.2);\n};\n\nconst wcagContrast: Record<keyof ContrastScores | 'AANonText', number> = {\n // https://www.w3.org/TR/WCAG21/#contrast-minimum\n AA: 4.5,\n AALarge: 3,\n // https://www.w3.org/TR/WCAG21/#contrast-enhanced\n AAA: 7,\n AAALarge: 4.5,\n // https://www.w3.org/TR/WCAG21/#non-text-contrast\n AANonText: 3\n};\n\nexport const readableHue = (\n color1: string,\n color2: string,\n {\n mode = 'both',\n level = 'AA'\n }: { mode?: 'light' | 'dark' | 'both'; level?: keyof typeof wcagContrast | number } = {}\n): string => {\n const minContrast = typeof level === 'string' ? wcagContrast[level] : level;\n\n if (getContrast(color1, color2) >= minContrast) return color1;\n\n const { lightness, ...hueSaturation } = parseToHsl(color1);\n\n let shouldLighten = true;\n let shouldDarken = true;\n\n let lightEnough = '';\n let darkEnough = '';\n\n for (let i = 0; i <= 1; i += 0.01) {\n if (shouldLighten) {\n const lightented = hsl({\n ...hueSaturation,\n lightness: Math.min(lightness + i, 1)\n });\n\n if (getContrast(lightented, color2) >= minContrast) {\n if (mode !== 'dark') return lightented;\n\n shouldLighten = false;\n lightEnough = lightented;\n }\n\n if (lightness + i >= 1) shouldLighten = false;\n }\n\n if (shouldDarken) {\n const darkened = hsl({\n ...hueSaturation,\n lightness: Math.max(lightness - i, 0)\n });\n\n if (getContrast(darkened, color2) >= minContrast) {\n if (mode !== 'light') return darkened;\n\n shouldDarken = false;\n darkEnough = darkened;\n }\n\n if (lightness - i <= 0) shouldDarken = false;\n }\n\n if (!shouldLighten && !shouldDarken) break;\n }\n\n if (lightEnough) return lightEnough;\n if (darkEnough) return darkEnough;\n\n return readableColor(color2);\n};\n\nexport const omitProps = <O extends object = Record<PropertyKey, unknown>>(\n ...props: [prop: keyof O, ...props: (keyof O)[]]\n): StyledConfig<O> => ({\n shouldForwardProp: (prop, defaultValidatorFn) => !props.includes(prop) && defaultValidatorFn(prop)\n});\n\nexport type FontSize = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';\nconst stepsMap = {\n xxs: -2,\n xs: -1,\n s: 0,\n m: 1,\n l: 2,\n xl: 3,\n xxl: 4\n};\n\nexport const calculateFontSize = (baseFontSize: string, baseFontScale: string | number) => {\n return Object.fromEntries(\n Object.entries(stepsMap).map(([size, steps]) => {\n const calculation = tryCatch(\n () =>\n baseFontScale === 'linear'\n ? math(`${baseFontSize} + (${steps} * 0.0625rem)`)\n : modularScale(steps, baseFontSize, baseFontScale as ModularScaleRatio),\n () => baseFontSize\n );\n\n if (size === 'xs' && Number.parseFloat(`${stripUnit(calculation)}`) < 0.75) {\n return [size, `max(calc((${baseFontSize} + 12px) / 2), 12px)`];\n }\n\n return [size, `max(${calculation}, 12px)`];\n })\n ) as Record<FontSize, string>;\n};\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/cosmos-react-core",
3
- "version": "7.0.0-build.6.4",
3
+ "version": "7.0.0-build.7.0",
4
4
  "description": "Cosmos is a visual design system and UI component collection. Its goal is to empower application developers in their pursuit to create engaging and rewarding user experiences.",
5
5
  "repository": {
6
6
  "type": "git",