@digdir/designsystemet-react 0.57.0 → 0.58.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.
Files changed (66) hide show
  1. package/dist/cjs/components/Accordion/AccordionHeader/AccordionHeader.js +1 -2
  2. package/dist/cjs/components/Button/Button.js +1 -2
  3. package/dist/cjs/components/Button/Button.module.css.js +1 -1
  4. package/dist/cjs/components/Card/Card.js +1 -2
  5. package/dist/cjs/components/Chip/Removable/Removable.js +1 -2
  6. package/dist/cjs/components/Chip/Toggle/Toggle.js +1 -2
  7. package/dist/cjs/components/HelpText/HelpText.js +1 -2
  8. package/dist/cjs/components/SkipLink/SkipLink.js +1 -2
  9. package/dist/cjs/components/Table/TableHeaderCell.js +1 -2
  10. package/dist/cjs/components/Typography/Ingress/Ingress.js +2 -3
  11. package/dist/cjs/components/form/CharacterCounter.js +1 -2
  12. package/dist/cjs/components/form/Combobox/internal/ComboboxClearButton.js +1 -2
  13. package/dist/cjs/components/form/Combobox/internal/ComboboxLabel.js +1 -2
  14. package/dist/cjs/components/form/Fieldset/Fieldset.js +1 -2
  15. package/dist/cjs/components/form/NativeSelect/NativeSelect.js +1 -2
  16. package/dist/cjs/components/form/Search/Search.js +1 -2
  17. package/dist/cjs/components/form/Textarea/Textarea.js +1 -2
  18. package/dist/cjs/components/form/Textfield/Textfield.js +1 -2
  19. package/dist/cjs/react-css-modules.css +2 -102
  20. package/dist/esm/components/Accordion/AccordionHeader/AccordionHeader.js +1 -2
  21. package/dist/esm/components/Button/Button.js +1 -2
  22. package/dist/esm/components/Button/Button.module.css.js +1 -1
  23. package/dist/esm/components/Card/Card.js +1 -2
  24. package/dist/esm/components/Chip/Removable/Removable.js +1 -2
  25. package/dist/esm/components/Chip/Toggle/Toggle.js +1 -2
  26. package/dist/esm/components/HelpText/HelpText.js +1 -2
  27. package/dist/esm/components/SkipLink/SkipLink.js +1 -2
  28. package/dist/esm/components/Table/TableHeaderCell.js +1 -2
  29. package/dist/esm/components/Typography/Ingress/Ingress.js +2 -3
  30. package/dist/esm/components/form/CharacterCounter.js +1 -2
  31. package/dist/esm/components/form/Combobox/internal/ComboboxClearButton.js +1 -2
  32. package/dist/esm/components/form/Combobox/internal/ComboboxLabel.js +1 -2
  33. package/dist/esm/components/form/Fieldset/Fieldset.js +1 -2
  34. package/dist/esm/components/form/NativeSelect/NativeSelect.js +1 -2
  35. package/dist/esm/components/form/Search/Search.js +1 -2
  36. package/dist/esm/components/form/Textarea/Textarea.js +1 -2
  37. package/dist/esm/components/form/Textfield/Textfield.js +1 -2
  38. package/dist/esm/react-css-modules.css +2 -102
  39. package/dist/types/components/Accordion/AccordionHeader/AccordionHeader.d.ts.map +1 -1
  40. package/dist/types/components/Button/Button.d.ts +1 -1
  41. package/dist/types/components/Button/Button.d.ts.map +1 -1
  42. package/dist/types/components/Card/Card.d.ts.map +1 -1
  43. package/dist/types/components/Chip/Removable/Removable.d.ts.map +1 -1
  44. package/dist/types/components/Chip/Toggle/Toggle.d.ts.map +1 -1
  45. package/dist/types/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  46. package/dist/types/components/ErrorSummary/ErrorSummaryItem.d.ts.map +1 -1
  47. package/dist/types/components/HelpText/HelpText.d.ts.map +1 -1
  48. package/dist/types/components/Modal/ModalTrigger/ModalTrigger.d.ts +1 -1
  49. package/dist/types/components/Popover/PopoverTrigger.d.ts +1 -1
  50. package/dist/types/components/SkipLink/SkipLink.d.ts.map +1 -1
  51. package/dist/types/components/Table/TableHeaderCell.d.ts.map +1 -1
  52. package/dist/types/components/Typography/Ingress/Ingress.d.ts +4 -2
  53. package/dist/types/components/Typography/Ingress/Ingress.d.ts.map +1 -1
  54. package/dist/types/components/form/CharacterCounter.d.ts.map +1 -1
  55. package/dist/types/components/form/Combobox/internal/ComboboxClearButton.d.ts.map +1 -1
  56. package/dist/types/components/form/Combobox/internal/ComboboxLabel.d.ts.map +1 -1
  57. package/dist/types/components/form/Fieldset/Fieldset.d.ts.map +1 -1
  58. package/dist/types/components/form/NativeSelect/NativeSelect.d.ts.map +1 -1
  59. package/dist/types/components/form/Search/Search.d.ts.map +1 -1
  60. package/dist/types/components/form/Textarea/Textarea.d.ts.map +1 -1
  61. package/dist/types/components/form/Textfield/Textfield.d.ts.map +1 -1
  62. package/package.json +2 -2
  63. package/dist/cjs/components/Typography/Ingress/Ingress.module.css.js +0 -6
  64. package/dist/cjs/utilities/utility.module.css.js +0 -6
  65. package/dist/esm/components/Typography/Ingress/Ingress.module.css.js +0 -4
  66. package/dist/esm/utilities/utility.module.css.js +0 -4
@@ -4,14 +4,13 @@ import { forwardRef, useContext } from 'react';
4
4
  import { CheckmarkIcon } from '@navikt/aksel-icons';
5
5
  import { clsx } from '../../../node_modules/clsx/dist/clsx.js';
6
6
  import { ChipGroupContext } from '../Group/Group.js';
7
- import utilityClasses from '../../../utilities/utility.module.css.js';
8
7
  import classes from '../Chip.module.css.js';
9
8
  import { Paragraph } from '../../Typography/Paragraph/Paragraph.js';
10
9
 
11
10
  const ToggleChip = forwardRef(({ children, size = 'medium', selected = false, checkmark = true, className, ...rest }, ref) => {
12
11
  const shouldDisplayCheckmark = checkmark && selected;
13
12
  const group = useContext(ChipGroupContext);
14
- return (jsx("button", { ref: ref, type: 'button', "aria-pressed": selected, className: clsx(classes.chipButton, utilityClasses.focusable, classes[group?.size || size], { [classes.spacing]: shouldDisplayCheckmark }, className), ...rest, children: jsx(Paragraph, { asChild: true, size: group?.size || size, short: true, children: jsxs("span", { className: classes.label, children: [shouldDisplayCheckmark && (jsx(CheckmarkIcon, { className: classes.checkmarkIcon, "aria-hidden": true })), jsx("span", { children: children })] }) }) }));
13
+ return (jsx("button", { ref: ref, type: 'button', "aria-pressed": selected, className: clsx(classes.chipButton, `fds-focus`, classes[group?.size || size], { [classes.spacing]: shouldDisplayCheckmark }, className), ...rest, children: jsx(Paragraph, { asChild: true, size: group?.size || size, short: true, children: jsxs("span", { className: classes.label, children: [shouldDisplayCheckmark && (jsx(CheckmarkIcon, { className: classes.checkmarkIcon, "aria-hidden": true })), jsx("span", { children: children })] }) }) }));
15
14
  });
16
15
  ToggleChip.displayName = 'ChipToggle';
17
16
 
