@digdir/designsystemet-react 1.0.0-next.45 → 1.0.0-next.46
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/dist/cjs/components/Tabs/TabsList.js +2 -3
- package/dist/cjs/components/Tabs/TabsPanel.js +13 -3
- package/dist/cjs/components/Tabs/TabsTab.js +3 -4
- package/dist/cjs/index.js +0 -2
- package/dist/esm/components/Tabs/TabsList.js +2 -3
- package/dist/esm/components/Tabs/TabsPanel.js +14 -4
- package/dist/esm/components/Tabs/TabsTab.js +3 -4
- package/dist/esm/index.js +0 -1
- package/dist/types/components/Chip/Chips.d.ts +2 -2
- package/dist/types/components/Chip/Chips.d.ts.map +1 -1
- package/dist/types/components/Chip/index.d.ts +2 -2
- package/dist/types/components/Input/Input.d.ts +14 -6
- package/dist/types/components/Input/Input.d.ts.map +1 -1
- package/dist/types/components/Popover/Popover.d.ts +1 -1
- package/dist/types/components/Search/SearchInput.d.ts +1 -1
- package/dist/types/components/Search/index.d.ts +1 -1
- package/dist/types/components/Switch/Switch.d.ts +1 -1
- package/dist/types/components/Switch/Switch.d.ts.map +1 -1
- package/dist/types/components/Tabs/TabsList.d.ts.map +1 -1
- package/dist/types/components/Tabs/TabsPanel.d.ts.map +1 -1
- package/dist/types/components/Tabs/TabsTab.d.ts.map +1 -1
- package/dist/types/components/Textfield/Textfield.d.ts +7 -1
- package/dist/types/components/Textfield/Textfield.d.ts.map +1 -1
- package/dist/types/components/index.d.ts +0 -1
- package/dist/types/components/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/components/HelpText/HelpText.js +0 -13
- package/dist/esm/components/HelpText/HelpText.js +0 -11
- package/dist/types/components/HelpText/HelpText.d.ts +0 -27
- package/dist/types/components/HelpText/HelpText.d.ts.map +0 -1
- package/dist/types/components/HelpText/index.d.ts +0 -3
- package/dist/types/components/HelpText/index.d.ts.map +0 -1
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var cl = require('clsx/lite');
|
|
6
5
|
var react = require('react');
|
|
7
6
|
var Tabs = require('./Tabs.js');
|
|
8
7
|
var RovingFocusRoot = require('../../utilities/RovingFocus/RovingFocusRoot.js');
|
|
@@ -17,9 +16,9 @@ var RovingFocusRoot = require('../../utilities/RovingFocus/RovingFocusRoot.js');
|
|
|
17
16
|
* </Tabs.List>
|
|
18
17
|
* ```
|
|
19
18
|
*/
|
|
20
|
-
const TabsList = react.forwardRef(function TabsList({ children,
|
|
19
|
+
const TabsList = react.forwardRef(function TabsList({ children, ...rest }, ref) {
|
|
21
20
|
const { value } = react.useContext(Tabs.Context);
|
|
22
|
-
return (jsxRuntime.jsx(RovingFocusRoot.RovingFocusRoot, { role: 'tablist', activeValue: value,
|
|
21
|
+
return (jsxRuntime.jsx(RovingFocusRoot.RovingFocusRoot, { role: 'tablist', activeValue: value, orientation: 'ambiguous', ref: ref, ...rest, children: children }));
|
|
23
22
|
});
|
|
24
23
|
|
|
25
24
|
exports.TabsList = TabsList;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var cl = require('clsx/lite');
|
|
6
5
|
var react = require('react');
|
|
6
|
+
var react$1 = require('@floating-ui/react');
|
|
7
7
|
var Tabs = require('./Tabs.js');
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -13,10 +13,20 @@ var Tabs = require('./Tabs.js');
|
|
|
13
13
|
* <Tabs.Panel value='1'>content 1</Tabs.Panel>
|
|
14
14
|
* ```
|
|
15
15
|
*/
|
|
16
|
-
const TabsPanel = react.forwardRef(function TabsPanel({ children, value,
|
|
16
|
+
const TabsPanel = react.forwardRef(function TabsPanel({ children, value, ...rest }, ref) {
|
|
17
17
|
const { value: tabsValue } = react.useContext(Tabs.Context);
|
|
18
18
|
const active = value === tabsValue;
|
|
19
|
-
|
|
19
|
+
const [hasTabbableElement, setHasTabbableElement] = react.useState(false);
|
|
20
|
+
const internalRef = react.useRef(null);
|
|
21
|
+
const mergedRef = react$1.useMergeRefs([ref, internalRef]);
|
|
22
|
+
/* Check if the panel has any tabbable elements */
|
|
23
|
+
react.useEffect(() => {
|
|
24
|
+
if (!internalRef.current)
|
|
25
|
+
return;
|
|
26
|
+
const tabbableElements = internalRef.current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
|
|
27
|
+
setHasTabbableElement(tabbableElements.length > 0);
|
|
28
|
+
}, [children]);
|
|
29
|
+
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: active && (jsxRuntime.jsx("div", { ref: mergedRef, role: 'tabpanel', tabIndex: hasTabbableElement ? undefined : 0, ...rest, children: children })) }));
|
|
20
30
|
});
|
|
21
31
|
|
|
22
32
|
exports.TabsPanel = TabsPanel;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var cl = require('clsx/lite');
|
|
6
5
|
var react = require('react');
|
|
7
6
|
var RovingFocusItem = require('../../utilities/RovingFocus/RovingFocusItem.js');
|
|
8
7
|
var Tabs = require('./Tabs.js');
|
|
@@ -12,10 +11,10 @@ var Tabs = require('./Tabs.js');
|
|
|
12
11
|
* @example
|
|
13
12
|
* <Tabs.Tab value='1'>Tab 1</Tabs.Tab>
|
|
14
13
|
*/
|
|
15
|
-
const TabsTab = react.forwardRef(function TabsTab({
|
|
14
|
+
const TabsTab = react.forwardRef(function TabsTab({ value, id, ...rest }, ref) {
|
|
16
15
|
const tabs = react.useContext(Tabs.Context);
|
|
17
|
-
const buttonId = `tab-${react.useId()}`;
|
|
18
|
-
return (jsxRuntime.jsx(RovingFocusItem.RovingFocusItem, { value: value, ...rest, asChild: true, children: jsxRuntime.jsx("button", { ...rest, "aria-selected": tabs.value === value,
|
|
16
|
+
const buttonId = id ?? `tab-${react.useId()}`;
|
|
17
|
+
return (jsxRuntime.jsx(RovingFocusItem.RovingFocusItem, { value: value, ...rest, asChild: true, children: jsxRuntime.jsx("button", { ...rest, "aria-selected": tabs.value === value, id: buttonId, onClick: () => tabs.onChange?.(value), ref: ref, role: 'tab', type: 'button' }) }));
|
|
19
18
|
});
|
|
20
19
|
|
|
21
20
|
exports.TabsTab = TabsTab;
|
package/dist/cjs/index.js
CHANGED
|
@@ -9,7 +9,6 @@ var index$1 = require('./components/Breadcrumbs/index.js');
|
|
|
9
9
|
var BreadcrumbsList = require('./components/Breadcrumbs/BreadcrumbsList.js');
|
|
10
10
|
var BreadcrumbsItem = require('./components/Breadcrumbs/BreadcrumbsItem.js');
|
|
11
11
|
var BreadcrumbsLink = require('./components/Breadcrumbs/BreadcrumbsLink.js');
|
|
12
|
-
var HelpText = require('./components/HelpText/HelpText.js');
|
|
13
12
|
var Spinner = require('./components/Spinner/Spinner.js');
|
|
14
13
|
var Skeleton = require('./components/Skeleton/Skeleton.js');
|
|
15
14
|
var Link = require('./components/Link/Link.js');
|
|
@@ -113,7 +112,6 @@ exports.Breadcrumbs = index$1.Breadcrumbs;
|
|
|
113
112
|
exports.BreadcrumbsList = BreadcrumbsList.BreadcrumbsList;
|
|
114
113
|
exports.BreadcrumbsItem = BreadcrumbsItem.BreadcrumbsItem;
|
|
115
114
|
exports.BreadcrumbsLink = BreadcrumbsLink.BreadcrumbsLink;
|
|
116
|
-
exports.HelpText = HelpText.HelpText;
|
|
117
115
|
exports.Spinner = Spinner.Spinner;
|
|
118
116
|
exports.Skeleton = Skeleton.Skeleton;
|
|
119
117
|
exports.Link = Link.Link;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import cl from 'clsx/lite';
|
|
4
3
|
import { forwardRef, useContext } from 'react';
|
|
5
4
|
import { Context } from './Tabs.js';
|
|
6
5
|
import { RovingFocusRoot } from '../../utilities/RovingFocus/RovingFocusRoot.js';
|
|
@@ -15,9 +14,9 @@ import { RovingFocusRoot } from '../../utilities/RovingFocus/RovingFocusRoot.js'
|
|
|
15
14
|
* </Tabs.List>
|
|
16
15
|
* ```
|
|
17
16
|
*/
|
|
18
|
-
const TabsList = forwardRef(function TabsList({ children,
|
|
17
|
+
const TabsList = forwardRef(function TabsList({ children, ...rest }, ref) {
|
|
19
18
|
const { value } = useContext(Context);
|
|
20
|
-
return (jsx(RovingFocusRoot, { role: 'tablist', activeValue: value,
|
|
19
|
+
return (jsx(RovingFocusRoot, { role: 'tablist', activeValue: value, orientation: 'ambiguous', ref: ref, ...rest, children: children }));
|
|
21
20
|
});
|
|
22
21
|
|
|
23
22
|
export { TabsList };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
3
|
+
import { forwardRef, useContext, useState, useRef, useEffect } from 'react';
|
|
4
|
+
import { useMergeRefs } from '@floating-ui/react';
|
|
5
5
|
import { Context } from './Tabs.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -11,10 +11,20 @@ import { Context } from './Tabs.js';
|
|
|
11
11
|
* <Tabs.Panel value='1'>content 1</Tabs.Panel>
|
|
12
12
|
* ```
|
|
13
13
|
*/
|
|
14
|
-
const TabsPanel = forwardRef(function TabsPanel({ children, value,
|
|
14
|
+
const TabsPanel = forwardRef(function TabsPanel({ children, value, ...rest }, ref) {
|
|
15
15
|
const { value: tabsValue } = useContext(Context);
|
|
16
16
|
const active = value === tabsValue;
|
|
17
|
-
|
|
17
|
+
const [hasTabbableElement, setHasTabbableElement] = useState(false);
|
|
18
|
+
const internalRef = useRef(null);
|
|
19
|
+
const mergedRef = useMergeRefs([ref, internalRef]);
|
|
20
|
+
/* Check if the panel has any tabbable elements */
|
|
21
|
+
useEffect(() => {
|
|
22
|
+
if (!internalRef.current)
|
|
23
|
+
return;
|
|
24
|
+
const tabbableElements = internalRef.current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
|
|
25
|
+
setHasTabbableElement(tabbableElements.length > 0);
|
|
26
|
+
}, [children]);
|
|
27
|
+
return (jsx(Fragment, { children: active && (jsx("div", { ref: mergedRef, role: 'tabpanel', tabIndex: hasTabbableElement ? undefined : 0, ...rest, children: children })) }));
|
|
18
28
|
});
|
|
19
29
|
|
|
20
30
|
export { TabsPanel };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import cl from 'clsx/lite';
|
|
4
3
|
import { forwardRef, useContext, useId } from 'react';
|
|
5
4
|
import { RovingFocusItem } from '../../utilities/RovingFocus/RovingFocusItem.js';
|
|
6
5
|
import { Context } from './Tabs.js';
|
|
@@ -10,10 +9,10 @@ import { Context } from './Tabs.js';
|
|
|
10
9
|
* @example
|
|
11
10
|
* <Tabs.Tab value='1'>Tab 1</Tabs.Tab>
|
|
12
11
|
*/
|
|
13
|
-
const TabsTab = forwardRef(function TabsTab({
|
|
12
|
+
const TabsTab = forwardRef(function TabsTab({ value, id, ...rest }, ref) {
|
|
14
13
|
const tabs = useContext(Context);
|
|
15
|
-
const buttonId = `tab-${useId()}`;
|
|
16
|
-
return (jsx(RovingFocusItem, { value: value, ...rest, asChild: true, children: jsx("button", { ...rest, "aria-selected": tabs.value === value,
|
|
14
|
+
const buttonId = id ?? `tab-${useId()}`;
|
|
15
|
+
return (jsx(RovingFocusItem, { value: value, ...rest, asChild: true, children: jsx("button", { ...rest, "aria-selected": tabs.value === value, id: buttonId, onClick: () => tabs.onChange?.(value), ref: ref, role: 'tab', type: 'button' }) }));
|
|
17
16
|
});
|
|
18
17
|
|
|
19
18
|
export { TabsTab };
|
package/dist/esm/index.js
CHANGED
|
@@ -7,7 +7,6 @@ export { Breadcrumbs } from './components/Breadcrumbs/index.js';
|
|
|
7
7
|
export { BreadcrumbsList } from './components/Breadcrumbs/BreadcrumbsList.js';
|
|
8
8
|
export { BreadcrumbsItem } from './components/Breadcrumbs/BreadcrumbsItem.js';
|
|
9
9
|
export { BreadcrumbsLink } from './components/Breadcrumbs/BreadcrumbsLink.js';
|
|
10
|
-
export { HelpText } from './components/HelpText/HelpText.js';
|
|
11
10
|
export { Spinner } from './components/Spinner/Spinner.js';
|
|
12
11
|
export { Skeleton } from './components/Skeleton/Skeleton.js';
|
|
13
12
|
export { Link } from './components/Link/Link.js';
|
|
@@ -30,13 +30,13 @@ export declare const ChipRemovable: React.ForwardRefExoticComponent<Omit<Default
|
|
|
30
30
|
* <Chip.Checkbox name="language" value="nynorsk">Nynorsk</Chip.Checkbox>
|
|
31
31
|
* <Chip.Checkbox name="language" value="bokmål">Bokmål</Chip.Checkbox>
|
|
32
32
|
*/
|
|
33
|
-
export declare const ChipCheckbox: React.ForwardRefExoticComponent<Omit<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, "
|
|
33
|
+
export declare const ChipCheckbox: React.ForwardRefExoticComponent<Omit<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size">, "asChild"> & ChipBaseProps & React.RefAttributes<HTMLLabelElement>>;
|
|
34
34
|
/**
|
|
35
35
|
* Chip.Radio used for single selection
|
|
36
36
|
* @example
|
|
37
37
|
* <Chip.Radio name="language" value="nynorsk">Nynorsk</Chip.Radio>
|
|
38
38
|
* <Chip.Radio name="language" value="bokmål">Bokmål</Chip.Radio>
|
|
39
39
|
*/
|
|
40
|
-
export declare const ChipRadio: React.ForwardRefExoticComponent<Omit<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, "
|
|
40
|
+
export declare const ChipRadio: React.ForwardRefExoticComponent<Omit<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, "type" | "size">, "asChild"> & ChipBaseProps & React.RefAttributes<HTMLLabelElement>>;
|
|
41
41
|
export {};
|
|
42
42
|
//# sourceMappingURL=Chips.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chips.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chips.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,KAAK,aAAa,GAAG;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG,iBAAiB,CAAC;AAC/C,MAAM,MAAM,eAAe,GAAG,UAAU,CACtC,YAAY,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,EACtD,aAAa,CACd,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,UAAU,CACxC,YAAY,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,EAC3E,aAAa,CACd,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,UAAU,mKAatB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,mKAIzB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"Chips.d.ts","sourceRoot":"","sources":["../../../src/components/Chip/Chips.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,KAAK,aAAa,GAAG;IACnB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,eAAe,CAAC;AACjD,MAAM,MAAM,cAAc,GAAG,iBAAiB,CAAC;AAC/C,MAAM,MAAM,eAAe,GAAG,UAAU,CACtC,YAAY,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,EACtD,aAAa,CACd,CAAC;AACF,MAAM,MAAM,iBAAiB,GAAG,UAAU,CACxC,YAAY,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,EAC3E,aAAa,CACd,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,UAAU,mKAatB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,aAAa,mKAIzB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,YAAY,uLA4BxB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,SAAS,uLAIrB,CAAC"}
|
|
@@ -3,10 +3,10 @@ declare const Chip: {
|
|
|
3
3
|
Button: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & React.ButtonHTMLAttributes<HTMLButtonElement>, "asChild"> & {
|
|
4
4
|
asChild?: boolean;
|
|
5
5
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
Checkbox: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
6
|
+
Checkbox: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size">, "asChild"> & {
|
|
7
7
|
asChild?: boolean;
|
|
8
8
|
} & React.RefAttributes<HTMLLabelElement>>;
|
|
9
|
-
Radio: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
9
|
+
Radio: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "size">, "asChild"> & {
|
|
10
10
|
asChild?: boolean;
|
|
11
11
|
} & React.RefAttributes<HTMLLabelElement>>;
|
|
12
12
|
Removable: React.ForwardRefExoticComponent<Omit<import("../../types").DefaultProps & React.ButtonHTMLAttributes<HTMLButtonElement>, "asChild"> & {
|
|
@@ -2,9 +2,13 @@ import type { InputHTMLAttributes } from 'react';
|
|
|
2
2
|
import type { DefaultProps } from '../../types';
|
|
3
3
|
import type { MergeRight } from '../../utilities';
|
|
4
4
|
type InputAttr = InputHTMLAttributes<HTMLInputElement>;
|
|
5
|
-
export type InputProps = MergeRight<DefaultProps & Omit<InputAttr, 'prefix'>, {
|
|
6
|
-
/**
|
|
7
|
-
|
|
5
|
+
export type InputProps = MergeRight<DefaultProps & Omit<InputAttr, 'prefix' | 'type'>, {
|
|
6
|
+
/**
|
|
7
|
+
* Supported `input` types
|
|
8
|
+
*
|
|
9
|
+
* @default 'text'
|
|
10
|
+
* */
|
|
11
|
+
type?: 'checkbox' | 'color' | 'date' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'month' | 'number' | 'password' | 'radio' | 'search' | 'tel' | 'text' | 'time' | 'url' | 'week';
|
|
8
12
|
/** Defines the width of `Input` in count of characters.
|
|
9
13
|
*/
|
|
10
14
|
size?: number;
|
|
@@ -24,9 +28,13 @@ export type InputProps = MergeRight<DefaultProps & Omit<InputAttr, 'prefix'>, {
|
|
|
24
28
|
* <Input />
|
|
25
29
|
* ```
|
|
26
30
|
*/
|
|
27
|
-
export declare const Input: React.ForwardRefExoticComponent<Omit<DefaultProps & Omit<InputAttr, "prefix">, "
|
|
28
|
-
/**
|
|
29
|
-
|
|
31
|
+
export declare const Input: React.ForwardRefExoticComponent<Omit<DefaultProps & Omit<InputAttr, "prefix" | "type">, "type" | "disabled" | "readOnly" | "size" | "role"> & {
|
|
32
|
+
/**
|
|
33
|
+
* Supported `input` types
|
|
34
|
+
*
|
|
35
|
+
* @default 'text'
|
|
36
|
+
* */
|
|
37
|
+
type?: "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "month" | "number" | "password" | "radio" | "search" | "tel" | "text" | "time" | "url" | "week";
|
|
30
38
|
/** Defines the width of `Input` in count of characters.
|
|
31
39
|
*/
|
|
32
40
|
size?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,KAAK,SAAS,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAEvD,MAAM,MAAM,UAAU,GAAG,UAAU,CACjC,YAAY,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAElD,KAAK,SAAS,GAAG,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;AAEvD,MAAM,MAAM,UAAU,GAAG,UAAU,CACjC,YAAY,GAAG,IAAI,CAAC,SAAS,EAAE,QAAQ,GAAG,MAAM,CAAC,EACjD;IACE;;;;SAIK;IACL,IAAI,CAAC,EACD,UAAU,GACV,OAAO,GACP,MAAM,GACN,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GAER,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GAGP,QAAQ,GAER,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,CAAC;IAEX;OACG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wBAAwB;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yDAAyD;IACzD,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;CAC1B,CACF,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,KAAK;IAjDd;;;;SAIK;WAED,UAAU,GACV,OAAO,GACP,MAAM,GACN,gBAAgB,GAChB,OAAO,GACP,MAAM,GACN,QAAQ,GAER,OAAO,GACP,QAAQ,GACR,UAAU,GACV,OAAO,GAGP,QAAQ,GAER,KAAK,GACL,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM;IAEV;OACG;WACI,MAAM;IACb;;OAEG;eACQ,OAAO;IAClB,wBAAwB;eACb,OAAO;IAClB,yDAAyD;WAClD,SAAS,CAAC,MAAM,CAAC;0CA4B1B,CAAC"}
|
|
@@ -44,7 +44,7 @@ export type PopoverProps = MergeRight<DefaultProps & HTMLAttributes<HTMLDivEleme
|
|
|
44
44
|
autoPlacement?: boolean;
|
|
45
45
|
asChild?: boolean;
|
|
46
46
|
}>;
|
|
47
|
-
export declare const Popover: React.ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLDivElement>, "id" | "asChild" | "placement" | "open" | "
|
|
47
|
+
export declare const Popover: React.ForwardRefExoticComponent<Omit<DefaultProps & HTMLAttributes<HTMLDivElement>, "id" | "asChild" | "placement" | "open" | "onClose" | "onOpen" | "autoPlacement"> & {
|
|
48
48
|
/**
|
|
49
49
|
* id to connect the trigger with the popover - required when used without Popover.Context.
|
|
50
50
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { DefaultProps } from '../../types';
|
|
2
2
|
export type SearchInputProps = DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, 'readOnly' | 'type'>;
|
|
3
|
-
export declare const SearchInput: React.ForwardRefExoticComponent<DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
3
|
+
export declare const SearchInput: React.ForwardRefExoticComponent<DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "readOnly"> & React.RefAttributes<HTMLInputElement>>;
|
|
4
4
|
//# sourceMappingURL=SearchInput.d.ts.map
|
|
@@ -24,7 +24,7 @@ declare const Search: React.ForwardRefExoticComponent<import("../../types").Defa
|
|
|
24
24
|
asChild?: boolean;
|
|
25
25
|
type?: React.ButtonHTMLAttributes<HTMLButtonElement>["type"];
|
|
26
26
|
} & React.RefAttributes<HTMLButtonElement>>;
|
|
27
|
-
Input: React.ForwardRefExoticComponent<import("../../types").DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
27
|
+
Input: React.ForwardRefExoticComponent<import("../../types").DefaultProps & Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "readOnly"> & React.RefAttributes<HTMLInputElement>>;
|
|
28
28
|
};
|
|
29
29
|
export type { SearchProps } from './Search';
|
|
30
30
|
export type { SearchButtonProps } from './SearchButton';
|
|
@@ -3,7 +3,7 @@ import type { DefaultProps, LabelRequired } from '../../types';
|
|
|
3
3
|
import type { MergeRight } from '../../utilities';
|
|
4
4
|
import { type FieldProps } from '../Field';
|
|
5
5
|
import { type InputProps } from '../Input';
|
|
6
|
-
export type SwitchProps = MergeRight<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, 'size'>, {
|
|
6
|
+
export type SwitchProps = MergeRight<DefaultProps & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type'>, {
|
|
7
7
|
/** Optional aria-label */
|
|
8
8
|
'aria-label'?: string;
|
|
9
9
|
/** Radio label */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,MAAM,WAAW,GAAG,UAAU,CAClC,YAAY,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/components/Switch/Switch.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAE5D,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAGlD,MAAM,MAAM,WAAW,GAAG,UAAU,CAClC,YAAY,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC,EAC3E;IACE,0BAA0B;IAC1B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB;IAClB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,4BAA4B;IAC5B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,mCAAmC;IACnC,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;CACnC,GAAG,aAAa,CAClB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,MAAM,sFAyBjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabsList.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsList.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TabsList.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO5C,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAE3D;;;;;;;;;GASG;AACH,eAAO,MAAM,QAAQ,sFAgBpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsPanel.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TabsPanel.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,MAAM,MAAM,cAAc,GAAG;IAC3B,yFAAyF;IACzF,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,CAAC,CAAC;AAElD;;;;;;GAMG;AACH,eAAO,MAAM,SAAS;IAXpB,yFAAyF;WAClF,MAAM;wFA4Cd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabsTab.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsTab.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TabsTab.d.ts","sourceRoot":"","sources":["../../../src/components/Tabs/TabsTab.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,MAAM,MAAM,YAAY,GAAG;IACzB,sFAAsF;IACtF,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,IAAI,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,CAAC;AAErD;;;;GAIG;AACH,eAAO,MAAM,OAAO;IATlB,sFAAsF;WAC/E,MAAM;8FA2Bd,CAAC"}
|
|
@@ -3,7 +3,7 @@ import type { DefaultProps, LabelRequired } from '../../types';
|
|
|
3
3
|
import { type FieldCounterProps } from '../Field';
|
|
4
4
|
import { type InputProps } from '../Input';
|
|
5
5
|
import { type TextareaProps } from '../Textarea';
|
|
6
|
-
type InputProps_ = Omit<InputProps, 'prefix' | 'className' | 'style' | 'data-color'>;
|
|
6
|
+
type InputProps_ = Omit<InputProps, 'prefix' | 'className' | 'style' | 'data-color' | 'type'>;
|
|
7
7
|
type TextareaProps_ = Omit<TextareaProps, 'prefix' | 'className' | 'style'>;
|
|
8
8
|
type SharedTextfieldProps = {
|
|
9
9
|
/** Classname on the wrapper element`Field` */
|
|
@@ -32,6 +32,12 @@ type TextfieldTextareaProps = {
|
|
|
32
32
|
type TextfieldInputProps = {
|
|
33
33
|
/** Use to render a `Textarea` instead of `Input` for multiline support */
|
|
34
34
|
multiline?: never | false;
|
|
35
|
+
/**
|
|
36
|
+
* Supported `input` types
|
|
37
|
+
*
|
|
38
|
+
* @default 'text'
|
|
39
|
+
* */
|
|
40
|
+
type?: Omit<InputProps['type'], 'radio' | 'checkbox' | 'image'>;
|
|
35
41
|
} & InputProps_;
|
|
36
42
|
export type TextfieldProps = SharedTextfieldProps & (TextfieldTextareaProps | TextfieldInputProps);
|
|
37
43
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../src/components/Textfield/Textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAIL,KAAK,iBAAiB,EAEvB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAG3D,KAAK,WAAW,GAAG,IAAI,CACrB,UAAU,EACV,QAAQ,GAAG,WAAW,GAAG,OAAO,GAAG,YAAY,
|
|
1
|
+
{"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../src/components/Textfield/Textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAc,MAAM,OAAO,CAAC;AAEtE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC/D,OAAO,EAIL,KAAK,iBAAiB,EAEvB,MAAM,UAAU,CAAC;AAClB,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAElD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,aAAa,CAAC;AAG3D,KAAK,WAAW,GAAG,IAAI,CACrB,UAAU,EACV,QAAQ,GAAG,WAAW,GAAG,OAAO,GAAG,YAAY,GAAG,MAAM,CACzD,CAAC;AACF,KAAK,cAAc,GAAG,IAAI,CAAC,aAAa,EAAE,QAAQ,GAAG,WAAW,GAAG,OAAO,CAAC,CAAC;AAE5E,KAAK,oBAAoB,GAAG;IAC1B,8CAA8C;IAC9C,SAAS,CAAC,EAAE,UAAU,CAAC,WAAW,CAAC,CAAC;IACpC,2CAA2C;IAC3C,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B,YAAY;IACZ,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,kBAAkB;IAClB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,aAAa;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,8BAA8B;IAC9B,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,GAAG,MAAM,CAAC;CACtC,GAAG,aAAa,GACf,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC;AAEnC,KAAK,sBAAsB,GAAG;IAC5B,2EAA2E;IAC3E,SAAS,EAAE,IAAI,CAAC;CACjB,GAAG,cAAc,CAAC;AAEnB,KAAK,mBAAmB,GAAG;IACzB,2EAA2E;IAC3E,SAAS,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IAC1B;;;;SAIK;IACL,IAAI,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,OAAO,CAAC,CAAC;CACjE,GAAG,WAAW,CAAC;AAEhB,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAC/C,CAAC,sBAAsB,GAAG,mBAAmB,CAAC,CAAC;AAEjD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,+GAgDpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,WAAW,CAAC;AAC1B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,eAAe,CAAC;AAC9B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
'use strict';
|
|
3
|
-
|
|
4
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var cl = require('clsx/lite');
|
|
6
|
-
var react = require('react');
|
|
7
|
-
var index = require('../Popover/index.js');
|
|
8
|
-
|
|
9
|
-
const HelpText = react.forwardRef(function HelpText({ placement = 'right', className, children, ...rest }, ref) {
|
|
10
|
-
return (jsxRuntime.jsxs(index.Popover.TriggerContext, { children: [jsxRuntime.jsx(index.Popover.Trigger, { className: cl('ds-helptext', className), ref: ref, variant: 'tertiary', "data-color": 'info', ...rest }), jsxRuntime.jsx(index.Popover, { placement: placement, "data-color": 'info', children: children })] }));
|
|
11
|
-
});
|
|
12
|
-
|
|
13
|
-
exports.HelpText = HelpText;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
import cl from 'clsx/lite';
|
|
4
|
-
import { forwardRef } from 'react';
|
|
5
|
-
import { Popover } from '../Popover/index.js';
|
|
6
|
-
|
|
7
|
-
const HelpText = forwardRef(function HelpText({ placement = 'right', className, children, ...rest }, ref) {
|
|
8
|
-
return (jsxs(Popover.TriggerContext, { children: [jsx(Popover.Trigger, { className: cl('ds-helptext', className), ref: ref, variant: 'tertiary', "data-color": 'info', ...rest }), jsx(Popover, { placement: placement, "data-color": 'info', children: children })] }));
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
export { HelpText };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { Placement } from '@floating-ui/utils';
|
|
2
|
-
import type { ButtonHTMLAttributes } from 'react';
|
|
3
|
-
import type { DefaultProps } from '../../types';
|
|
4
|
-
import type { MergeRight } from '../../utilities';
|
|
5
|
-
export type HelpTextProps = MergeRight<DefaultProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, {
|
|
6
|
-
/**
|
|
7
|
-
* Required descriptive label for screen readers.
|
|
8
|
-
**/
|
|
9
|
-
'aria-label': string;
|
|
10
|
-
/**
|
|
11
|
-
* Placement of the Popover.
|
|
12
|
-
* @default 'right'
|
|
13
|
-
*/
|
|
14
|
-
placement?: Placement;
|
|
15
|
-
}>;
|
|
16
|
-
export declare const HelpText: React.ForwardRefExoticComponent<Omit<DefaultProps & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "color">, "aria-label" | "placement"> & {
|
|
17
|
-
/**
|
|
18
|
-
* Required descriptive label for screen readers.
|
|
19
|
-
**/
|
|
20
|
-
'aria-label': string;
|
|
21
|
-
/**
|
|
22
|
-
* Placement of the Popover.
|
|
23
|
-
* @default 'right'
|
|
24
|
-
*/
|
|
25
|
-
placement?: Placement;
|
|
26
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
27
|
-
//# sourceMappingURL=HelpText.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HelpText.d.ts","sourceRoot":"","sources":["../../../src/components/HelpText/HelpText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGlD,MAAM,MAAM,aAAa,GAAG,UAAU,CACpC,YAAY,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,CAAC,EACrE;IACE;;QAEI;IACJ,YAAY,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,CACF,CAAC;AAEF,eAAO,MAAM,QAAQ;IAZjB;;QAEI;kBACU,MAAM;IACpB;;;OAGG;gBACS,SAAS;2CAwBxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/HelpText/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|