pallote-react 0.14.6 → 0.15.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/README.md ADDED
@@ -0,0 +1 @@
1
+ # Pallote React
@@ -44,11 +44,6 @@ Color.propTypes = {
44
44
  children: PropTypes.node
45
45
  };
46
46
 
47
- var Color$1 = /*#__PURE__*/Object.freeze({
48
- __proto__: null,
49
- Color: Color
50
- });
51
-
52
47
  const viewportSizes = {
53
48
  'mobile-sm': 375,
54
49
  'mobile': 576,
@@ -89,11 +84,6 @@ Display.propTypes = {
89
84
  children: PropTypes.node
90
85
  };
91
86
 
92
- var Display$1 = /*#__PURE__*/Object.freeze({
93
- __proto__: null,
94
- Display: Display
95
- });
96
-
97
87
  function _extends() {
98
88
  return _extends = Object.assign ? Object.assign.bind() : function (n) {
99
89
  for (var e = 1; e < arguments.length; e++) {
@@ -157,11 +147,6 @@ Grid.propTypes = {
157
147
  children: PropTypes.node
158
148
  };
159
149
 
160
- var Grid$1 = /*#__PURE__*/Object.freeze({
161
- __proto__: null,
162
- Grid: Grid
163
- });
164
-
165
150
  const Text = ({
166
151
  variant,
167
152
  align,
@@ -207,11 +192,6 @@ Text.propTypes = {
207
192
  children: PropTypes.node
208
193
  };
209
194
 
210
- var Text$1 = /*#__PURE__*/Object.freeze({
211
- __proto__: null,
212
- Text: Text
213
- });
214
-
215
195
  const Alert = ({
216
196
  color = 'success',
217
197
  variant = 'toast',
@@ -282,11 +262,6 @@ Alert.propTypes = {
282
262
  className: PropTypes.node
283
263
  };
284
264
 
285
- var Alert$1 = /*#__PURE__*/Object.freeze({
286
- __proto__: null,
287
- Alert: Alert
288
- });
289
-
290
265
  const Breadcrumbs = ({
291
266
  items,
292
267
  separator = "slash",
@@ -310,11 +285,6 @@ Breadcrumbs.propTypes = {
310
285
  className: PropTypes.node
311
286
  };
312
287
 
313
- var Breadcrumbs$1 = /*#__PURE__*/Object.freeze({
314
- __proto__: null,
315
- Breadcrumbs: Breadcrumbs
316
- });
317
-
318
288
  const Button = /*#__PURE__*/React.forwardRef(({
319
289
  component = 'button',
320
290
  kind,
@@ -364,11 +334,6 @@ Button.propTypes = {
364
334
  children: PropTypes.node.isRequired
365
335
  };
366
336
 
367
- var Button$1 = /*#__PURE__*/Object.freeze({
368
- __proto__: null,
369
- Button: Button
370
- });
371
-
372
337
  const Buttons = ({
373
338
  direction = 'landscape',
374
339
  fullWidth,
@@ -393,11 +358,6 @@ Buttons.propTypes = {
393
358
  children: PropTypes.node.isRequired
394
359
  };
395
360
 
396
- var Buttons$1 = /*#__PURE__*/Object.freeze({
397
- __proto__: null,
398
- Buttons: Buttons
399
- });
400
-
401
361
  const Card = ({
402
362
  size = 'md',
403
363
  fill = 'paper',
@@ -432,11 +392,6 @@ Card.propTypes = {
432
392
  children: PropTypes.node.isRequired
433
393
  };
434
394
 
435
- var Card$1 = /*#__PURE__*/Object.freeze({
436
- __proto__: null,
437
- Card: Card
438
- });
439
-
440
395
  const CardActions = ({
441
396
  direction,
442
397
  className,
@@ -455,11 +410,6 @@ CardActions.propTypes = {
455
410
  children: PropTypes.node.isRequired
456
411
  };
457
412
 
458
- var CardActions$1 = /*#__PURE__*/Object.freeze({
459
- __proto__: null,
460
- CardActions: CardActions
461
- });
462
-
463
413
  const CardContent = ({
464
414
  fullWidth,
465
415
  className,
@@ -478,11 +428,6 @@ CardContent.propTypes = {
478
428
  children: PropTypes.node.isRequired
479
429
  };
480
430
 
481
- var CardContent$1 = /*#__PURE__*/Object.freeze({
482
- __proto__: null,
483
- CardContent: CardContent
484
- });
485
-
486
431
  const CardHeader = ({
487
432
  label,
488
433
  title,
@@ -512,11 +457,6 @@ CardHeader.propTypes = {
512
457
  children: PropTypes.node
513
458
  };
514
459
 
515
- var CardHeader$1 = /*#__PURE__*/Object.freeze({
516
- __proto__: null,
517
- CardHeader: CardHeader
518
- });
519
-
520
460
  const CardMedia = ({
521
461
  width,
522
462
  height,
@@ -546,11 +486,6 @@ CardMedia.propTypes = {
546
486
  className: PropTypes.node
547
487
  };
548
488
 
549
- var CardMedia$1 = /*#__PURE__*/Object.freeze({
550
- __proto__: null,
551
- CardMedia: CardMedia
552
- });
553
-
554
489
  const Checkbox = ({
555
490
  id,
556
491
  value,
@@ -590,11 +525,6 @@ Checkbox.propTypes = {
590
525
  className: PropTypes.node
591
526
  };
592
527
 
593
- var Checkbox$1 = /*#__PURE__*/Object.freeze({
594
- __proto__: null,
595
- Checkbox: Checkbox
596
- });
597
-
598
528
  const InputLabel = ({
599
529
  isLegend = false,
600
530
  htmlFor,
@@ -627,11 +557,6 @@ InputLabel.propTypes = {
627
557
  error: PropTypes.string
628
558
  };
629
559
 
630
- var InputLabel$1 = /*#__PURE__*/Object.freeze({
631
- __proto__: null,
632
- InputLabel: InputLabel
633
- });
634
-
635
560
  const Checkboxes = ({
636
561
  onChange,
637
562
  id,
@@ -680,11 +605,6 @@ Checkboxes.propTypes = {
680
605
  className: PropTypes.node
681
606
  };
682
607
 
683
- var Checkboxes$1 = /*#__PURE__*/Object.freeze({
684
- __proto__: null,
685
- Checkboxes: Checkboxes
686
- });
687
-
688
608
  const Divider = ({
689
609
  direction = 'landscape',
690
610
  padding = 'md',
@@ -704,11 +624,6 @@ Divider.propTypes = {
704
624
  className: PropTypes.node
705
625
  };
706
626
 
707
- var Divider$1 = /*#__PURE__*/Object.freeze({
708
- __proto__: null,
709
- Divider: Divider
710
- });
711
-
712
627
  const Input = ({
713
628
  onChange,
714
629
  type = 'text',
@@ -774,11 +689,6 @@ Input.propTypes = {
774
689
  className: PropTypes.node
775
690
  };
776
691
 
777
- var Input$1 = /*#__PURE__*/Object.freeze({
778
- __proto__: null,
779
- Input: Input
780
- });
781
-
782
692
  const Link = ({
783
693
  component = 'a',
784
694
  icon,
@@ -812,11 +722,6 @@ Link.propTypes = {
812
722
  children: PropTypes.node.isRequired
813
723
  };
814
724
 
815
- var Link$1 = /*#__PURE__*/Object.freeze({
816
- __proto__: null,
817
- Link: Link
818
- });
819
-
820
725
  const List = ({
821
726
  dense,
822
727
  className,
@@ -835,11 +740,6 @@ List.propTypes = {
835
740
  children: PropTypes.node.isRequired
836
741
  };
837
742
 
838
- var List$1 = /*#__PURE__*/Object.freeze({
839
- __proto__: null,
840
- List: List
841
- });
842
-
843
743
  const ListItem = ({
844
744
  icon,
845
745
  bold,
@@ -862,11 +762,6 @@ ListItem.propTypes = {
862
762
  children: PropTypes.node.isRequired
863
763
  };
864
764
 
865
- var ListItem$1 = /*#__PURE__*/Object.freeze({
866
- __proto__: null,
867
- ListItem: ListItem
868
- });
869
-
870
765
  const Nav = ({
871
766
  direction,
872
767
  dense,
@@ -890,11 +785,6 @@ Nav.propTypes = {
890
785
  children: PropTypes.node.isRequired
891
786
  };
892
787
 
893
- var Nav$1 = /*#__PURE__*/Object.freeze({
894
- __proto__: null,
895
- Nav: Nav
896
- });
897
-
898
788
  const SectionHeader = ({
899
789
  label,
900
790
  title,
@@ -928,11 +818,6 @@ SectionHeader.propTypes = {
928
818
  className: PropTypes.node
929
819
  };
930
820
 
931
- var SectionHeader$1 = /*#__PURE__*/Object.freeze({
932
- __proto__: null,
933
- SectionHeader: SectionHeader
934
- });
935
-
936
821
  const Section = ({
937
822
  align = 'left',
938
823
  color = 'default',
@@ -969,11 +854,6 @@ Section.propTypes = {
969
854
  children: PropTypes.node.isRequired
970
855
  };
971
856
 
972
- var Section$1 = /*#__PURE__*/Object.freeze({
973
- __proto__: null,
974
- Section: Section
975
- });
976
-
977
857
  const NavBar = ({
978
858
  logo,
979
859
  align,
@@ -1017,11 +897,6 @@ NavBar.propTypes = {
1017
897
  children: PropTypes.node.isRequired
1018
898
  };
1019
899
 
1020
- var NavBar$1 = /*#__PURE__*/Object.freeze({
1021
- __proto__: null,
1022
- NavBar: NavBar
1023
- });
1024
-
1025
900
  const NavItem = ({
1026
901
  component,
1027
902
  label,
@@ -1071,11 +946,6 @@ NavItem.propTypes = {
1071
946
  className: PropTypes.node
1072
947
  };
1073
948
 
1074
- var NavItem$1 = /*#__PURE__*/Object.freeze({
1075
- __proto__: null,
1076
- NavItem: NavItem
1077
- });
1078
-
1079
949
  const Radio = ({
1080
950
  id,
1081
951
  name,
@@ -1117,11 +987,6 @@ Radio.propTypes = {
1117
987
  className: PropTypes.node
1118
988
  };
1119
989
 
1120
- var Radio$1 = /*#__PURE__*/Object.freeze({
1121
- __proto__: null,
1122
- Radio: Radio
1123
- });
1124
-
1125
990
  const RadioButtons = ({
1126
991
  onChange,
1127
992
  id,
@@ -1170,11 +1035,6 @@ RadioButtons.propTypes = {
1170
1035
  className: PropTypes.node
1171
1036
  };
1172
1037
 
1173
- var RadioButtons$1 = /*#__PURE__*/Object.freeze({
1174
- __proto__: null,
1175
- RadioButtons: RadioButtons
1176
- });
1177
-
1178
1038
  const SectionContent = ({
1179
1039
  align = 'left',
1180
1040
  className,
@@ -1193,11 +1053,6 @@ SectionContent.propTypes = {
1193
1053
  children: PropTypes.node.isRequired
1194
1054
  };
1195
1055
 
1196
- var SectionContent$1 = /*#__PURE__*/Object.freeze({
1197
- __proto__: null,
1198
- SectionContent: SectionContent
1199
- });
1200
-
1201
1056
  const Select = ({
1202
1057
  onChange,
1203
1058
  id,
@@ -1257,11 +1112,6 @@ Select.propTypes = {
1257
1112
  className: PropTypes.node
1258
1113
  };
1259
1114
 
1260
- var Select$1 = /*#__PURE__*/Object.freeze({
1261
- __proto__: null,
1262
- Select: Select
1263
- });
1264
-
1265
1115
  var nnfxDark = {
1266
1116
  "hljs": {
1267
1117
  "display": "block",
@@ -1405,11 +1255,6 @@ Snippet.propTypes = {
1405
1255
  className: PropTypes.node
1406
1256
  };
1407
1257
 
1408
- var Snippet$1 = /*#__PURE__*/Object.freeze({
1409
- __proto__: null,
1410
- Snippet: Snippet
1411
- });
1412
-
1413
1258
  const Status = ({
1414
1259
  color = 'inactive',
1415
1260
  dense,
@@ -1431,11 +1276,6 @@ Status.propTypes = {
1431
1276
  children: PropTypes.node.isRequired
1432
1277
  };
1433
1278
 
1434
- var Status$1 = /*#__PURE__*/Object.freeze({
1435
- __proto__: null,
1436
- Status: Status
1437
- });
1438
-
1439
1279
  const Switch = ({
1440
1280
  id,
1441
1281
  startLabel,
@@ -1475,11 +1315,6 @@ Switch.propTypes = {
1475
1315
  className: PropTypes.node
1476
1316
  };
1477
1317
 
1478
- var Switch$1 = /*#__PURE__*/Object.freeze({
1479
- __proto__: null,
1480
- Switch: Switch
1481
- });
1482
-
1483
1318
  const TabsContext = /*#__PURE__*/createContext();
1484
1319
  const Tabs = ({
1485
1320
  direction,
@@ -1510,12 +1345,6 @@ Tabs.propTypes = {
1510
1345
  children: PropTypes.node.isRequired
1511
1346
  };
1512
1347
 
1513
- var Tabs$1 = /*#__PURE__*/Object.freeze({
1514
- __proto__: null,
1515
- Tabs: Tabs,
1516
- TabsContext: TabsContext
1517
- });
1518
-
1519
1348
  const Tab = ({
1520
1349
  index,
1521
1350
  label,
@@ -1543,11 +1372,6 @@ Tab.propTypes = {
1543
1372
  className: PropTypes.node.isRequired
1544
1373
  };
1545
1374
 
1546
- var Tab$1 = /*#__PURE__*/Object.freeze({
1547
- __proto__: null,
1548
- Tab: Tab
1549
- });
1550
-
1551
1375
  const TableFooter = ({
1552
1376
  className,
1553
1377
  ...props
@@ -1611,11 +1435,6 @@ TableFooter.propTypes = {
1611
1435
  className: PropTypes.node
1612
1436
  };
1613
1437
 
1614
- var TableFooter$1 = /*#__PURE__*/Object.freeze({
1615
- __proto__: null,
1616
- TableFooter: TableFooter
1617
- });
1618
-
1619
1438
  const DenseContext = /*#__PURE__*/createContext(false);
1620
1439
  const Table = ({
1621
1440
  striped,
@@ -1654,12 +1473,6 @@ Table.propTypes = {
1654
1473
  children: PropTypes.node.isRequired
1655
1474
  };
1656
1475
 
1657
- var Table$1 = /*#__PURE__*/Object.freeze({
1658
- __proto__: null,
1659
- DenseContext: DenseContext,
1660
- Table: Table
1661
- });
1662
-
1663
1476
  const TableBody = ({
1664
1477
  className,
1665
1478
  children,
@@ -1674,11 +1487,6 @@ TableBody.propTypes = {
1674
1487
  children: PropTypes.node.isRequired
1675
1488
  };
1676
1489
 
1677
- var TableBody$1 = /*#__PURE__*/Object.freeze({
1678
- __proto__: null,
1679
- TableBody: TableBody
1680
- });
1681
-
1682
1490
  const TableCellComponentContext = /*#__PURE__*/createContext('td');
1683
1491
  const TableHead = ({
1684
1492
  className,
@@ -1696,12 +1504,6 @@ TableHead.propTypes = {
1696
1504
  children: PropTypes.node.isRequired
1697
1505
  };
1698
1506
 
1699
- var TableHead$1 = /*#__PURE__*/Object.freeze({
1700
- __proto__: null,
1701
- TableCellComponentContext: TableCellComponentContext,
1702
- TableHead: TableHead
1703
- });
1704
-
1705
1507
  const TableCell = ({
1706
1508
  kind = 'default',
1707
1509
  className,
@@ -1722,11 +1524,6 @@ TableCell.propTypes = {
1722
1524
  children: PropTypes.node.isRequired
1723
1525
  };
1724
1526
 
1725
- var TableCell$1 = /*#__PURE__*/Object.freeze({
1726
- __proto__: null,
1727
- TableCell: TableCell
1728
- });
1729
-
1730
1527
  const TableRow = ({
1731
1528
  className,
1732
1529
  children,
@@ -1741,11 +1538,6 @@ TableRow.propTypes = {
1741
1538
  children: PropTypes.node.isRequired
1742
1539
  };
1743
1540
 
1744
- var TableRow$1 = /*#__PURE__*/Object.freeze({
1745
- __proto__: null,
1746
- TableRow: TableRow
1747
- });
1748
-
1749
1541
  const TabsControl = ({
1750
1542
  className,
1751
1543
  children
@@ -1760,11 +1552,6 @@ TabsControl.propTypes = {
1760
1552
  children: PropTypes.node.isRequired
1761
1553
  };
1762
1554
 
1763
- var TabsControl$1 = /*#__PURE__*/Object.freeze({
1764
- __proto__: null,
1765
- TabsControl: TabsControl
1766
- });
1767
-
1768
1555
  const TabsPanel = ({
1769
1556
  index,
1770
1557
  className,
@@ -1787,11 +1574,6 @@ TabsPanel.propTypes = {
1787
1574
  children: PropTypes.node.isRequired
1788
1575
  };
1789
1576
 
1790
- var TabsPanel$1 = /*#__PURE__*/Object.freeze({
1791
- __proto__: null,
1792
- TabsPanel: TabsPanel
1793
- });
1794
-
1795
1577
  const Tag = ({
1796
1578
  color = 'primary',
1797
1579
  dense,
@@ -1813,11 +1595,6 @@ Tag.propTypes = {
1813
1595
  children: PropTypes.node.isRequired
1814
1596
  };
1815
1597
 
1816
- var Tag$1 = /*#__PURE__*/Object.freeze({
1817
- __proto__: null,
1818
- Tag: Tag
1819
- });
1820
-
1821
1598
  const Textarea = ({
1822
1599
  onChange,
1823
1600
  id,
@@ -1875,9 +1652,4 @@ Textarea.propTypes = {
1875
1652
  className: PropTypes.node
1876
1653
  };
1877
1654
 
1878
- var Textarea$1 = /*#__PURE__*/Object.freeze({
1879
- __proto__: null,
1880
- Textarea: Textarea
1881
- });
1882
-
1883
- export { Alert$1 as Alert, Breadcrumbs$1 as Breadcrumbs, Button$1 as Button, Buttons$1 as Buttons, Card$1 as Card, CardActions$1 as CardActions, CardContent$1 as CardContent, CardHeader$1 as CardHeader, CardMedia$1 as CardMedia, Checkbox$1 as Checkbox, Checkboxes$1 as Checkboxes, Color$1 as Color, Display$1 as Display, Divider$1 as Divider, Grid$1 as Grid, Input$1 as Input, InputLabel$1 as InputLabel, Link$1 as Link, List$1 as List, ListItem$1 as ListItem, Nav$1 as Nav, NavBar$1 as NavBar, NavItem$1 as NavItem, Radio$1 as Radio, RadioButtons$1 as RadioButtons, Section$1 as Section, SectionContent$1 as SectionContent, SectionHeader$1 as SectionHeader, Select$1 as Select, Snippet$1 as Snippet, Status$1 as Status, Switch$1 as Switch, Tab$1 as Tab, Table$1 as Table, TableBody$1 as TableBody, TableCell$1 as TableCell, TableFooter$1 as TableFooter, TableHead$1 as TableHead, TableRow$1 as TableRow, Tabs$1 as Tabs, TabsControl$1 as TabsControl, TabsPanel$1 as TabsPanel, Tag$1 as Tag, Text$1 as Text, Textarea$1 as Textarea };
1655
+ export { Alert, Breadcrumbs, Button, Buttons, Card, CardActions, CardContent, CardHeader, CardMedia, Checkbox, Checkboxes, Color, Display, Divider, Grid, Input, InputLabel, Link, List, ListItem, Nav, NavBar, NavItem, Radio, RadioButtons, Section, SectionContent, SectionHeader, Select, Snippet, Status, Switch, Tab, Table, TableBody, TableCell, TableFooter, TableHead, TableRow, Tabs, TabsControl, TabsPanel, Tag, Text, Textarea };
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "pallote-react",
3
+ "version": "0.15.1",
4
+ "description": "",
5
+ "main": "dist/index.js",
6
+ "styles": "dist/index.css",
7
+ "files": [
8
+ "README.md",
9
+ "index.js",
10
+ "package.json"
11
+ ],
12
+ "keywords": [],
13
+ "author": "",
14
+ "license": "ISC",
15
+ "peerDependencies": {
16
+ "react": "^18.0.0",
17
+ "react-dom": "^18.0.0",
18
+ "react-router-dom": "^7.3.0"
19
+ },
20
+ "dependencies": {
21
+ "@babel/preset-react": "^7.26.3",
22
+ "@phosphor-icons/react": "^2.1.7",
23
+ "@rollup/plugin-json": "^6.1.0",
24
+ "classnames": "^2.5.1",
25
+ "pallote-css": "workspace:^",
26
+ "react-syntax-highlighter": "^15.6.1",
27
+ "sass": "^1.71.1"
28
+ },
29
+ "private": false
30
+ }
package/package.json CHANGED
@@ -1,29 +1,51 @@
1
1
  {
2
2
  "name": "pallote-react",
3
- "version": "0.14.6",
3
+ "version": "0.15.1",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "styles": "dist/index.css",
7
- "type": "module",
8
7
  "files": [
9
- "README.md",
10
- "index.js",
11
- "package.json"
8
+ "dist"
12
9
  ],
13
10
  "keywords": [],
14
11
  "author": "",
15
12
  "license": "ISC",
16
13
  "peerDependencies": {
17
- "react": "^19.0.0",
18
- "react-dom": "^19.0.0",
14
+ "react": "^18.0.0",
15
+ "react-dom": "^18.0.0",
19
16
  "react-router-dom": "^7.3.0"
20
17
  },
21
18
  "dependencies": {
19
+ "@babel/preset-react": "^7.26.3",
22
20
  "@phosphor-icons/react": "^2.1.7",
21
+ "@rollup/plugin-json": "^6.1.0",
23
22
  "classnames": "^2.5.1",
24
23
  "react-syntax-highlighter": "^15.6.1",
25
24
  "sass": "^1.71.1",
26
- "pallote-css": "^0.8.0"
25
+ "pallote-css": "^0.9.2"
27
26
  },
28
- "private": false
27
+ "devDependencies": {
28
+ "@chromatic-com/storybook": "^3.2.4",
29
+ "@rollup/plugin-babel": "^6.0.4",
30
+ "@rollup/plugin-commonjs": "^28.0.2",
31
+ "@rollup/plugin-node-resolve": "^16.0.0",
32
+ "@storybook/addon-essentials": "^8.5.6",
33
+ "@storybook/addon-interactions": "^8.5.6",
34
+ "@storybook/addon-onboarding": "^8.5.6",
35
+ "@storybook/blocks": "^8.5.6",
36
+ "@storybook/manager-api": "^8.5.8",
37
+ "@storybook/react": "^8.5.6",
38
+ "@storybook/react-vite": "^8.5.6",
39
+ "@storybook/test": "^8.5.6",
40
+ "@storybook/theming": "^8.5.8",
41
+ "prop-types": "^15.8.1",
42
+ "rollup": "^4.34.8",
43
+ "rollup-plugin-peer-deps-external": "^2.2.4",
44
+ "storybook": "^8.5.6"
45
+ },
46
+ "scripts": {
47
+ "start": "storybook dev -p 6006",
48
+ "build": "rollup -c && node scripts/postbuild.mjs",
49
+ "build-storybook": "storybook build"
50
+ }
29
51
  }