@hussmartinez/ui 0.7.0 → 0.8.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.
package/dist/ui.d.ts CHANGED
@@ -62,6 +62,13 @@ export declare interface AnnouncerProviderProps {
62
62
  readonly children?: ReactNode;
63
63
  }
64
64
 
65
+ /**
66
+ * The `arrow` icon: Lucide's `move-up-right`.
67
+ *
68
+ * @public
69
+ */
70
+ export declare function ArrowIcon(props: IconProps): ReactElement;
71
+
65
72
  /**
66
73
  * A button: a native `<button>`, `type="button"` unless you say otherwise.
67
74
  *
@@ -269,6 +276,20 @@ export declare interface DialogProps extends Omit<DialogHTMLAttributes<HTMLDialo
269
276
  */
270
277
  export declare function DownloadIcon(props: IconProps): ReactElement;
271
278
 
279
+ /**
280
+ * The `duplicate` icon: Lucide's `copy`.
281
+ *
282
+ * @public
283
+ */
284
+ export declare function DuplicateIcon(props: IconProps): ReactElement;
285
+
286
+ /**
287
+ * The `ellipse` icon: Lucide's `ellipse`.
288
+ *
289
+ * @public
290
+ */
291
+ export declare function EllipseIcon(props: IconProps): ReactElement;
292
+
272
293
  /**
273
294
  * The `fade-in` icon: Lucide's `chart-no-axes-column-increasing`.
274
295
  *
@@ -475,6 +496,13 @@ export declare function FlipHorizontalIcon(props: IconProps): ReactElement;
475
496
  */
476
497
  export declare function FlipVerticalIcon(props: IconProps): ReactElement;
477
498
 
499
+ /**
500
+ * The `hidden` icon: Lucide's `eye-off`.
501
+ *
502
+ * @public
503
+ */
504
+ export declare function HiddenIcon(props: IconProps): ReactElement;
505
+
478
506
  /**
479
507
  * The `highlighter` icon: Lucide's `highlighter`.
480
508
  *
@@ -523,7 +551,7 @@ export declare type IconComponent = (props: IconProps) => ReactElement;
523
551
  *
524
552
  * @public
525
553
  */
526
- export declare type IconName = "add" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "close" | "crop" | "delete" | "download" | "fade-in" | "fade-out" | "fit" | "flip-horizontal" | "flip-vertical" | "highlighter" | "info" | "loop" | "menu" | "more" | "muted" | "open" | "page-grid" | "page-single" | "pan" | "pause" | "pen" | "play" | "redo" | "remove" | "rotate-left" | "rotate-right" | "search" | "select" | "skip-back" | "skip-forward" | "snap" | "split" | "stop" | "trim-end" | "trim-start" | "undo" | "upload" | "volume" | "warning" | "zoom-in" | "zoom-out";
554
+ export declare type IconName = "add" | "arrow" | "check" | "chevron-down" | "chevron-left" | "chevron-right" | "close" | "crop" | "delete" | "download" | "duplicate" | "ellipse" | "fade-in" | "fade-out" | "fit" | "flip-horizontal" | "flip-vertical" | "hidden" | "highlighter" | "info" | "layers" | "loop" | "menu" | "more" | "move-down" | "move-up" | "muted" | "open" | "page-add" | "page-grid" | "page-single" | "pan" | "pause" | "pen" | "play" | "rectangle" | "redact" | "redo" | "remove" | "rotate-left" | "rotate-right" | "search" | "select" | "skip-back" | "skip-forward" | "snap" | "split" | "stop" | "text" | "trim-end" | "trim-start" | "undo" | "upload" | "visible" | "volume" | "warning" | "zoom-in" | "zoom-out";
527
555
 
528
556
  /**
529
557
  * Props of every icon. SVG attributes are passed through.
@@ -546,6 +574,13 @@ export declare interface IconProps extends Omit<SVGProps<SVGSVGElement>, "childr
546
574
  */
547
575
  export declare function InfoIcon(props: IconProps): ReactElement;
548
576
 
577
+ /**
578
+ * The `layers` icon: Lucide's `layers`.
579
+ *
580
+ * @public
581
+ */
582
+ export declare function LayersIcon(props: IconProps): ReactElement;
583
+
549
584
  /**
550
585
  * The `loop` icon: Lucide's `repeat`.
551
586
  *
@@ -567,6 +602,20 @@ export declare function MenuIcon(props: IconProps): ReactElement;
567
602
  */
568
603
  export declare function MoreIcon(props: IconProps): ReactElement;
569
604
 
