@tactics/lokaal-loket 0.0.511 → 0.0.512

Sign up to get free protection for your applications and to get access to all the features.
package/build/index.d.cts CHANGED
@@ -168,7 +168,7 @@ interface ILabeledIcon {
168
168
  label: string;
169
169
  }
170
170
 
171
- declare const LabeledIcon: ({ label, withIconBefore }: ILabeledIcon) => react_jsx_runtime.JSX.Element;
171
+ declare const LabeledIcon: React__default.MemoExoticComponent<({ label, withIconBefore }: ILabeledIcon) => react_jsx_runtime.JSX.Element>;
172
172
 
173
173
  interface ISafeHtml {
174
174
  raw: string;
@@ -392,7 +392,8 @@ declare enum ButtonContext {
392
392
  NEUTRAL = "NEUTRAL",
393
393
  OUTLINED = "OUTLINED",
394
394
  GHOST = "GHOST",
395
- UI = "UI"
395
+ UI = "UI",
396
+ OPACITY = "OPACITY"
396
397
  }
397
398
  declare enum ButtonType {
398
399
  BUTTON = "BUTTON",
@@ -435,7 +436,6 @@ interface ICheckboxBase {
435
436
  label: string;
436
437
  name: string;
437
438
  checked?: boolean;
438
- defaultChecked?: boolean;
439
439
  }
440
440
  interface ICheckbox extends ICheckboxBase {
441
441
  context?: CheckboxContext;
@@ -446,7 +446,7 @@ interface ICheckboxGroup {
446
446
  }
447
447
 
448
448
  declare const Checkbox: {
449
- ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked }: ICheckbox): react_jsx_runtime.JSX.Element;
449
+ ({ context, onChange, value, ariaLabel, label, name, checked }: ICheckbox): react_jsx_runtime.JSX.Element;
450
450
  Group: ({ direction, children }: ICheckboxGroup) => react_jsx_runtime.JSX.Element;
451
451
  };
452
452
 
@@ -742,14 +742,13 @@ interface IBigPickBase {
742
742
  label: string;
743
743
  name: string;
744
744
  checked?: boolean;
745
- defaultChecked?: boolean;
746
745
  icon: React__default.ReactElement<IIcon | IFigure>;
747
746
  }
748
747
  interface IBigPick extends IBigPickBase {
749
748
  context?: BigPickContext;
750
749
  }
751
750
 
752
- declare const BigPick: ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked, icon, }: IBigPick) => react_jsx_runtime.JSX.Element;
751
+ declare const BigPick: ({ context, onChange, value, ariaLabel, label, name, checked, icon }: IBigPick) => react_jsx_runtime.JSX.Element;
753
752
 
754
753
  type SetState<T> = React__default.Dispatch<React__default.SetStateAction<T>>;
755
754
  interface AutoCompleteContextType<T> {
@@ -1164,7 +1163,6 @@ interface IBlockRadioBase {
1164
1163
  label: string;
1165
1164
  name: string;
1166
1165
  checked?: boolean;
1167
- defaultChecked?: boolean;
1168
1166
  }
1169
1167
  interface IBlockRadio extends IBlockRadioBase {
1170
1168
  context?: BlockRadioContext;
@@ -1175,7 +1173,7 @@ interface IBlockRadioGroup {
1175
1173
  }
1176
1174
 
1177
1175
  declare const BlockRadio: {
1178
- ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked, }: IBlockRadio): react_jsx_runtime.JSX.Element;
1176
+ ({ context, onChange, value, ariaLabel, label, name, checked }: IBlockRadio): react_jsx_runtime.JSX.Element;
1179
1177
  Group: ({ direction, children }: IBlockRadioGroup) => react_jsx_runtime.JSX.Element;
1180
1178
  };
1181
1179
 
