@sequencing/design-system 0.0.134 → 1.0.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.
@@ -247,7 +247,7 @@
247
247
  "description": "",
248
248
  "name": "contentEditable",
249
249
  "required": false,
250
- "type": "Booleanish | \"inherit\""
250
+ "type": "Booleanish | \"inherit\" | \"plaintext-only\""
251
251
  },
252
252
  "contextMenu": {
253
253
  "defaultValue": null,
@@ -298,13 +298,6 @@
298
298
  "required": false,
299
299
  "type": "string"
300
300
  },
301
- "placeholder": {
302
- "defaultValue": null,
303
- "description": "",
304
- "name": "placeholder",
305
- "required": false,
306
- "type": "string"
307
- },
308
301
  "slot": {
309
302
  "defaultValue": null,
310
303
  "description": "",
@@ -524,14 +517,14 @@
524
517
  },
525
518
  "inputMode": {
526
519
  "defaultValue": null,
527
- "description": "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute",
520
+ "description": "Hints at the type of data that might be entered by the user while editing the element or its contents\n@see {@link https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute}",
528
521
  "name": "inputMode",
529
522
  "required": false,
530
523
  "type": "\"text\" | \"none\" | \"search\" | \"tel\" | \"url\" | \"email\" | \"numeric\" | \"decimal\""
531
524
  },
532
525
  "is": {
533
526
  "defaultValue": null,
534
- "description": "Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is",
527
+ "description": "Specify that a standard HTML element should behave like a defined custom built-in element\n@see {@link https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is}",
535
528
  "name": "is",
536
529
  "required": false,
537
530
  "type": "string"
@@ -557,9 +550,23 @@
557
550
  "required": false,
558
551
  "type": "\"list\" | \"none\" | \"inline\" | \"both\""
559
552
  },
553
+ "aria-braillelabel": {
554
+ "defaultValue": null,
555
+ "description": "Defines a string value that labels the current element, which is intended to be converted into Braille.\n@see aria-label.",
556
+ "name": "aria-braillelabel",
557
+ "required": false,
558
+ "type": "string"
559
+ },
560
+ "aria-brailleroledescription": {
561
+ "defaultValue": null,
562
+ "description": "Defines a human-readable, author-localized abbreviated description for the role of an element, which is intended to be converted into Braille.\n@see aria-roledescription.",
563
+ "name": "aria-brailleroledescription",
564
+ "required": false,
565
+ "type": "string"
566
+ },
560
567
  "aria-busy": {
561
568
  "defaultValue": null,
562
- "description": "Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.",
569
+ "description": "",
563
570
  "name": "aria-busy",
564
571
  "required": false,
565
572
  "type": "Booleanish"
@@ -585,6 +592,13 @@
585
592
  "required": false,
586
593
  "type": "number"
587
594
  },
595
+ "aria-colindextext": {
596
+ "defaultValue": null,
597
+ "description": "Defines a human readable text alternative of aria-colindex.\n@see aria-rowindextext.",
598
+ "name": "aria-colindextext",
599
+ "required": false,
600
+ "type": "string"
601
+ },
588
602
  "aria-colspan": {
589
603
  "defaultValue": null,
590
604
  "description": "Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-colindex\n@see aria-rowspan.",
@@ -613,6 +627,13 @@
613
627
  "required": false,
614
628
  "type": "string"
615
629
  },
630
+ "aria-description": {
631
+ "defaultValue": null,
632
+ "description": "Defines a string value that describes or annotates the current element.\n@see related aria-describedby.",
633
+ "name": "aria-description",
634
+ "required": false,
635
+ "type": "string"
636
+ },
616
637
  "aria-details": {
617
638
  "defaultValue": null,
618
639
  "description": "Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.",
@@ -816,6 +837,13 @@
816
837
  "required": false,
817
838
  "type": "number"
818
839
  },
840
+ "aria-rowindextext": {
841
+ "defaultValue": null,
842
+ "description": "Defines a human readable text alternative of aria-rowindex.\n@see aria-colindextext.",
843
+ "name": "aria-rowindextext",
844
+ "required": false,
845
+ "type": "string"
846
+ },
819
847
  "aria-rowspan": {
820
848
  "defaultValue": null,
821
849
  "description": "Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-rowindex\n@see aria-colspan.",
@@ -1355,6 +1383,20 @@
1355
1383
  "required": false,
1356
1384
  "type": "ReactEventHandler<HTMLButtonElement>"
1357
1385
  },
