@transferwise/components 46.160.5 → 46.160.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js +2 -0
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.js.map +1 -1
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs +2 -0
- package/build/ExpressiveMoneyInput/AmountInput/AmountInput.mjs.map +1 -1
- package/build/ExpressiveMoneyInput/hooks/useInputStyle.js +1 -1
- package/build/ExpressiveMoneyInput/hooks/useInputStyle.js.map +1 -1
- package/build/ExpressiveMoneyInput/hooks/useInputStyle.mjs +1 -1
- package/build/ExpressiveMoneyInput/hooks/useInputStyle.mjs.map +1 -1
- package/build/Inputs/Input/Input.js +1 -0
- package/build/Inputs/Input/Input.js.map +1 -1
- package/build/Inputs/Input/Input.mjs +1 -0
- package/build/Inputs/Input/Input.mjs.map +1 -1
- package/build/Inputs/TextArea/TextArea.js +1 -0
- package/build/Inputs/TextArea/TextArea.js.map +1 -1
- package/build/Inputs/TextArea/TextArea.mjs +1 -0
- package/build/Inputs/TextArea/TextArea.mjs.map +1 -1
- package/build/MoneyInput/MoneyInput.js +1 -0
- package/build/MoneyInput/MoneyInput.js.map +1 -1
- package/build/MoneyInput/MoneyInput.mjs +1 -0
- package/build/MoneyInput/MoneyInput.mjs.map +1 -1
- package/build/PhoneNumberInput/PhoneNumberInput.js +3 -2
- package/build/PhoneNumberInput/PhoneNumberInput.js.map +1 -1
- package/build/PhoneNumberInput/PhoneNumberInput.messages.js +3 -0
- package/build/PhoneNumberInput/PhoneNumberInput.messages.js.map +1 -1
- package/build/PhoneNumberInput/PhoneNumberInput.messages.mjs +3 -0
- package/build/PhoneNumberInput/PhoneNumberInput.messages.mjs.map +1 -1
- package/build/PhoneNumberInput/PhoneNumberInput.mjs +3 -2
- package/build/PhoneNumberInput/PhoneNumberInput.mjs.map +1 -1
- package/build/Prompt/InfoPrompt/InfoPrompt.js +13 -6
- package/build/Prompt/InfoPrompt/InfoPrompt.js.map +1 -1
- package/build/Prompt/InfoPrompt/InfoPrompt.mjs +13 -6
- package/build/Prompt/InfoPrompt/InfoPrompt.mjs.map +1 -1
- package/build/Prompt/PrimitivePrompt/PrimitivePrompt.js +1 -0
- package/build/Prompt/PrimitivePrompt/PrimitivePrompt.js.map +1 -1
- package/build/Prompt/PrimitivePrompt/PrimitivePrompt.mjs +1 -0
- package/build/Prompt/PrimitivePrompt/PrimitivePrompt.mjs.map +1 -1
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.js +50 -20
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.js.map +1 -1
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.mjs +50 -20
- package/build/Typeahead/TypeaheadInput/TypeaheadInput.mjs.map +1 -1
- package/build/i18n/en.json +1 -0
- package/build/i18n/en.json.js +1 -0
- package/build/i18n/en.json.js.map +1 -1
- package/build/i18n/en.json.mjs +1 -0
- package/build/i18n/en.json.mjs.map +1 -1
- package/build/main.css +68 -1
- package/build/styles/ExpressiveMoneyInput/AmountInput/AmountInput.css +6 -0
- package/build/styles/ExpressiveMoneyInput/ExpressiveMoneyInput.css +6 -0
- package/build/styles/Inputs/Input/Input.css +19 -0
- package/build/styles/Inputs/TextArea/TextArea.css +16 -1
- package/build/styles/MoneyInput/MoneyInput.css +3 -0
- package/build/styles/PhoneNumberInput/PhoneNumberInput.css +7 -0
- package/build/styles/Prompt/PrimitivePrompt/PrimitivePrompt.css +17 -0
- package/build/styles/main.css +68 -1
- package/build/types/ExpressiveMoneyInput/AmountInput/AmountInput.d.ts.map +1 -1
- package/build/types/ExpressiveMoneyInput/hooks/useInputStyle.d.ts.map +1 -1
- package/build/types/Inputs/Input/Input.d.ts.map +1 -1
- package/build/types/Inputs/TextArea/TextArea.d.ts.map +1 -1
- package/build/types/MoneyInput/MoneyInput.d.ts.map +1 -1
- package/build/types/PhoneNumberInput/PhoneNumberInput.d.ts.map +1 -1
- package/build/types/PhoneNumberInput/PhoneNumberInput.messages.d.ts +5 -0
- package/build/types/PhoneNumberInput/PhoneNumberInput.messages.d.ts.map +1 -1
- package/build/types/Prompt/InfoPrompt/InfoPrompt.d.ts.map +1 -1
- package/build/types/Prompt/PrimitivePrompt/PrimitivePrompt.d.ts.map +1 -1
- package/build/types/Typeahead/TypeaheadInput/TypeaheadInput.d.ts +1 -1
- package/build/types/Typeahead/TypeaheadInput/TypeaheadInput.d.ts.map +1 -1
- package/build/types/test-utils/index.d.ts +2 -0
- package/build/types/test-utils/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.css +6 -0
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.less +7 -0
- package/src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx +2 -1
- package/src/ExpressiveMoneyInput/ExpressiveMoneyInput.css +6 -0
- package/src/ExpressiveMoneyInput/hooks/useInputStyle.ts +1 -2
- package/src/Field/_stories/Field.test.story.tsx +27 -0
- package/src/Inputs/Input/Input.css +19 -0
- package/src/Inputs/Input/Input.less +16 -0
- package/src/Inputs/Input/Input.tsx +1 -0
- package/src/Inputs/{_stories → InputGroup/_stories}/InputGroup.story.tsx +9 -9
- package/src/Inputs/InputGroup/_stories/InputGroup.test.story.tsx +80 -0
- package/src/Inputs/{_stories → SearchInput/_stories}/SearchInput.story.tsx +4 -4
- package/src/Inputs/SearchInput/_stories/SearchInput.test.story.tsx +38 -0
- package/src/Inputs/SelectInput/_stories/SelectInput.rtl.test.story.tsx +31 -19
- package/src/Inputs/TextArea/TextArea.css +16 -1
- package/src/Inputs/TextArea/TextArea.less +6 -1
- package/src/Inputs/TextArea/TextArea.tsx +1 -0
- package/src/Inputs/{_stories → TextArea/_stories}/TextArea.story.tsx +4 -4
- package/src/Inputs/{_stories → TextArea/_stories}/TextArea.test.story.tsx +50 -26
- package/src/MoneyInput/MoneyInput.css +3 -0
- package/src/MoneyInput/MoneyInput.less +6 -0
- package/src/MoneyInput/MoneyInput.tsx +1 -0
- package/src/MoneyInput/_stories/MoneyInput.rtl.test.story.tsx +14 -10
- package/src/PhoneNumberInput/PhoneNumberInput.css +7 -0
- package/src/PhoneNumberInput/PhoneNumberInput.less +13 -0
- package/src/PhoneNumberInput/PhoneNumberInput.messages.ts +5 -0
- package/src/PhoneNumberInput/PhoneNumberInput.tsx +3 -2
- package/src/PhoneNumberInput/_stories/PhoneNumberInput.rtl.test.story.tsx +15 -7
- package/src/Prompt/InfoPrompt/InfoPrompt.test.tsx +56 -2
- package/src/Prompt/InfoPrompt/InfoPrompt.tsx +14 -7
- package/src/Prompt/InfoPrompt/_stories/InfoPrompt.story.tsx +6 -1
- package/src/Prompt/PrimitivePrompt/PrimitivePrompt.css +17 -0
- package/src/Prompt/PrimitivePrompt/PrimitivePrompt.less +15 -0
- package/src/Prompt/PrimitivePrompt/PrimitivePrompt.tsx +1 -0
- package/src/TextareaWithDisplayFormat/_stories/TextareaWithDisplayFormat.test.story.tsx +49 -34
- package/src/Typeahead/TypeaheadInput/TypeaheadInput.tsx +31 -20
- package/src/Typeahead/_stories/Typeahead.rtl.test.story.tsx +90 -57
- package/src/_deprecated/Select/_stories/Select.rtl.test.story.tsx +8 -1
- package/src/main.css +68 -1
- package/src/Inputs/_stories/InputGroup.test.story.tsx +0 -69
- package/src/Inputs/_stories/SearchInput.test.story.tsx +0 -32
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeaheadInput.mjs","sources":["../../../src/Typeahead/TypeaheadInput/TypeaheadInput.tsx"],"sourcesContent":["/* eslint-disable jsx-a11y/no-autofocus */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\nimport { clsx } from 'clsx';\nimport { Component, createRef, ReactNode } from 'react';\n\nimport { Input } from '../../Inputs/Input/Input';\nimport { TypeaheadOption, TypeaheadProps } from '../Typeahead';\n\nconst DEFAULT_INPUT_MIN_WIDTH = 10;\n\nexport type TypeaheadInputProps<T> = {\n typeaheadId: string;\n value: string;\n selected: readonly TypeaheadOption<T>[];\n dropdownOpen?: boolean;\n autoComplete: string;\n onChange: React.ChangeEventHandler<HTMLInputElement>;\n onKeyDown: React.KeyboardEventHandler<HTMLInputElement>;\n onFocus: () => void;\n onPaste: React.ClipboardEventHandler<HTMLInputElement>;\n renderChip: (chip: TypeaheadOption<T>, index: number) => ReactNode;\n ariaActivedescendant?: string;\n} & Pick<TypeaheadProps<T>, 'id' | 'name' | 'autoFocus' | 'multiple' | 'placeholder' | 'maxHeight'>;\n\ntype TypeaheadInputState = {\n inputWidth: number;\n keyboardFocusedOptionIndex: number | null;\n};\n\nexport default class TypeaheadInput<T> extends Component<\n TypeaheadInputProps<T>,\n TypeaheadInputState\n> {\n inputRef = createRef<HTMLInputElement>();\n sizerRef = createRef<HTMLDivElement>();\n\n constructor(props: TypeaheadInputProps<T>) {\n super(props);\n this.state = {\n inputWidth: DEFAULT_INPUT_MIN_WIDTH,\n keyboardFocusedOptionIndex: null,\n };\n }\n\n componentDidMount() {\n const { autoFocus } = this.props;\n if (autoFocus) {\n // Autofocus after context code executions (e.g open Modal) is completed\n setTimeout(() => {\n this.inputRef.current?.focus();\n });\n }\n }\n\n componentDidUpdate(previousProps: TypeaheadInputProps<T>) {\n if (previousProps.value !== this.props.value && this.props.multiple) {\n this.recalculateWidth();\n }\n }\n\n recalculateWidth = () => {\n requestAnimationFrame(() => {\n this.setState({\n inputWidth: Math.max(DEFAULT_INPUT_MIN_WIDTH, this.sizerRef.current?.scrollWidth ?? 0 + 10),\n });\n });\n };\n\n renderInput = () => {\n const {\n typeaheadId,\n autoFocus,\n multiple,\n name,\n dropdownOpen,\n placeholder,\n selected,\n value,\n onChange,\n onKeyDown,\n onFocus,\n onPaste,\n autoComplete,\n ariaActivedescendant,\n } = this.props;\n const { inputWidth } = this.state;\n\n const hasPlaceholder = !multiple || selected.length === 0;\n return (\n <Input\n ref={this.inputRef}\n className={clsx(multiple && 'typeahead__input')}\n name={name}\n id={`input-${typeaheadId}`}\n aria-activedescendant={ariaActivedescendant}\n autoFocus={autoFocus}\n placeholder={hasPlaceholder ? placeholder : ''}\n aria-autocomplete=\"list\"\n aria-expanded={dropdownOpen}\n aria-haspopup=\"listbox\"\n aria-controls={dropdownOpen ? `menu-${typeaheadId}` : undefined}\n autoComplete={autoComplete}\n role=\"combobox\"\n value={value}\n style={multiple && selected.length > 0 ? { width: inputWidth } : {}}\n onChange={onChange}\n onKeyDown={onKeyDown}\n onClick={onFocus}\n onFocus={onFocus}\n onPaste={onPaste}\n />\n );\n };\n\n render() {\n const { multiple, selected, value, maxHeight, renderChip } = this.props;\n\n return multiple ? (\n
|
|
1
|
+
{"version":3,"file":"TypeaheadInput.mjs","sources":["../../../src/Typeahead/TypeaheadInput/TypeaheadInput.tsx"],"sourcesContent":["/* eslint-disable jsx-a11y/no-autofocus */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\nimport { clsx } from 'clsx';\nimport { Component, createRef, ReactNode } from 'react';\n\nimport { Input } from '../../Inputs/Input/Input';\nimport { TypeaheadOption, TypeaheadProps } from '../Typeahead';\nimport { Direction } from '../../common';\nimport { DirectionContext } from '../../Provider/Direction';\n\nconst DEFAULT_INPUT_MIN_WIDTH = 10;\n\nexport type TypeaheadInputProps<T> = {\n typeaheadId: string;\n value: string;\n selected: readonly TypeaheadOption<T>[];\n dropdownOpen?: boolean;\n autoComplete: string;\n onChange: React.ChangeEventHandler<HTMLInputElement>;\n onKeyDown: React.KeyboardEventHandler<HTMLInputElement>;\n onFocus: () => void;\n onPaste: React.ClipboardEventHandler<HTMLInputElement>;\n renderChip: (chip: TypeaheadOption<T>, index: number) => ReactNode;\n ariaActivedescendant?: string;\n} & Pick<TypeaheadProps<T>, 'id' | 'name' | 'autoFocus' | 'multiple' | 'placeholder' | 'maxHeight'>;\n\ntype TypeaheadInputState = {\n inputWidth: number;\n keyboardFocusedOptionIndex: number | null;\n};\n\nexport default class TypeaheadInput<T> extends Component<\n TypeaheadInputProps<T>,\n TypeaheadInputState\n> {\n inputRef = createRef<HTMLInputElement>();\n sizerRef = createRef<HTMLDivElement>();\n\n constructor(props: TypeaheadInputProps<T>) {\n super(props);\n this.state = {\n inputWidth: DEFAULT_INPUT_MIN_WIDTH,\n keyboardFocusedOptionIndex: null,\n };\n }\n\n componentDidMount() {\n const { autoFocus } = this.props;\n if (autoFocus) {\n // Autofocus after context code executions (e.g open Modal) is completed\n setTimeout(() => {\n this.inputRef.current?.focus();\n });\n }\n }\n\n componentDidUpdate(previousProps: TypeaheadInputProps<T>) {\n if (previousProps.value !== this.props.value && this.props.multiple) {\n this.recalculateWidth();\n }\n }\n\n recalculateWidth = () => {\n requestAnimationFrame(() => {\n this.setState({\n inputWidth: Math.max(DEFAULT_INPUT_MIN_WIDTH, this.sizerRef.current?.scrollWidth ?? 0 + 10),\n });\n });\n };\n\n renderInput = (isRTL: boolean) => {\n const {\n typeaheadId,\n autoFocus,\n multiple,\n name,\n dropdownOpen,\n placeholder,\n selected,\n value,\n onChange,\n onKeyDown,\n onFocus,\n onPaste,\n autoComplete,\n ariaActivedescendant,\n } = this.props;\n const { inputWidth } = this.state;\n\n const hasPlaceholder = !multiple || selected.length === 0;\n return (\n <Input\n ref={this.inputRef}\n dir={isRTL ? 'rtl' : 'auto'}\n className={clsx(multiple && 'typeahead__input')}\n name={name}\n id={`input-${typeaheadId}`}\n aria-activedescendant={ariaActivedescendant}\n autoFocus={autoFocus}\n placeholder={hasPlaceholder ? placeholder : ''}\n aria-autocomplete=\"list\"\n aria-expanded={dropdownOpen}\n aria-haspopup=\"listbox\"\n aria-controls={dropdownOpen ? `menu-${typeaheadId}` : undefined}\n autoComplete={autoComplete}\n role=\"combobox\"\n value={value}\n style={multiple && selected.length > 0 ? { width: inputWidth } : {}}\n onChange={onChange}\n onKeyDown={onKeyDown}\n onClick={onFocus}\n onFocus={onFocus}\n onPaste={onPaste}\n />\n );\n };\n\n render() {\n const { multiple, selected, value, maxHeight, renderChip } = this.props;\n\n return (\n <DirectionContext.Consumer>\n {(direction) => {\n const isRTL = direction === Direction.RTL;\n\n return multiple ? (\n <div\n className=\"form-control typeahead__input-container\"\n style={{ maxHeight }}\n onClick={() => {\n this.inputRef.current?.focus();\n }}\n >\n <div className=\"typeahead__input-wrapper\">\n {selected && selected.map((chip, idx) => renderChip(chip, idx))}\n\n {this.renderInput(isRTL)}\n <div className=\"typeahead__input-aligner\" />\n </div>\n <div ref={this.sizerRef} className=\"sizer form-control typeahead__input\">\n {value}\n </div>\n </div>\n ) : (\n this.renderInput(isRTL)\n );\n }}\n </DirectionContext.Consumer>\n );\n }\n}\n"],"names":["DEFAULT_INPUT_MIN_WIDTH","TypeaheadInput","Component","inputRef","createRef","sizerRef","constructor","props","state","inputWidth","keyboardFocusedOptionIndex","componentDidMount","autoFocus","setTimeout","current","focus","componentDidUpdate","previousProps","value","multiple","recalculateWidth","requestAnimationFrame","setState","Math","max","scrollWidth","renderInput","isRTL","typeaheadId","name","dropdownOpen","placeholder","selected","onChange","onKeyDown","onFocus","onPaste","autoComplete","ariaActivedescendant","hasPlaceholder","length","_jsx","Input","ref","dir","className","clsx","id","undefined","role","style","width","onClick","render","maxHeight","renderChip","DirectionContext","Consumer","children","direction","Direction","RTL","_jsxs","map","chip","idx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AACA;AACA;AASA,MAAMA,uBAAuB,GAAG,EAAE;AAqBpB,MAAOC,cAAkB,SAAQC,SAG9C,CAAA;EACCC,QAAQ,gBAAGC,SAAS,EAAoB;EACxCC,QAAQ,gBAAGD,SAAS,EAAkB;EAEtCE,WAAAA,CAAYC,KAA6B,EAAA;IACvC,KAAK,CAACA,KAAK,CAAC;IACZ,IAAI,CAACC,KAAK,GAAG;AACXC,MAAAA,UAAU,EAAET,uBAAuB;AACnCU,MAAAA,0BAA0B,EAAE;KAC7B;AACH,EAAA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KC,SAAS,CAACC,GAAG;QAEzC,OAAO1C,QAAQ,gBACb2C,IAAA,CAAA,KAAA,EAAA;AACEjB,UAAAA,SAAS,EAAC,yCAAyC;AACnDK,UAAAA,KAAK,EAAE;AAAEI,YAAAA;WAAY;UACrBF,OAAO,EAAEA,MAAK;AACZ,YAAA,IAAI,CAACjD,QAAQ,CAACW,OAAO,EAAEC,KAAK,EAAE;UAChC,CAAE;AAAA2C,UAAAA,QAAA,gBAEFI,IAAA,CAAA,KAAA,EAAA;AAAKjB,YAAAA,SAAS,EAAC,0BAA0B;YAAAa,QAAA,EAAA,CACtC1B,QAAQ,IAAIA,QAAQ,CAAC+B,GAAG,CAAC,CAACC,IAAI,EAAEC,GAAG,KAAKV,UAAU,CAACS,IAAI,EAAEC,GAAG,CAAC,CAAC,EAE9D,IAAI,CAACvC,WAAW,CAACC,KAAK,CAAC,eACxBc,GAAA,CAAA,KAAA,EAAA;AAAKI,cAAAA,SAAS,EAAC;AAA0B,aAAA,CAC3C;WAAK,CACL,eAAAJ,GAAA,CAAA,KAAA,EAAA;YAAKE,GAAG,EAAE,IAAI,CAACtC,QAAS;AAACwC,YAAAA,SAAS,EAAC,qCAAqC;AAAAa,YAAAA,QAAA,EACrExC;AAAK,WACH,CACP;AAAA,SAAK,CAAC,GAEN,IAAI,CAACQ,WAAW,CAACC,KAAK,CACvB;AACH,MAAA;AAAC,KACwB,CAAC;AAEhC,EAAA;AACD;;;;"}
|
package/build/i18n/en.json
CHANGED
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Select an option...",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "Country code",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Phone number",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Prefix",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "Search...",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "No results found",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "Error:",
|
package/build/i18n/en.json.js
CHANGED
|
@@ -39,6 +39,7 @@ var en = {
|
|
|
39
39
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Select an option...",
|
|
40
40
|
"neptune.PhoneNumberInput.countryCodeLabel": "Country code",
|
|
41
41
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Phone number",
|
|
42
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Prefix",
|
|
42
43
|
"neptune.Select.searchPlaceholder": "Search...",
|
|
43
44
|
"neptune.SelectInput.noResultsFound": "No results found",
|
|
44
45
|
"neptune.StatusIcon.iconLabel.error": "Error:",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"en.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/i18n/en.json.mjs
CHANGED
|
@@ -35,6 +35,7 @@ var en = {
|
|
|
35
35
|
"neptune.PhoneNumberInput.SelectInput.placeholder": "Select an option...",
|
|
36
36
|
"neptune.PhoneNumberInput.countryCodeLabel": "Country code",
|
|
37
37
|
"neptune.PhoneNumberInput.phoneNumberLabel": "Phone number",
|
|
38
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": "Prefix",
|
|
38
39
|
"neptune.Select.searchPlaceholder": "Search...",
|
|
39
40
|
"neptune.SelectInput.noResultsFound": "No results found",
|
|
40
41
|
"neptune.StatusIcon.iconLabel.error": "Error:",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"en.json.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/main.css
CHANGED
|
@@ -22607,6 +22607,25 @@ button.np-option {
|
|
|
22607
22607
|
color: #768e9c;
|
|
22608
22608
|
color: var(--color-content-tertiary);
|
|
22609
22609
|
}
|
|
22610
|
+
[dir="rtl"] .np-input::-moz-placeholder {
|
|
22611
|
+
direction: rtl !important;
|
|
22612
|
+
}
|
|
22613
|
+
[dir="rtl"] .np-input:-moz-placeholder {
|
|
22614
|
+
direction: rtl !important;
|
|
22615
|
+
}
|
|
22616
|
+
[dir="rtl"] .np-input::placeholder,
|
|
22617
|
+
[dir="rtl"] .np-input:placeholder-shown {
|
|
22618
|
+
direction: rtl !important;
|
|
22619
|
+
}
|
|
22620
|
+
[dir="rtl"] .np-input:-moz-placeholder[type="email"], [dir="rtl"] .np-input:-moz-placeholder[type="tel"], [dir="rtl"] .np-input:-moz-placeholder[type="number"], [dir="rtl"] .np-input:-moz-placeholder[type="url"] {
|
|
22621
|
+
direction: ltr !important;
|
|
22622
|
+
}
|
|
22623
|
+
[dir="rtl"] .np-input:placeholder-shown[type="email"],
|
|
22624
|
+
[dir="rtl"] .np-input:placeholder-shown[type="tel"],
|
|
22625
|
+
[dir="rtl"] .np-input:placeholder-shown[type="number"],
|
|
22626
|
+
[dir="rtl"] .np-input:placeholder-shown[type="url"] {
|
|
22627
|
+
direction: ltr !important;
|
|
22628
|
+
}
|
|
22610
22629
|
.np-input--shape-rectangle {
|
|
22611
22630
|
border-radius: 10px !important;
|
|
22612
22631
|
border-radius: var(--radius-small) !important;
|
|
@@ -23794,10 +23813,25 @@ button.np-option {
|
|
|
23794
23813
|
color: #768e9c;
|
|
23795
23814
|
color: var(--color-content-tertiary);
|
|
23796
23815
|
}
|
|
23797
|
-
.np-text-area
|
|
23816
|
+
.np-text-area:-moz-placeholder {
|
|
23817
|
+
color: #768e9c;
|
|
23818
|
+
color: var(--color-content-tertiary);
|
|
23819
|
+
}
|
|
23820
|
+
.np-text-area::placeholder,
|
|
23821
|
+
.np-text-area:placeholder-shown {
|
|
23798
23822
|
color: #768e9c;
|
|
23799
23823
|
color: var(--color-content-tertiary);
|
|
23800
23824
|
}
|
|
23825
|
+
[dir="rtl"] .np-text-area::-moz-placeholder {
|
|
23826
|
+
direction: rtl !important;
|
|
23827
|
+
}
|
|
23828
|
+
[dir="rtl"] .np-text-area:-moz-placeholder {
|
|
23829
|
+
direction: rtl !important;
|
|
23830
|
+
}
|
|
23831
|
+
[dir="rtl"] .np-text-area::placeholder,
|
|
23832
|
+
[dir="rtl"] .np-text-area:placeholder-shown {
|
|
23833
|
+
direction: rtl !important;
|
|
23834
|
+
}
|
|
23801
23835
|
.tw-instructions {
|
|
23802
23836
|
/* Reset */
|
|
23803
23837
|
margin: 0;
|
|
@@ -24208,6 +24242,9 @@ button.np-link {
|
|
|
24208
24242
|
font-weight: 600;
|
|
24209
24243
|
font-weight: var(--font-weight-semi-bold);
|
|
24210
24244
|
}
|
|
24245
|
+
[dir="rtl"] .tw-money-input .money-input__number-input {
|
|
24246
|
+
text-align: end;
|
|
24247
|
+
}
|
|
24211
24248
|
.tw-money-input .money-input-currency-flag {
|
|
24212
24249
|
display: flex;
|
|
24213
24250
|
align-items: center;
|
|
@@ -24276,6 +24313,10 @@ button.np-link {
|
|
|
24276
24313
|
overflow: hidden;
|
|
24277
24314
|
margin-block-end: 0 !important;
|
|
24278
24315
|
}
|
|
24316
|
+
[dir="rtl"] .wds-amount-input-input-container {
|
|
24317
|
+
display: inline-grid;
|
|
24318
|
+
grid-template-columns: auto 1fr;
|
|
24319
|
+
}
|
|
24279
24320
|
@media (prefers-reduced-motion: reduce) {
|
|
24280
24321
|
.wds-amount-input-input-container {
|
|
24281
24322
|
transition: none;
|
|
@@ -24288,6 +24329,8 @@ button.np-link {
|
|
|
24288
24329
|
text-align: end;
|
|
24289
24330
|
background-color: transparent;
|
|
24290
24331
|
line-height: inherit;
|
|
24332
|
+
field-sizing: content;
|
|
24333
|
+
block-size: inherit;
|
|
24291
24334
|
}
|
|
24292
24335
|
.wds-amount-input-input:focus-visible {
|
|
24293
24336
|
outline: none;
|
|
@@ -24552,6 +24595,9 @@ button.np-link {
|
|
|
24552
24595
|
margin-inline-start: 12px;
|
|
24553
24596
|
margin-inline-start: var(--size-12);
|
|
24554
24597
|
}
|
|
24598
|
+
[dir="rtl"] .tw-telephone__number-input-field {
|
|
24599
|
+
text-align: end;
|
|
24600
|
+
}
|
|
24555
24601
|
.tw-telephone__country-select {
|
|
24556
24602
|
flex-basis: 120px;
|
|
24557
24603
|
flex-shrink: 0;
|
|
@@ -24559,6 +24605,10 @@ button.np-link {
|
|
|
24559
24605
|
.tw-telephone__country-select .np-input-group {
|
|
24560
24606
|
inline-size: 100%;
|
|
24561
24607
|
}
|
|
24608
|
+
[dir="rtl"] .tw-telephone__country-select .np-select-input-content {
|
|
24609
|
+
text-align: end;
|
|
24610
|
+
direction: ltr;
|
|
24611
|
+
}
|
|
24562
24612
|
.tw-telephone__country-select--with-input-group-addon-start .np-button-input {
|
|
24563
24613
|
padding-inline-start: 48px;
|
|
24564
24614
|
padding-inline-start: var(--size-48);
|
|
@@ -24871,6 +24921,23 @@ button.np-link {
|
|
|
24871
24921
|
grid-column: span 3;
|
|
24872
24922
|
}
|
|
24873
24923
|
}
|
|
24924
|
+
.wds-prompt__dismiss {
|
|
24925
|
+
position: relative;
|
|
24926
|
+
}
|
|
24927
|
+
.wds-prompt__dismiss:before {
|
|
24928
|
+
--size: calc(var(--size-24) + var(--Prompt-padding-x, var(--padding-x-small)) * 2);
|
|
24929
|
+
--offset: calc(-1 * var(--Prompt-padding-x, var(--padding-x-small)));
|
|
24930
|
+
content: "";
|
|
24931
|
+
position: absolute;
|
|
24932
|
+
inset: calc(-1 * 8px);
|
|
24933
|
+
inset: var(--offset);
|
|
24934
|
+
inline-size: calc(24px + 8px * 2);
|
|
24935
|
+
inline-size: var(--size);
|
|
24936
|
+
block-size: calc(24px + 8px * 2);
|
|
24937
|
+
block-size: var(--size);
|
|
24938
|
+
border-radius: 10px;
|
|
24939
|
+
border-radius: var(--Prompt-border-radius, var(--radius-small));
|
|
24940
|
+
}
|
|
24874
24941
|
.wds-inline-prompt {
|
|
24875
24942
|
--Prompt-gap: calc(var(--size-12) / 2);
|
|
24876
24943
|
--Prompt-padding-x: var(--padding-x-small);
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
overflow: hidden;
|
|
11
11
|
margin-block-end: 0 !important;
|
|
12
12
|
}
|
|
13
|
+
[dir="rtl"] .wds-amount-input-input-container {
|
|
14
|
+
display: inline-grid;
|
|
15
|
+
grid-template-columns: auto 1fr;
|
|
16
|
+
}
|
|
13
17
|
@media (prefers-reduced-motion: reduce) {
|
|
14
18
|
.wds-amount-input-input-container {
|
|
15
19
|
transition: none;
|
|
@@ -22,6 +26,8 @@
|
|
|
22
26
|
text-align: end;
|
|
23
27
|
background-color: transparent;
|
|
24
28
|
line-height: inherit;
|
|
29
|
+
field-sizing: content;
|
|
30
|
+
block-size: inherit;
|
|
25
31
|
}
|
|
26
32
|
.wds-amount-input-input:focus-visible {
|
|
27
33
|
outline: none;
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
overflow: hidden;
|
|
11
11
|
margin-block-end: 0 !important;
|
|
12
12
|
}
|
|
13
|
+
[dir="rtl"] .wds-amount-input-input-container {
|
|
14
|
+
display: inline-grid;
|
|
15
|
+
grid-template-columns: auto 1fr;
|
|
16
|
+
}
|
|
13
17
|
@media (prefers-reduced-motion: reduce) {
|
|
14
18
|
.wds-amount-input-input-container {
|
|
15
19
|
transition: none;
|
|
@@ -22,6 +26,8 @@
|
|
|
22
26
|
text-align: end;
|
|
23
27
|
background-color: transparent;
|
|
24
28
|
line-height: inherit;
|
|
29
|
+
field-sizing: content;
|
|
30
|
+
block-size: inherit;
|
|
25
31
|
}
|
|
26
32
|
.wds-amount-input-input:focus-visible {
|
|
27
33
|
outline: none;
|
|
@@ -147,6 +147,25 @@
|
|
|
147
147
|
color: #768e9c;
|
|
148
148
|
color: var(--color-content-tertiary);
|
|
149
149
|
}
|
|
150
|
+
[dir="rtl"] .np-input::-moz-placeholder {
|
|
151
|
+
direction: rtl !important;
|
|
152
|
+
}
|
|
153
|
+
[dir="rtl"] .np-input:-moz-placeholder {
|
|
154
|
+
direction: rtl !important;
|
|
155
|
+
}
|
|
156
|
+
[dir="rtl"] .np-input::placeholder,
|
|
157
|
+
[dir="rtl"] .np-input:placeholder-shown {
|
|
158
|
+
direction: rtl !important;
|
|
159
|
+
}
|
|
160
|
+
[dir="rtl"] .np-input:-moz-placeholder[type="email"], [dir="rtl"] .np-input:-moz-placeholder[type="tel"], [dir="rtl"] .np-input:-moz-placeholder[type="number"], [dir="rtl"] .np-input:-moz-placeholder[type="url"] {
|
|
161
|
+
direction: ltr !important;
|
|
162
|
+
}
|
|
163
|
+
[dir="rtl"] .np-input:placeholder-shown[type="email"],
|
|
164
|
+
[dir="rtl"] .np-input:placeholder-shown[type="tel"],
|
|
165
|
+
[dir="rtl"] .np-input:placeholder-shown[type="number"],
|
|
166
|
+
[dir="rtl"] .np-input:placeholder-shown[type="url"] {
|
|
167
|
+
direction: ltr !important;
|
|
168
|
+
}
|
|
150
169
|
.np-input--shape-rectangle {
|
|
151
170
|
border-radius: 10px !important;
|
|
152
171
|
border-radius: var(--radius-small) !important;
|
|
@@ -154,7 +154,22 @@
|
|
|
154
154
|
color: #768e9c;
|
|
155
155
|
color: var(--color-content-tertiary);
|
|
156
156
|
}
|
|
157
|
-
.np-text-area
|
|
157
|
+
.np-text-area:-moz-placeholder {
|
|
158
158
|
color: #768e9c;
|
|
159
159
|
color: var(--color-content-tertiary);
|
|
160
160
|
}
|
|
161
|
+
.np-text-area::placeholder,
|
|
162
|
+
.np-text-area:placeholder-shown {
|
|
163
|
+
color: #768e9c;
|
|
164
|
+
color: var(--color-content-tertiary);
|
|
165
|
+
}
|
|
166
|
+
[dir="rtl"] .np-text-area::-moz-placeholder {
|
|
167
|
+
direction: rtl !important;
|
|
168
|
+
}
|
|
169
|
+
[dir="rtl"] .np-text-area:-moz-placeholder {
|
|
170
|
+
direction: rtl !important;
|
|
171
|
+
}
|
|
172
|
+
[dir="rtl"] .np-text-area::placeholder,
|
|
173
|
+
[dir="rtl"] .np-text-area:placeholder-shown {
|
|
174
|
+
direction: rtl !important;
|
|
175
|
+
}
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
margin-inline-start: 12px;
|
|
6
6
|
margin-inline-start: var(--size-12);
|
|
7
7
|
}
|
|
8
|
+
[dir="rtl"] .tw-telephone__number-input-field {
|
|
9
|
+
text-align: end;
|
|
10
|
+
}
|
|
8
11
|
.tw-telephone__country-select {
|
|
9
12
|
flex-basis: 120px;
|
|
10
13
|
flex-shrink: 0;
|
|
@@ -12,6 +15,10 @@
|
|
|
12
15
|
.tw-telephone__country-select .np-input-group {
|
|
13
16
|
inline-size: 100%;
|
|
14
17
|
}
|
|
18
|
+
[dir="rtl"] .tw-telephone__country-select .np-select-input-content {
|
|
19
|
+
text-align: end;
|
|
20
|
+
direction: ltr;
|
|
21
|
+
}
|
|
15
22
|
.tw-telephone__country-select--with-input-group-addon-start .np-button-input {
|
|
16
23
|
padding-inline-start: 48px;
|
|
17
24
|
padding-inline-start: var(--size-48);
|
|
@@ -51,3 +51,20 @@
|
|
|
51
51
|
grid-column: span 3;
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
+
.wds-prompt__dismiss {
|
|
55
|
+
position: relative;
|
|
56
|
+
}
|
|
57
|
+
.wds-prompt__dismiss:before {
|
|
58
|
+
--size: calc(var(--size-24) + var(--Prompt-padding-x, var(--padding-x-small)) * 2);
|
|
59
|
+
--offset: calc(-1 * var(--Prompt-padding-x, var(--padding-x-small)));
|
|
60
|
+
content: "";
|
|
61
|
+
position: absolute;
|
|
62
|
+
inset: calc(-1 * 8px);
|
|
63
|
+
inset: var(--offset);
|
|
64
|
+
inline-size: calc(24px + 8px * 2);
|
|
65
|
+
inline-size: var(--size);
|
|
66
|
+
block-size: calc(24px + 8px * 2);
|
|
67
|
+
block-size: var(--size);
|
|
68
|
+
border-radius: 10px;
|
|
69
|
+
border-radius: var(--Prompt-border-radius, var(--radius-small));
|
|
70
|
+
}
|
package/build/styles/main.css
CHANGED
|
@@ -22607,6 +22607,25 @@ button.np-option {
|
|
|
22607
22607
|
color: #768e9c;
|
|
22608
22608
|
color: var(--color-content-tertiary);
|
|
22609
22609
|
}
|
|
22610
|
+
[dir="rtl"] .np-input::-moz-placeholder {
|
|
22611
|
+
direction: rtl !important;
|
|
22612
|
+
}
|
|
22613
|
+
[dir="rtl"] .np-input:-moz-placeholder {
|
|
22614
|
+
direction: rtl !important;
|
|
22615
|
+
}
|
|
22616
|
+
[dir="rtl"] .np-input::placeholder,
|
|
22617
|
+
[dir="rtl"] .np-input:placeholder-shown {
|
|
22618
|
+
direction: rtl !important;
|
|
22619
|
+
}
|
|
22620
|
+
[dir="rtl"] .np-input:-moz-placeholder[type="email"], [dir="rtl"] .np-input:-moz-placeholder[type="tel"], [dir="rtl"] .np-input:-moz-placeholder[type="number"], [dir="rtl"] .np-input:-moz-placeholder[type="url"] {
|
|
22621
|
+
direction: ltr !important;
|
|
22622
|
+
}
|
|
22623
|
+
[dir="rtl"] .np-input:placeholder-shown[type="email"],
|
|
22624
|
+
[dir="rtl"] .np-input:placeholder-shown[type="tel"],
|
|
22625
|
+
[dir="rtl"] .np-input:placeholder-shown[type="number"],
|
|
22626
|
+
[dir="rtl"] .np-input:placeholder-shown[type="url"] {
|
|
22627
|
+
direction: ltr !important;
|
|
22628
|
+
}
|
|
22610
22629
|
.np-input--shape-rectangle {
|
|
22611
22630
|
border-radius: 10px !important;
|
|
22612
22631
|
border-radius: var(--radius-small) !important;
|
|
@@ -23794,10 +23813,25 @@ button.np-option {
|
|
|
23794
23813
|
color: #768e9c;
|
|
23795
23814
|
color: var(--color-content-tertiary);
|
|
23796
23815
|
}
|
|
23797
|
-
.np-text-area
|
|
23816
|
+
.np-text-area:-moz-placeholder {
|
|
23817
|
+
color: #768e9c;
|
|
23818
|
+
color: var(--color-content-tertiary);
|
|
23819
|
+
}
|
|
23820
|
+
.np-text-area::placeholder,
|
|
23821
|
+
.np-text-area:placeholder-shown {
|
|
23798
23822
|
color: #768e9c;
|
|
23799
23823
|
color: var(--color-content-tertiary);
|
|
23800
23824
|
}
|
|
23825
|
+
[dir="rtl"] .np-text-area::-moz-placeholder {
|
|
23826
|
+
direction: rtl !important;
|
|
23827
|
+
}
|
|
23828
|
+
[dir="rtl"] .np-text-area:-moz-placeholder {
|
|
23829
|
+
direction: rtl !important;
|
|
23830
|
+
}
|
|
23831
|
+
[dir="rtl"] .np-text-area::placeholder,
|
|
23832
|
+
[dir="rtl"] .np-text-area:placeholder-shown {
|
|
23833
|
+
direction: rtl !important;
|
|
23834
|
+
}
|
|
23801
23835
|
.tw-instructions {
|
|
23802
23836
|
/* Reset */
|
|
23803
23837
|
margin: 0;
|
|
@@ -24208,6 +24242,9 @@ button.np-link {
|
|
|
24208
24242
|
font-weight: 600;
|
|
24209
24243
|
font-weight: var(--font-weight-semi-bold);
|
|
24210
24244
|
}
|
|
24245
|
+
[dir="rtl"] .tw-money-input .money-input__number-input {
|
|
24246
|
+
text-align: end;
|
|
24247
|
+
}
|
|
24211
24248
|
.tw-money-input .money-input-currency-flag {
|
|
24212
24249
|
display: flex;
|
|
24213
24250
|
align-items: center;
|
|
@@ -24276,6 +24313,10 @@ button.np-link {
|
|
|
24276
24313
|
overflow: hidden;
|
|
24277
24314
|
margin-block-end: 0 !important;
|
|
24278
24315
|
}
|
|
24316
|
+
[dir="rtl"] .wds-amount-input-input-container {
|
|
24317
|
+
display: inline-grid;
|
|
24318
|
+
grid-template-columns: auto 1fr;
|
|
24319
|
+
}
|
|
24279
24320
|
@media (prefers-reduced-motion: reduce) {
|
|
24280
24321
|
.wds-amount-input-input-container {
|
|
24281
24322
|
transition: none;
|
|
@@ -24288,6 +24329,8 @@ button.np-link {
|
|
|
24288
24329
|
text-align: end;
|
|
24289
24330
|
background-color: transparent;
|
|
24290
24331
|
line-height: inherit;
|
|
24332
|
+
field-sizing: content;
|
|
24333
|
+
block-size: inherit;
|
|
24291
24334
|
}
|
|
24292
24335
|
.wds-amount-input-input:focus-visible {
|
|
24293
24336
|
outline: none;
|
|
@@ -24552,6 +24595,9 @@ button.np-link {
|
|
|
24552
24595
|
margin-inline-start: 12px;
|
|
24553
24596
|
margin-inline-start: var(--size-12);
|
|
24554
24597
|
}
|
|
24598
|
+
[dir="rtl"] .tw-telephone__number-input-field {
|
|
24599
|
+
text-align: end;
|
|
24600
|
+
}
|
|
24555
24601
|
.tw-telephone__country-select {
|
|
24556
24602
|
flex-basis: 120px;
|
|
24557
24603
|
flex-shrink: 0;
|
|
@@ -24559,6 +24605,10 @@ button.np-link {
|
|
|
24559
24605
|
.tw-telephone__country-select .np-input-group {
|
|
24560
24606
|
inline-size: 100%;
|
|
24561
24607
|
}
|
|
24608
|
+
[dir="rtl"] .tw-telephone__country-select .np-select-input-content {
|
|
24609
|
+
text-align: end;
|
|
24610
|
+
direction: ltr;
|
|
24611
|
+
}
|
|
24562
24612
|
.tw-telephone__country-select--with-input-group-addon-start .np-button-input {
|
|
24563
24613
|
padding-inline-start: 48px;
|
|
24564
24614
|
padding-inline-start: var(--size-48);
|
|
@@ -24871,6 +24921,23 @@ button.np-link {
|
|
|
24871
24921
|
grid-column: span 3;
|
|
24872
24922
|
}
|
|
24873
24923
|
}
|
|
24924
|
+
.wds-prompt__dismiss {
|
|
24925
|
+
position: relative;
|
|
24926
|
+
}
|
|
24927
|
+
.wds-prompt__dismiss:before {
|
|
24928
|
+
--size: calc(var(--size-24) + var(--Prompt-padding-x, var(--padding-x-small)) * 2);
|
|
24929
|
+
--offset: calc(-1 * var(--Prompt-padding-x, var(--padding-x-small)));
|
|
24930
|
+
content: "";
|
|
24931
|
+
position: absolute;
|
|
24932
|
+
inset: calc(-1 * 8px);
|
|
24933
|
+
inset: var(--offset);
|
|
24934
|
+
inline-size: calc(24px + 8px * 2);
|
|
24935
|
+
inline-size: var(--size);
|
|
24936
|
+
block-size: calc(24px + 8px * 2);
|
|
24937
|
+
block-size: var(--size);
|
|
24938
|
+
border-radius: 10px;
|
|
24939
|
+
border-radius: var(--Prompt-border-radius, var(--radius-small));
|
|
24940
|
+
}
|
|
24874
24941
|
.wds-inline-prompt {
|
|
24875
24942
|
--Prompt-gap: calc(var(--size-12) / 2);
|
|
24876
24943
|
--Prompt-padding-x: var(--padding-x-small);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAezE,KAAK,gBAAgB,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C,GAAG,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC,CAAC;AAE/C,eAAO,MAAM,WAAW,GAAI,uFASzB,gBAAgB,
|
|
1
|
+
{"version":3,"file":"AmountInput.d.ts","sourceRoot":"","sources":["../../../../src/ExpressiveMoneyInput/AmountInput/AmountInput.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAezE,KAAK,gBAAgB,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC1C,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C,GAAG,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC,CAAC;AAE/C,eAAO,MAAM,WAAW,GAAI,uFASzB,gBAAgB,gCAmTlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInputStyle.d.ts","sourceRoot":"","sources":["../../../../src/ExpressiveMoneyInput/hooks/useInputStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEzE,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,YAAY,EAAE,SAAS,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;CAClD,GAAG,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC,CAAC;AAE/C,eAAO,MAAM,aAAa,GAAI,yCAAyC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"useInputStyle.d.ts","sourceRoot":"","sources":["../../../../src/ExpressiveMoneyInput/hooks/useInputStyle.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,SAAS,EAKf,MAAM,OAAO,CAAC;AACf,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEzE,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,OAAO,CAAC;IACf,YAAY,EAAE,SAAS,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC;CAClD,GAAG,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC,CAAC;AAE/C,eAAO,MAAM,aAAa,GAAI,yCAAyC,gBAAgB,kBA4BtF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/Inputs/Input/Input.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAKpC,MAAM,WAAW,UAAW,SAAQ,KAAK,CACvC,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,EACpC;IACE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IACnD,KAAK,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CACF;CAAG;AAEJ,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../../src/Inputs/Input/Input.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAKpC,MAAM,WAAW,UAAW,SAAQ,KAAK,CACvC,KAAK,CAAC,qBAAqB,CAAC,OAAO,CAAC,EACpC;IACE,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;IACnD,KAAK,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CACF;CAAG;AAEJ,eAAO,MAAM,KAAK,6HAoBhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/Inputs/TextArea/TextArea.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAIpC,MAAM,WAAW,aAAc,SAAQ,KAAK,CAC1C,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,EACvC;IACE,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CACF;CAAG;AAEJ,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../../../src/Inputs/TextArea/TextArea.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAIpC,MAAM,WAAW,aAAc,SAAQ,KAAK,CAC1C,KAAK,CAAC,qBAAqB,CAAC,UAAU,CAAC,EACvC;IACE,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CACF;CAAG;AAEJ,eAAO,MAAM,QAAQ,mIAoBnB,CAAC;AAEH,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MoneyInput.d.ts","sourceRoot":"","sources":["../../../src/MoneyInput/MoneyInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAc,KAAK,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAE9E,OAAO,EAGL,SAAS,EACT,UAAU,EACV,SAAS,EAEV,MAAM,WAAW,CAAC;AACnB,OAAO,EAAuB,wBAAwB,EAAE,MAAM,oBAAoB,CAAC;AAEnF,OAAO,EAKL,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAO/B,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,CA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E,OAAO,CAAC,gBAAgB,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC,CAAC;IACvD;;;OAGG;IACH,iBAAiB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACvC;AAKD,QAAA,MAAM,gBAAgB,GAAI,gMAevB,qBAAqB,gCAwNvB,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -11,6 +11,11 @@ declare const _default: {
|
|
|
11
11
|
id: string;
|
|
12
12
|
defaultMessage: string;
|
|
13
13
|
};
|
|
14
|
+
phoneNumberPrefix: {
|
|
15
|
+
id: string;
|
|
16
|
+
defaultMessage: string;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
14
19
|
};
|
|
15
20
|
export default _default;
|
|
16
21
|
//# sourceMappingURL=PhoneNumberInput.messages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PhoneNumberInput.messages.d.ts","sourceRoot":"","sources":["../../../src/PhoneNumberInput/PhoneNumberInput.messages.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PhoneNumberInput.messages.d.ts","sourceRoot":"","sources":["../../../src/PhoneNumberInput/PhoneNumberInput.messages.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;AAEA,wBAkBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoPrompt.d.ts","sourceRoot":"","sources":["../../../../src/Prompt/InfoPrompt/InfoPrompt.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,cAAc,EAAE,SAAS,
|
|
1
|
+
{"version":3,"file":"InfoPrompt.d.ts","sourceRoot":"","sources":["../../../../src/Prompt/InfoPrompt/InfoPrompt.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,cAAc,EAAE,SAAS,EAAwC,MAAM,OAAO,CAAC;AAElG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,KAAK,EAAE,SAAS,IAAI,gBAAgB,EAA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;gHAEgH;AAChH,eAAO,MAAM,eAAe;IA/B1B;;;OAGG;gBACS,SAAS;IACrB;;;OAGG;eACQ,QAAQ;IACnB;;OAEG;WACI,SAAS;IAChB;;OAEG;cACO,SAAS;IACnB;;OAEG;gBACS,MAAM,IAAI;IACtB;;OAEG;oBACa,MAAM;kDAsDvB,CAAC"}
|
|
@@ -24,7 +24,7 @@ export default class TypeaheadInput<T> extends Component<TypeaheadInputProps<T>,
|
|
|
24
24
|
componentDidMount(): void;
|
|
25
25
|
componentDidUpdate(previousProps: TypeaheadInputProps<T>): void;
|
|
26
26
|
recalculateWidth: () => void;
|
|
27
|
-
renderInput: () => import("react").JSX.Element;
|
|
27
|
+
renderInput: (isRTL: boolean) => import("react").JSX.Element;
|
|
28
28
|
render(): import("react").JSX.Element;
|
|
29
29
|
}
|
|
30
30
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypeaheadInput.d.ts","sourceRoot":"","sources":["../../../../src/Typeahead/TypeaheadInput/TypeaheadInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAa,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"TypeaheadInput.d.ts","sourceRoot":"","sources":["../../../../src/Typeahead/TypeaheadInput/TypeaheadInput.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAa,SAAS,EAAE,MAAM,OAAO,CAAC;AAGxD,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAM/D,MAAM,MAAM,mBAAmB,CAAC,CAAC,IAAI;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,SAAS,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IACxC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,CAAC;IACrD,SAAS,EAAE,KAAK,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;IACxD,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,KAAK,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,CAAC;IACvD,UAAU,EAAE,CAAC,IAAI,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,MAAM,KAAK,SAAS,CAAC;IACnE,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B,GAAG,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,WAAW,GAAG,UAAU,GAAG,aAAa,GAAG,WAAW,CAAC,CAAC;AAEpG,KAAK,mBAAmB,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,0BAA0B,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3C,CAAC;AAEF,MAAM,CAAC,OAAO,OAAO,cAAc,CAAC,CAAC,CAAE,SAAQ,SAAS,CACtD,mBAAmB,CAAC,CAAC,CAAC,EACtB,mBAAmB,CACpB;IACC,QAAQ,8CAAiC;IACzC,QAAQ,4CAA+B;gBAE3B,KAAK,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAQzC,iBAAiB;IAUjB,kBAAkB,CAAC,aAAa,EAAE,mBAAmB,CAAC,CAAC,CAAC;IAMxD,gBAAgB,aAMd;IAEF,WAAW,GAAI,OAAO,OAAO,iCA6C3B;IAEF,MAAM;CAiCP"}
|
|
@@ -45,6 +45,7 @@ declare function customRender(ui: ReactElement, { locale, messages, ...renderOpt
|
|
|
45
45
|
"neptune.PhoneNumberInput.SelectInput.placeholder": string;
|
|
46
46
|
"neptune.PhoneNumberInput.countryCodeLabel": string;
|
|
47
47
|
"neptune.PhoneNumberInput.phoneNumberLabel": string;
|
|
48
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": string;
|
|
48
49
|
"neptune.Select.searchPlaceholder": string;
|
|
49
50
|
"neptune.SelectInput.noResultsFound": string;
|
|
50
51
|
"neptune.StatusIcon.iconLabel.error": string;
|
|
@@ -138,6 +139,7 @@ declare function customRenderHook(callback: () => unknown, { locale, messages }?
|
|
|
138
139
|
"neptune.PhoneNumberInput.SelectInput.placeholder": string;
|
|
139
140
|
"neptune.PhoneNumberInput.countryCodeLabel": string;
|
|
140
141
|
"neptune.PhoneNumberInput.phoneNumberLabel": string;
|
|
142
|
+
"neptune.PhoneNumberInput.phoneNumberPrefix": string;
|
|
141
143
|
"neptune.Select.searchPlaceholder": string;
|
|
142
144
|
"neptune.SelectInput.noResultsFound": string;
|
|
143
145
|
"neptune.StatusIcon.iconLabel.error": string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test-utils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAM,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,MAAM,EAAc,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAMxD;;;;GAIG;AACH,iBAAS,YAAY,CACnB,EAAE,EAAE,YAAY,EAChB,EAAE,MAAuB,EAAE,QAAa,EAAE,GAAG,aAAa,EAAE
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/test-utils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAM,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,MAAM,EAAc,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAMxD;;;;GAIG;AACH,iBAAS,YAAY,CACnB,EAAE,EAAE,YAAY,EAChB,EAAE,MAAuB,EAAE,QAAa,EAAE,GAAG,aAAa,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAK,GAChE,UAAU,CAAC,OAAO,MAAM,CAAC,CAK3B;AAED;;;GAGG;AACH,iBAAS,gBAAgB,CACvB,QAAQ,EAAE,MAAM,OAAO,EACvB,EAAE,MAAuB,EAAE,QAAa,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAK,uEAKhD;AAED,cAAc,wBAAwB,CAAC;AACvC,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,YAAY,IAAI,MAAM,EAAE,gBAAgB,IAAI,UAAU,EAAE,SAAS,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
overflow: hidden;
|
|
11
11
|
margin-block-end: 0 !important;
|
|
12
12
|
}
|
|
13
|
+
[dir="rtl"] .wds-amount-input-input-container {
|
|
14
|
+
display: inline-grid;
|
|
15
|
+
grid-template-columns: auto 1fr;
|
|
16
|
+
}
|
|
13
17
|
@media (prefers-reduced-motion: reduce) {
|
|
14
18
|
.wds-amount-input-input-container {
|
|
15
19
|
transition: none;
|
|
@@ -22,6 +26,8 @@
|
|
|
22
26
|
text-align: end;
|
|
23
27
|
background-color: transparent;
|
|
24
28
|
line-height: inherit;
|
|
29
|
+
field-sizing: content;
|
|
30
|
+
block-size: inherit;
|
|
25
31
|
}
|
|
26
32
|
.wds-amount-input-input:focus-visible {
|
|
27
33
|
outline: none;
|