allaw-ui 0.1.23 → 0.1.25
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/README.md +0 -0
- package/dist/app/globals.css +0 -0
- package/dist/assets/NoPhoto.png +0 -0
- package/dist/assets/NoPhoto.svg +0 -0
- package/dist/assets/allaw-font.eot +0 -0
- package/dist/assets/allaw-font.svg +0 -0
- package/dist/assets/allaw-font.ttf +0 -0
- package/dist/assets/allaw-font.woff +0 -0
- package/dist/components/atoms/buttons/ActionCircleButton.css +0 -0
- package/dist/components/atoms/buttons/AgendaSlot.css +0 -0
- package/dist/components/atoms/buttons/FavoriteToggle.css +0 -0
- package/dist/components/atoms/buttons/FilterButton.css +0 -0
- package/dist/components/atoms/buttons/GhostButton.css +0 -0
- package/dist/components/atoms/buttons/IconButton.css +0 -0
- package/dist/components/atoms/buttons/OAuthProviderButton.css +0 -0
- package/dist/components/atoms/buttons/PendingDocuments.css +0 -0
- package/dist/components/atoms/buttons/PrimaryButton.css +0 -0
- package/dist/components/atoms/buttons/SecondaryButton.css +0 -0
- package/dist/components/atoms/buttons/TabNavigation.css +0 -0
- package/dist/components/atoms/buttons/TertiaryButton.css +0 -0
- package/dist/components/atoms/checkboxes/Checkbox.css +0 -0
- package/dist/components/atoms/checkboxes/Checkbox.d.ts +1 -0
- package/dist/components/atoms/checkboxes/Checkbox.js +3 -3
- package/dist/components/atoms/filter/Basefiler.css +0 -0
- package/dist/components/atoms/filters/SingleFilter.css +0 -0
- package/dist/components/atoms/inputs/Input.css +0 -0
- package/dist/components/atoms/inputs/SearchBar.css +0 -0
- package/dist/components/atoms/progressBars/ProgressBar.css +0 -0
- package/dist/components/atoms/radios/RadioButton.css +0 -0
- package/dist/components/atoms/selects/Select.css +0 -0
- package/dist/components/atoms/tags/AppointementStatusTag.css +0 -0
- package/dist/components/atoms/tags/FolderStatusTag.css +0 -0
- package/dist/components/atoms/tags/OtherStatusTag.css +0 -0
- package/dist/components/atoms/typography/Heading.css +0 -0
- package/dist/components/atoms/typography/Paragraph.css +0 -0
- package/dist/components/atoms/typography/SmallTitle.css +0 -0
- package/dist/components/atoms/typography/Subtitle.css +0 -0
- package/dist/components/atoms/typography/TinyInfo.css +0 -0
- package/dist/components/atoms/uiVariables/BorderRadiusExample.css +0 -0
- package/dist/components/atoms/uiVariables/ShadowsExample.css +0 -0
- package/dist/components/atoms/uiVariables/StrokesExample.css +0 -0
- package/dist/components/molecules/appointmentSlot/AppointmentSlot.css +0 -0
- package/dist/components/molecules/breadcrumb/Breadcrumb.css +0 -0
- package/dist/components/molecules/caseCard/CaseCard.css +0 -0
- package/dist/components/molecules/checkboxForm/CheckboxForm.css +0 -0
- package/dist/components/molecules/contactCard/ContactCard.css +0 -0
- package/dist/components/molecules/documentCard/DocumentCard.css +0 -0
- package/dist/components/molecules/employeeCard/EmployeeCard.css +0 -0
- package/dist/components/molecules/proCard/ProCard.css +0 -0
- package/dist/components/molecules/radioForm/RadioForm.css +0 -0
- package/dist/components/molecules/selectForm/SelectForm.css +0 -0
- package/dist/components/molecules/stepper/Stepper.css +0 -0
- package/dist/stories/assets/accessibility.png +0 -0
- package/dist/stories/assets/accessibility.svg +0 -0
- package/dist/stories/assets/addon-library.png +0 -0
- package/dist/stories/assets/assets.png +0 -0
- package/dist/stories/assets/context.png +0 -0
- package/dist/stories/assets/discord.svg +0 -0
- package/dist/stories/assets/docs.png +0 -0
- package/dist/stories/assets/figma-plugin.png +0 -0
- package/dist/stories/assets/github.svg +0 -0
- package/dist/stories/assets/share.png +0 -0
- package/dist/stories/assets/styling.png +0 -0
- package/dist/stories/assets/testing.png +0 -0
- package/dist/stories/assets/theming.png +0 -0
- package/dist/stories/assets/tutorials.svg +0 -0
- package/dist/stories/assets/youtube.svg +0 -0
- package/dist/styles/colors.css +0 -0
- package/dist/styles/global.css +0 -0
- package/dist/styles/icons.css +0 -0
- package/dist/styles/ui-variables/border-radius.css +0 -0
- package/dist/styles/ui-variables/shadows.css +0 -0
- package/dist/styles/ui-variables/stroke.css +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
File without changes
|
package/dist/app/globals.css
CHANGED
|
File without changes
|
package/dist/assets/NoPhoto.png
CHANGED
|
File without changes
|
package/dist/assets/NoPhoto.svg
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,8 +2,8 @@ import React, { useState } from "react";
|
|
|
2
2
|
import "./Checkbox.css";
|
|
3
3
|
import "../../../styles/global.css";
|
|
4
4
|
var Checkbox = function (_a) {
|
|
5
|
-
var id = _a.id, _b = _a.checked, checked = _b === void 0 ? false : _b, onChange = _a.onChange, _c = _a.color, color = _c === void 0 ? "noir" : _c, _d = _a.size, size = _d === void 0 ? "default" : _d, _e = _a.style, style = _e === void 0 ? "default" : _e;
|
|
6
|
-
var
|
|
5
|
+
var id = _a.id, _b = _a.checked, checked = _b === void 0 ? false : _b, onChange = _a.onChange, _c = _a.color, color = _c === void 0 ? "noir" : _c, _d = _a.size, size = _d === void 0 ? "default" : _d, _e = _a.style, style = _e === void 0 ? "default" : _e, _f = _a.markType, markType = _f === void 0 ? "cross" : _f;
|
|
6
|
+
var _g = useState(checked), isChecked = _g[0], setIsChecked = _g[1];
|
|
7
7
|
var handleClick = function (e) {
|
|
8
8
|
e.preventDefault();
|
|
9
9
|
e.stopPropagation();
|
|
@@ -14,6 +14,6 @@ var Checkbox = function (_a) {
|
|
|
14
14
|
}
|
|
15
15
|
};
|
|
16
16
|
var checkboxColor = style === "light" ? "light" : color;
|
|
17
|
-
return (React.createElement("button", { id: id, className: "checkbox ".concat(isChecked ? "checkbox-pressed" : "checkbox-default", " ").concat("checkbox-".concat(checkboxColor), " ").concat(size === "small" ? "checkbox-small" : "", " ").concat(style === "light" ? "checkbox-light" : ""), onClick: handleClick }, isChecked && (React.createElement("span", { className: "checkbox-icon allaw-icon-close ".concat("checkbox-icon-".concat(checkboxColor), " ").concat(style === "light" ? "checkbox-icon-light" : "") }))));
|
|
17
|
+
return (React.createElement("button", { id: id, className: "checkbox ".concat(isChecked ? "checkbox-pressed" : "checkbox-default", " ").concat("checkbox-".concat(checkboxColor), " ").concat(size === "small" ? "checkbox-small" : "", " ").concat(style === "light" ? "checkbox-light" : ""), onClick: handleClick }, isChecked && (React.createElement("span", { className: "checkbox-icon ".concat(markType === "cross" ? "allaw-icon-close" : "allaw-icon-check", " ").concat("checkbox-icon-".concat(checkboxColor), " ").concat(style === "light" ? "checkbox-icon-light" : "") }))));
|
|
18
18
|
};
|
|
19
19
|
export default Checkbox;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/dist/styles/colors.css
CHANGED
|
File without changes
|
package/dist/styles/global.css
CHANGED
|
File without changes
|
package/dist/styles/icons.css
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|