@1money/component-ui 0.1.11-alpha.0 → 0.1.11-alpha.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1money/component-ui",
3
- "version": "0.1.11-alpha.0",
3
+ "version": "0.1.11-alpha.2",
4
4
  "description": "React Components based on primereact for 1money front-end projects",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -637,12 +637,6 @@
637
637
  "source": "stories",
638
638
  "compilable": true
639
639
  },
640
- "326494e49e226433adf116761917c0f3740d5eefe2d19d515da2338c0895c4f6": {
641
- "title": "Custom header",
642
- "code": "import { Button, Drawer, Flex, Typography } from '@1money/component-ui';\n\n<Drawer\n open={open}\n aria-label=\"Wallet details\"\n onClose={close}\n header={(\n <Flex align=\"start\" justify=\"space-between\" gap={12} style={{ width: '100%' }}>\n <Typography.Title size=\"md\" strong>Wallet details</Typography.Title>\n <Button size=\"small\" variant=\"text\" onClick={close}>Close</Button>\n </Flex>\n )}\n>\n Drawer content\n</Drawer>",
643
- "source": "readme",
644
- "compilable": true
645
- },
646
640
  "3266ea437833eda448a0d8e4995db6478a9e521959f7fe101f8b4f6971e4d612": {
647
641
  "title": "Filters",
648
642
  "code": "<div>\n <TypographyBody size=\"sm\" color=\"default-tertiary\" style={hintStyle}>\n Click the funnel icon in a column header to filter. Multi-select is the\n default; selections apply on <em>OK</em>.\n </TypographyBody>\n <Table<PortfolioRow>\n rowKey=\"id\"\n variant=\"stroke\"\n pagination={false}\n dataSource={portfolioRows}\n columns={[\n portfolioColumns[0],\n {\n ...portfolioColumns[1],\n filters: NETWORK_FILTER_ITEMS,\n onFilter: (value, record) => record.network === value,\n },\n {\n ...portfolioColumns[2],\n filters: STATUS_FILTER_ITEMS,\n onFilter: (value, record) => record.status === value,\n },\n portfolioColumns[3],\n portfolioColumns[4],\n ]}\n />\n </div>",
@@ -1795,6 +1789,12 @@
1795
1789
  "source": "stories",
1796
1790
  "compilable": false
1797
1791
  },
1792
+ "8fadbda0ca6647adc1ecb6cbfb399428021dc2bdda527fc99a4ddac05acc0853": {
1793
+ "title": "Custom header",
1794
+ "code": "import { Button, Drawer, Flex, Typography } from '@1money/component-ui';\n\n<Drawer\n open={open}\n aria-label=\"Wallet details\"\n headerDivider\n onClose={close}\n header={(\n <Flex align=\"start\" justify=\"space-between\" gap={12} style={{ width: '100%' }}>\n <Typography.Title size=\"md\" strong>Wallet details</Typography.Title>\n <Button size=\"small\" variant=\"text\" onClick={close}>Close</Button>\n </Flex>\n )}\n>\n Drawer content\n</Drawer>",
1795
+ "source": "readme",
1796
+ "compilable": true
1797
+ },
1798
1798
  "8fb084db7fe25d6133b446ee034f21273995ab316045602bae78fecb682613a1": {
1799
1799
  "title": "Responsive Align",
1800
1800
  "code": "<Row gutter={GRID_GUTTER} align={ALIGN_RESPONSIVE}>\n <Col span={SPAN_HALF}>\n <div style={DEMO_BOX_TALL_STYLE}>tall</div>\n </Col>\n <Col span={SPAN_HALF}>\n <div style={DEMO_BOX_STYLE}>short — alignment changes by breakpoint</div>\n </Col>\n </Row>",
@@ -3311,6 +3311,14 @@
3311
3311
  "description": "Custom header content replacing the default title and controls.",
3312
3312
  "inheritedFrom": null
3313
3313
  },
3314
+ {
3315
+ "name": "headerDivider",
3316
+ "type": "boolean",
3317
+ "optional": true,
3318
+ "default": "false",
3319
+ "description": "Show a Divider between the visible header and body.",
3320
+ "inheritedFrom": null
3321
+ },
3314
3322
  {
3315
3323
  "name": "footer",
3316
3324
  "type": "ReactNode",
@@ -3450,7 +3458,7 @@
3450
3458
  "source": "readme"
3451
3459
  },
3452
3460
  {
3453
- "hash": "326494e49e226433adf116761917c0f3740d5eefe2d19d515da2338c0895c4f6",
3461
+ "hash": "8fadbda0ca6647adc1ecb6cbfb399428021dc2bdda527fc99a4ddac05acc0853",
3454
3462
  "source": "readme"
3455
3463
  },
3456
3464
  {