@@ -3,13 +3,12 @@ import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
3
3
  import { useState } from 'react';
4
4
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
5
5
  import { Popover } from '../Popover/index.js';
6
- import utilityClasses from '../../utilities/utility.module.css.js';
7
6
  import classes from './HelpText.module.css.js';
8
7
  import { HelpTextIcon } from './HelpTextIcon.js';
9
8
 
10
9
  const HelpText = ({ title, placement = 'right', size = 'medium', portal, className, children, ...rest }) => {
11
10
  const [open, setOpen] = useState(false);
12
- return (jsx(Fragment, { children: jsxs(Popover, { variant: 'info', placement: placement, size: size, portal: portal, open: open, onClose: () => setOpen(false), children: [jsx(Popover.Trigger, { asChild: true, variant: 'tertiary', children: jsxs("button", { className: clsx(classes.helpTextButton, utilityClasses.focusable, className), "aria-expanded": open, onClick: () => setOpen(!open), ...rest, children: [jsx(HelpTextIcon, { filled: true, className: clsx(classes.helpTextIcon, classes.helpTextIconFilled, classes[size], className), openState: open }), jsx(HelpTextIcon, { className: clsx(classes.helpTextIcon, classes[size], className), openState: open }), jsx("span", { className: utilityClasses.visuallyHidden, children: title })] }) }), jsx(Popover.Content, { className: classes.helpTextContent, children: children })] }) }));
11
+ return (jsx(Fragment, { children: jsxs(Popover, { variant: 'info', placement: placement, size: size, portal: portal, open: open, onClose: () => setOpen(false), children: [jsx(Popover.Trigger, { asChild: true, variant: 'tertiary', children: jsxs("button", { className: clsx(classes.helpTextButton, `fds-focus`, className), "aria-expanded": open, onClick: () => setOpen(!open), ...rest, children: [jsx(HelpTextIcon, { filled: true, className: clsx(classes.helpTextIcon, classes.helpTextIconFilled, classes[size], className), openState: open }), jsx(HelpTextIcon, { className: clsx(classes.helpTextIcon, classes[size], className), openState: open }), jsx("span", { className: `fds-sr-only`, children: title })] }) }), jsx(Popover.Content, { className: classes.helpTextContent, children: children })] }) }));
13
12
  };
14
13
  HelpText.displayName = 'HelpText';
15
14
 
@@ -1,11 +1,10 @@
1
1
  'use client';
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
4
- import utilityClasses from '../../utilities/utility.module.css.js';
5
4
  import classes from './SkipLink.module.css.js';
6
5
 
7
6
  const SkipLink = ({ href, children, className, ...rest }) => {
8
- return (jsx("a", { href: href, className: clsx(utilityClasses.visuallyHidden, classes.skiplink, className), ...rest, children: children }));
7
+ return (jsx("a", { href: href, className: clsx(`fds-sr-only`, classes.skiplink, className), ...rest, children: children }));
9
8
  };
10
9
  SkipLink.displayName = 'SkipLink';
11
10
 
@@ -3,7 +3,6 @@ import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { ChevronUpIcon, ChevronDownIcon, ChevronUpDownIcon } from '@navikt/aksel-icons';
4
4
  import * as React from 'react';
5
5
  import { clsx } from '../../node_modules/clsx/dist/clsx.js';
6
- import utilityClasses from '../../utilities/utility.module.css.js';
7
6
  import classes from './Table.module.css.js';
8
7
 
