react-asc 25.10.0 → 25.10.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/index.d.ts +1090 -0
- package/index.es.js +7211 -0
- package/index.js +7346 -0
- package/lib/components/Alert/Alert.d.ts +12 -0
- package/lib/components/Alert/index.d.ts +1 -0
- package/lib/components/AppBar/AppBar.d.ts +11 -0
- package/lib/components/AppBar/AppBarTitle.d.ts +6 -0
- package/lib/components/AppBar/index.d.ts +2 -0
- package/lib/components/AutoComplete/AutoComplete.d.ts +18 -0
- package/lib/components/AutoComplete/index.d.ts +1 -0
- package/lib/components/Backdrop/Backdrop.d.ts +6 -0
- package/lib/components/Backdrop/index.d.ts +1 -0
- package/lib/components/Badge/Badge.d.ts +9 -0
- package/lib/components/Badge/index.d.ts +1 -0
- package/lib/components/Breadcrumb/Breadcrumb.d.ts +6 -0
- package/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
- package/lib/components/Breadcrumb/index.d.ts +2 -0
- package/lib/components/Button/Button.d.ts +14 -0
- package/lib/components/Button/ButtonContext.d.ts +7 -0
- package/lib/components/Button/index.d.ts +2 -0
- package/lib/components/ButtonGroup/ButtonGroup.d.ts +6 -0
- package/lib/components/ButtonGroup/index.d.ts +1 -0
- package/lib/components/Card/Card.d.ts +6 -0
- package/lib/components/Card/CardBody.d.ts +2 -0
- package/lib/components/Card/CardFooter.d.ts +2 -0
- package/lib/components/Card/CardImage.d.ts +2 -0
- package/lib/components/Card/CardSubtitle.d.ts +2 -0
- package/lib/components/Card/CardText.d.ts +2 -0
- package/lib/components/Card/CardTitle.d.ts +6 -0
- package/lib/components/Card/index.d.ts +7 -0
- package/lib/components/Checkbox/Checkbox.d.ts +7 -0
- package/lib/components/Checkbox/index.d.ts +1 -0
- package/lib/components/Chip/Chip.d.ts +11 -0
- package/lib/components/Chip/index.d.ts +1 -0
- package/lib/components/ConditionalWrapper/ConditionalWrapper.d.ts +8 -0
- package/lib/components/ConditionalWrapper/index.d.ts +1 -0
- package/lib/components/CssTransition/CssTransition.d.ts +8 -0
- package/lib/components/CssTransition/index.d.ts +1 -0
- package/lib/components/DatePicker/DatePicker.d.ts +10 -0
- package/lib/components/DatePicker/index.d.ts +1 -0
- package/lib/components/DateSelect/DateSelect.d.ts +17 -0
- package/lib/components/DateSelect/DaySelect.d.ts +12 -0
- package/lib/components/DateSelect/MonthSelect.d.ts +10 -0
- package/lib/components/DateSelect/YearSelect.d.ts +12 -0
- package/lib/components/DateSelect/index.d.ts +4 -0
- package/lib/components/Drawer/Drawer.d.ts +9 -0
- package/lib/components/Drawer/index.d.ts +1 -0
- package/lib/components/ExpansionPanel/ExpansionPanel.d.ts +10 -0
- package/lib/components/ExpansionPanel/ExpansionPanelContent.d.ts +5 -0
- package/lib/components/ExpansionPanel/ExpansionPanelHeader.d.ts +8 -0
- package/lib/components/ExpansionPanel/index.d.ts +3 -0
- package/lib/components/FileInput/FileInput.d.ts +5 -0
- package/lib/components/FileInput/index.d.ts +1 -0
- package/lib/components/FloatingActionButton/FloatingActionButton.d.ts +13 -0
- package/lib/components/FloatingActionButton/index.d.ts +1 -0
- package/lib/components/Form/Form.d.ts +40 -0
- package/lib/components/Form/FormError.d.ts +8 -0
- package/lib/components/Form/FormGroup.d.ts +7 -0
- package/lib/components/Form/FormHint/FormHint.d.ts +2 -0
- package/lib/components/Form/FormHint/index.d.ts +1 -0
- package/lib/components/Form/FormInput/FormInput.d.ts +29 -0
- package/lib/components/Form/FormInput/index.d.ts +1 -0
- package/lib/components/Form/FormLabel/FormLabel.d.ts +2 -0
- package/lib/components/Form/FormLabel/index.d.ts +1 -0
- package/lib/components/Form/form.interfaces.d.ts +40 -0
- package/lib/components/Form/form.models.d.ts +12 -0
- package/lib/components/Form/form.types.d.ts +2 -0
- package/lib/components/Form/index.d.ts +10 -0
- package/lib/components/Form/validators/EmailValidtor.d.ts +1 -0
- package/lib/components/Form/validators/IsEmptyValidator.d.ts +1 -0
- package/lib/components/Form/validators/IsEqualValidator.d.ts +1 -0
- package/lib/components/Form/validators/MaxValidator.d.ts +1 -0
- package/lib/components/Form/validators/MinValidator.d.ts +1 -0
- package/lib/components/Form/validators/index.d.ts +5 -0
- package/lib/components/Grid/Column/Column.d.ts +10 -0
- package/lib/components/Grid/Column/index.d.ts +1 -0
- package/lib/components/Grid/Row/Row.d.ts +5 -0
- package/lib/components/Grid/Row/index.d.ts +1 -0
- package/lib/components/Grid/index.d.ts +2 -0
- package/lib/components/Icon/Icon.d.ts +8 -0
- package/lib/components/Icon/index.d.ts +1 -0
- package/lib/components/IconButton/IconButton.d.ts +12 -0
- package/lib/components/IconButton/index.d.ts +1 -0
- package/lib/components/Link/Link.d.ts +2 -0
- package/lib/components/Link/Link.test.d.ts +1 -0
- package/lib/components/Link/index.d.ts +1 -0
- package/lib/components/List/List.d.ts +5 -0
- package/lib/components/List/ListItem.d.ts +9 -0
- package/lib/components/List/ListItemAction.d.ts +2 -0
- package/lib/components/List/ListItemAvatar.d.ts +6 -0
- package/lib/components/List/ListItemIcon.d.ts +6 -0
- package/lib/components/List/ListItemText.d.ts +8 -0
- package/lib/components/List/index.d.ts +6 -0
- package/lib/components/List/list.models.d.ts +8 -0
- package/lib/components/LoadingIndicator/LoadingIndicator.d.ts +2 -0
- package/lib/components/LoadingIndicator/LoadingIndicatorContainer.d.ts +6 -0
- package/lib/components/LoadingIndicator/index.d.ts +3 -0
- package/lib/components/LoadingIndicator/loading-indicator.service.d.ts +12 -0
- package/lib/components/Menu/Menu.d.ts +12 -0
- package/lib/components/Menu/MenuBody.d.ts +13 -0
- package/lib/components/Menu/MenuContext.d.ts +6 -0
- package/lib/components/Menu/MenuDivider.d.ts +2 -0
- package/lib/components/Menu/MenuItem.d.ts +3 -0
- package/lib/components/Menu/MenuToggle.d.ts +6 -0
- package/lib/components/Menu/index.d.ts +6 -0
- package/lib/components/Menu/menu.types.d.ts +1 -0
- package/lib/components/Modal/GlobalModal.d.ts +21 -0
- package/lib/components/Modal/Modal.d.ts +15 -0
- package/lib/components/Modal/ModalBody.d.ts +6 -0
- package/lib/components/Modal/ModalFooter.d.ts +6 -0
- package/lib/components/Modal/ModalHeader.d.ts +8 -0
- package/lib/components/Modal/index.d.ts +8 -0
- package/lib/components/Modal/modal.enum.d.ts +10 -0
- package/lib/components/Modal/modal.interfaces.d.ts +12 -0
- package/lib/components/Modal/modal.service.d.ts +22 -0
- package/lib/components/NumberSelect/NumberSelect.d.ts +12 -0
- package/lib/components/NumberSelect/index.d.ts +1 -0
- package/lib/components/Portal/Portal.d.ts +7 -0
- package/lib/components/Portal/index.d.ts +1 -0
- package/lib/components/ProgressBar/ProgressBar.d.ts +9 -0
- package/lib/components/ProgressBar/index.d.ts +1 -0
- package/lib/components/Select/Select.d.ts +16 -0
- package/lib/components/Select/index.d.ts +1 -0
- package/lib/components/Sidebar/Sidebar.d.ts +9 -0
- package/lib/components/Sidebar/index.d.ts +2 -0
- package/lib/components/Sidebar/sidebar.interfaces.d.ts +9 -0
- package/lib/components/Sidebar/sidebar.models.d.ts +11 -0
- package/lib/components/Skeleton/SkeletonAvatar.d.ts +5 -0
- package/lib/components/Skeleton/SkeletonFooter.d.ts +5 -0
- package/lib/components/Skeleton/SkeletonImage.d.ts +5 -0
- package/lib/components/Skeleton/SkeletonText.d.ts +5 -0
- package/lib/components/Skeleton/index.d.ts +4 -0
- package/lib/components/Snackbar/Snackbar.d.ts +9 -0
- package/lib/components/Snackbar/index.d.ts +2 -0
- package/lib/components/Snackbar/snackbar.service.d.ts +20 -0
- package/lib/components/SpeedDial/SpeedDial.d.ts +7 -0
- package/lib/components/SpeedDial/SpeedDialAction.d.ts +9 -0
- package/lib/components/SpeedDial/SpeedDialActions.d.ts +2 -0
- package/lib/components/SpeedDial/SpeedDialIcon.d.ts +6 -0
- package/lib/components/SpeedDial/index.d.ts +3 -0
- package/lib/components/Stepper/Dot/Dot.d.ts +7 -0
- package/lib/components/Stepper/Dot/index.d.ts +1 -0
- package/lib/components/Stepper/Step/Step.d.ts +20 -0
- package/lib/components/Stepper/Step/index.d.ts +1 -0
- package/lib/components/Stepper/StepConnector/StepConnector.d.ts +6 -0
- package/lib/components/Stepper/StepPanel/StepPanel.d.ts +5 -0
- package/lib/components/Stepper/Stepper.d.ts +20 -0
- package/lib/components/Stepper/StepperActions/StepperActions.d.ts +14 -0
- package/lib/components/Stepper/StepperActions/index.d.ts +1 -0
- package/lib/components/Stepper/index.d.ts +4 -0
- package/lib/components/Table/Table.d.ts +8 -0
- package/lib/components/Table/TableBody.d.ts +2 -0
- package/lib/components/Table/TableCell.d.ts +5 -0
- package/lib/components/Table/TableContext.d.ts +6 -0
- package/lib/components/Table/TableHead.d.ts +2 -0
- package/lib/components/Table/TableRow.d.ts +2 -0
- package/lib/components/Table/index.d.ts +5 -0
- package/lib/components/Tabs/Tab.d.ts +13 -0
- package/lib/components/Tabs/TabContext.d.ts +8 -0
- package/lib/components/Tabs/TabIndicator.d.ts +10 -0
- package/lib/components/Tabs/TabPanel.d.ts +6 -0
- package/lib/components/Tabs/Tabs.d.ts +13 -0
- package/lib/components/Tabs/index.d.ts +3 -0
- package/lib/components/Textarea/Textarea.d.ts +5 -0
- package/lib/components/Textarea/index.d.ts +1 -0
- package/lib/components/TimeSelect/HourSelect.d.ts +10 -0
- package/lib/components/TimeSelect/MilliSecondSelect.d.ts +11 -0
- package/lib/components/TimeSelect/MinuteSelect.d.ts +10 -0
- package/lib/components/TimeSelect/SecondSelect.d.ts +10 -0
- package/lib/components/TimeSelect/TimeSelect.d.ts +20 -0
- package/lib/components/TimeSelect/index.d.ts +5 -0
- package/lib/components/Tooltip/Tooltip.d.ts +10 -0
- package/lib/components/Tooltip/index.d.ts +2 -0
- package/lib/components/Tooltip/tooltip.enums.d.ts +6 -0
- package/lib/components/TreeView/TreeItem.d.ts +14 -0
- package/lib/components/TreeView/TreeView.d.ts +2 -0
- package/lib/components/TreeView/index.d.ts +2 -0
- package/lib/components/Typography/Typography.d.ts +12 -0
- package/lib/components/Typography/index.d.ts +1 -0
- package/lib/components/component.enums.d.ts +26 -0
- package/lib/components/component.interfaces.d.ts +18 -0
- package/lib/components/index.d.ts +46 -0
- package/lib/hooks/index.d.ts +8 -0
- package/lib/hooks/useConstructor.d.ts +1 -0
- package/lib/hooks/useCssClasses.d.ts +1 -0
- package/lib/hooks/useDebounce.d.ts +2 -0
- package/lib/hooks/useHover.d.ts +2 -0
- package/lib/hooks/useMobileDetect.d.ts +3 -0
- package/lib/hooks/useOnDestroy.d.ts +1 -0
- package/lib/hooks/usePrevious.d.ts +1 -0
- package/lib/hooks/useWindowSize.d.ts +5 -0
- package/lib/icons/CaretDownSolidIcon.d.ts +2 -0
- package/lib/icons/CheckSolidIcon.d.ts +2 -0
- package/lib/icons/CheckSquareRegularIcon.d.ts +2 -0
- package/lib/icons/ChevronDownSolidIcon.d.ts +2 -0
- package/lib/icons/ChevronLeftSolidIcon.d.ts +2 -0
- package/lib/icons/ChevronRightSolidIcon.d.ts +2 -0
- package/lib/icons/ChevronUpSolidIcon.d.ts +2 -0
- package/lib/icons/CircleSolidIcon.d.ts +2 -0
- package/lib/icons/HomeSolidIcon.d.ts +2 -0
- package/lib/icons/PlusSolidIcon.d.ts +2 -0
- package/lib/icons/SpinnerSolidIcon.d.ts +2 -0
- package/lib/icons/SquareRegularIcon.d.ts +2 -0
- package/lib/icons/TimesCircleSolidIcon.d.ts +2 -0
- package/lib/icons/TimesSolidIcon.d.ts +2 -0
- package/lib/icons/index.d.ts +14 -0
- package/lib/index.d.ts +6 -0
- package/lib/interfaces/index.d.ts +1 -0
- package/lib/interfaces/interfaces.d.ts +3 -0
- package/lib/services/clipboard.service.d.ts +5 -0
- package/lib/services/file.service.d.ts +14 -0
- package/lib/services/index.d.ts +4 -0
- package/lib/services/local.service.d.ts +10 -0
- package/lib/services/logger.service.d.ts +25 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/nullable.type.d.ts +1 -0
- package/package.json +1 -1
- package/vite.config.d.ts +2 -0
- package/apple-touch-icon.png +0 -0
- package/assets/index-5bb661b4.js +0 -100
- package/assets/index-b3809a2b.css +0 -1
- package/assets/workbox-window.prod.es5-a7b12eab.js +0 -2
- package/changelog.md +0 -1510
- package/favicon-16x16.png +0 -0
- package/favicon-32x32.png +0 -0
- package/favicon.ico +0 -0
- package/favicon.svg +0 -23
- package/index.html +0 -24
- package/manifest.webmanifest +0 -1
- package/pwa-192x192.png +0 -0
- package/pwa-512x512.png +0 -0
- package/robots.txt +0 -3
- package/showcase/alert.description.md +0 -1
- package/showcase/alert.md +0 -14
- package/showcase/appbar.description.md +0 -1
- package/showcase/appbar.md +0 -8
- package/showcase/autocomplete.description.md +0 -1
- package/showcase/autocomplete.md +0 -49
- package/showcase/backdrop.description.md +0 -1
- package/showcase/backdrop.md +0 -11
- package/showcase/badge.description.md +0 -1
- package/showcase/badge.md +0 -8
- package/showcase/breadcrumb.description.md +0 -1
- package/showcase/breadcrumb.md +0 -5
- package/showcase/button.description.md +0 -1
- package/showcase/button.md +0 -44
- package/showcase/buttongroup.description.md +0 -1
- package/showcase/buttongroup.md +0 -5
- package/showcase/card.description.md +0 -1
- package/showcase/card.md +0 -9
- package/showcase/checkbox.description.md +0 -1
- package/showcase/checkbox.md +0 -1
- package/showcase/chip.description.md +0 -1
- package/showcase/chip.md +0 -3
- package/showcase/csstransition.md +0 -38
- package/showcase/dateselect.md +0 -8
- package/showcase/drawer.md +0 -13
- package/showcase/expansionpanel.md +0 -40
- package/showcase/fileinput.md +0 -1
- package/showcase/floatingactionbutton.md +0 -4
- package/showcase/form.md +0 -6
- package/showcase/grid.md +0 -5
- package/showcase/hookuseconstructor.description.md +0 -1
- package/showcase/hookuseconstructor.md +0 -5
- package/showcase/hookusedebounce.description.md +0 -3
- package/showcase/hookusedebounce.md +0 -17
- package/showcase/hookusehover.md +0 -11
- package/showcase/hookusemobiledetect.description.md +0 -2
- package/showcase/hookusemobiledetect.md +0 -11
- package/showcase/hookuseondestroy.description.md +0 -1
- package/showcase/hookuseondestroy.md +0 -5
- package/showcase/hookuseprevious.description.md +0 -1
- package/showcase/hookuseprevious.md +0 -14
- package/showcase/hookusewindowsize.description.md +0 -2
- package/showcase/hookusewindowsize.md +0 -11
- package/showcase/icon.md +0 -3
- package/showcase/iconbutton.md +0 -5
- package/showcase/link.md +0 -1
- package/showcase/list.md +0 -98
- package/showcase/loadingindicator.md +0 -38
- package/showcase/menu.md +0 -17
- package/showcase/modal.md +0 -46
- package/showcase/numberselect.md +0 -20
- package/showcase/progressbar.description.md +0 -1
- package/showcase/progressbar.md +0 -3
- package/showcase/select.md +0 -20
- package/showcase/servicelogger.md +0 -9
- package/showcase/skeleton.description.md +0 -5
- package/showcase/skeleton.md +0 -5
- package/showcase/snackbar.md +0 -22
- package/showcase/speeddial.md +0 -43
- package/showcase/stepper.description.md +0 -1
- package/showcase/stepper.md +0 -40
- package/showcase/table.md +0 -30
- package/showcase/tabs.md +0 -35
- package/showcase/timeselect.md +0 -1
- package/showcase/tooltip.md +0 -6
- package/showcase/treeview.md +0 -12
- package/showcase/typography.md +0 -6
- package/sw.js +0 -1
- package/workbox-fa446783.js +0 -1
package/favicon-16x16.png
DELETED
|
Binary file
|
package/favicon-32x32.png
DELETED
|
Binary file
|
package/favicon.ico
DELETED
|
Binary file
|
package/favicon.svg
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg width="100%" height="100%" viewBox="0 0 512 512" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
-
<g transform="matrix(2.89888,0,0,2.75989,-177.586,-144.468)">
|
|
5
|
-
<ellipse cx="149.57" cy="145.103" rx="88.31" ry="92.757" style="fill:rgb(63,81,181);"/>
|
|
6
|
-
</g>
|
|
7
|
-
<g id="users-solid.svg" transform="matrix(0.663018,0,0,0.663018,256,256)">
|
|
8
|
-
<g id="pencil-ruler-solid.svg" transform="matrix(1.01126,0,0,1.01126,-0.000781879,1.24345e-14)">
|
|
9
|
-
<g id="users-solid.svg1" serif:id="users-solid.svg">
|
|
10
|
-
<g id="pencil-ruler-solid.svg1" serif:id="pencil-ruler-solid.svg" transform="matrix(1,0,0,1,-256,-256)">
|
|
11
|
-
<clipPath id="_clip1">
|
|
12
|
-
<rect x="0" y="0" width="512" height="512"/>
|
|
13
|
-
</clipPath>
|
|
14
|
-
<g clip-path="url(#_clip1)">
|
|
15
|
-
<path d="M109.46,244.04L244.04,109.48L199.92,65.36L138.24,127.04C136.755,128.528 134.737,129.365 132.635,129.365C130.533,129.365 128.515,128.528 127.03,127.04L115.82,115.83C112.72,112.73 112.72,107.71 115.82,104.62L177.5,42.94L143.86,9.29C131.47,-3.1 111.39,-3.1 99,9.29L9.29,99C-3.09,111.39 -3.1,131.47 9.29,143.86L109.46,244.04ZM497.93,127.24C516.69,108.48 516.68,78.07 497.93,59.31L452.68,14.06C433.92,-4.7 403.5,-4.7 384.73,14.06L338.71,60.07L451.91,173.27L497.93,127.24ZM316.08,82.71L19.08,379.67L0.32,487.11C-2.21,501.6 10.41,514.22 24.91,511.67L132.36,492.83L429.28,195.9L316.08,82.71ZM502.71,368.14L469.07,334.5L407.39,396.18C404.29,399.28 399.27,399.28 396.18,396.18L384.97,384.97C381.88,381.87 381.88,376.85 384.97,373.76L446.65,312.08L402.51,267.94L267.93,402.5L368.14,502.7C380.53,515.09 400.61,515.09 413,502.7L502.71,413C515.1,400.61 515.1,380.53 502.71,368.14Z" style="fill:white;fill-rule:nonzero;"/>
|
|
16
|
-
</g>
|
|
17
|
-
</g>
|
|
18
|
-
<g id="pencil-ruler-solid.svg2" serif:id="pencil-ruler-solid.svg">
|
|
19
|
-
</g>
|
|
20
|
-
</g>
|
|
21
|
-
</g>
|
|
22
|
-
</g>
|
|
23
|
-
</svg>
|
package/index.html
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8" />
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
6
|
-
<meta name="description" content="handcrafted react components written in Typescript inspired by Material Design" />
|
|
7
|
-
<meta name="msapplication-TileColor" content="#2b5797" />
|
|
8
|
-
<meta name="theme-color" content="#f8f9fa" />
|
|
9
|
-
|
|
10
|
-
<title>react-asc showcase</title>
|
|
11
|
-
|
|
12
|
-
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png" />
|
|
13
|
-
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
|
14
|
-
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
|
15
|
-
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#f8f9fa" />
|
|
16
|
-
<script type="module" crossorigin src="/assets/index-5bb661b4.js"></script>
|
|
17
|
-
<link rel="stylesheet" href="/assets/index-b3809a2b.css">
|
|
18
|
-
<link rel="manifest" href="/manifest.webmanifest"></head>
|
|
19
|
-
|
|
20
|
-
<body>
|
|
21
|
-
<div id="root"></div>
|
|
22
|
-
|
|
23
|
-
</body>
|
|
24
|
-
</html>
|
package/manifest.webmanifest
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"name":"react-asc","short_name":"react-asc","start_url":".","display":"standalone","background_color":"#f5f6fa","lang":"en","scope":"/","description":"handcrafted react components written in Typescript inspired by Material Design","icons":[{"src":"pwa-192x192.png","sizes":"192x192","type":"image/png"},{"src":"pwa-512x512.png","sizes":"512x512","type":"image/png"},{"src":"pwa-512x512.png","sizes":"512x512","type":"image/png","purpose":"any maskable"}],"theme_color":"#f8f9fa"}
|
package/pwa-192x192.png
DELETED
|
Binary file
|
package/pwa-512x512.png
DELETED
|
Binary file
|
package/robots.txt
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
An alert displays a short, important message in a way that attracts the user's attention without interrupting the user's task.
|
package/showcase/alert.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
The App bar displays information and actions relating to the current screen.
|
package/showcase/appbar.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
The autocomplete is a normal text input enhanced by a panel of suggested options.
|
package/showcase/autocomplete.md
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
const AutoCompletePageBase = () => {
|
|
2
|
-
|
|
3
|
-
const [options, setOptions] = useState<Array<ISelectOption>>([]);
|
|
4
|
-
|
|
5
|
-
const handleOnSelect = (e: ISelectOption) => {
|
|
6
|
-
snackbarService.show(`value changed: ${e.label}`);
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
const handleOnChange = (e: string | undefined) => {
|
|
10
|
-
setValue(e as string);
|
|
11
|
-
|
|
12
|
-
const oldOptions = options;
|
|
13
|
-
const newOptions: Array<ISelectOption> = [
|
|
14
|
-
{ value: "1", label: 'one' },
|
|
15
|
-
{ value: "2", label: 'two' },
|
|
16
|
-
{ value: "3", label: 'three' },
|
|
17
|
-
{ value: "4", label: 'four' },
|
|
18
|
-
{ value: "5", label: 'five' },
|
|
19
|
-
{ value: "6", label: 'six' },
|
|
20
|
-
{ value: "7", label: 'seven' },
|
|
21
|
-
{ value: "8", label: 'eight' },
|
|
22
|
-
{ value: "9", label: 'nine' },
|
|
23
|
-
{ value: "10", label: 'ten' },
|
|
24
|
-
{ value: "11", label: 'eleven' },
|
|
25
|
-
{ value: "12", label: 'twelve' },
|
|
26
|
-
{ value: "13", label: 'thirteen' },
|
|
27
|
-
{ value: "14", label: 'fourteen' },
|
|
28
|
-
{ value: "15", label: 'fifteen' },
|
|
29
|
-
{ value: "16", label: 'sixteen' },
|
|
30
|
-
{ value: "17", label: 'seventeen' },
|
|
31
|
-
{ value: "18", label: 'eighteen' },
|
|
32
|
-
{ value: "19", label: 'nineteen' },
|
|
33
|
-
{ value: "20", label: 'twenty' },
|
|
34
|
-
];
|
|
35
|
-
|
|
36
|
-
const filteredNewOptions = newOptions.filter(option => oldOptions.map(o => o.value).indexOf(option.value) < 0);
|
|
37
|
-
setOptions(options.concat(filteredNewOptions));
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
return (
|
|
41
|
-
<AutoComplete
|
|
42
|
-
options={options}
|
|
43
|
-
onSelect={handleOnSelect}
|
|
44
|
-
onChange={handleOnChange}
|
|
45
|
-
value={value}
|
|
46
|
-
/>
|
|
47
|
-
);
|
|
48
|
-
|
|
49
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
The backdrop component is used to provide emphasis on a particular element or parts of it.
|
package/showcase/backdrop.md
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<Button onClick={() => setIsShow(!isShow)}>
|
|
2
|
-
{isShow ? 'hide' : 'show'}
|
|
3
|
-
</Button>
|
|
4
|
-
|
|
5
|
-
<div id="backdrop-container" style={{ height: '300px', position: 'relative' }}>
|
|
6
|
-
show backdrop
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
{isShow &&
|
|
10
|
-
<Backdrop target={document.body.querySelector('#backdrop-container') as HTMLElement} />
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Badge generates a small badge to the top-right of its child(ren).
|
package/showcase/badge.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Badge generates a small badge to the top-right of its child(ren).
|
package/showcase/breadcrumb.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Button is a native <button> for actions in forms, dialogs, and more with support for multiple sizes, states, and more.
|
package/showcase/button.md
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
// simple button
|
|
2
|
-
<Button>
|
|
3
|
-
I am a button
|
|
4
|
-
</Button>
|
|
5
|
-
|
|
6
|
-
// color
|
|
7
|
-
<Button color={COLOR.primary}>
|
|
8
|
-
primary button
|
|
9
|
-
</Button>
|
|
10
|
-
|
|
11
|
-
// block
|
|
12
|
-
<Button block>
|
|
13
|
-
block button
|
|
14
|
-
</Button>
|
|
15
|
-
|
|
16
|
-
// isActive
|
|
17
|
-
<Button isActive>
|
|
18
|
-
active button
|
|
19
|
-
</Button>
|
|
20
|
-
|
|
21
|
-
// isRounded
|
|
22
|
-
<Button isRounded>
|
|
23
|
-
rounded button
|
|
24
|
-
</Button>
|
|
25
|
-
|
|
26
|
-
// showStartIcon
|
|
27
|
-
<Button showStartIcon>
|
|
28
|
-
starticon button
|
|
29
|
-
</Button>
|
|
30
|
-
|
|
31
|
-
// showEndIcon
|
|
32
|
-
<Button showEndIcon>
|
|
33
|
-
endIcon button
|
|
34
|
-
</Button>
|
|
35
|
-
|
|
36
|
-
// shadow
|
|
37
|
-
<Button shadow>
|
|
38
|
-
shadow button
|
|
39
|
-
</Button>
|
|
40
|
-
|
|
41
|
-
// disabled
|
|
42
|
-
<Button disabled>
|
|
43
|
-
I am a button
|
|
44
|
-
</Button>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
The ButtonGroup component can be used to group related buttons.
|
package/showcase/buttongroup.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Cards contain content and actions about a single subject.
|
package/showcase/card.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Checkboxes allow the user to select one or more items from a set.
|
package/showcase/checkbox.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<Checkbox onChange={handleChange} />
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Chips are compact elements that represent an input, attribute, or action.
|
package/showcase/chip.md
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// Define some css transition
|
|
2
|
-
|
|
3
|
-
.hidden {
|
|
4
|
-
display: none;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.fade-enter,
|
|
8
|
-
.fade-leave {
|
|
9
|
-
transition: all 1s ease;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.fade-enter-start,
|
|
13
|
-
.fade-leave-end {
|
|
14
|
-
opacity: 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.fade-enter-end,
|
|
18
|
-
.fade-leave-start {
|
|
19
|
-
opacity: 1;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
// use the component
|
|
24
|
-
|
|
25
|
-
<CssTransition show={isShow} className="fade">
|
|
26
|
-
<div>
|
|
27
|
-
some text
|
|
28
|
-
</div>
|
|
29
|
-
</CssTransition>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
// toggle the state
|
|
33
|
-
// needs to be undefined on start
|
|
34
|
-
const [isShow, setIsShow] = useState<boolean | undefined>(undefined);
|
|
35
|
-
|
|
36
|
-
<Button onClick={() => setIsShow(!isShow)}>
|
|
37
|
-
toggle css transition
|
|
38
|
-
</Button>
|
package/showcase/dateselect.md
DELETED
package/showcase/drawer.md
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
// Default
|
|
2
|
-
<div>
|
|
3
|
-
<ExpansionPanel header={'header 1'}>
|
|
4
|
-
Some Content 1
|
|
5
|
-
</ExpansionPanel>
|
|
6
|
-
<ExpansionPanel header={'header 2'} isExpanded={true}>
|
|
7
|
-
Some Content 2
|
|
8
|
-
</ExpansionPanel>
|
|
9
|
-
<ExpansionPanel header={'header 3'}>
|
|
10
|
-
Some Content 3
|
|
11
|
-
</ExpansionPanel>
|
|
12
|
-
</div>
|
|
13
|
-
|
|
14
|
-
// Controlled ExpansionPanel
|
|
15
|
-
const [expanded, setExpanded] = React.useState<string | false>(false);
|
|
16
|
-
|
|
17
|
-
const handleChange = (panelKey: string) => (event: React.MouseEvent, isExpanded: boolean) => {
|
|
18
|
-
setExpanded(isExpanded ? panelKey : false);
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
<div>
|
|
22
|
-
<ExpansionPanel
|
|
23
|
-
header={'header 1'}
|
|
24
|
-
onChange={handleChange('panel1')}
|
|
25
|
-
isExpanded={expanded === 'panel1'}>
|
|
26
|
-
Some Content 1
|
|
27
|
-
</ExpansionPanel>
|
|
28
|
-
<ExpansionPanel
|
|
29
|
-
header={'header 2'}
|
|
30
|
-
onChange={handleChange('panel2')}
|
|
31
|
-
isExpanded={expanded === 'panel2'}>
|
|
32
|
-
Some Content 2
|
|
33
|
-
</ExpansionPanel>
|
|
34
|
-
<ExpansionPanel
|
|
35
|
-
header={'header 3'}
|
|
36
|
-
onChange={handleChange('panel3')}
|
|
37
|
-
isExpanded={expanded === 'panel3'}>
|
|
38
|
-
Some Content 3
|
|
39
|
-
</ExpansionPanel>
|
|
40
|
-
</div>
|
package/showcase/fileinput.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<FileInput onChange={handleOnChange} />
|
package/showcase/form.md
DELETED
package/showcase/grid.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
The useConstructor hook will be fired once a component is initialised
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const MyComponet = () => {
|
|
2
|
-
const [searchText, setSearchText] = useState<string | undefined>('');
|
|
3
|
-
|
|
4
|
-
useDebounce(
|
|
5
|
-
() => { onChange && onChange(searchText); },
|
|
6
|
-
debounce,
|
|
7
|
-
[searchText]
|
|
8
|
-
);
|
|
9
|
-
|
|
10
|
-
const handleOnChange = (e: React.ChangeEvent<HTMLInputElement>) => {
|
|
11
|
-
setSearchText(e.target.value);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
return (
|
|
15
|
-
<input type="text" onChange={handleOnChange} />
|
|
16
|
-
);
|
|
17
|
-
}
|
package/showcase/hookusehover.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
The useOnDestroy hook will be fired once a component is unmounted.
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
Store a previous state to compare it.
|
package/showcase/icon.md
DELETED
package/showcase/iconbutton.md
DELETED
package/showcase/link.md
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<Link>some link text</Link>
|
package/showcase/list.md
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
// Simple List
|
|
2
|
-
|
|
3
|
-
<List>
|
|
4
|
-
<ListItem>
|
|
5
|
-
<ListItemText primary="lorem ipsum" />
|
|
6
|
-
</ListItem>
|
|
7
|
-
<ListItem disabled>
|
|
8
|
-
<ListItemText primary="lorem ipsum" />
|
|
9
|
-
</ListItem>
|
|
10
|
-
</List>
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
// Two Lines
|
|
14
|
-
|
|
15
|
-
<List>
|
|
16
|
-
<ListItem onClick={handleClickItem}>
|
|
17
|
-
<ListItemText
|
|
18
|
-
primary="1st lorem ipsum"
|
|
19
|
-
secondary="2nd lorem ipsum"
|
|
20
|
-
/>
|
|
21
|
-
</ListItem>
|
|
22
|
-
<ListItem onClick={handleClickItem}>
|
|
23
|
-
<ListItemText
|
|
24
|
-
primary="1st lorem ipsum"
|
|
25
|
-
secondary="2nd lorem ipsum"
|
|
26
|
-
/>
|
|
27
|
-
</ListItem>
|
|
28
|
-
</List>
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
// Avatar
|
|
32
|
-
|
|
33
|
-
<List >
|
|
34
|
-
<ListItem>
|
|
35
|
-
<ListItemAvatar avatar={<UserCircleSolidIcon />} />
|
|
36
|
-
<ListItemText primary="lorem ipsum" />
|
|
37
|
-
</ListItem>
|
|
38
|
-
<ListItem>
|
|
39
|
-
<ListItemAvatar avatar={<span>2</span>} />
|
|
40
|
-
<ListItemText primary="lorem ipsum" />
|
|
41
|
-
</ListItem>
|
|
42
|
-
</List>
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
// Icon
|
|
46
|
-
|
|
47
|
-
<List>
|
|
48
|
-
<ListItem>
|
|
49
|
-
<ListItemIcon icon={<HomeSolidIcon />} />
|
|
50
|
-
<ListItemText primary="lorem ipsum" />
|
|
51
|
-
</ListItem>
|
|
52
|
-
</List>
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
// Action Item
|
|
56
|
-
|
|
57
|
-
<List>
|
|
58
|
-
<ListItem>
|
|
59
|
-
<ListItemText primary="lorem ipsum" />
|
|
60
|
-
<ListItemAction>
|
|
61
|
-
<IconButton
|
|
62
|
-
onClick={handleClickAction}
|
|
63
|
-
icon={<HomeSolidIcon />}
|
|
64
|
-
/>
|
|
65
|
-
</ListItemAction>
|
|
66
|
-
</ListItem>
|
|
67
|
-
<ListItem>
|
|
68
|
-
<ListItemText primary="lorem ipsum" />
|
|
69
|
-
<ListItemAction>
|
|
70
|
-
<IconButton
|
|
71
|
-
color={COLOR.primary}
|
|
72
|
-
onClick={handleClickAction}
|
|
73
|
-
icon={<HomeSolidIcon />}
|
|
74
|
-
/>
|
|
75
|
-
</ListItemAction>
|
|
76
|
-
</ListItem>
|
|
77
|
-
</List>
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
// Colors
|
|
81
|
-
|
|
82
|
-
<List>
|
|
83
|
-
<ListItem color={COLOR.primary}>
|
|
84
|
-
primary
|
|
85
|
-
</ListItem>
|
|
86
|
-
<ListItem color={COLOR.accent}>
|
|
87
|
-
accent
|
|
88
|
-
</ListItem>
|
|
89
|
-
<ListItem color={COLOR.secondary}>
|
|
90
|
-
secondary
|
|
91
|
-
</ListItem>
|
|
92
|
-
<ListItem color={COLOR.light}>
|
|
93
|
-
light
|
|
94
|
-
</ListItem>
|
|
95
|
-
<ListItem color={COLOR.dark}>
|
|
96
|
-
dark
|
|
97
|
-
</ListItem>
|
|
98
|
-
</List>
|