@norges-domstoler/dds-components 0.0.0-dev-20250821071709 → 0.0.0-dev-20250821071850

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/index.d.mts CHANGED
@@ -3785,9 +3785,11 @@ declare namespace Select {
3785
3785
  }
3786
3786
 
3787
3787
  type NativeSelectProps = {
3788
- /**Om verdien til `<select>` kan tømmes. */
3788
+ /** Om verdien til `<select>` kan tømmes. */
3789
3789
  clearable?: boolean;
3790
- } & CommonInputProps & Pick<InputProps, 'componentSize' | 'readOnly'> & ComponentPropsWithRef<'select'>;
3790
+ /** Implementerer `readOnly` oppførsel etter standard for `<input>` og setter `readOnly` styling. */
3791
+ readOnly?: InputProps['readOnly'];
3792
+ } & CommonInputProps & Pick<InputProps, 'componentSize'> & ComponentPropsWithRef<'select'>;
3791
3793
  declare const NativeSelect: ({ ref, id, children, componentSize, label, multiple, readOnly, errorMessage, tip, required, "aria-required": ariaRequired, "aria-describedby": ariaDescribedby, width, className, style, onKeyDown, onMouseDown, clearable, onChange, ...rest }: NativeSelectProps) => react_jsx_runtime.JSX.Element;
3792
3794
  type NativeSelectPlaceholderProps = ComponentPropsWithRef<'option'>;
3793
3795
  declare const NativeSelectPlaceholder: {
package/dist/index.d.ts CHANGED
@@ -3785,9 +3785,11 @@ declare namespace Select {
3785
3785
  }
3786
3786
 
3787
3787
  type NativeSelectProps = {
3788
- /**Om verdien til `<select>` kan tømmes. */
3788
+ /** Om verdien til `<select>` kan tømmes. */
3789
3789
  clearable?: boolean;
3790
- } & CommonInputProps & Pick<InputProps, 'componentSize' | 'readOnly'> & ComponentPropsWithRef<'select'>;
3790
+ /** Implementerer `readOnly` oppførsel etter standard for `<input>` og setter `readOnly` styling. */
3791
+ readOnly?: InputProps['readOnly'];
3792
+ } & CommonInputProps & Pick<InputProps, 'componentSize'> & ComponentPropsWithRef<'select'>;
3791
3793
  declare const NativeSelect: ({ ref, id, children, componentSize, label, multiple, readOnly, errorMessage, tip, required, "aria-required": ariaRequired, "aria-describedby": ariaDescribedby, width, className, style, onKeyDown, onMouseDown, clearable, onChange, ...rest }: NativeSelectProps) => react_jsx_runtime.JSX.Element;
3792
3794
  type NativeSelectPlaceholderProps = ComponentPropsWithRef<'option'>;
3793
3795
  declare const NativeSelectPlaceholder: {