1386
+ "onResize": {
1387
+ "defaultValue": null,
1388
+ "description": "",
1389
+ "name": "onResize",
1390
+ "required": false,
1391
+ "type": "ReactEventHandler<HTMLButtonElement>"
1392
+ },
1393
+ "onResizeCapture": {
1394
+ "defaultValue": null,
1395
+ "description": "",
1396
+ "name": "onResizeCapture",
1397
+ "required": false,
1398
+ "type": "ReactEventHandler<HTMLButtonElement>"
1399
+ },
1358
1400
  "onSeeked": {
1359
1401
  "defaultValue": null,
1360
1402
  "description": "",
@@ -1831,13 +1873,6 @@
1831
1873
  "required": false,
1832
1874
  "type": "PointerEventHandler<HTMLButtonElement>"
1833
1875
  },
1834
- "onPointerEnterCapture": {
1835
- "defaultValue": null,
1836
- "description": "",
1837
- "name": "onPointerEnterCapture",
1838
- "required": false,
1839
- "type": "PointerEventHandler<HTMLButtonElement>"
1840
- },
1841
1876
  "onPointerLeave": {
1842
1877
  "defaultValue": null,
1843
1878
  "description": "",
@@ -1845,13 +1880,6 @@
1845
1880
  "required": false,
1846
1881
  "type": "PointerEventHandler<HTMLButtonElement>"
1847
1882
  },
1848
- "onPointerLeaveCapture": {
1849
- "defaultValue": null,
1850
- "description": "",
1851
- "name": "onPointerLeaveCapture",
1852
- "required": false,
1853
- "type": "PointerEventHandler<HTMLButtonElement>"
1854
- },
1855
1883
  "onPointerOver": {
1856
1884
  "defaultValue": null,
1857
1885
  "description": "",
@@ -1994,10 +2022,10 @@
1994
2022
  },
1995
2023
  "ref": {
1996
2024
  "defaultValue": null,
1997
- "description": "",
2025
+ "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",
1998
2026
  "name": "ref",
1999
2027
  "required": false,
2000
- "type": "Ref<HTMLButtonElement>"
2028
+ "type": "LegacyRef<HTMLButtonElement>"
2001
2029
  },
2002
2030
  "key": {
2003
2031
  "defaultValue": null,
@@ -2071,10 +2099,10 @@
2071
2099
  },
2072
2100
  "ref": {
2073
2101
  "defaultValue": null,
2074
- "description": "",
2102
+ "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",
2075
2103
  "name": "ref",
2076
2104
  "required": false,
2077
- "type": "Ref<DropdownFunctions>"
2105
+ "type": "LegacyRef<DropdownFunctions>"
2078
2106
  },
2079
2107
  "key": {
2080
2108
  "defaultValue": null,
@@ -2554,10 +2582,10 @@
2554
2582
  },
2555
2583
  "ref": {
2556
2584
  "defaultValue": null,
2557
- "description": "",
2585
+ "description": "Allows getting a ref to the component instance.\nOnce the component unmounts, React will set `ref.current` to `null`\n(or call the ref with `null` if you passed a callback ref).\n@see {@link https://react.dev/learn/referencing-values-with-refs#refs-and-the-dom React Docs}",
2558
2586
  "name": "ref",
2559
2587
  "required": false,
2560
- "type": "Ref<HeaderFunctions>"
2588
+ "type": "LegacyRef<HeaderFunctions>"
2561
2589
  },
2562
2590
  "key": {
2563
2591
  "defaultValue": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sequencing/design-system",
3
- "version": "0.0.134",
3
+ "version": "1.0.1",
4
4
  "description": "Sequencing Design System",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\"",
@@ -30,7 +30,7 @@
30
30
  "@rollup/plugin-url": "^8.0.1",
31
31
  "@svgr/rollup": "^8.1.0",
32
32
  "@types/css-modules": "^1.0.2",
33
- "@types/react": "^17.0.2",
33
+ "@types/react": "^18.3.3",
34
34
  "@types/react-instantsearch-dom": "^6.12.3",
35
35
  "classnames": "^2.3.2",
36
36
  "fast-glob": "^3.2.12",
@@ -51,8 +51,8 @@
51
51
  "util": "^0.12.5"
52
52
  },
53
53
  "peerDependencies": {
54
- "react": "^17.0.2",
55
- "react-dom": "^17.0.2"
54
+ "react": "^18.3.1",
55
+ "react-dom": "^18.3.1"
56
56
  },
57
57
  "main": "dist/index.js",
58
58
  "module": "dist/esm/index.js",