allaw-ui 2.6.3 → 2.6.5

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.
@@ -0,0 +1,18 @@
1
+ import React, { ButtonHTMLAttributes } from "react";
2
+ import "../../../styles/global.css";
3
+ export interface ActionButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
4
+ startIcon?: React.ReactNode;
5
+ endIcon?: React.ReactNode;
6
+ startIconName?: string;
7
+ endIconName?: string;
8
+ label: string;
9
+ disabled?: boolean;
10
+ onClick?: () => Promise<void> | void;
11
+ fullWidth?: boolean;
12
+ type?: "button" | "submit" | "reset";
13
+ isLoading?: boolean;
14
+ variant?: "default" | "warning";
15
+ size?: "medium" | "large";
16
+ }
17
+ declare const ActionButton: React.ForwardRefExoticComponent<ActionButtonProps & React.RefAttributes<HTMLButtonElement>>;
18
+ export default ActionButton;
@@ -0,0 +1,117 @@
1
+ "use client";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
14
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
15
+ return new (P || (P = Promise))(function (resolve, reject) {
16
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
17
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
18
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
19
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
20
+ });
21
+ };
22
+ var __generator = (this && this.__generator) || function (thisArg, body) {
23
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
24
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
25
+ function verb(n) { return function (v) { return step([n, v]); }; }
26
+ function step(op) {
27
+ if (f) throw new TypeError("Generator is already executing.");
28
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
29
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
30
+ if (y = 0, t) op = [op[0] & 2, t.value];
31
+ switch (op[0]) {
32
+ case 0: case 1: t = op; break;
33
+ case 4: _.label++; return { value: op[1], done: false };
34
+ case 5: _.label++; y = op[1]; op = [0]; continue;
35
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
36
+ default:
37
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
38
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
39
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
40
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
41
+ if (t[2]) _.ops.pop();
42
+ _.trys.pop(); continue;
43
+ }
44
+ op = body.call(thisArg, _);
45
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
46
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
47
+ }
48
+ };
49
+ var __rest = (this && this.__rest) || function (s, e) {
50
+ var t = {};
51
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
52
+ t[p] = s[p];
53
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
54
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
55
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
56
+ t[p[i]] = s[p[i]];
57
+ }
58
+ return t;
59
+ };
60
+ import React, { forwardRef, useImperativeHandle, useState, useEffect, } from "react";
61
+ import styles from "./ActionButton.modules.css";
62
+ import "../../../styles/global.css";
63
+ var ActionButton = forwardRef(function (_a, ref) {
64
+ var startIcon = _a.startIcon, endIcon = _a.endIcon, startIconName = _a.startIconName, endIconName = _a.endIconName, label = _a.label, _b = _a.disabled, disabled = _b === void 0 ? false : _b, onClick = _a.onClick, _c = _a.fullWidth, fullWidth = _c === void 0 ? false : _c, _d = _a.type, type = _d === void 0 ? "button" : _d, _e = _a.isLoading, isLoading = _e === void 0 ? false : _e, variant = _a.variant, _f = _a.size, size = _f === void 0 ? "medium" : _f, props = __rest(_a, ["startIcon", "endIcon", "startIconName", "endIconName", "label", "disabled", "onClick", "fullWidth", "type", "isLoading", "variant", "size"]);
65
+ var buttonRef = React.useRef(null);
66
+ var _g = useState(false), internalIsLoading = _g[0], setInternalIsLoading = _g[1];
67
+ var _h = useState(""), loadingDots = _h[0], setLoadingDots = _h[1];
68
+ useImperativeHandle(ref, function () { return buttonRef.current; });
69
+ var isButtonLoading = isLoading || internalIsLoading;
70
+ useEffect(function () {
71
+ var interval = null;
72
+ if (isButtonLoading) {
73
+ interval = setInterval(function () {
74
+ setLoadingDots(function (prev) {
75
+ if (prev.length >= 3)
76
+ return "";
77
+ return prev + ".";
78
+ });
79
+ }, 500);
80
+ }
81
+ return function () {
82
+ if (interval) {
83
+ clearInterval(interval);
84
+ }
85
+ };
86
+ }, [isButtonLoading]);
87
+ var handleClick = function (event) { return __awaiter(void 0, void 0, void 0, function () {
88
+ return __generator(this, function (_a) {
89
+ switch (_a.label) {
90
+ case 0:
91
+ if (isButtonLoading) {
92
+ event.preventDefault();
93
+ return [2 /*return*/];
94
+ }
95
+ if (!onClick) return [3 /*break*/, 4];
96
+ setInternalIsLoading(true);
97
+ _a.label = 1;
98
+ case 1:
99
+ _a.trys.push([1, , 3, 4]);
100
+ return [4 /*yield*/, onClick()];
101
+ case 2:
102
+ _a.sent();
103
+ return [3 /*break*/, 4];
104
+ case 3:
105
+ setInternalIsLoading(false);
106
+ return [7 /*endfinally*/];
107
+ case 4: return [2 /*return*/];
108
+ }
109
+ });
110
+ }); };
111
+ return (React.createElement("button", __assign({ ref: buttonRef, className: "".concat(styles.actionButton, " ").concat(disabled ? styles.actionButtonDisabled : styles.actionButtonEnabled, " ").concat(fullWidth ? styles.actionButtonFullWidth : "", " ").concat(isButtonLoading ? styles.actionButtonLoading : "", " ").concat(variant === "warning" ? styles.actionButtonWarning : "", " ").concat(size === "large" ? styles.actionButtonLarge : ""), disabled: disabled, onClick: handleClick, type: type }, props),
112
+ startIcon && (React.createElement("span", { className: "".concat(styles.actionButtonIcon, " ").concat(startIconName) })),
113
+ React.createElement("span", { className: styles.actionButtonLabel }, label),
114
+ isButtonLoading ? (React.createElement("span", { className: styles.actionButtonLoadingDots }, loadingDots)) : (endIcon && (React.createElement("span", { className: "".concat(styles.actionButtonIcon, " ").concat(endIconName) })))));
115
+ });
116
+ ActionButton.displayName = "ActionButton";
117
+ export default ActionButton;
@@ -0,0 +1,103 @@
1
+ .actionButton {
2
+ display: inline-flex;
3
+ padding: 20px 16px;
4
+ justify-content: center;
5
+ align-items: center;
6
+ gap: 10px;
7
+ border-radius: 8px;
8
+ font-family: "Open Sans", sans-serif;
9
+ font-size: 14px;
10
+ font-style: normal;
11
+ font-weight: 600;
12
+ line-height: normal;
13
+ text-align: center;
14
+ border: none;
15
+ cursor: pointer;
16
+ transition: background-color 0.2s, opacity 0.2s;
17
+ height: 26px;
18
+ }
19
+
20
+ .actionButtonLarge {
21
+ height: 35px;
22
+ padding: 8px 12px;
23
+ font-size: 15px;
24
+ }
25
+
26
+ .actionButtonEnabled {
27
+ background: #127aa0;
28
+ color: var(--pure-white, #fff);
29
+ }
30
+
31
+ .actionButtonEnabled:hover {
32
+ background: #1590bb;
33
+ }
34
+
35
+ .actionButtonEnabled:active {
36
+ background: #107194;
37
+ /* opacity: 0.7; */
38
+ }
39
+
40
+ .actionButtonDisabled {
41
+ background: var(--tag-white, #eef5fc);
42
+ color: var(--Primary-Dark-grey, #456073);
43
+ opacity: 0.5;
44
+ cursor: not-allowed;
45
+ }
46
+
47
+ .actionButtonIcon {
48
+ display: flex;
49
+ width: 16px;
50
+ height: 16px;
51
+ padding: 3.333px;
52
+ justify-content: center;
53
+ align-items: center;
54
+ font-size: 11px;
55
+ }
56
+
57
+ .actionButtonLarge .actionButtonIcon {
58
+ width: 18px;
59
+ height: 18px;
60
+ }
61
+
62
+ .actionButtonLabel {
63
+ white-space: nowrap;
64
+ overflow: hidden;
65
+ text-overflow: ellipsis;
66
+ }
67
+
68
+ .actionButtonFullWidth {
69
+ width: 100%;
70
+ }
71
+
72
+ .actionButtonLoading {
73
+ animation: pulseBackground 1.5s infinite alternate;
74
+ pointer-events: none;
75
+ }
76
+
77
+ .actionButtonLoadingDots {
78
+ width: 1.25rem;
79
+ display: inline-block;
80
+ text-align: left;
81
+ font-size: 0.9rem;
82
+ }
83
+
84
+ .actionButtonWarning {
85
+ border: 1px solid var(--red-tag-dark, #e15151);
86
+ color: var(--red-tag-dark, #e15151);
87
+ }
88
+
89
+ .actionButtonWarning:hover {
90
+ background: rgba(225, 81, 81, 0.1);
91
+ }
92
+
93
+ @keyframes pulseBackground {
94
+ 0% {
95
+ background-color: var(--Primary-Mid-black, #171e25);
96
+ }
97
+ 50% {
98
+ background-color: var(--Primary-Mid-black, #171e25);
99
+ }
100
+ 100% {
101
+ background-color: var(--tag-blue, #1985e8);
102
+ }
103
+ }
@@ -0,0 +1,108 @@
1
+ export const ActionsData: {};
2
+ declare namespace _default {
3
+ export let title: string;
4
+ export { ActionButton as component };
5
+ export let tags: string[];
6
+ export let excludeStories: RegExp;
7
+ export let args: {};
8
+ export namespace argTypes {
9
+ export namespace startIcon {
10
+ namespace control {
11
+ let type: string;
12
+ }
13
+ namespace mapping {
14
+ let _true: string;
15
+ export { _true as true };
16
+ let _false: null;
17
+ export { _false as false };
18
+ }
19
+ }
20
+ export namespace endIcon {
21
+ export namespace control_1 {
22
+ let type_1: string;
23
+ export { type_1 as type };
24
+ }
25
+ export { control_1 as control };
26
+ export namespace mapping_1 {
27
+ let _true_1: string;
28
+ export { _true_1 as true };
29
+ let _false_1: null;
30
+ export { _false_1 as false };
31
+ }
32
+ export { mapping_1 as mapping };
33
+ }
34
+ export namespace startIconName {
35
+ export namespace control_2 {
36
+ let type_2: string;
37
+ export { type_2 as type };
38
+ }
39
+ export { control_2 as control };
40
+ }
41
+ export namespace endIconName {
42
+ export namespace control_3 {
43
+ let type_3: string;
44
+ export { type_3 as type };
45
+ }
46
+ export { control_3 as control };
47
+ }
48
+ export namespace type_4 {
49
+ export namespace control_4 {
50
+ let type_5: string;
51
+ export { type_5 as type };
52
+ export let options: string[];
53
+ }
54
+ export { control_4 as control };
55
+ }
56
+ export { type_4 as type };
57
+ export namespace isLoading {
58
+ export namespace control_5 {
59
+ let type_6: string;
60
+ export { type_6 as type };
61
+ }
62
+ export { control_5 as control };
63
+ }
64
+ export namespace variant {
65
+ export namespace control_6 {
66
+ let type_7: string;
67
+ export { type_7 as type };
68
+ let options_1: string[];
69
+ export { options_1 as options };
70
+ }
71
+ export { control_6 as control };
72
+ }
73
+ export namespace size {
74
+ export namespace control_7 {
75
+ let type_8: string;
76
+ export { type_8 as type };
77
+ let options_2: string[];
78
+ export { options_2 as options };
79
+ }
80
+ export { control_7 as control };
81
+ }
82
+ }
83
+ export namespace parameters {
84
+ namespace backgrounds {
85
+ let _default: string;
86
+ export { _default as default };
87
+ export let values: {
88
+ name: string;
89
+ value: string;
90
+ }[];
91
+ }
92
+ }
93
+ }
94
+ export default _default;
95
+ export const Default: any;
96
+ export const WithStartIcon: any;
97
+ export const WithEndIcon: any;
98
+ export const WithStartAndEndIcons: any;
99
+ export const Disabled: any;
100
+ export const Loading: any;
101
+ export const SubmitButton: any;
102
+ export const ResetButton: any;
103
+ export const AsyncButton: any;
104
+ export const WarningButton: any;
105
+ export const LargeButton: any;
106
+ export const LargeButtonWithIcons: any;
107
+ export const LargeWarningButton: any;
108
+ import ActionButton from "./ActionButton";
@@ -0,0 +1,168 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
13
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
14
+ return new (P || (P = Promise))(function (resolve, reject) {
15
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
16
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
17
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
18
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
19
+ });
20
+ };
21
+ var __generator = (this && this.__generator) || function (thisArg, body) {
22
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
23
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
24
+ function verb(n) { return function (v) { return step([n, v]); }; }
25
+ function step(op) {
26
+ if (f) throw new TypeError("Generator is already executing.");
27
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
28
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
29
+ if (y = 0, t) op = [op[0] & 2, t.value];
30
+ switch (op[0]) {
31
+ case 0: case 1: t = op; break;
32
+ case 4: _.label++; return { value: op[1], done: false };
33
+ case 5: _.label++; y = op[1]; op = [0]; continue;
34
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
35
+ default:
36
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
37
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
38
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
39
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
40
+ if (t[2]) _.ops.pop();
41
+ _.trys.pop(); continue;
42
+ }
43
+ op = body.call(thisArg, _);
44
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
45
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
46
+ }
47
+ };
48
+ import React from "react";
49
+ import ActionButton from "./ActionButton";
50
+ import "../../../styles/global.css";
51
+ export var ActionsData = {};
52
+ export default {
53
+ title: "Components/Atoms/Buttons/ActionButton",
54
+ component: ActionButton,
55
+ tags: ["autodocs"],
56
+ excludeStories: /.*Data$/,
57
+ args: __assign({}, ActionsData),
58
+ argTypes: {
59
+ startIcon: {
60
+ control: {
61
+ type: "boolean",
62
+ },
63
+ mapping: {
64
+ true: "allaw-icon-arrow-right",
65
+ false: null,
66
+ },
67
+ },
68
+ endIcon: {
69
+ control: {
70
+ type: "boolean",
71
+ },
72
+ mapping: {
73
+ true: "allaw-icon-arrow-right",
74
+ false: null,
75
+ },
76
+ },
77
+ startIconName: {
78
+ control: {
79
+ type: "text",
80
+ },
81
+ },
82
+ endIconName: {
83
+ control: {
84
+ type: "text",
85
+ },
86
+ },
87
+ type: {
88
+ control: {
89
+ type: "select",
90
+ options: ["button", "submit", "reset"],
91
+ },
92
+ },
93
+ isLoading: {
94
+ control: {
95
+ type: "boolean",
96
+ },
97
+ },
98
+ variant: {
99
+ control: {
100
+ type: "select",
101
+ options: ["default", "warning"],
102
+ },
103
+ },
104
+ size: {
105
+ control: {
106
+ type: "select",
107
+ options: ["medium", "large"],
108
+ },
109
+ },
110
+ },
111
+ parameters: {
112
+ backgrounds: {
113
+ default: "light",
114
+ values: [
115
+ { name: "light", value: "#ffffff" },
116
+ { name: "grey", value: "#728ea7" },
117
+ { name: "figma", value: "#404040" },
118
+ { name: "dark", value: "#171e25" },
119
+ ],
120
+ },
121
+ },
122
+ };
123
+ var Template = function (args) { return React.createElement(ActionButton, __assign({}, args)); };
124
+ export var Default = Template.bind({});
125
+ Default.args = {
126
+ label: "Bouton",
127
+ startIcon: false,
128
+ endIcon: false,
129
+ startIconName: "allaw-icon-arrow-right",
130
+ endIconName: "allaw-icon-arrow-right",
131
+ disabled: false,
132
+ type: "button",
133
+ isLoading: false,
134
+ size: "medium",
135
+ };
136
+ export var WithStartIcon = Template.bind({});
137
+ WithStartIcon.args = __assign(__assign({}, Default.args), { startIcon: true });
138
+ export var WithEndIcon = Template.bind({});
139
+ WithEndIcon.args = __assign(__assign({}, Default.args), { endIcon: true });
140
+ export var WithStartAndEndIcons = Template.bind({});
141
+ WithStartAndEndIcons.args = __assign(__assign({}, Default.args), { startIcon: true, endIcon: true });
142
+ export var Disabled = Template.bind({});
143
+ Disabled.args = __assign(__assign({}, Default.args), { disabled: true });
144
+ export var Loading = Template.bind({});
145
+ Loading.args = __assign(__assign({}, Default.args), { isLoading: true });
146
+ export var SubmitButton = Template.bind({});
147
+ SubmitButton.args = __assign(__assign({}, Default.args), { type: "submit", label: "Submit" });
148
+ export var ResetButton = Template.bind({});
149
+ ResetButton.args = __assign(__assign({}, Default.args), { type: "reset", label: "Reset" });
150
+ export var AsyncButton = Template.bind({});
151
+ AsyncButton.args = __assign(__assign({}, Default.args), { label: "Async Action", onClick: function () { return __awaiter(void 0, void 0, void 0, function () {
152
+ return __generator(this, function (_a) {
153
+ switch (_a.label) {
154
+ case 0: return [4 /*yield*/, new Promise(function (resolve) { return setTimeout(resolve, 2000); })];
155
+ case 1:
156
+ _a.sent();
157
+ return [2 /*return*/];
158
+ }
159
+ });
160
+ }); } });
161
+ export var WarningButton = Template.bind({});
162
+ WarningButton.args = __assign(__assign({}, Default.args), { label: "Warning", variant: "warning" });
163
+ export var LargeButton = Template.bind({});
164
+ LargeButton.args = __assign(__assign({}, Default.args), { label: "Grand Bouton", size: "large" });
165
+ export var LargeButtonWithIcons = Template.bind({});
166
+ LargeButtonWithIcons.args = __assign(__assign({}, Default.args), { label: "Grand Bouton avec Icônes", startIcon: true, endIcon: true, size: "large" });
167
+ export var LargeWarningButton = Template.bind({});
168
+ LargeWarningButton.args = __assign(__assign({}, Default.args), { label: "Grand Bouton d'Alerte", variant: "warning", size: "large" });
@@ -9,6 +9,7 @@ export { default as SecondaryButton } from "./SecondaryButton";
9
9
  export { default as TabNavigation } from "./TabNavigation";
10
10
  export { default as TertiaryButton } from "./TertiaryButton";
11
11
  export { default as OAuthProviderButton } from "./OAuthProviderButton";
12
+ export { default as ActionButton } from "./ActionButton";
12
13
  export type { FavoriteToggleProps } from "./FavoriteToggle";
13
14
  export type { FilterButtonProps } from "./FilterButton";
14
15
  export type { GhostButtonProps } from "./GhostButton";
@@ -20,3 +21,4 @@ export type { TabNavigationProps } from "./TabNavigation";
20
21
  export type { TertiaryButtonProps } from "./TertiaryButton";
21
22
  export type { OAuthProviderButtonProps } from "./OAuthProviderButton";
22
23
  export type { FilterButtonPrimaryProps } from "./FilterButtonPrimary";
24
+ export type { ActionButtonProps } from "./ActionButton";
@@ -9,3 +9,4 @@ export { default as SecondaryButton } from "./SecondaryButton";
9
9
  export { default as TabNavigation } from "./TabNavigation";
10
10
  export { default as TertiaryButton } from "./TertiaryButton";
11
11
  export { default as OAuthProviderButton } from "./OAuthProviderButton";
12
+ export { default as ActionButton } from "./ActionButton";
@@ -112,7 +112,7 @@
112
112
 
113
113
  @media (max-width: 800px) {
114
114
  .stepper-container {
115
- height: 83dvh;
115
+ height: 96dvh;
116
116
  position: fixed;
117
117
  bottom: 0;
118
118
  justify-content: flex-start;
@@ -125,6 +125,7 @@
125
125
  .stepper-overlay {
126
126
  padding-top: 0 !important;
127
127
  padding-bottom: 0 !important;
128
+ z-index: 4000;
128
129
  }
129
130
  }
130
131
 
package/dist/index.d.ts CHANGED
@@ -9,6 +9,8 @@ export { default as SecondaryButton } from "./components/atoms/buttons/Secondary
9
9
  export { default as TabNavigation } from "./components/atoms/buttons/TabNavigation";
10
10
  export { default as TertiaryButton } from "./components/atoms/buttons/TertiaryButton";
11
11
  export { default as OAuthProviderButton } from "./components/atoms/buttons/OAuthProviderButton";
12
+ export { default as ActionButton } from "./components/atoms/buttons/ActionButton";
13
+ export type { ActionButtonProps } from "./components/atoms/buttons/ActionButton";
12
14
  export { default as Checkbox } from "./components/atoms/checkboxes/Checkbox";
13
15
  export { default as Fitler } from "./components/atoms/filter/Filter";
14
16
  export { default as Input } from "./components/atoms/inputs/Input";
package/dist/index.js CHANGED
@@ -11,6 +11,7 @@ export { default as SecondaryButton } from "./components/atoms/buttons/Secondary
11
11
  export { default as TabNavigation } from "./components/atoms/buttons/TabNavigation";
12
12
  export { default as TertiaryButton } from "./components/atoms/buttons/TertiaryButton";
13
13
  export { default as OAuthProviderButton } from "./components/atoms/buttons/OAuthProviderButton";
14
+ export { default as ActionButton } from "./components/atoms/buttons/ActionButton";
14
15
  // Checkboxes
15
16
  export { default as Checkbox } from "./components/atoms/checkboxes/Checkbox";
16
17
  // Checkboxes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "2.6.3",
3
+ "version": "2.6.5",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",