@smworks-cz/ui-kit 1.2.0 → 1.2.1

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
@@ -935,6 +935,11 @@ interface FileUploadProps {
935
935
  * @default true
936
936
  */
937
937
  showFileList?: boolean;
938
+ /**
939
+ * Text tlačítka u button varianty.
940
+ * Pokud zadáno, zobrazí se vždy tento text místo názvu souboru.
941
+ */
942
+ buttonLabel?: string;
938
943
  /** Dodatečná CSS třída. */
939
944
  className?: string;
940
945
  /** Další inline styly. */
@@ -965,6 +970,8 @@ interface SegmentedControlItem {
965
970
  value: string;
966
971
  /** Zobrazovaný text. Výchozí: `value`. */
967
972
  label?: string;
973
+ /** Ikona zobrazená v segmentu. Může být samostatně nebo s label. */
974
+ icon?: React.ReactNode;
968
975
  /** Zakáže tento segment. */
969
976
  disabled?: boolean;
970
977
  }
package/dist/index.d.ts CHANGED
@@ -935,6 +935,11 @@ interface FileUploadProps {
935
935
  * @default true
936
936
  */
937
937
  showFileList?: boolean;
938
+ /**
939
+ * Text tlačítka u button varianty.
940
+ * Pokud zadáno, zobrazí se vždy tento text místo názvu souboru.
941
+ */
942
+ buttonLabel?: string;
938
943
  /** Dodatečná CSS třída. */
939
944
  className?: string;
940
945
  /** Další inline styly. */
@@ -965,6 +970,8 @@ interface SegmentedControlItem {
965
970
  value: string;
966
971
  /** Zobrazovaný text. Výchozí: `value`. */
967
972
  label?: string;
973
+ /** Ikona zobrazená v segmentu. Může být samostatně nebo s label. */
974
+ icon?: React.ReactNode;
968
975
  /** Zakáže tento segment. */
969
976
  disabled?: boolean;
970
977
  }