@qualtrics/ui-react 2.55.0 → 2.57.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -0
- package/dist/__shared/cjs/{index-4ef4197d.js → index-24d3ad3b.js} +7 -3
- package/dist/__shared/cjs/{index-8d8eb0bd.js → index-4fd59bce.js} +134 -133
- package/dist/components/Accordion/Accordion2.js +3 -3
- package/dist/components/Button/Button.js +3 -3
- package/dist/components/ButtonGroup/ButtonGroup2.js +3 -3
- package/dist/components/Checkbox/Checkbox2.js +3 -3
- package/dist/components/ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/Combobox/Combobox2.js +3 -3
- package/dist/components/ConfigPane/ConfigPane2.js +3 -3
- package/dist/components/Divider/Divider2.js +3 -3
- package/dist/components/Dropdown/Dropdown2.js +3 -3
- package/dist/components/FilePicker/FilePicker2.js +3 -3
- package/dist/components/FormField/Caption.js +3 -3
- package/dist/components/FormField/FormField2.js +3 -3
- package/dist/components/FullScreenTakeover/FullScreenTakeover2.js +3 -3
- package/dist/components/Icon/IconTypes.js +1 -0
- package/dist/components/IconButton/IconButton2.js +3 -3
- package/dist/components/InlineInput/InlineInput2.js +3 -3
- package/dist/components/Input/Input2.js +3 -3
- package/dist/components/InputGroup/InputGroup2.js +3 -3
- package/dist/components/Label/Label2.js +3 -3
- package/dist/components/Link/Link2.js +3 -3
- package/dist/components/LoadingSpinner/LoadingSpinner2.js +3 -3
- package/dist/components/LogicEditor/LogicEditor2.js +3 -3
- package/dist/components/Modal/Modal2.js +3 -3
- package/dist/components/NewMenu/NewMenu.js +3 -3
- package/dist/components/NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/PageLayout/PageLayout.js +3 -3
- package/dist/components/Pagination/Pagination2.js +3 -3
- package/dist/components/Popover/Popover2.js +3 -3
- package/dist/components/QuickSearch/QuickSearch2.js +3 -3
- package/dist/components/Radio/Radio2.js +3 -3
- package/dist/components/SearchInput/SearchInput2.js +3 -3
- package/dist/components/SidebarNav/SidebarNav2.js +3 -3
- package/dist/components/Slider/Slider2.js +3 -3
- package/dist/components/Switch/Switch2.js +3 -3
- package/dist/components/Table/Table2.js +3 -3
- package/dist/components/Tabs/Tabs2.js +3 -3
- package/dist/components/Tooltip/Tooltip2.js +3 -3
- package/dist/components/deprecated_ColorPicker/ColorPicker2.js +3 -3
- package/dist/components/deprecated_NumberStepper/NumberStepper2.js +3 -3
- package/dist/components/deprecated_Tabs/Tabs2.js +3 -3
- package/dist/components/deprecated_Toolbar/Toolbar2.js +3 -3
- package/dist/design-tokens/css/styles.css +1 -0
- package/dist/design-tokens/css/typography.css +634 -0
- package/dist/design-tokens/less/styles.less +1 -0
- package/dist/design-tokens/less/typography.js +8 -0
- package/dist/design-tokens/less/typography.less +632 -0
- package/dist/design-tokens/scss/styles.scss +1 -0
- package/dist/design-tokens/scss/typography.scss +632 -0
- package/dist/hooks/useOverlay/useOverlay2.js +3 -3
- package/dist/hooks/useScreenReaderAnnouncement/useScreenReaderAnnouncement2.js +3 -3
- package/dist/icons/Icon.js +3 -3
- package/dist/icons/components/ExperienceTransparencyIcon.js +6 -0
- package/dist/icons/index.d.ts +2 -0
- package/dist/icons/index.es.js +1 -0
- package/dist/icons/index.js +2 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.es.js +1 -1
- package/dist/index.js +3 -3
- package/dist/next/AdvancedTable/AdvancedTable2.js +3 -3
- package/dist/next/CollapsibleSearchInput/CollapsibleSearchInput2.js +3 -3
- package/dist/next/Combobox/Combobox2.js +3 -3
- package/dist/next/Drawer/Drawer2.js +3 -3
- package/dist/next/FilterAnchor/FilterAnchor2.js +3 -3
- package/dist/next/Form/FormFields/InputField.js +3 -3
- package/dist/next/Input/Input2.js +3 -3
- package/dist/next/Menu/Menu2.js +3 -3
- package/dist/next/PhoneNumberInput/PhoneNumberInput2.js +3 -3
- package/dist/next/Select/Select2.js +3 -3
- package/dist/next/SplitButton/SplitButton2.js +3 -3
- package/dist/next/TimePicker/TimePicker2.js +3 -3
- package/dist/next/ToggleButton/styles.js +3 -3
- package/dist/next/Typography/Typography.js +36 -0
- package/dist/next/Typography/TypographyTypesMapper.js +26 -0
- package/dist/next/Typography/index.js +1 -0
- package/dist/next/index.d.ts +22 -0
- package/dist/next/index.es.js +2 -0
- package/dist/next/index.js +296 -236
- package/dist/utils/Flyout/Flyout2.js +3 -3
- package/icons/package.json +2 -2
- package/next/package.json +3 -3
- package/package.json +6 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Typography } from './Typography.js';
|
package/dist/next/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import { E164Number } from 'libphonenumber-js';
|
|
|
8
8
|
import { FocusEventHandler } from 'react';
|
|
9
9
|
import { FormEvent } from 'react';
|
|
10
10
|
import { FunctionComponent } from 'react';
|
|
11
|
+
import { HTMLAttributes } from 'react';
|
|
11
12
|
import type { InputHTMLAttributes } from 'react';
|
|
12
13
|
import { MouseEventHandler } from 'react';
|
|
13
14
|
import { MutableRefObject } from 'react';
|
|
@@ -1413,6 +1414,27 @@ declare interface TooltipProps_2 extends Omit<React_2.AllHTMLAttributes<HTMLDivE
|
|
|
1413
1414
|
[prop: string]: any;
|
|
1414
1415
|
}
|
|
1415
1416
|
|
|
1417
|
+
export declare const Typography: React_2.FC<TypographyProps>;
|
|
1418
|
+
|
|
1419
|
+
declare type TypographyFontWeight = 'regular' | 'bold';
|
|
1420
|
+
|
|
1421
|
+
export declare interface TypographyProps extends HTMLAttributes<HTMLElement> {
|
|
1422
|
+
/** Element or component to be displayed inside the Typography component.*/
|
|
1423
|
+
children: React_2.ReactNode;
|
|
1424
|
+
/** The variant of tag this component will be rendered as */
|
|
1425
|
+
variant: TypographyVariant;
|
|
1426
|
+
/** The kind of font weight to use
|
|
1427
|
+
* @defaultValue 'regular'
|
|
1428
|
+
*/
|
|
1429
|
+
fontWeight?: TypographyFontWeight;
|
|
1430
|
+
/** The base style to use for the typography variant */
|
|
1431
|
+
baseStyle?: TypographyVariant;
|
|
1432
|
+
/** Additional props to be spread to the component */
|
|
1433
|
+
[prop: string]: any;
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
declare type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'body';
|
|
1437
|
+
|
|
1416
1438
|
export declare function useForm<V extends Values>({ initialValues, validateField, }: UseFormOptions<V>): {
|
|
1417
1439
|
Form: (props: FormProps) => JSX.Element;
|
|
1418
1440
|
register: {
|
package/dist/next/index.es.js
CHANGED
|
@@ -17,6 +17,7 @@ import './TimePicker/index.js';
|
|
|
17
17
|
import './Tooltip/index.js';
|
|
18
18
|
import './ToggleButton/index.js';
|
|
19
19
|
import './Chat/index.js';
|
|
20
|
+
import './Typography/index.js';
|
|
20
21
|
export { AdvancedTable } from './AdvancedTable/AdvancedTable.js';
|
|
21
22
|
export { default as CollapsibleSearchInput } from './CollapsibleSearchInput/CollapsibleSearchInput.js';
|
|
22
23
|
export { CollectionGrid } from './CollectionGrid/CollectionGrid.js';
|
|
@@ -59,5 +60,6 @@ export { default as Chat } from './Chat/Chat.js';
|
|
|
59
60
|
export { default as ChatInput } from './Chat/ChatInput.js';
|
|
60
61
|
export { default as ChatMessage } from './Chat/ChatMessage.js';
|
|
61
62
|
export { default as ChatMessageList } from './Chat/ChatMessageList.js';
|
|
63
|
+
export { Typography } from './Typography/Typography.js';
|
|
62
64
|
|
|
63
65
|
/* eslint-disable camelcase */
|