-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b95a253
commit de7e7eb
Showing
1,036 changed files
with
12,731 additions
and
27,532 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"path":"addons/confirm","templateID":3,"sharedPropsHashes":{"exampleSources":"255C6D"},"localProps":{"componentsInfo":{"Confirm":{"displayName":"Confirm","props":[{"type":"custom","required":false,"description":["The cancel button text."],"defaultValue":"'Cancel'","tags":[],"name":"cancelButton"},{"type":"custom","required":false,"description":["The OK button text."],"defaultValue":"'OK'","tags":[],"name":"confirmButton"},{"type":"custom","required":false,"description":["The ModalContent text."],"defaultValue":"'Are you sure?'","tags":[],"name":"content"},{"type":"custom","required":false,"description":["The ModalHeader text."],"tags":[],"name":"header"},{"type":"func","required":false,"description":["Called when the Modal is closed without clicking confirm."],"tags":[{"title":"param","description":"React's original SyntheticEvent.","type":{"type":"NameExpression","name":"SyntheticEvent"},"name":"event"},{"title":"param","description":"All props.","type":{"type":"NameExpression","name":"object"},"name":"data"}],"name":"onCancel"},{"type":"func","required":false,"description":["Called when the OK button is clicked."],"tags":[{"title":"param","description":"React's original SyntheticEvent.","type":{"type":"NameExpression","name":"SyntheticEvent"},"name":"event"},{"title":"param","description":"All props.","type":{"type":"NameExpression","name":"object"},"name":"data"}],"name":"onConfirm"},{"type":"bool","required":false,"description":["Whether or not the modal is visible."],"tags":[],"name":"open"},{"type":"enum","required":false,"description":["A Confirm can vary in size"],"defaultValue":"'small'","tags":[],"value":["mini","tiny","small","large","fullscreen"],"name":"size"}],"type":"addon","isParent":true,"isChild":false,"parentDisplayName":null,"subcomponentName":null,"subcomponents":[],"apiPath":"Confirm","componentClassName":"confirm","docblock":{"tags":[{"title":"see","description":"Modal"}],"description":["A Confirm modal gives the user a choice to confirm or cancel an action."]},"examplesExist":true,"repoPath":"src/addons/Confirm/Confirm.js","filename":"Confirm.js","filenameWithoutExt":"Confirm"}},"sidebarSections":[{"sectionName":"Types","examples":[{"title":"Confirm","examplePath":"addons/Confirm/Types/ConfirmExampleConfirm"},{"title":"Callbacks","examplePath":"addons/Confirm/Types/ConfirmExampleCallbacks"}]},{"sectionName":"Variations","examples":[{"title":"Header","examplePath":"addons/Confirm/Variations/ConfirmExampleHeader"},{"title":"Content","examplePath":"addons/Confirm/Variations/ConfirmExampleContent"},{"title":"Button Text","examplePath":"addons/Confirm/Variations/ConfirmExampleButtons"},{"title":"Confirm Size","examplePath":"addons/Confirm/Variations/ConfirmExampleSize"}]}],"displayName":"Confirm","deprecated":false,"seeTags":[{"displayName":"Modal","to":"/modules/modal/"}]}} | ||
{"path":"addons/confirm","templateID":3,"sharedPropsHashes":{"exampleSources":"ZnD0al"},"localProps":{"componentsInfo":{"Confirm":{"displayName":"Confirm","props":[{"type":"custom","required":false,"description":["The cancel button text."],"tags":[],"name":"cancelButton"},{"type":"custom","required":false,"description":["The OK button text."],"tags":[],"name":"confirmButton"},{"type":"custom","required":false,"description":["The ModalContent text."],"tags":[],"name":"content"},{"type":"custom","required":false,"description":["The ModalHeader text."],"tags":[],"name":"header"},{"type":"func","required":false,"description":["Called when the Modal is closed without clicking confirm."],"tags":[{"title":"param","description":"React's original SyntheticEvent.","type":{"type":"NameExpression","name":"SyntheticEvent"},"name":"event"},{"title":"param","description":"All props.","type":{"type":"NameExpression","name":"object"},"name":"data"}],"name":"onCancel"},{"type":"func","required":false,"description":["Called when the OK button is clicked."],"tags":[{"title":"param","description":"React's original SyntheticEvent.","type":{"type":"NameExpression","name":"SyntheticEvent"},"name":"event"},{"title":"param","description":"All props.","type":{"type":"NameExpression","name":"object"},"name":"data"}],"name":"onConfirm"},{"type":"bool","required":false,"description":["Whether or not the modal is visible."],"tags":[],"name":"open"},{"type":"enum","required":false,"description":["A Confirm can vary in size"],"tags":[],"value":["mini","tiny","small","large","fullscreen"],"name":"size"}],"type":"addon","isParent":true,"isChild":false,"parentDisplayName":null,"subcomponentName":null,"subcomponents":[],"apiPath":"Confirm","componentClassName":"confirm","docblock":{"tags":[{"title":"see","description":"Modal"}],"description":["A Confirm modal gives the user a choice to confirm or cancel an action."]},"examplesExist":true,"repoPath":"src/addons/Confirm/Confirm.js","filename":"Confirm.js","filenameWithoutExt":"Confirm"}},"sidebarSections":[{"sectionName":"Types","examples":[{"title":"Confirm","examplePath":"addons/Confirm/Types/ConfirmExampleConfirm"},{"title":"Callbacks","examplePath":"addons/Confirm/Types/ConfirmExampleCallbacks"}]},{"sectionName":"Variations","examples":[{"title":"Header","examplePath":"addons/Confirm/Variations/ConfirmExampleHeader"},{"title":"Content","examplePath":"addons/Confirm/Variations/ConfirmExampleContent"},{"title":"Button Text","examplePath":"addons/Confirm/Variations/ConfirmExampleButtons"},{"title":"Confirm Size","examplePath":"addons/Confirm/Variations/ConfirmExampleSize"}]}],"displayName":"Confirm","deprecated":false,"seeTags":[{"displayName":"Modal","to":"/modules/modal/"}]}} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"path":"addons/pagination","templateID":3,"sharedPropsHashes":{"exampleSources":"255C6D"},"localProps":{"componentsInfo":{"Pagination":{"displayName":"Pagination","props":[{"type":"number|string","required":false,"description":["Index of the currently active page."],"tags":[],"value":[],"name":"activePage"},{"type":"string","required":false,"description":["A pagination item can have an aria label."],"defaultValue":"'Pagination Navigation'","tags":[],"name":"aria-label"},{"type":"number|string","required":false,"description":["Number of always visible pages at the beginning and end."],"defaultValue":"1","tags":[],"value":[],"name":"boundaryRange"},{"type":"number|string","required":false,"description":["Initial activePage value."],"tags":[],"value":[],"name":"defaultActivePage"},{"type":"bool","required":false,"description":["A pagination can be disabled."],"tags":[],"name":"disabled"},{"type":"custom","required":false,"description":["A shorthand for PaginationItem."],"defaultValue":"'...'","tags":[],"name":"ellipsisItem"},{"type":"custom","required":false,"description":["A shorthand for PaginationItem."],"defaultValue":"{\n 'aria-label': 'First item',\n content: '«',\n}","tags":[],"name":"firstItem"},{"type":"custom","required":false,"description":["A shorthand for PaginationItem."],"defaultValue":"{\n 'aria-label': 'Last item',\n content: '»',\n}","tags":[],"name":"lastItem"},{"type":"custom","required":false,"description":["A shorthand for PaginationItem."],"defaultValue":"{\n 'aria-label': 'Next item',\n content: '⟩',\n}","tags":[],"name":"nextItem"},{"type":"func","required":false,"description":["Called on change of an active page."],"tags":[{"title":"param","description":"React's original SyntheticEvent.","type":{"type":"NameExpression","name":"SyntheticEvent"},"name":"event"},{"title":"param","description":"All props.","type":{"type":"NameExpression","name":"object"},"name":"data"}],"name":"onPageChange"},{"type":"custom","required":false,"description":["A shorthand for PaginationItem."],"defaultValue":"{}","tags":[],"name":"pageItem"},{"type":"custom","required":false,"description":["A shorthand for PaginationItem."],"defaultValue":"{\n 'aria-label': 'Previous item',\n content: '⟨',\n}","tags":[],"name":"prevItem"},{"type":"number|string","required":false,"description":["Number of always visible pages before and after the current one."],"defaultValue":"1","tags":[],"value":[],"name":"siblingRange"},{"type":"number|string","required":true,"description":["Total number of pages."],"tags":[],"value":[],"name":"totalPages"}],"type":"addon","isParent":true,"isChild":false,"parentDisplayName":null,"subcomponentName":null,"subcomponents":["PaginationItem"],"apiPath":"Pagination","componentClassName":"pagination","docblock":{"tags":[],"description":["A component to render a pagination."]},"examplesExist":true,"repoPath":"src/addons/Pagination/Pagination.js","filename":"Pagination.js","filenameWithoutExt":"Pagination"},"PaginationItem":{"displayName":"PaginationItem","props":[{"type":"bool","required":false,"description":["A pagination item can be active."],"tags":[],"name":"active"},{"type":"bool","required":false,"description":["A pagination item can be disabled."],"tags":[],"name":"disabled"},{"type":"func","required":false,"description":["Called on click."],"tags":[{"title":"param","description":"React's original SyntheticEvent.","type":{"type":"NameExpression","name":"SyntheticEvent"},"name":"event"},{"title":"param","description":"All props.","type":{"type":"NameExpression","name":"object"},"name":"data"}],"name":"onClick"},{"type":"func","required":false,"description":["Called on key down."],"tags":[{"title":"param","description":"React's original SyntheticEvent.","type":{"type":"NameExpression","name":"SyntheticEvent"},"name":"event"},{"title":"param","description":"All props.","type":{"type":"NameExpression","name":"object"},"name":"data"}],"name":"onKeyDown"},{"type":"enum","required":false,"description":["A pagination should have a type."],"tags":[],"value":["ellipsisItem","firstItem","prevItem","pageItem","nextItem","lastItem"],"name":"type"}],"type":"addon","isParent":false,"isChild":true,"parentDisplayName":"Pagination","subcomponentName":"Item","subcomponents":null,"apiPath":"Pagination.Item","componentClassName":"item","docblock":{"tags":[],"description":["An item of a pagination."]},"examplesExist":false,"repoPath":"src/addons/Pagination/PaginationItem.js","filename":"PaginationItem.js","filenameWithoutExt":"PaginationItem"}},"sidebarSections":[{"sectionName":"Types","examples":[{"title":"Pagination","examplePath":"addons/Pagination/Types/PaginationExamplePagination"}]},{"sectionName":"States","examples":[{"title":"Disabled","examplePath":"addons/Pagination/States/PaginationExampleDisabled"}]},{"sectionName":"Usage","examples":[{"title":"Controlled","examplePath":"addons/Pagination/Usage/PaginationExampleControlled"},{"title":"Options","examplePath":"addons/Pagination/Usage/PaginationExampleOptions"},{"title":"Menu Props","examplePath":"addons/Pagination/Usage/PaginationExampleMenuProps"},{"title":"Shorthand","examplePath":"addons/Pagination/Usage/PaginationExampleShorthand"}]}],"displayName":"Pagination","deprecated":false,"seeTags":[]}} | ||
{"path":"addons/pagination","templateID":3,"sharedPropsHashes":{"exampleSources":"ZnD0al"},"localProps":{"componentsInfo":{"Pagination":{"displayName":"Pagination","props":[{"type":"number|string","required":false,"description":["Index of the currently active page."],"tags":[],"value":[],"name":"activePage"},{"type":"string","required":false,"description":["A pagination item can have an aria label."],"tags":[],"name":"aria-label"},{"type":"number|string","required":false,"description":["Number of always visible pages at the beginning and end."],"tags":[],"value":[],"name":"boundaryRange"},{"type":"number|string","required":false,"description":["Initial activePage value."],"tags":[],"value":[],"name":"defaultActivePage"},{"type":"bool","required":false,"description":["A pagination can be disabled."],"tags":[],"name":"disabled"},{"type":"custom","required":false,"description":["A shorthand for PaginationItem."],"tags":[],"name":"ellipsisItem"},{"type":"custom","required":false,"description":["A shorthand for PaginationItem."],"tags":[],"name":"firstItem"},{"type":"custom","required":false,"description":["A shorthand for PaginationItem."],"tags":[],"name":"lastItem"},{"type":"custom","required":false,"description":["A shorthand for PaginationItem."],"tags":[],"name":"nextItem"},{"type":"func","required":false,"description":["Called on change of an active page."],"tags":[{"title":"param","description":"React's original SyntheticEvent.","type":{"type":"NameExpression","name":"SyntheticEvent"},"name":"event"},{"title":"param","description":"All props.","type":{"type":"NameExpression","name":"object"},"name":"data"}],"name":"onPageChange"},{"type":"custom","required":false,"description":["A shorthand for PaginationItem."],"tags":[],"name":"pageItem"},{"type":"custom","required":false,"description":["A shorthand for PaginationItem."],"tags":[],"name":"prevItem"},{"type":"number|string","required":false,"description":["Number of always visible pages before and after the current one."],"tags":[],"value":[],"name":"siblingRange"},{"type":"number|string","required":true,"description":["Total number of pages."],"tags":[],"value":[],"name":"totalPages"}],"type":"addon","isParent":true,"isChild":false,"parentDisplayName":null,"subcomponentName":null,"subcomponents":["PaginationItem"],"apiPath":"Pagination","componentClassName":"pagination","docblock":{"tags":[],"description":["A component to render a pagination."]},"examplesExist":true,"repoPath":"src/addons/Pagination/Pagination.js","filename":"Pagination.js","filenameWithoutExt":"Pagination"},"PaginationItem":{"displayName":"PaginationItem","props":[{"type":"bool","required":false,"description":["A pagination item can be active."],"tags":[],"name":"active"},{"type":"bool","required":false,"description":["A pagination item can be disabled."],"tags":[],"name":"disabled"},{"type":"func","required":false,"description":["Called on click."],"tags":[{"title":"param","description":"React's original SyntheticEvent.","type":{"type":"NameExpression","name":"SyntheticEvent"},"name":"event"},{"title":"param","description":"All props.","type":{"type":"NameExpression","name":"object"},"name":"data"}],"name":"onClick"},{"type":"func","required":false,"description":["Called on key down."],"tags":[{"title":"param","description":"React's original SyntheticEvent.","type":{"type":"NameExpression","name":"SyntheticEvent"},"name":"event"},{"title":"param","description":"All props.","type":{"type":"NameExpression","name":"object"},"name":"data"}],"name":"onKeyDown"},{"type":"enum","required":false,"description":["A pagination should have a type."],"tags":[],"value":["ellipsisItem","firstItem","prevItem","pageItem","nextItem","lastItem"],"name":"type"}],"type":"addon","isParent":false,"isChild":true,"parentDisplayName":"Pagination","subcomponentName":"Item","subcomponents":null,"apiPath":"Pagination.Item","componentClassName":"item","docblock":{"tags":[],"description":["An item of a pagination."]},"examplesExist":false,"repoPath":"src/addons/Pagination/PaginationItem.js","filename":"PaginationItem.js","filenameWithoutExt":"PaginationItem"}},"sidebarSections":[{"sectionName":"Types","examples":[{"title":"Pagination","examplePath":"addons/Pagination/Types/PaginationExamplePagination"}]},{"sectionName":"States","examples":[{"title":"Disabled","examplePath":"addons/Pagination/States/PaginationExampleDisabled"}]},{"sectionName":"Usage","examples":[{"title":"Controlled","examplePath":"addons/Pagination/Usage/PaginationExampleControlled"},{"title":"Options","examplePath":"addons/Pagination/Usage/PaginationExampleOptions"},{"title":"Menu Props","examplePath":"addons/Pagination/Usage/PaginationExampleMenuProps"},{"title":"Shorthand","examplePath":"addons/Pagination/Usage/PaginationExampleShorthand"}]}],"displayName":"Pagination","deprecated":false,"seeTags":[]}} |
Oops, something went wrong.