@tactics/lokaal-loket 0.0.511 → 0.0.513

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
 
@@ -623,14 +623,14 @@ interface IPickBase {
623
623
  ariaLabel?: string;
624
624
  label: string;
625
625
  name: string;
626
- defaultChecked?: boolean;
626
+ checked?: boolean;
627
627
  icon: React__default.ReactElement<IIcon | IFigure>;
628
628
  }
629
629
  interface IPick extends IPickBase {
630
630
  context?: PickContext;
631
631
  }
632
632
 
633
- declare const Pick: ({ context, onChange, value, ariaLabel, label, name, defaultChecked, icon }: IPick) => react_jsx_runtime.JSX.Element;
633
+ declare const Pick: ({ context, onChange, value, ariaLabel, label, name, checked, icon }: IPick) => react_jsx_runtime.JSX.Element;
634
634
 
635
635
  interface IPill {
636
636
  label: string;
@@ -705,7 +705,11 @@ interface ITerm {
705
705
 
706
706
  declare const Term: ({ label, description, figure }: ITerm) => react_jsx_runtime.JSX.Element;
707
707
 
708
- declare const Terminal: () => react_jsx_runtime.JSX.Element;
708
+ interface TerminalProps {
709
+ ariaLabel?: string;
710
+ }
711
+
712
+ declare const Terminal: ({ ariaLabel }: TerminalProps) => react_jsx_runtime.JSX.Element;
709
713
 
710
714
  declare enum YesNoContext {
711
715
  STANDARD = "STANDARD",
@@ -720,14 +724,14 @@ interface IYesNoBase {
720
724
  yesLabel: string;
721
725
  noLabel: string;
722
726
  name: string;
723
- defaultChecked?: boolean;
727
+ checked?: boolean;
724
728
  legend?: string;
725
729
  }
726
730
  interface IYesNo extends IYesNoBase {
727
731
  context?: YesNoContext;
728
732
  }
729
733
 
730
- declare const YesNo: ({ context, onChange, ariaYesLabel, ariaNoLabel, yesLabel, noLabel, name, defaultChecked, legend, }: IYesNo) => react_jsx_runtime.JSX.Element;
734
+ declare const YesNo: ({ context, onChange, ariaYesLabel, ariaNoLabel, yesLabel, noLabel, name, checked, legend, }: IYesNo) => react_jsx_runtime.JSX.Element;
731
735
 
732
736
  declare enum BigPickContext {
733
737
  STANDARD = "STANDARD",
@@ -742,14 +746,13 @@ interface IBigPickBase {
742
746
  label: string;
743
747
  name: string;
744
748
  checked?: boolean;
745
- defaultChecked?: boolean;
746
749
  icon: React__default.ReactElement<IIcon | IFigure>;
747
750
  }
748
751
  interface IBigPick extends IBigPickBase {
749
752
  context?: BigPickContext;
750
753
  }
751
754
 
752
- declare const BigPick: ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked, icon, }: IBigPick) => react_jsx_runtime.JSX.Element;
755
+ declare const BigPick: ({ context, onChange, value, ariaLabel, label, name, checked, icon }: IBigPick) => react_jsx_runtime.JSX.Element;
753
756
 
754
757
  type SetState<T> = React__default.Dispatch<React__default.SetStateAction<T>>;
755
758
  interface AutoCompleteContextType<T> {
@@ -1045,11 +1048,11 @@ interface IPillCheckbox {
1045
1048
  ariaLabel?: string;
1046
1049
  label: string;
1047
1050
  name: string;
1048
- defaultChecked?: boolean;
1051
+ checked?: boolean;
1049
1052
  type?: PillCheckboxType;
1050
1053
  }
1051
1054
 
1052
- declare const PillCheckbox: ({ label, name, value, ariaLabel, defaultChecked, onChange, type }: IPillCheckbox) => react_jsx_runtime.JSX.Element;
1055
+ declare const PillCheckbox: ({ label, name, value, ariaLabel, checked, onChange, type }: IPillCheckbox) => react_jsx_runtime.JSX.Element;
1053
1056
 
1054
1057
  declare enum PillStatusType {
1055
1058
  PRIMARY = "PRIMARY",
@@ -1164,7 +1167,6 @@ interface IBlockRadioBase {
1164
1167
  label: string;
1165
1168
  name: string;
1166
1169
  checked?: boolean;
1167
- defaultChecked?: boolean;
1168
1170
  }
1169
1171
  interface IBlockRadio extends IBlockRadioBase {
1170
1172
  context?: BlockRadioContext;
@@ -1175,7 +1177,7 @@ interface IBlockRadioGroup {
1175
1177
  }
1176
1178
 
1177
1179
  declare const BlockRadio: {
1178
- ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked, }: IBlockRadio): react_jsx_runtime.JSX.Element;
1180
+ ({ context, onChange, value, ariaLabel, label, name, checked }: IBlockRadio): react_jsx_runtime.JSX.Element;
1179
1181
  Group: ({ direction, children }: IBlockRadioGroup) => react_jsx_runtime.JSX.Element;
1180
1182
  };
1181
1183
 
@@ -1456,7 +1458,7 @@ type ClickHandler = React__default.MouseEventHandler<HTMLAnchorElement> & React_
1456
1458
  interface ProfileNavigationItemThemeableProps {
1457
1459
  label?: string;
1458
1460
  title: string;
1459
- icon: IconType;
1461
+ icon?: IconType;
1460
1462
  type: ItemType;
1461
1463
  href?: string;
1462
1464
  onClick?: ClickHandler;
@@ -1810,6 +1812,7 @@ interface IMinimalHeader {
1810
1812
  branding: React__default.ReactElement<ILogo>;
1811
1813
  siteMenu?: React__default.ReactNode;
1812
1814
  contextualArea?: React__default.ReactNode;
1815
+ optionalAction?: React__default.ReactNode;
1813
1816
  }
1814
1817
 
1815
1818
  declare const MinimalHeader: (props: IMinimalHeader) => react_jsx_runtime.JSX.Element;
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
 
@@ -623,14 +623,14 @@ interface IPickBase {
623
623
  ariaLabel?: string;
624
624
  label: string;
625
625
  name: string;
626
- defaultChecked?: boolean;
626
+ checked?: boolean;
627
627
  icon: React__default.ReactElement<IIcon | IFigure>;
628
628
  }
629
629
  interface IPick extends IPickBase {
630
630
  context?: PickContext;
631
631
  }
632
632
 
633
- declare const Pick: ({ context, onChange, value, ariaLabel, label, name, defaultChecked, icon }: IPick) => react_jsx_runtime.JSX.Element;
633
+ declare const Pick: ({ context, onChange, value, ariaLabel, label, name, checked, icon }: IPick) => react_jsx_runtime.JSX.Element;
634
634
 
635
635
  interface IPill {
636
636
  label: string;
@@ -705,7 +705,11 @@ interface ITerm {
705
705
 
706
706
  declare const Term: ({ label, description, figure }: ITerm) => react_jsx_runtime.JSX.Element;
707
707
 
708
- declare const Terminal: () => react_jsx_runtime.JSX.Element;
708
+ interface TerminalProps {
709
+ ariaLabel?: string;
710
+ }
711
+
712
+ declare const Terminal: ({ ariaLabel }: TerminalProps) => react_jsx_runtime.JSX.Element;
709
713
 
710
714
  declare enum YesNoContext {
711
715
  STANDARD = "STANDARD",
@@ -720,14 +724,14 @@ interface IYesNoBase {
720
724
  yesLabel: string;
721
725
  noLabel: string;
722
726
  name: string;
723
- defaultChecked?: boolean;
727
+ checked?: boolean;
724
728
  legend?: string;
725
729
  }
726
730
  interface IYesNo extends IYesNoBase {
727
731
  context?: YesNoContext;
728
732
  }
729
733
 
730
- declare const YesNo: ({ context, onChange, ariaYesLabel, ariaNoLabel, yesLabel, noLabel, name, defaultChecked, legend, }: IYesNo) => react_jsx_runtime.JSX.Element;
734
+ declare const YesNo: ({ context, onChange, ariaYesLabel, ariaNoLabel, yesLabel, noLabel, name, checked, legend, }: IYesNo) => react_jsx_runtime.JSX.Element;
731
735
 
732
736
  declare enum BigPickContext {
733
737
  STANDARD = "STANDARD",
@@ -742,14 +746,13 @@ interface IBigPickBase {
742
746
  label: string;
743
747
  name: string;
744
748
  checked?: boolean;
745
- defaultChecked?: boolean;
746
749
  icon: React__default.ReactElement<IIcon | IFigure>;
747
750
  }
748
751
  interface IBigPick extends IBigPickBase {
749
752
  context?: BigPickContext;
750
753
  }
751
754
 
752
- declare const BigPick: ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked, icon, }: IBigPick) => react_jsx_runtime.JSX.Element;
755
+ declare const BigPick: ({ context, onChange, value, ariaLabel, label, name, checked, icon }: IBigPick) => react_jsx_runtime.JSX.Element;
753
756
 
754
757
  type SetState<T> = React__default.Dispatch<React__default.SetStateAction<T>>;
755
758
  interface AutoCompleteContextType<T> {
@@ -1045,11 +1048,11 @@ interface IPillCheckbox {
1045
1048
  ariaLabel?: string;
1046
1049
  label: string;
1047
1050
  name: string;
1048
- defaultChecked?: boolean;
1051
+ checked?: boolean;
1049
1052
  type?: PillCheckboxType;
1050
1053
  }
1051
1054
 
1052
- declare const PillCheckbox: ({ label, name, value, ariaLabel, defaultChecked, onChange, type }: IPillCheckbox) => react_jsx_runtime.JSX.Element;
1055
+ declare const PillCheckbox: ({ label, name, value, ariaLabel, checked, onChange, type }: IPillCheckbox) => react_jsx_runtime.JSX.Element;
1053
1056
 
1054
1057
  declare enum PillStatusType {
1055
1058
  PRIMARY = "PRIMARY",
@@ -1164,7 +1167,6 @@ interface IBlockRadioBase {
1164
1167
  label: string;
1165
1168
  name: string;
1166
1169
  checked?: boolean;
1167
- defaultChecked?: boolean;
1168
1170
  }
1169
1171
  interface IBlockRadio extends IBlockRadioBase {
1170
1172
  context?: BlockRadioContext;
@@ -1175,7 +1177,7 @@ interface IBlockRadioGroup {
1175
1177
  }
1176
1178
 
1177
1179
  declare const BlockRadio: {
1178
- ({ context, onChange, value, ariaLabel, label, name, checked, defaultChecked, }: IBlockRadio): react_jsx_runtime.JSX.Element;
1180
+ ({ context, onChange, value, ariaLabel, label, name, checked }: IBlockRadio): react_jsx_runtime.JSX.Element;
1179
1181
  Group: ({ direction, children }: IBlockRadioGroup) => react_jsx_runtime.JSX.Element;
1180
1182
  };
1181
1183
 
@@ -1456,7 +1458,7 @@ type ClickHandler = React__default.MouseEventHandler<HTMLAnchorElement> & React_
1456
1458
  interface ProfileNavigationItemThemeableProps {
1457
1459
  label?: string;
1458
1460
  title: string;
1459
- icon: IconType;
1461
+ icon?: IconType;
1460
1462
  type: ItemType;
1461
1463
  href?: string;
1462
1464
  onClick?: ClickHandler;
@@ -1810,6 +1812,7 @@ interface IMinimalHeader {
1810
1812
  branding: React__default.ReactElement<ILogo>;
1811
1813
  siteMenu?: React__default.ReactNode;
1812
1814
  contextualArea?: React__default.ReactNode;
1815
+ optionalAction?: React__default.ReactNode;
1813
1816
  }
1814
1817
 
1815
1818
  declare const MinimalHeader: (props: IMinimalHeader) => react_jsx_runtime.JSX.Element;