@@ -1456,7 +1454,7 @@ type ClickHandler = React__default.MouseEventHandler<HTMLAnchorElement> & React_
1456
1454
  interface ProfileNavigationItemThemeableProps {
1457
1455
  label?: string;
1458
1456
  title: string;
1459
- icon: IconType;
1457
+ icon?: IconType;
1460
1458
  type: ItemType;
1461
1459
  href?: string;
1462
1460
  onClick?: ClickHandler;
package/build/index.d.ts CHANGED
@@ -168,7 +168,7 @@ interface ILabeledIcon {
168
168
  label: string;
169
169
  }
170
170
 
171
- declare const LabeledIcon: ({ label, withIconBefore }: ILabeledIcon) => react_jsx_runtime.JSX.Element;
171
+ declare const LabeledIcon: React__default.MemoExoticComponent<({ label, withIconBefore }: ILabeledIcon) => react_jsx_runtime.JSX.Element>;
172
172
 
173
173
  interface ISafeHtml {
174
174
  raw: string;
@@ -392,7 +392,8 @@ declare enum ButtonContext {
392
392
  NEUTRAL = "NEUTRAL",
393
393
  OUTLINED = "OUTLINED",
394
394
  GHOST = "GHOST",
395
- UI = "UI"
395
+ UI = "UI",
396
+ OPACITY = "OPACITY"
396
397
  }
397
398
  declare enum ButtonType {
398
399
  BUTTON = "BUTTON",
@@ -435,7 +436,6 @@ interface ICheckboxBase {
435
436
  label: string;
436
437
  name: string;
437
438
  checked?: boolean;
438
- defaultChecked?: boolean;
439
439
  }
440
440
  interface ICheckbox extends ICheckboxBase {
441
441
  context?: CheckboxContext;
@@ -446,7 +446,7 @@ interface ICheckboxGroup {
446
446
  }
447
447
 
448
448
  declare const Checkbox: {
449
- ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked }: ICheckbox): react_jsx_runtime.JSX.Element;
449
+ ({ context, onChange, value, ariaLabel, label, name, checked }: ICheckbox): react_jsx_runtime.JSX.Element;
450
450
  Group: ({ direction, children }: ICheckboxGroup) => react_jsx_runtime.JSX.Element;
451
451
  };
452
452
 
@@ -742,14 +742,13 @@ interface IBigPickBase {
742
742
  label: string;
743
743
  name: string;
744
744
  checked?: boolean;
745
- defaultChecked?: boolean;
746
745
  icon: React__default.ReactElement<IIcon | IFigure>;
747
746
  }
748
747
  interface IBigPick extends IBigPickBase {
749
748
  context?: BigPickContext;
750
749
  }
751
750
 
752
- declare const BigPick: ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked, icon, }: IBigPick) => react_jsx_runtime.JSX.Element;
751
+ declare const BigPick: ({ context, onChange, value, ariaLabel, label, name, checked, icon }: IBigPick) => react_jsx_runtime.JSX.Element;
753
752
 
754
753
  type SetState<T> = React__default.Dispatch<React__default.SetStateAction<T>>;
755
754
  interface AutoCompleteContextType<T> {
@@ -1164,7 +1163,6 @@ interface IBlockRadioBase {
1164
1163
  label: string;
1165
1164
  name: string;
1166
1165
  checked?: boolean;
1167
- defaultChecked?: boolean;
1168
1166
  }
1169
1167
  interface IBlockRadio extends IBlockRadioBase {
1170
1168
  context?: BlockRadioContext;
@@ -1175,7 +1173,7 @@ interface IBlockRadioGroup {
1175
1173
  }
1176
1174
 
1177
1175
  declare const BlockRadio: {
1178
- ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked, }: IBlockRadio): react_jsx_runtime.JSX.Element;
1176
+ ({ context, onChange, value, ariaLabel, label, name, checked }: IBlockRadio): react_jsx_runtime.JSX.Element;
1179
1177
  Group: ({ direction, children }: IBlockRadioGroup) => react_jsx_runtime.JSX.Element;
1180
1178
  };
1181
1179
 
@@ -1456,7 +1454,7 @@ type ClickHandler = React__default.MouseEventHandler<HTMLAnchorElement> & React_
1456
1454
  interface ProfileNavigationItemThemeableProps {
1457
1455
  label?: string;
1458
1456
  title: string;
1459
- icon: IconType;
1457
+ icon?: IconType;
1460
1458
  type: ItemType;
1461
1459
  href?: string;
1462
1460
  onClick?: ClickHandler;