9
8
  const SORT_ICON = {
@@ -12,7 +11,7 @@ const SORT_ICON = {
12
11
  };
13
12
  const TableHeaderCell = React.forwardRef(({ sortable = false, sort, onSortClick, className, children, ...rest }, ref) => {
14
13
  const sortIcon = sort === 'ascending' || sort === 'descending' ? (SORT_ICON[sort]) : (jsx(ChevronUpDownIcon, {}));
15
- return (jsxs("th", { className: clsx(sortable && classes.sortable, sort && classes.sorted, classes.headerCell, className), "aria-sort": sort, ref: ref, ...rest, children: [sortable && (jsxs("button", { className: utilityClasses.focusable, onClick: onSortClick, children: [children, sortIcon] })), !sortable && children] }));
14
+ return (jsxs("th", { className: clsx(sortable && classes.sortable, sort && classes.sorted, classes.headerCell, className), "aria-sort": sort, ref: ref, ...rest, children: [sortable && (jsxs("button", { className: `fds-focus`, onClick: onSortClick, children: [children, sortIcon] })), !sortable && children] }));
16
15
  });
17
16
  TableHeaderCell.displayName = 'TableHeaderCell';
18
17
 
@@ -3,13 +3,12 @@ import { jsx } from 'react/jsx-runtime';
3
3
  import { forwardRef } from 'react';
4
4
  import { clsx } from '../../../node_modules/clsx/dist/clsx.js';
5
5
  import { Slot as $5e63c961fc1ce211$export$8c6ed5c666ac1360 } from '../../../node_modules/@radix-ui/react-slot/dist/index.js';
6
- import classes from './Ingress.module.css.js';
7
6
 
8
7
  /** Use `Ingress` to display text as ingress. */
9
8
  const Ingress = forwardRef(({ className, size = 'medium', spacing, as = 'p', asChild, ...rest }, ref) => {
10
9
  const Component = asChild ? $5e63c961fc1ce211$export$8c6ed5c666ac1360 : as;
11
- return (jsx(Component, { ref: ref, className: clsx(classes.ingress, classes[size], {
12
- [classes.spacing]: !!spacing,
10
+ return (jsx(Component, { ref: ref, className: clsx(`fds-ingress`, `fds-ingress--${size}`, {
11
+ 'fds-ingress--spacing': !!spacing,
13
12
  }, className), ...rest }));
14
13
  });
15
14
  Ingress.displayName = 'Ingress';
@@ -1,6 +1,5 @@
1
1
  'use client';
2
2
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
- import utilityClasses from '../../utilities/utility.module.css.js';
4
3
  import { ErrorMessage } from '../Typography/ErrorMessage/ErrorMessage.js';
5
4
 
6
5
  const defaultLabel = (count) => count > -1 ? `${count} tegn igjen` : `${Math.abs(count)} tegn for mye`;
@@ -9,7 +8,7 @@ const CharacterCounter = ({ label = defaultLabel, srLabel: propsSrLabel, maxCoun
9
8
  const currentCount = maxCount - value.length;
10
9
  const hasExceededLimit = value.length > maxCount;
11
10
  const srLabel = propsSrLabel ? propsSrLabel : defaultSrLabel(maxCount);
12
- return (jsxs(Fragment, { children: [jsx("span", { className: utilityClasses.visuallyHidden, id: id, children: srLabel }), jsx(ErrorMessage, { asChild: true, size: size, error: hasExceededLimit, children: jsx("span", { "aria-live": hasExceededLimit ? 'polite' : 'off', children: label(currentCount) }) })] }));
11
+ return (jsxs(Fragment, { children: [jsx("span", { className: `fds-sr-only`, id: id, children: srLabel }), jsx(ErrorMessage, { asChild: true, size: size, error: hasExceededLimit, children: jsx("span", { "aria-live": hasExceededLimit ? 'polite' : 'off', children: label(currentCount) }) })] }));
13
12
  };
14
13
  CharacterCounter.displayName = 'CharacterCounter';
15
14
 
@@ -5,7 +5,6 @@ import { XMarkIcon } from '@navikt/aksel-icons';
5
5
  import { clsx } from '../../../../node_modules/clsx/dist/clsx.js';
6
6
  import { ComboboxContext } from '../Combobox.js';
7
7
  import classes from '../Combobox.module.css.js';
8
- import utilityClasses from '../../../../utilities/utility.module.css.js';
9
8
 
10
9
  const ComboboxClearButton = () => {
11
10
  const context = useContext(ComboboxContext);
@@ -13,7 +12,7 @@ const ComboboxClearButton = () => {
13
12
  throw new Error('ComboboxContext is missing');
14
13
  }
15
14
  const { size, readOnly, disabled, clearButtonLabel, inputRef, setSelectedOptions, setInputValue, } = context;
16
- return (jsx("button", { disabled: disabled, className: clsx(classes.clearButton, classes[size], utilityClasses.focusable), onClick: () => {
15
+ return (jsx("button", { disabled: disabled, className: clsx(classes.clearButton, classes[size], `fds-focus`), onClick: () => {
17
16
  if (readOnly)
18
17
  return;
19
18
  if (disabled)
@@ -3,12 +3,11 @@ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
3
3
  import { clsx } from '../../../../node_modules/clsx/dist/clsx.js';
4
4
  import { PadlockLockedFillIcon } from '@navikt/aksel-icons';
5
5
  import classes from '../Combobox.module.css.js';
6
- import utilityClasses from '../../../../utilities/utility.module.css.js';
7
6
  import { Label } from '../../../Typography/Label/Label.js';
8
7
  import { Paragraph } from '../../../Typography/Paragraph/Paragraph.js';
9
8
 
10
9
  const ComboboxLabel = ({ label, description, hideLabel, size, readOnly, formFieldProps, }) => {
11
- return (jsxs(Fragment, { children: [label && (jsxs(Label, { size: size, htmlFor: formFieldProps.inputProps.id, className: clsx(classes.label, hideLabel && utilityClasses.visuallyHidden), children: [readOnly && (jsx(PadlockLockedFillIcon, { "aria-hidden": true, className: classes.padlock })), label] })), description && (jsx(Paragraph, { asChild: true, size: size, children: jsx("div", { id: formFieldProps.descriptionId, className: clsx(classes.description, hideLabel && utilityClasses.visuallyHidden), children: description }) }))] }));
10
+ return (jsxs(Fragment, { children: [label && (jsxs(Label, { size: size, htmlFor: formFieldProps.inputProps.id, className: clsx(classes.label, hideLabel && `fds-sr-only`), children: [readOnly && (jsx(PadlockLockedFillIcon, { "aria-hidden": true, className: classes.padlock })), label] })), description && (jsx(Paragraph, { asChild: true, size: size, children: jsx("div", { id: formFieldProps.descriptionId, className: clsx(classes.description, hideLabel && `fds-sr-only`), children: description }) }))] }));
12
11
  };
13
12
  ComboboxLabel.displayName = 'ComboboxLabel';
14
13
  var ComboboxLabel$1 = ComboboxLabel;
@@ -3,7 +3,6 @@ import { jsx, jsxs } from 'react/jsx-runtime';
3
3
  import { forwardRef, useContext } from 'react';
4
4
  import { clsx } from '../../../node_modules/clsx/dist/clsx.js';
5
5
  import { PadlockLockedFillIcon } from '@navikt/aksel-icons';
6
- import utilityClasses from '../../../utilities/utility.module.css.js';
7
6
  import { useFieldset } from './useFieldset.js';
8
7
  import classes from './Fieldset.module.css.js';
9
8
  import { FieldsetContext } from './FieldsetContext.js';
@@ -21,7 +20,7 @@ const Fieldset = forwardRef((props, ref) => {
21
20
  size,
22
21
  disabled: props?.disabled,
23
22
  readOnly,
24
- }, children: jsxs("fieldset", { ...fieldsetProps, className: clsx(classes.fieldset, !hideLegend && classes.withSpacing, readOnly && classes.readonly, props?.disabled && classes.disabled, className), ref: ref, ...rest, children: [jsx(Label, { asChild: true, size: size, children: jsx("legend", { className: classes.legend, children: jsxs("span", { className: clsx(classes.legendContent, hideLegend && utilityClasses.visuallyHidden), children: [readOnly && (jsx(PadlockLockedFillIcon, { className: classes.padlock, "aria-hidden": true })), legend] }) }) }), description && (jsx(Paragraph, { size: size, asChild: true, short: true, children: jsx("div", { id: descriptionId, className: clsx(classes.description, hideLegend && utilityClasses.visuallyHidden), children: description }) })), children, jsx("div", { id: errorId, "aria-live": 'polite', "aria-relevant": 'additions removals', className: classes.errorWrapper, children: hasError && jsx(ErrorMessage, { size: size, children: error }) })] }) }));
23
+ }, children: jsxs("fieldset", { ...fieldsetProps, className: clsx(classes.fieldset, !hideLegend && classes.withSpacing, readOnly && classes.readonly, props?.disabled && classes.disabled, className), ref: ref, ...rest, children: [jsx(Label, { asChild: true, size: size, children: jsx("legend", { className: classes.legend, children: jsxs("span", { className: clsx(classes.legendContent, hideLegend && `fds-sr-only`), children: [readOnly && (jsx(PadlockLockedFillIcon, { className: classes.padlock, "aria-hidden": true })), legend] }) }) }), description && (jsx(Paragraph, { size: size, asChild: true, short: true, children: jsx("div", { id: descriptionId, className: clsx(classes.description, hideLegend && `fds-sr-only`), children: description }) })), children, jsx("div", { id: errorId, "aria-live": 'polite', "aria-relevant": 'additions removals', className: classes.errorWrapper, children: hasError && jsx(ErrorMessage, { size: size, children: error }) })] }) }));
25
24
  });
26
25
  Fieldset.displayName = 'Fieldset';
27
26
 
@@ -4,7 +4,6 @@ import { forwardRef } from 'react';
4
4
  import { clsx } from '../../../node_modules/clsx/dist/clsx.js';
5
5
  import { PadlockLockedFillIcon } from '@navikt/aksel-icons';
6
6
  import classes from './NativeSelect.module.css.js';
7
- import utilityClasses from '../../../utilities/utility.module.css.js';
8
7
  import { useNativeSelect } from './useNativeSelect.js';
9
8
  import { Label } from '../../Typography/Label/Label.js';
10
9
  import { omit } from '../../../utilities/objectUtils.js';
@@ -14,7 +13,7 @@ import { Paragraph } from '../../Typography/Paragraph/Paragraph.js';
14
13
  const NativeSelect = forwardRef((props, ref) => {
15
14
  const { children, disabled = false, label, hideLabel = false, error, className, htmlSize = 0, ...rest } = props;
16
15
  const { selectProps, errorId, readOnly = false, size = 'medium', } = useNativeSelect(props);
17
- return (jsx(Paragraph, { asChild: true, size: size, children: jsxs("div", { className: clsx(classes.formField, disabled && classes.disabled, readOnly && classes.readOnly, error && classes.error), children: [label && (jsxs(Label, { weight: 'medium', size: size, htmlFor: selectProps.id, className: clsx(classes.label, hideLabel && utilityClasses.visuallyHidden), children: [readOnly && (jsx(PadlockLockedFillIcon, { "aria-hidden": true, className: classes.padlock })), label] })), jsx("select", { disabled: disabled || readOnly, ref: ref, size: htmlSize, className: clsx(classes.select, classes[size], utilityClasses.focusable, props.multiple && classes.multiple, className), ...omit(['size', 'error', 'errorId'], rest), ...omit(['readOnly', 'disabled'], selectProps), children: children }), error && (jsx("div", { id: errorId, className: classes.errorMessage, "aria-live": 'polite', "aria-relevant": 'additions removals', children: jsx(ErrorMessage, { size: size, children: error }) }))] }) }));
16
+ return (jsx(Paragraph, { asChild: true, size: size, children: jsxs("div", { className: clsx(classes.formField, disabled && classes.disabled, readOnly && classes.readOnly, error && classes.error), children: [label && (jsxs(Label, { weight: 'medium', size: size, htmlFor: selectProps.id, className: clsx(classes.label, hideLabel && 'fds-sr-only'), children: [readOnly && (jsx(PadlockLockedFillIcon, { "aria-hidden": true, className: classes.padlock })), label] })), jsx("select", { disabled: disabled || readOnly, ref: ref, size: htmlSize, className: clsx(classes.select, classes[size], `fds-focus`, props.multiple && classes.multiple, className), ...omit(['size', 'error', 'errorId'], rest), ...omit(['readOnly', 'disabled'], selectProps), children: children }), error && (jsx("div", { id: errorId, className: classes.errorMessage, "aria-live": 'polite', "aria-relevant": 'additions removals', children: jsx(ErrorMessage, { size: size, children: error }) }))] }) }));
18
17
  });
19
18
  NativeSelect.displayName = 'NativeSelect';
20
19
 
@@ -6,7 +6,6 @@ import { MagnifyingGlassIcon, XMarkIcon } from '@navikt/aksel-icons';
6
6
  import { useMergeRefs } from '../../../node_modules/@floating-ui/react/dist/floating-ui.react.js';
7
7
  import { useSearch } from './useSearch.js';
8
8
  import classes from './Search.module.css.js';
9
- import utilityClasses from '../../../utilities/utility.module.css.js';
10
9
  import { Button } from '../../Button/Button.js';
11
10
  import { Paragraph } from '../../Typography/Paragraph/Paragraph.js';
12
11
  import { Label } from '../../Typography/Label/Label.js';
@@ -41,7 +40,7 @@ const Search = forwardRef((props, ref) => {
41
40
  };
42
41
  const isSimple = variant === 'simple';
43
42
  const showClearButton = Boolean(value ?? internalValue) && !disabled;
44
- return (jsx(Paragraph, { asChild: true, size: size, children: jsxs("div", { style: style, className: clsx(classes.formField, inputProps.disabled && classes.disabled, classes[size], className), children: [label && (jsx(Label, { size: size, weight: 'medium', htmlFor: inputProps.id, className: clsx(classes.label, hideLabel && utilityClasses.visuallyHidden), children: jsx("span", { children: label }) })), jsxs("div", { className: classes.field, children: [jsxs("div", { className: clsx(classes.field, classes[size]), children: [isSimple && (jsx(MagnifyingGlassIcon, { className: classes.icon, "aria-hidden": true })), jsx("input", { ref: mergedRef, size: htmlSize, value: value ?? internalValue, disabled: disabled, className: clsx(classes.input, utilityClasses.focusable, isSimple && classes.simple, !isSimple && classes.withSearchButton), ...omit(['size', 'error', 'errorId', 'readOnly'], rest), ...inputProps, onChange: handleChange }), showClearButton && (jsxs("button", { className: clsx(classes.clearButton, utilityClasses.focusable), type: 'button', onClick: handleClear, disabled: disabled, children: [jsx("span", { className: utilityClasses.visuallyHidden, children: clearButtonLabel }), jsx(XMarkIcon, { "aria-hidden": true })] }))] }), !isSimple && (jsx(Button, { className: classes.searchButton, size: size, variant: variant, type: 'submit', onClick: handleSearchClick, disabled: disabled, children: searchButtonLabel }))] }), jsx("div", { className: classes.errorMessage, id: errorId, "aria-live": 'polite', "aria-relevant": 'additions removals', children: hasError && jsx(ErrorMessage, { size: size, children: props.error }) })] }) }));
43
+ return (jsx(Paragraph, { asChild: true, size: size, children: jsxs("div", { style: style, className: clsx(classes.formField, inputProps.disabled && classes.disabled, classes[size], className), children: [label && (jsx(Label, { size: size, weight: 'medium', htmlFor: inputProps.id, className: clsx(classes.label, hideLabel && 'fds-sr-only'), children: jsx("span", { children: label }) })), jsxs("div", { className: classes.field, children: [jsxs("div", { className: clsx(classes.field, classes[size]), children: [isSimple && (jsx(MagnifyingGlassIcon, { className: classes.icon, "aria-hidden": true })), jsx("input", { ref: mergedRef, size: htmlSize, value: value ?? internalValue, disabled: disabled, className: clsx(classes.input, `fds-focus`, isSimple && classes.simple, !isSimple && classes.withSearchButton), ...omit(['size', 'error', 'errorId', 'readOnly'], rest), ...inputProps, onChange: handleChange }), showClearButton && (jsxs("button", { className: clsx(classes.clearButton, `fds-focus`), type: 'button', onClick: handleClear, disabled: disabled, children: [jsx("span", { className: `fds-sr-only`, children: clearButtonLabel }), jsx(XMarkIcon, { "aria-hidden": true })] }))] }), !isSimple && (jsx(Button, { className: classes.searchButton, size: size, variant: variant, type: 'submit', onClick: handleSearchClick, disabled: disabled, children: searchButtonLabel }))] }), jsx("div", { className: classes.errorMessage, id: errorId, "aria-live": 'polite', "aria-relevant": 'additions removals', children: hasError && jsx(ErrorMessage, { size: size, children: props.error }) })] }) }));
45
44
  });
46
45
  Search.displayName = 'Search';
47
46
 
@@ -6,7 +6,6 @@ import { PadlockLockedFillIcon } from '@navikt/aksel-icons';
6
6
  import { CharacterCounter } from '../CharacterCounter.js';
7
7
  import { useTextarea } from './useTextarea.js';
8
8
  import classes from './Textarea.module.css.js';
9
- import utilityClasses from '../../../utilities/utility.module.css.js';
10
9
  import { Paragraph } from '../../Typography/Paragraph/Paragraph.js';
11
10
  import { Label } from '../../Typography/Label/Label.js';
12
11
  import { omit } from '../../../utilities/objectUtils.js';
@@ -26,7 +25,7 @@ const Textarea = forwardRef((props, ref) => {
26
25
  const characterLimitId = `${textareaProps.id}-charactercount}`;
27
26
  const hasCharacterLimit = characterLimit != null;
28
27
  const describedBy = clsx(textareaProps['aria-describedby'], hasCharacterLimit && characterLimitId) || undefined;
29
- return (jsx(Paragraph, { asChild: true, size: size, children: jsxs("div", { style: style, className: clsx(classes.formField, textareaProps.disabled && classes.disabled, readOnly && classes.readonly, className), children: [label && (jsxs(Label, { size: size, weight: 'medium', htmlFor: textareaProps.id, className: clsx(classes.label, hideLabel && utilityClasses.visuallyHidden), children: [readOnly && (jsx(PadlockLockedFillIcon, { "aria-hidden": true, className: classes.padlock })), jsx("span", { children: label })] })), description && (jsx(Paragraph, { asChild: true, size: size, children: jsx("div", { id: descriptionId, className: clsx(classes.description, hideLabel && utilityClasses.visuallyHidden), children: description }) })), jsx("textarea", { className: clsx(classes.textarea, utilityClasses.focusable, classes[size]), ref: ref, "aria-describedby": describedBy, ...omit(['size', 'error', 'errorId'], rest), ...textareaProps, onChange: (e) => {
28
+ return (jsx(Paragraph, { asChild: true, size: size, children: jsxs("div", { style: style, className: clsx(classes.formField, textareaProps.disabled && classes.disabled, readOnly && classes.readonly, hasError && classes.error, className), children: [label && (jsxs(Label, { size: size, weight: 'medium', htmlFor: textareaProps.id, className: clsx(classes.label, hideLabel && `fds-sr-only`), children: [readOnly && (jsx(PadlockLockedFillIcon, { "aria-hidden": true, className: classes.padlock })), jsx("span", { children: label })] })), description && (jsx(Paragraph, { asChild: true, size: size, children: jsx("div", { id: descriptionId, className: clsx(classes.description, hideLabel && `fds-sr-only`), children: description }) })), jsx("textarea", { className: clsx(classes.textarea, `fds-focus`, classes[size]), ref: ref, "aria-describedby": describedBy, ...omit(['size', 'error', 'errorId'], rest), ...textareaProps, onChange: (e) => {
30
29
  textareaProps?.onChange?.(e);
31
30
  setValue(e.target.value);
32
31
  } }), hasCharacterLimit && (jsx(CharacterCounter, { size: size, value: value ? value.toString() : '', id: characterLimitId, ...characterLimit })), jsx("div", { className: classes.errorMessage, id: errorId, "aria-live": 'polite', "aria-relevant": 'additions removals', children: hasError && jsx(ErrorMessage, { size: size, children: props.error }) })] }) }));
@@ -6,7 +6,6 @@ import { PadlockLockedFillIcon } from '@navikt/aksel-icons';
6
6
  import { CharacterCounter } from '../CharacterCounter.js';
7
7
  import { useTextfield } from './useTextfield.js';
8
8
  import textFieldClasses from './Textfield.module.css.js';
9
- import utilityClasses from '../../../utilities/utility.module.css.js';
10
9
  import { Paragraph } from '../../Typography/Paragraph/Paragraph.js';
11
10
  import { Label } from '../../Typography/Label/Label.js';
12
11
  import { omit } from '../../../utilities/objectUtils.js';
@@ -26,7 +25,7 @@ const Textfield = forwardRef((props, ref) => {
26
25
  const characterLimitId = `textfield-charactercount-${useId()}`;
27
26
  const hasCharacterLimit = characterLimit != null;
28
27
  const describedBy = clsx(inputProps['aria-describedby'], hasCharacterLimit && characterLimitId) || undefined;
29
- return (jsx(Paragraph, { asChild: true, size: size, children: jsxs("div", { style: style, className: clsx(textFieldClasses.formField, textFieldClasses[size], inputProps.disabled && textFieldClasses.disabled, readOnly && textFieldClasses.readonly, className), children: [label && (jsxs(Label, { size: size, weight: 'medium', htmlFor: inputProps.id, className: clsx(textFieldClasses.label, hideLabel && utilityClasses.visuallyHidden), children: [readOnly && (jsx(PadlockLockedFillIcon, { "aria-hidden": true, className: textFieldClasses.padlock })), jsx("span", { children: label })] })), description && (jsx(Paragraph, { asChild: true, size: size, children: jsx("div", { id: descriptionId, className: clsx(textFieldClasses.description, hideLabel && utilityClasses.visuallyHidden), children: description }) })), jsxs("div", { className: clsx(textFieldClasses.field, hasError && textFieldClasses.error), children: [prefix && (jsx(Paragraph, { asChild: true, size: size, short: true, children: jsx("div", { className: clsx(textFieldClasses.adornment, textFieldClasses.prefix), "aria-hidden": 'true', children: prefix }) })), jsx("input", { className: clsx(textFieldClasses.input, textFieldClasses[size], utilityClasses.focusable, prefix && textFieldClasses.inputPrefix, suffix && textFieldClasses.inputSuffix), ref: ref, type: type, "aria-describedby": describedBy, size: htmlSize, ...omit(['size', 'error', 'errorId'], rest), ...inputProps, onChange: (e) => {
28
+ return (jsx(Paragraph, { asChild: true, size: size, children: jsxs("div", { style: style, className: clsx(textFieldClasses.formField, textFieldClasses[size], inputProps.disabled && textFieldClasses.disabled, readOnly && textFieldClasses.readonly, className), children: [label && (jsxs(Label, { size: size, weight: 'medium', htmlFor: inputProps.id, className: clsx(textFieldClasses.label, hideLabel && `fds-sr-only`), children: [readOnly && (jsx(PadlockLockedFillIcon, { "aria-hidden": true, className: textFieldClasses.padlock })), jsx("span", { children: label })] })), description && (jsx(Paragraph, { asChild: true, size: size, children: jsx("div", { id: descriptionId, className: clsx(textFieldClasses.description, hideLabel && `fds-sr-only`), children: description }) })), jsxs("div", { className: clsx(textFieldClasses.field, hasError && textFieldClasses.error), children: [prefix && (jsx(Paragraph, { asChild: true, size: size, short: true, children: jsx("div", { className: clsx(textFieldClasses.adornment, textFieldClasses.prefix), "aria-hidden": 'true', children: prefix }) })), jsx("input", { className: clsx(textFieldClasses.input, textFieldClasses[size], `fds-focus`, prefix && textFieldClasses.inputPrefix, suffix && textFieldClasses.inputSuffix), ref: ref, type: type, "aria-describedby": describedBy, size: htmlSize, ...omit(['size', 'error', 'errorId'], rest), ...inputProps, onChange: (e) => {
30
29
  inputProps?.onChange?.(e);
31
30
  setInputValue(e.target.value);
32
31
  } }), suffix && (jsx(Paragraph, { asChild: true, size: size, short: true, children: jsx("div", { className: clsx(textFieldClasses.adornment, textFieldClasses.suffix), "aria-hidden": 'true', children: suffix }) }))] }), hasCharacterLimit && (jsx(CharacterCounter, { size: size, value: inputValue ? inputValue.toString() : '', id: characterLimitId, ...characterLimit })), jsx("div", { className: textFieldClasses.errorMessage, id: errorId, "aria-live": 'polite', "aria-relevant": 'additions removals', children: hasError && jsx(ErrorMessage, { size: size, children: props.error }) })] }) }));
@@ -1,30 +1,3 @@
1
- @layer fds.utilities {
2
- /**
3
- * Visually hide an element, but leave it available for screen readers
4
- */
5
- .fds-utility-visuallyHidden-1ed11112 {
6
- border: 0;
7
- clip: rect(0 0 0 0);
8
- height: 1px;
9
- overflow: hidden;
10
- padding: 0;
11
- position: absolute;
12
- white-space: nowrap;
13
- width: 1px;
14
- }
15
-
16
- /**
17
- * Apply a focus outline on an element when it is focused with keyboard
18
- */
19
- .fds-utility-focusable-1ed11112:focus-visible {
20
- --fds-focus-border-width: 3px;
21
-
22
- outline: var(--fds-focus-border-width) solid var(--fds-semantic-border-focus-outline);
23
- outline-offset: var(--fds-focus-border-width);
24
- box-shadow: 0 0 0 var(--fds-focus-border-width) var(--fds-semantic-border-focus-boxshadow);
25
- }
26
- }
27
-
28
1
  @layer fds.button {
29
2
  .fds-button-button-8fa00f0f {
30
3
  --fc-button-padding: 0 var(--fds-spacing-4);
@@ -134,12 +107,6 @@
134
107
  background-color: var(--fds-semantic-surface-danger-hover);
135
108
  }
136
109
 
137
- .fds-button-primary-8fa00f0f:where(.fds-button-inverted-8fa00f0f):not([aria-disabled='true'], :disabled):hover {
138
- --fc-button-color: var(--fds-semantic-text-neutral-default);
139
-
140
- background-color: var(--fds-semantic-surface-on_inverted-hover);
141
- }
142
-
143
110
  .fds-button-secondary-8fa00f0f:where(.fds-button-first-8fa00f0f):not([aria-disabled='true'], :disabled):hover {
144
111
  --fc-button-color: var(--fds-semantic-text-action-first-hover);
145
112
 
@@ -168,10 +135,6 @@
168
135
  background-color: var(--fds-semantic-surface-danger-no_fill-hover);
169
136
  }
170
137
 
171
- .fds-button-secondary-8fa00f0f:where(.fds-button-inverted-8fa00f0f):not([aria-disabled='true'], :disabled):hover {
172
- background-color: var(--fds-semantic-surface-on_inverted-no_fill-hover);
173
- }
174
-
175
138
  .fds-button-tertiary-8fa00f0f:where(.fds-button-first-8fa00f0f):not([aria-disabled='true'], :disabled):hover {
176
139
  --fc-button-color: var(--fds-semantic-text-action-first-hover);
177
140
 
@@ -195,12 +158,6 @@
195
158
 
196
159
  background-color: var(--fds-semantic-surface-danger-no_fill-hover);
197
160
  }
198
-
199
- .fds-button-tertiary-8fa00f0f:where(.fds-button-inverted-8fa00f0f):not([aria-disabled='true'], :disabled):hover {
200
- --fc-button-color: var(--fds-semantic-text-neutral-on_inverted);
201
-
202
- background-color: var(--fds-semantic-surface-on_inverted-no_fill-hover);
203
- }
204
161
  }
205
162
 
206
163
  /* Primary button colors */
@@ -220,12 +177,6 @@
220
177
  background-color: var(--fds-semantic-surface-danger-default);
221
178
  }
222
179
 
223
- .fds-button-primary-8fa00f0f:where(.fds-button-inverted-8fa00f0f) {
224
- --fc-button-color: var(--fds-semantic-text-neutral-default);
225
-
226
- background-color: var(--fds-semantic-surface-on_inverted-default);
227
- }
228
-
229
180
  .fds-button-primary-8fa00f0f:where(.fds-button-first-8fa00f0f):not([aria-disabled='true'], :disabled):active {
230
181
  background-color: var(--fds-semantic-surface-action-first-active);
231
182
  }
@@ -242,12 +193,6 @@
242
193
  background-color: var(--fds-semantic-surface-danger-active);
243
194
  }
244
195
 
245
- .fds-button-primary-8fa00f0f:where(.fds-button-inverted-8fa00f0f):not([aria-disabled='true'], :disabled):active {
246
- --fc-button-color: var(--fds-semantic-text-neutral-default);
247
-
248
- background-color: var(--fds-semantic-surface-on_inverted-active);
249
- }
250
-
251
196
  /* Secondary button colors */
252
197
  .fds-button-secondary-8fa00f0f:where(.fds-button-first-8fa00f0f) {
253
198
  --fc-button-color: var(--fds-semantic-text-action-first-default);
@@ -277,13 +222,6 @@
277
222
  background-color: var(--fds-semantic-surface-danger-no_fill);
278
223
  }
279
224
 
280
- .fds-button-secondary-8fa00f0f:where(.fds-button-inverted-8fa00f0f) {
281
- --fc-button-color: var(--fds-semantic-text-neutral-on_inverted);
282
-
283
- border: 1px solid var(--fds-semantic-border-on_inverted-default);
284
- background-color: transparent;
285
- }
286
-
287
225
  .fds-button-secondary-8fa00f0f:where(.fds-button-first-8fa00f0f):not([aria-disabled='true'], :disabled):active {
288
226
  --fc-button-color: var(--fds-semantic-text-action-first-active);
289
227
 
@@ -312,12 +250,6 @@
312
250
  background-color: var(--fds-semantic-surface-danger-no_fill-active);
313
251
  }
314
252
 
315
- .fds-button-secondary-8fa00f0f:where(.fds-button-inverted-8fa00f0f):not([aria-disabled='true'], :disabled):active {
316
- --fc-button-color: var(--fds-semantic-text-neutral-on_inverted);
317
-
318
- background-color: var(--fds-semantic-surface-on_inverted-no_fill-active);
319
- }
320
-
321
253
  /* Tertiary button colors */
322
254
  .fds-button-tertiary-8fa00f0f:where(.fds-button-first-8fa00f0f) {
323
255
  --fc-button-color: var(--fds-semantic-text-action-first-default);
@@ -335,12 +267,6 @@
335
267
  --fc-button-color: var(--fds-semantic-text-danger-default);
336
268
  }
337
269
 
338
- .fds-button-tertiary-8fa00f0f:where(.fds-button-inverted-8fa00f0f) {
339
- --fc-button-color: var(--fds-semantic-text-neutral-on_inverted);
340
-
341
- background-color: transparent;
342
- }
343
-
344
270
  .fds-button-tertiary-8fa00f0f:where(.fds-button-first-8fa00f0f):not([aria-disabled='true'], :disabled):active {
345
271
  --fc-button-color: var(--fds-semantic-text-action-first-active);
346
272
 
@@ -364,12 +290,6 @@
364
290
 
365
291
  background-color: var(--fds-semantic-surface-danger-no_fill-active);
366
292
  }
367
-
368
- .fds-button-tertiary-8fa00f0f:where(.fds-button-inverted-8fa00f0f):not([aria-disabled='true'], :disabled):active {
369
- --fc-button-color: var(--fds-semantic-text-neutral-on_inverted);
370
-
371
- background-color: var(--fds-semantic-surface-on_inverted-no_fill-active);
372
- }
373
293
  }
374
294
 
375
295
  @layer fds.paragraph {
@@ -524,26 +444,6 @@
524
444
  }
525
445
  }
526
446
 
527
- @layer fds.ingress {
528
- .fds-ingress-ingress-9b33da65 {
529
- --fdsc-bottom-spacing: var(--fds-spacing-5);
530
-
531
- margin: 0;
532
- color: var(--fds-semantic-text-neutral-default);
533
- }
534
-
535
- .fds-ingress-ingress-9b33da65.fds-ingress-spacing-9b33da65 {
536
- margin-bottom: var(--fdsc-bottom-spacing);
537
- }
538
-
539
- .fds-ingress-ingress-9b33da65.fds-ingress-medium-9b33da65 {
540
- --fdsc-bottom-spacing: var(--fds-spacing-5);
541
-
542
- font: var(--fds-typography-ingress-medium);
543
- font-family: inherit;
544
- }
545
- }
546
-
547
447
  @layer fds.label {
548
448
  .fds-label-label-e0249167 {
549
449
  --fdsc-bottom-spacing: var(--fds-spacing-1);
@@ -1018,7 +918,7 @@
1018
918
  .fds-accordion-first-a8137c3d .fds-accordion-item-a8137c3d:not(:first-child) .fds-accordion-accordionButton-a8137c3d,
1019
919
  .fds-accordion-second-a8137c3d .fds-accordion-item-a8137c3d:not(:first-child) .fds-accordion-accordionButton-a8137c3d,
1020
920
  .fds-accordion-third-a8137c3d .fds-accordion-item-a8137c3d:not(:first-child) .fds-accordion-accordionButton-a8137c3d {
1021
- border-top: 1px solid var(--fds-semantic-border-on_inverted-default);
921
+ border-top: 1px solid var(--fds-semantic-surface-neutral-default);
1022
922
  }
1023
923
 
1024
924
  @media (hover: hover) and (pointer: fine) {
@@ -2083,7 +1983,7 @@
2083
1983
  }
2084
1984
 
2085
1985
  .fds-switch-input-9a6b03bc:not(:disabled, [readonly]):checked:hover + .fds-switch-label-9a6b03bc .fds-switch-track-9a6b03bc > .fds-switch-thumb-9a6b03bc {
2086
- transform: translateX(calc((var(--fds-switch-width) - var(--fds-switch-height)) * 0.8));
1986
+ transform: translateX(calc((var(--fds-switch-width) - var(--fds-switch-height))));
2087
1987
  background-image: url("data:image/svg+xml,%3Csvg viewBox='-3 -3 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10.1339 2.86612C10.622 3.35427 10.622 4.14573 10.1339 4.63388L5.88388 8.88388C5.39573 9.37204 4.60427 9.37204 4.11612 8.88388L1.86612 6.63388C1.37796 6.14573 1.37796 5.35427 1.86612 4.86612C2.35427 4.37796 3.14573 4.37796 3.63388 4.86612L5 6.23223L8.36612 2.86612C8.85427 2.37796 9.64573 2.37796 10.1339 2.86612Z' fill='%230c6536' /%3E%3C/svg%3E");
2088
1988
  }
2089
1989
 
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/AccordionHeader/AccordionHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAQ1E,MAAM,MAAM,oBAAoB,GAAG;IACjC,uGAAuG;IACvG,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B,oCAAoC;IACpC,aAAa,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACjE,mBAAmB;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,cAAc,CAAC,kBAAkB,CAAC,CAAC;AAEvC,eAAO,MAAM,eAAe;IAR1B,uGAAuG;;IAEvG,oCAAoC;oBACpB,kBAAkB,iBAAiB,CAAC,GAAG,SAAS;IAChE,mBAAmB;cACT,SAAS;2FAkDnB,CAAC"}
1
+ {"version":3,"file":"AccordionHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/Accordion/AccordionHeader/AccordionHeader.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAO1E,MAAM,MAAM,oBAAoB,GAAG;IACjC,uGAAuG;IACvG,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B,oCAAoC;IACpC,aAAa,CAAC,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC;IACjE,mBAAmB;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB,GAAG,cAAc,CAAC,kBAAkB,CAAC,CAAC;AAEvC,eAAO,MAAM,eAAe;IAR1B,uGAAuG;;IAEvG,oCAAoC;oBACpB,kBAAkB,iBAAiB,CAAC,GAAG,SAAS;IAChE,mBAAmB;cACT,SAAS;2FAkDnB,CAAC"}
@@ -4,7 +4,7 @@ export type ButtonProps = {
4
4
  /** Specify which variant to use */
5
5
  variant?: 'primary' | 'secondary' | 'tertiary';
6
6
  /** Specify which color palette to use */
7
- color?: 'first' | 'second' | 'success' | 'danger' | 'inverted';
7
+ color?: 'first' | 'second' | 'success' | 'danger';
8
8
  /** Size */
9
9
  size?: 'small' | 'medium' | 'large';
10
10
  /** If `Button` should fill full width of its container */
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAKlD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,MAAM,MAAM,WAAW,GAAG;IACxB,mCAAmC;IACnC,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C,yCAAyC;IACzC,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC/D,WAAW;IACX,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,0DAA0D;IAC1D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,oBAAoB,CAAC,WAAW,EAAE,iBAAiB,CAwCrE,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../src/components/Button/Button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAIlD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,MAAM,MAAM,WAAW,GAAG;IACxB,mCAAmC;IACnC,OAAO,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAC/C,yCAAyC;IACzC,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,QAAQ,CAAC;IAClD,WAAW;IACX,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,0DAA0D;IAC1D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,MAAM,EAAE,oBAAoB,CAAC,WAAW,EAAE,iBAAiB,CAwCrE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAK7E,MAAM,MAAM,SAAS,GAAG;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC5D;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oGAAoG;IACpG,QAAQ,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC;CACd,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,IAAI,EAAE,oBAAoB,CAAC,SAAS,EAAE,cAAc,CA4BhE,CAAC"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAKvD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAI7E,MAAM,MAAM,SAAS,GAAG;IACtB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IAC5D;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oGAAoG;IACpG,QAAQ,EAAE,SAAS,CAAC;IAEpB;;OAEG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC;CACd,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnC,eAAO,MAAM,IAAI,EAAE,oBAAoB,CAAC,SAAS,EAAE,cAAc,CA4BhE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Removable.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Removable/Removable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAUlD,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,aAAa;IAPxB;;;OAGG;;+FAuCJ,CAAC"}
1
+ {"version":3,"file":"Removable.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Removable/Removable.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AASlD,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,aAAa;IAPxB;;;OAGG;;+FAuCJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Toggle/Toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAUlD,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;SAEK;IACL,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,UAAU;IAfrB;;OAEG;;IAEH;;;OAGG;;IAEH;;SAEK;;+FAmDN,CAAC"}
1
+ {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../../src/components/Chip/Toggle/Toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AASlD,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC;;SAEK;IACL,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,UAAU;IAfrB;;OAEG;;IAEH;;;OAGG;;IAEH;;SAEK;;+FAmDN,CAAC"}
@@ -5,7 +5,7 @@ export declare const DropdownMenuTrigger: React.ForwardRefExoticComponent<Omit<{
5
5
  as?: React.ElementType | undefined;
6
6
  } & {
7
7
  variant?: "primary" | "secondary" | "tertiary" | undefined;
8
- color?: "first" | "second" | "success" | "danger" | "inverted" | undefined;
8
+ color?: "first" | "second" | "success" | "danger" | undefined;
9
9
  size?: "small" | "medium" | "large" | undefined;
10
10
  fullWidth?: boolean | undefined;
11
11
  icon?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorSummaryItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorSummary/ErrorSummaryItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACxB;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB;;;OAGG;IACH,OAAO,EAAE,IAAI,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAC7B,CAAC,YAAY,GAAG,YAAY,CAAC,GAAG,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;AAEnE,eAAO,MAAM,gBAAgB;2CAK1B,qBAAqB;;CAWvB,CAAC"}
1
+ {"version":3,"file":"ErrorSummaryItem.d.ts","sourceRoot":"","sources":["../../../../src/components/ErrorSummary/ErrorSummaryItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAGzC,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACxB;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB,IAAI,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,CAAC;IACzB;;;OAGG;IACH,OAAO,EAAE,IAAI,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,CAAC,YAAY,GAAG,YAAY,CAAC,GAC/D,IAAI,CAAC,aAAa,EAAE,SAAS,CAAC,CAAC;AAEjC,eAAO,MAAM,gBAAgB;2CAK1B,qBAAqB;;CAWvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"HelpText.d.ts","sourceRoot":"","sources":["../../../../src/components/HelpText/HelpText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAIpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAKtD,MAAM,MAAM,aAAa,GAAG;IAC1B;;QAEI;IACJ,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC5B;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,GAAG,WAAW,GACb,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ;uEAQX,aAAa;;CAkDf,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
1
+ {"version":3,"file":"HelpText.d.ts","sourceRoot":"","sources":["../../../../src/components/HelpText/HelpText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAGlD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAKtD,MAAM,MAAM,aAAa,GAAG;IAC1B;;QAEI;IACJ,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAC5B;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;CACvB,GAAG,WAAW,GACb,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE1C,QAAA,MAAM,QAAQ;uEAQX,aAAa;;CA8Cf,CAAC;AAIF,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -5,7 +5,7 @@ export declare const ModalTrigger: React.ForwardRefExoticComponent<Omit<{
5
5
  as?: React.ElementType | undefined;
6
6
  } & {
7
7
  variant?: "primary" | "secondary" | "tertiary" | undefined;
8
- color?: "first" | "second" | "success" | "danger" | "inverted" | undefined;
8
+ color?: "first" | "second" | "success" | "danger" | undefined;
9
9
  size?: "small" | "medium" | "large" | undefined;
10
10
  fullWidth?: boolean | undefined;
11
11
  icon?: boolean | undefined;
@@ -5,7 +5,7 @@ export declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<{
5
5
  as?: React.ElementType | undefined;
6
6
  } & {
7
7
  variant?: "primary" | "secondary" | "tertiary" | undefined;
8
- color?: "first" | "second" | "success" | "danger" | "inverted" | undefined;
8
+ color?: "first" | "second" | "success" | "danger" | undefined;
9
9
  size?: "small" | "medium" | "large" | undefined;
10
10
  fullWidth?: boolean | undefined;
11
11
  icon?: boolean | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"SkipLink.d.ts","sourceRoot":"","sources":["../../../../src/components/SkipLink/SkipLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAM7D,MAAM,MAAM,aAAa,GAAG;IAC1B,kDAAkD;IAClD,QAAQ,EAAE,SAAS,CAAC;IAEpB,mFAAmF;IACnF,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,QAAQ;6CAKlB,aAAa,GAAG,WAAW;;CAU7B,CAAC"}
1
+ {"version":3,"file":"SkipLink.d.ts","sourceRoot":"","sources":["../../../../src/components/SkipLink/SkipLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK7D,MAAM,MAAM,aAAa,GAAG;IAC1B,kDAAkD;IAClD,QAAQ,EAAE,SAAS,CAAC;IAEpB,mFAAmF;IACnF,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,oBAAoB,CAAC,iBAAiB,CAAC,CAAC;AAE5C,eAAO,MAAM,QAAQ;6CAKlB,aAAa,GAAG,WAAW;;CAU7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TableHeaderCell.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/TableHeaderCell.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACnC;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CAChE,GAAG,KAAK,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AAEjD,eAAO,MAAM,eAAe;IAjB1B;;;OAGG;;IAEH;;;OAGG;WACI,cAAc,CAAC,WAAW,CAAC;IAClC;;;OAGG;uBACe,gBAAgB,CAAC,iBAAiB,CAAC,KAAK,IAAI;6FA4C/D,CAAC"}
1
+ {"version":3,"file":"TableHeaderCell.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/TableHeaderCell.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;IACnC;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;CAChE,GAAG,KAAK,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,CAAC;AAEjD,eAAO,MAAM,eAAe;IAjB1B;;;OAGG;;IAEH;;;OAGG;WACI,cAAc,CAAC,WAAW,CAAC;IAClC;;;OAGG;uBACe,gBAAgB,CAAC,iBAAiB,CAAC,KAAK,IAAI;6FA4C/D,CAAC"}
@@ -1,8 +1,10 @@
1
1
  import type { HTMLAttributes } from 'react';
2
2
  import type { OverridableComponent } from '../../../types/OverridableComponent';
3
3
  export type IngressProps = {
4
- /** Changes text sizing */
5
- size?: 'medium';
4
+ /** Changes text sizing
5
+ * @default 'medium'
6
+ */
7
+ size?: 'large' | 'medium' | 'small' | 'xsmall';
6
8
  /** Adds margin-bottom */
7
9
  spacing?: boolean;
8
10
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Ingress.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Ingress/Ingress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAIhF,MAAM,MAAM,YAAY,GAAG;IACzB,0BAA0B;IAC1B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAEzC,gDAAgD;AAChD,eAAO,MAAM,OAAO,EAAE,oBAAoB,CAAC,YAAY,EAAE,oBAAoB,CAuB1E,CAAC"}
1
+ {"version":3,"file":"Ingress.d.ts","sourceRoot":"","sources":["../../../../../src/components/Typography/Ingress/Ingress.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAEhF,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;IAC/C,yBAAyB;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AAEzC,gDAAgD;AAChD,eAAO,MAAM,OAAO,EAAE,oBAAoB,CAAC,YAAY,EAAE,oBAAoB,CAuB1E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CharacterCounter.d.ts","sourceRoot":"","sources":["../../../../src/components/form/CharacterCounter.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,qBAAqB,EACrB,IAAI,GAAG,OAAO,GAAG,MAAM,CACxB,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,4DAA4D;IAC5D,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAClC,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2CAA2C;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,mGAAmG;IACnG,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC,CAAC;AAQF,eAAO,MAAM,gBAAgB;mEAO1B,qBAAqB,GAAG,WAAW;;CAwBrC,CAAC"}
1
+ {"version":3,"file":"CharacterCounter.d.ts","sourceRoot":"","sources":["../../../../src/components/form/CharacterCounter.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,qBAAqB,EACrB,IAAI,GAAG,OAAO,GAAG,MAAM,CACxB,CAAC;AAEF,KAAK,qBAAqB,GAAG;IAC3B,4DAA4D;IAC5D,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAClC,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2CAA2C;IAC3C,QAAQ,EAAE,MAAM,CAAC;IACjB,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,mGAAmG;IACnG,EAAE,EAAE,MAAM,CAAC;IACX,gBAAgB;IAChB,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;CACrC,CAAC;AAQF,eAAO,MAAM,gBAAgB;mEAO1B,qBAAqB,GAAG,WAAW;;CAwBrC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxClearButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxClearButton.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,mBAAmB;;;CAkD/B,CAAC;AAIF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"ComboboxClearButton.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxClearButton.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,mBAAmB;;;CA8C/B,CAAC;AAIF,eAAe,mBAAmB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ComboboxLabel.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxLabel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAIvD,KAAK,kBAAkB,GAAG;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,WAAW,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACvC,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACrC,cAAc,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,aAAa;yEAOvB,kBAAkB;;CAuCpB,CAAC;AAIF,eAAe,aAAa,CAAC"}
1
+ {"version":3,"file":"ComboboxLabel.d.ts","sourceRoot":"","sources":["../../../../../../src/components/form/Combobox/internal/ComboboxLabel.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAGvD,KAAK,kBAAkB,GAAG;IACxB,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,WAAW,CAAC,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;IACvC,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACrC,cAAc,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC;CACjD,CAAC;AAEF,eAAO,MAAM,aAAa;yEAOvB,kBAAkB;;CAiCpB,CAAC;AAIF,eAAe,aAAa,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Fieldset.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/Fieldset/Fieldset.tsx"],"names":[],"mappings":"AAA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FAAqF;IACrF,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,GAAG,IAAI,CAAC,cAAc,EAAE,MAAM,CAAC,GAC9B,sBAAsB,CAAC,mBAAmB,CAAC,CAAC;AAE9C,eAAO,MAAM,QAAQ;IAhBnB,wEAAwE;kBAC1D,SAAS;IACvB,8DAA8D;;IAE9D,+EAA+E;YACvE,SAAS;IACjB,kCAAkC;YAC1B,SAAS;IACjB;yEACqE;;IAErE,qFAAqF;;oIA4FtF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"NativeSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/NativeSelect/NativeSelect.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAgB,SAAS,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAW3E,MAAM,MAAM,iBAAiB,GAAG;IAC9B;iDAC6C;IAC7C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;SAGK;IACL,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;SAGK;IACL,IAAI,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;IACpC,mCAAmC;IACnC,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,MAAM,CAAC,CAAC;AAE1D,eAAO,MAAM,YAAY;IA3BvB;iDAC6C;;IAE7C;;;SAGK;;IAEL,gDAAgD;;IAEhD;;;SAGK;;IAEL,mCAAmC;YAC3B,SAAS;IACjB;;OAEG;;IAEH;;OAEG;;6GAwFJ,CAAC"}
1
+ {"version":3,"file":"NativeSelect.d.ts","sourceRoot":"","sources":["../../../../../src/components/form/NativeSelect/NativeSelect.tsx"],"names":[],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