605
+ /**
606
+ * The `move-down` icon: Lucide's `arrow-down`.
607
+ *
608
+ * @public
609
+ */
610
+ export declare function MoveDownIcon(props: IconProps): ReactElement;
611
+
612
+ /**
613
+ * The `move-up` icon: Lucide's `arrow-up`.
614
+ *
615
+ * @public
616
+ */
617
+ export declare function MoveUpIcon(props: IconProps): ReactElement;
618
+
570
619
  /**
571
620
  * The `muted` icon: Lucide's `volume-x`.
572
621
  *
@@ -661,6 +710,13 @@ export declare interface NumberFieldProps extends Omit<InputHTMLAttributes<HTMLI
661
710
  */
662
711
  export declare function OpenIcon(props: IconProps): ReactElement;
663
712
 
713
+ /**
714
+ * The `page-add` icon: Lucide's `file-plus`.
715
+ *
716
+ * @public
717
+ */
718
+ export declare function PageAddIcon(props: IconProps): ReactElement;
719
+
664
720
  /**
665
721
  * The `page-grid` icon: Lucide's `grid-2x2`.
666
722
  *
@@ -743,6 +799,20 @@ export declare interface ProgressBarProps extends Omit<ProgressHTMLAttributes<HT
743
799
  readonly valueText?: string | undefined;
744
800
  }
745
801
 
802
+ /**
803
+ * The `rectangle` icon: Lucide's `rectangle-horizontal`.
804
+ *
805
+ * @public
806
+ */
807
+ export declare function RectangleIcon(props: IconProps): ReactElement;
808
+
809
+ /**
810
+ * The `redact` icon: Lucide's `rectangle-ellipsis`.
811
+ *
812
+ * @public
813
+ */
814
+ export declare function RedactIcon(props: IconProps): ReactElement;
815
+
746
816
  /**
747
817
  * The `redo` icon: Lucide's `redo-2`, mirrored in right-to-left text.
748
818
  *
@@ -1036,6 +1106,13 @@ export declare interface TextFieldProps extends Omit<InputHTMLAttributes<HTMLInp
1036
1106
  */
1037
1107
  export declare type TextFieldType = "text" | "search" | "email" | "url" | "tel" | "password";
1038
1108
 
1109
+ /**
1110
+ * The `text` icon: Lucide's `type`.
1111
+ *
1112
+ * @public
1113
+ */
1114
+ export declare function TextIcon(props: IconProps): ReactElement;
1115
+
1039
1116
  /**
1040
1117
  * A validated theme. Create it with `createTheme`; its values are
1041
1118
  * frozen and safe to write into CSS.
@@ -1496,6 +1573,13 @@ export declare function usePlatform(): Platform;
1496
1573
  */
1497
1574
  export declare function useUiMessages(): UiMessages;
1498
1575
 
1576
+ /**
1577
+ * The `visible` icon: Lucide's `eye`.
1578
+ *
1579
+ * @public
1580
+ */
1581
+ export declare function VisibleIcon(props: IconProps): ReactElement;
1582
+
1499
1583
  /**
1500
1584
  * Content for assistive technology only: hidden on screen, but read out and
1501
1585
  * part of the accessible name of its parent. It has no `unstyled` prop,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hussmartinez/ui",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "Design system of the @hussmartinez SDK family: tokens, themes, base styles and accessible React components.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "devDependencies": {
51
51
  "@arethetypeswrong/cli": "^0.18.5",
52
- "@hussmartinez/sdk-config": "^0.5.0",
52
+ "@hussmartinez/sdk-config": "^0.9.0",
53
53
  "@microsoft/api-extractor": "^7.60.1",
54
54
  "@size-limit/file": "^14.3.0",
55
55
  "@types/node": "^24.19.2",
@@ -58,7 +58,7 @@
58
58
  "@vitest/browser-playwright": "5.1.0",
59
59
  "esbuild": "^0.28.2",
60
60
  "lucide-static": "1.72.0",
61
- "playwright": "^1.64.1",
61
+ "playwright": "1.65.1",
62
62
  "publint": "^0.3.25",
63
63
  "react": "^19.3.0",
64
64
  "react-dom": "^19.3.0",
@@ -71,8 +71,8 @@
71
71
  "typecheck": "tsc -p tsconfig.json && tsc -p tsconfig.test.json",
72
72
  "build": "vite build && pnpm check:api",
73
73
  "test": "vitest run --project unit",
74
- "test:browser": "vitest run --project browser",
75
- "test:browser:all": "vitest run --project browser --mode all-browsers",
74
+ "test:browser": "hm-in-image vitest run --project browser",
75
+ "test:browser:all": "hm-in-image vitest run --project browser --mode all-browsers",
76
76
  "check:size": "size-limit",
77
77
  "check:api": "tsc -p tsconfig.build.json && api-extractor run && api-extractor run -c api-extractor.react.json && hm-check-api-reports --main api/ui.api.md --types dist/index.d.ts api/ui-react.api.md",
78
78
  "check:package": "publint run --pack pnpm --strict && attw --pack . --profile esm-only --exclude-entrypoints ./styles.css",